azure_sdk 0.19.7 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +11 -1
- data/lib/latest/modules/cognitiveservices_profile_module.rb +0 -8
- data/lib/latest/modules/containerregistry_profile_module.rb +48 -40
- data/lib/latest/modules/machinelearningservices_profile_module.rb +201 -0
- data/lib/latest/modules/policy_profile_module.rb +35 -27
- data/lib/latest/modules/policyinsights_profile_module.rb +78 -14
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 13f1e111e8d3225bb6e0b59388f47da6cc72ea051f4e5df753408bc055274d46
|
4
|
+
data.tar.gz: c60b49e57be2c147385633f44971a0dc910bf74b90c0477f8df70427da9bd1b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff1f2d679eb8bcfce1b838b61385a3bbd2c5177d768625bf6bdad69e255887670df1cce9758e75b7e3f61632267e8537f28288f4eefae5d7ec209bf2ab5cfe8d
|
7
|
+
data.tar.gz: 6a54a1caf54719edabeafac707497b899178290fb29b4db52319d3eb6530db325c3095c60119ea6ec6d256409668cbf238d5afa184d68f229272a3dd69a37355
|
data/lib/azure_sdk/version.rb
CHANGED
@@ -36,6 +36,7 @@ require 'latest/modules/links_profile_module'
|
|
36
36
|
require 'latest/modules/locks_profile_module'
|
37
37
|
require 'latest/modules/logic_profile_module'
|
38
38
|
require 'latest/modules/machinelearning_profile_module'
|
39
|
+
require 'latest/modules/machinelearningservices_profile_module'
|
39
40
|
require 'latest/modules/managedapplications_profile_module'
|
40
41
|
require 'latest/modules/marketplaceordering_profile_module'
|
41
42
|
require 'latest/modules/mediaservices_profile_module'
|
@@ -94,7 +95,7 @@ module Azure::Profiles::Latest
|
|
94
95
|
class Client
|
95
96
|
include MsRestAzure::Common::Configurable
|
96
97
|
|
97
|
-
attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :links, :locks, :logic, :machine_learning, :managed_applications, :marketplace_ordering, :media_services, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :security, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :image_search, :local_search, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
98
|
+
attr_reader :analysis_services, :api_management, :authorization, :automation, :batch, :billing, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :customer_insights, :data_lake_analytics, :data_lake_store, :data_migration, :dev_spaces, :dev_test_labs, :dns, :event_grid, :event_hub, :features, :graph_rbac, :iot_central, :iot_hub, :key_vault, :kusto, :links, :locks, :logic, :machine_learning, :machine_learning_services, :managed_applications, :marketplace_ordering, :media_services, :monitor, :managed_service_identity, :network, :notification_hubs, :operational_insights, :policy, :policy_insights, :power_bi_embedded, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :resources, :resources_management, :scheduler, :search, :security, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :stream_analytics, :subscriptions, :traffic_manager, :web, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :image_search, :local_search, :news_search, :qnamaker, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
98
99
|
|
99
100
|
#
|
100
101
|
# Initializes a new instance of the Client class.
|
@@ -159,6 +160,7 @@ module Azure::Profiles::Latest
|
|
159
160
|
@locks = LocksAdapter.new(self, base_url, sdk_options)
|
160
161
|
@logic = LogicAdapter.new(self, base_url, sdk_options)
|
161
162
|
@machine_learning = MachineLearningAdapter.new(self, base_url, sdk_options)
|
163
|
+
@machine_learning_services = MachineLearningServicesAdapter.new(self, base_url, sdk_options)
|
162
164
|
@managed_applications = ManagedApplicationsAdapter.new(self, base_url, sdk_options)
|
163
165
|
@marketplace_ordering = MarketplaceOrderingAdapter.new(self, base_url, sdk_options)
|
164
166
|
@media_services = MediaServicesAdapter.new(self, base_url, sdk_options)
|
@@ -476,6 +478,14 @@ module Azure::Profiles::Latest
|
|
476
478
|
end
|
477
479
|
end
|
478
480
|
|
481
|
+
class MachineLearningServicesAdapter
|
482
|
+
attr_accessor :mgmt
|
483
|
+
|
484
|
+
def initialize(context, base_url, options)
|
485
|
+
@mgmt = Azure::Profiles::Latest::MachineLearningServices::Mgmt::MachineLearningServicesManagementClass.new(context, base_url, options)
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
479
489
|
class ManagedApplicationsAdapter
|
480
490
|
attr_accessor :mgmt
|
481
491
|
|
@@ -37,9 +37,7 @@ module Azure::Profiles::Latest
|
|
37
37
|
UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
38
38
|
ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
39
39
|
CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
40
|
-
SkuName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName
|
41
40
|
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
42
|
-
Kind = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
|
43
41
|
ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
44
42
|
KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
45
43
|
UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
|
@@ -153,15 +151,9 @@ module Azure::Profiles::Latest
|
|
153
151
|
def cognitive_services_resource_and_sku
|
154
152
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
155
153
|
end
|
156
|
-
def sku_name
|
157
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuName
|
158
|
-
end
|
159
154
|
def sku_tier
|
160
155
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
161
156
|
end
|
162
|
-
def kind
|
163
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Kind
|
164
|
-
end
|
165
157
|
def provisioning_state
|
166
158
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
167
159
|
end
|
@@ -16,18 +16,19 @@ module Azure::Profiles::Latest
|
|
16
16
|
|
17
17
|
module Models
|
18
18
|
RegistryUsageListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
|
19
|
+
ImportSourceCredentials = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSourceCredentials
|
19
20
|
QuarantinePolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy
|
20
|
-
|
21
|
+
ImportImageParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters
|
21
22
|
TrustPolicy = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy
|
22
|
-
RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
|
23
|
-
RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies
|
24
|
-
OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition
|
25
23
|
RegistryNameStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
|
24
|
+
RegistryPolicies = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies
|
26
25
|
OperationMetricSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition
|
27
|
-
|
28
|
-
|
26
|
+
OperationDisplayDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition
|
27
|
+
OperationServiceSpecificationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition
|
28
|
+
OperationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult
|
29
|
+
Status = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status
|
29
30
|
ReplicationUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters
|
30
|
-
|
31
|
+
VirtualNetworkRule = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::VirtualNetworkRule
|
31
32
|
ReplicationListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult
|
32
33
|
NetworkRuleSet = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::NetworkRuleSet
|
33
34
|
RegistryUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUpdateParameters
|
@@ -36,24 +37,24 @@ module Azure::Profiles::Latest
|
|
36
37
|
WebhookUpdateParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookUpdateParameters
|
37
38
|
RegenerateCredentialParameters = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegenerateCredentialParameters
|
38
39
|
WebhookListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult
|
39
|
-
|
40
|
+
ImportSource = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource
|
40
41
|
EventInfo = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo
|
41
|
-
|
42
|
+
OperationDefinition = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
|
42
43
|
CallbackConfig = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig
|
43
|
-
|
44
|
+
StorageAccountProperties = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties
|
44
45
|
Target = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target
|
45
46
|
EventListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventListResult
|
46
47
|
RegistryListResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListResult
|
47
48
|
Request = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Request
|
48
49
|
RegistryUsage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsage
|
49
50
|
Actor = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor
|
50
|
-
|
51
|
+
Sku = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku
|
51
52
|
Source = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
|
52
53
|
RegistryListCredentialsResult = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryListCredentialsResult
|
53
54
|
EventContent = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent
|
54
|
-
|
55
|
+
IPRule = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::IPRule
|
55
56
|
EventRequestMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage
|
56
|
-
|
57
|
+
RegistryNameCheckRequest = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
|
57
58
|
EventResponseMessage = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage
|
58
59
|
Registry = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Registry
|
59
60
|
Replication = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Replication
|
@@ -63,6 +64,7 @@ module Azure::Profiles::Latest
|
|
63
64
|
SkuName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuName
|
64
65
|
SkuTier = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::SkuTier
|
65
66
|
DefaultAction = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::DefaultAction
|
67
|
+
Action = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Action
|
66
68
|
PasswordName = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName
|
67
69
|
RegistryUsageUnit = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageUnit
|
68
70
|
PolicyStatus = Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PolicyStatus
|
@@ -173,41 +175,44 @@ module Azure::Profiles::Latest
|
|
173
175
|
def registry_usage_list_result
|
174
176
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryUsageListResult
|
175
177
|
end
|
178
|
+
def import_source_credentials
|
179
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSourceCredentials
|
180
|
+
end
|
176
181
|
def quarantine_policy
|
177
182
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::QuarantinePolicy
|
178
183
|
end
|
179
|
-
def
|
180
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
184
|
+
def import_image_parameters
|
185
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportImageParameters
|
181
186
|
end
|
182
187
|
def trust_policy
|
183
188
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::TrustPolicy
|
184
189
|
end
|
185
|
-
def
|
186
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
190
|
+
def registry_name_status
|
191
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameStatus
|
187
192
|
end
|
188
193
|
def registry_policies
|
189
194
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryPolicies
|
190
195
|
end
|
196
|
+
def operation_metric_specification_definition
|
197
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition
|
198
|
+
end
|
191
199
|
def operation_display_definition
|
192
200
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDisplayDefinition
|
193
201
|
end
|
194
|
-
def
|
195
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
196
|
-
end
|
197
|
-
def operation_metric_specification_definition
|
198
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationMetricSpecificationDefinition
|
202
|
+
def operation_service_specification_definition
|
203
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationServiceSpecificationDefinition
|
199
204
|
end
|
200
|
-
def
|
201
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
205
|
+
def operation_list_result
|
206
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationListResult
|
202
207
|
end
|
203
|
-
def
|
204
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
208
|
+
def status
|
209
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Status
|
205
210
|
end
|
206
211
|
def replication_update_parameters
|
207
212
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationUpdateParameters
|
208
213
|
end
|
209
|
-
def
|
210
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
214
|
+
def virtual_network_rule
|
215
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::VirtualNetworkRule
|
211
216
|
end
|
212
217
|
def replication_list_result
|
213
218
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ReplicationListResult
|
@@ -233,20 +238,20 @@ module Azure::Profiles::Latest
|
|
233
238
|
def webhook_list_result
|
234
239
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::WebhookListResult
|
235
240
|
end
|
236
|
-
def
|
237
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
241
|
+
def import_source
|
242
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::ImportSource
|
238
243
|
end
|
239
244
|
def event_info
|
240
245
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventInfo
|
241
246
|
end
|
242
|
-
def
|
243
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
247
|
+
def operation_definition
|
248
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::OperationDefinition
|
244
249
|
end
|
245
250
|
def callback_config
|
246
251
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::CallbackConfig
|
247
252
|
end
|
248
|
-
def
|
249
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
253
|
+
def storage_account_properties
|
254
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::StorageAccountProperties
|
250
255
|
end
|
251
256
|
def target
|
252
257
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Target
|
@@ -266,8 +271,8 @@ module Azure::Profiles::Latest
|
|
266
271
|
def actor
|
267
272
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Actor
|
268
273
|
end
|
269
|
-
def
|
270
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
274
|
+
def sku
|
275
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Sku
|
271
276
|
end
|
272
277
|
def source
|
273
278
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Source
|
@@ -278,14 +283,14 @@ module Azure::Profiles::Latest
|
|
278
283
|
def event_content
|
279
284
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventContent
|
280
285
|
end
|
281
|
-
def
|
282
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
286
|
+
def iprule
|
287
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::IPRule
|
283
288
|
end
|
284
289
|
def event_request_message
|
285
290
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventRequestMessage
|
286
291
|
end
|
287
|
-
def
|
288
|
-
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::
|
292
|
+
def registry_name_check_request
|
293
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::RegistryNameCheckRequest
|
289
294
|
end
|
290
295
|
def event_response_message
|
291
296
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::EventResponseMessage
|
@@ -314,6 +319,9 @@ module Azure::Profiles::Latest
|
|
314
319
|
def default_action
|
315
320
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::DefaultAction
|
316
321
|
end
|
322
|
+
def action
|
323
|
+
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::Action
|
324
|
+
end
|
317
325
|
def password_name
|
318
326
|
Azure::ContainerRegistry::Mgmt::V2017_10_01::Models::PasswordName
|
319
327
|
end
|
@@ -0,0 +1,201 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
|
+
|
5
|
+
require 'azure_mgmt_machine_learning_services'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module MachineLearningServices
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Operations
|
11
|
+
Workspaces = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Workspaces
|
12
|
+
MachineLearningCompute = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::MachineLearningCompute
|
13
|
+
|
14
|
+
module Models
|
15
|
+
SystemService = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::SystemService
|
16
|
+
OperationDisplay = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
17
|
+
SslConfiguration = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::SslConfiguration
|
18
|
+
OperationListResult = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
19
|
+
AKSProperties = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AKSProperties
|
20
|
+
WorkspaceUpdateParameters = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::WorkspaceUpdateParameters
|
21
|
+
PaginatedComputeResourcesList = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::PaginatedComputeResourcesList
|
22
|
+
Operation = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Operation
|
23
|
+
Resource = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Resource
|
24
|
+
Password = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Password
|
25
|
+
RegistryListCredentialsResult = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::RegistryListCredentialsResult
|
26
|
+
ServicePrincipalCredentials = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ServicePrincipalCredentials
|
27
|
+
ErrorDetail = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ErrorDetail
|
28
|
+
WorkspaceListResult = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::WorkspaceListResult
|
29
|
+
MachineLearningServiceError = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::MachineLearningServiceError
|
30
|
+
HDInsightProperties = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::HDInsightProperties
|
31
|
+
ScaleSettings = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ScaleSettings
|
32
|
+
ListWorkspaceKeysResult = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ListWorkspaceKeysResult
|
33
|
+
BatchAIProperties = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::BatchAIProperties
|
34
|
+
Compute = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Compute
|
35
|
+
ComputeSecrets = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeSecrets
|
36
|
+
ErrorResponse = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
37
|
+
VirtualMachineSshCredentials = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineSshCredentials
|
38
|
+
Identity = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Identity
|
39
|
+
VirtualMachineProperties = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineProperties
|
40
|
+
Workspace = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Workspace
|
41
|
+
ComputeResource = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeResource
|
42
|
+
AKS = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AKS
|
43
|
+
BatchAI = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::BatchAI
|
44
|
+
VirtualMachine = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachine
|
45
|
+
HDInsight = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::HDInsight
|
46
|
+
DataFactory = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::DataFactory
|
47
|
+
AksComputeSecrets = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AksComputeSecrets
|
48
|
+
VirtualMachineSecrets = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineSecrets
|
49
|
+
ProvisioningState = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ProvisioningState
|
50
|
+
ResourceIdentityType = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ResourceIdentityType
|
51
|
+
ComputeType = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeType
|
52
|
+
end
|
53
|
+
|
54
|
+
class MachineLearningServicesManagementClass
|
55
|
+
attr_reader :operations, :workspaces, :machine_learning_compute, :configurable, :base_url, :options, :model_classes
|
56
|
+
|
57
|
+
def initialize(configurable, base_url=nil, options=nil)
|
58
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
59
|
+
|
60
|
+
@client_0 = Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::MachineLearningServicesClient.new(configurable.credentials, base_url, options)
|
61
|
+
if(@client_0.respond_to?(:subscription_id))
|
62
|
+
@client_0.subscription_id = configurable.subscription_id
|
63
|
+
end
|
64
|
+
add_telemetry(@client_0)
|
65
|
+
@operations = @client_0.operations
|
66
|
+
@workspaces = @client_0.workspaces
|
67
|
+
@machine_learning_compute = @client_0.machine_learning_compute
|
68
|
+
|
69
|
+
@model_classes = ModelClasses.new
|
70
|
+
end
|
71
|
+
|
72
|
+
def add_telemetry(client)
|
73
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/MachineLearningServices/Mgmt"
|
74
|
+
client.add_user_agent_information(profile_information)
|
75
|
+
end
|
76
|
+
|
77
|
+
def method_missing(method, *args)
|
78
|
+
if @client_0.respond_to?method
|
79
|
+
@client_0.send(method, *args)
|
80
|
+
else
|
81
|
+
super
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class ModelClasses
|
86
|
+
def system_service
|
87
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::SystemService
|
88
|
+
end
|
89
|
+
def operation_display
|
90
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::OperationDisplay
|
91
|
+
end
|
92
|
+
def ssl_configuration
|
93
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::SslConfiguration
|
94
|
+
end
|
95
|
+
def operation_list_result
|
96
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::OperationListResult
|
97
|
+
end
|
98
|
+
def aksproperties
|
99
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AKSProperties
|
100
|
+
end
|
101
|
+
def workspace_update_parameters
|
102
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::WorkspaceUpdateParameters
|
103
|
+
end
|
104
|
+
def paginated_compute_resources_list
|
105
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::PaginatedComputeResourcesList
|
106
|
+
end
|
107
|
+
def operation
|
108
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Operation
|
109
|
+
end
|
110
|
+
def resource
|
111
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Resource
|
112
|
+
end
|
113
|
+
def password
|
114
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Password
|
115
|
+
end
|
116
|
+
def registry_list_credentials_result
|
117
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::RegistryListCredentialsResult
|
118
|
+
end
|
119
|
+
def service_principal_credentials
|
120
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ServicePrincipalCredentials
|
121
|
+
end
|
122
|
+
def error_detail
|
123
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ErrorDetail
|
124
|
+
end
|
125
|
+
def workspace_list_result
|
126
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::WorkspaceListResult
|
127
|
+
end
|
128
|
+
def machine_learning_service_error
|
129
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::MachineLearningServiceError
|
130
|
+
end
|
131
|
+
def hdinsight_properties
|
132
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::HDInsightProperties
|
133
|
+
end
|
134
|
+
def scale_settings
|
135
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ScaleSettings
|
136
|
+
end
|
137
|
+
def list_workspace_keys_result
|
138
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ListWorkspaceKeysResult
|
139
|
+
end
|
140
|
+
def batch_aiproperties
|
141
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::BatchAIProperties
|
142
|
+
end
|
143
|
+
def compute
|
144
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Compute
|
145
|
+
end
|
146
|
+
def compute_secrets
|
147
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeSecrets
|
148
|
+
end
|
149
|
+
def error_response
|
150
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ErrorResponse
|
151
|
+
end
|
152
|
+
def virtual_machine_ssh_credentials
|
153
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineSshCredentials
|
154
|
+
end
|
155
|
+
def identity
|
156
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Identity
|
157
|
+
end
|
158
|
+
def virtual_machine_properties
|
159
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineProperties
|
160
|
+
end
|
161
|
+
def workspace
|
162
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::Workspace
|
163
|
+
end
|
164
|
+
def compute_resource
|
165
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeResource
|
166
|
+
end
|
167
|
+
def aks
|
168
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AKS
|
169
|
+
end
|
170
|
+
def batch_ai
|
171
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::BatchAI
|
172
|
+
end
|
173
|
+
def virtual_machine
|
174
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachine
|
175
|
+
end
|
176
|
+
def hdinsight
|
177
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::HDInsight
|
178
|
+
end
|
179
|
+
def data_factory
|
180
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::DataFactory
|
181
|
+
end
|
182
|
+
def aks_compute_secrets
|
183
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::AksComputeSecrets
|
184
|
+
end
|
185
|
+
def virtual_machine_secrets
|
186
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::VirtualMachineSecrets
|
187
|
+
end
|
188
|
+
def provisioning_state
|
189
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ProvisioningState
|
190
|
+
end
|
191
|
+
def resource_identity_type
|
192
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ResourceIdentityType
|
193
|
+
end
|
194
|
+
def compute_type
|
195
|
+
Azure::MachineLearningServices::Mgmt::V2018_03_01_preview::Models::ComputeType
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|
@@ -7,22 +7,24 @@ require 'azure_mgmt_policy'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module Policy
|
9
9
|
module Mgmt
|
10
|
-
PolicyAssignments = Azure::Policy::Mgmt::
|
11
|
-
PolicyDefinitions = Azure::Policy::Mgmt::
|
12
|
-
PolicySetDefinitions = Azure::Policy::Mgmt::
|
10
|
+
PolicyAssignments = Azure::Policy::Mgmt::V2018_05_01::PolicyAssignments
|
11
|
+
PolicyDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicyDefinitions
|
12
|
+
PolicySetDefinitions = Azure::Policy::Mgmt::V2018_05_01::PolicySetDefinitions
|
13
13
|
|
14
14
|
module Models
|
15
|
-
PolicyDefinition = Azure::Policy::Mgmt::
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
15
|
+
PolicyDefinition = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinition
|
16
|
+
PolicySku = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySku
|
17
|
+
PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionListResult
|
18
|
+
PolicyAssignment = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignment
|
19
|
+
PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionReference
|
20
|
+
ErrorResponse = Azure::Policy::Mgmt::V2018_05_01::Models::ErrorResponse
|
21
|
+
PolicySetDefinition = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinition
|
22
|
+
PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignmentListResult
|
23
|
+
PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinitionListResult
|
24
|
+
Identity = Azure::Policy::Mgmt::V2018_05_01::Models::Identity
|
25
|
+
ResourceIdentityType = Azure::Policy::Mgmt::V2018_05_01::Models::ResourceIdentityType
|
26
|
+
PolicyType = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyType
|
27
|
+
PolicyMode = Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
26
28
|
end
|
27
29
|
|
28
30
|
class PolicyManagementClass
|
@@ -31,7 +33,7 @@ module Azure::Profiles::Latest
|
|
31
33
|
def initialize(configurable, base_url=nil, options=nil)
|
32
34
|
@configurable, @base_url, @options = configurable, base_url, options
|
33
35
|
|
34
|
-
@client_0 = Azure::Policy::Mgmt::
|
36
|
+
@client_0 = Azure::Policy::Mgmt::V2018_05_01::PolicyClient.new(configurable.credentials, base_url, options)
|
35
37
|
if(@client_0.respond_to?(:subscription_id))
|
36
38
|
@client_0.subscription_id = configurable.subscription_id
|
37
39
|
end
|
@@ -58,37 +60,43 @@ module Azure::Profiles::Latest
|
|
58
60
|
|
59
61
|
class ModelClasses
|
60
62
|
def policy_definition
|
61
|
-
Azure::Policy::Mgmt::
|
63
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinition
|
64
|
+
end
|
65
|
+
def policy_sku
|
66
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySku
|
62
67
|
end
|
63
68
|
def policy_definition_list_result
|
64
|
-
Azure::Policy::Mgmt::
|
69
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionListResult
|
65
70
|
end
|
66
71
|
def policy_assignment
|
67
|
-
Azure::Policy::Mgmt::
|
72
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignment
|
68
73
|
end
|
69
74
|
def policy_definition_reference
|
70
|
-
Azure::Policy::Mgmt::
|
75
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyDefinitionReference
|
71
76
|
end
|
72
77
|
def error_response
|
73
|
-
Azure::Policy::Mgmt::
|
78
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::ErrorResponse
|
74
79
|
end
|
75
80
|
def policy_set_definition
|
76
|
-
Azure::Policy::Mgmt::
|
81
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinition
|
77
82
|
end
|
78
83
|
def policy_assignment_list_result
|
79
|
-
Azure::Policy::Mgmt::
|
84
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyAssignmentListResult
|
80
85
|
end
|
81
86
|
def policy_set_definition_list_result
|
82
|
-
Azure::Policy::Mgmt::
|
87
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicySetDefinitionListResult
|
83
88
|
end
|
84
|
-
def
|
85
|
-
Azure::Policy::Mgmt::
|
89
|
+
def identity
|
90
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::Identity
|
91
|
+
end
|
92
|
+
def resource_identity_type
|
93
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::ResourceIdentityType
|
86
94
|
end
|
87
95
|
def policy_type
|
88
|
-
Azure::Policy::Mgmt::
|
96
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyType
|
89
97
|
end
|
90
98
|
def policy_mode
|
91
|
-
Azure::Policy::Mgmt::
|
99
|
+
Azure::Policy::Mgmt::V2018_05_01::Models::PolicyMode
|
92
100
|
end
|
93
101
|
end
|
94
102
|
end
|
@@ -10,13 +10,14 @@ module Azure::Profiles::Latest
|
|
10
10
|
PolicyEvents = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyEvents
|
11
11
|
PolicyStates = Azure::PolicyInsights::Mgmt::V2018_04_04::PolicyStates
|
12
12
|
Operations = Azure::PolicyInsights::Mgmt::V2018_04_04::Operations
|
13
|
+
PolicyTrackedResources = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyTrackedResources
|
14
|
+
Remediations = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Remediations
|
13
15
|
|
14
16
|
module Models
|
15
17
|
PolicyDefinitionSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyDefinitionSummary
|
16
18
|
PolicyAssignmentSummary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyAssignmentSummary
|
17
19
|
PolicyEventsQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyEventsQueryResults
|
18
20
|
Summary = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary
|
19
|
-
QueryFailure = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure
|
20
21
|
SummarizeResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults
|
21
22
|
PolicyStatesQueryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesQueryResults
|
22
23
|
OperationDisplay = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationDisplay
|
@@ -24,14 +25,28 @@ module Azure::Profiles::Latest
|
|
24
25
|
Operation = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Operation
|
25
26
|
PolicyState = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyState
|
26
27
|
OperationsListResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults
|
27
|
-
QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError
|
28
|
-
QueryOptions = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions
|
29
28
|
SummaryResults = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults
|
30
29
|
PolicyStatesResource = Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource
|
30
|
+
Remediation = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
31
|
+
PolicyDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
32
|
+
RemediationListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
33
|
+
PolicyTrackedResource = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
34
|
+
TypedErrorInfo = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
35
|
+
QueryFailureError = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
36
|
+
ErrorDefinition = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
37
|
+
RemediationFilters = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
38
|
+
RemediationDeployment = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
39
|
+
TrackedResourceModificationDetails = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
40
|
+
RemediationDeploymentsListResult = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
41
|
+
QueryFailure = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
42
|
+
ErrorResponse = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
43
|
+
PolicyTrackedResourcesQueryResults = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
44
|
+
QueryOptions = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
45
|
+
RemediationDeploymentSummary = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
31
46
|
end
|
32
47
|
|
33
48
|
class PolicyInsightsManagementClass
|
34
|
-
attr_reader :policy_events, :policy_states, :operations, :configurable, :base_url, :options, :model_classes
|
49
|
+
attr_reader :policy_events, :policy_states, :operations, :policy_tracked_resources, :remediations, :configurable, :base_url, :options, :model_classes
|
35
50
|
|
36
51
|
def initialize(configurable, base_url=nil, options=nil)
|
37
52
|
@configurable, @base_url, @options = configurable, base_url, options
|
@@ -45,6 +60,14 @@ module Azure::Profiles::Latest
|
|
45
60
|
@policy_states = @client_0.policy_states
|
46
61
|
@operations = @client_0.operations
|
47
62
|
|
63
|
+
@client_1 = Azure::PolicyInsights::Mgmt::V2018_07_01_preview::PolicyInsightsClient.new(configurable.credentials, base_url, options)
|
64
|
+
if(@client_1.respond_to?(:subscription_id))
|
65
|
+
@client_1.subscription_id = configurable.subscription_id
|
66
|
+
end
|
67
|
+
add_telemetry(@client_1)
|
68
|
+
@policy_tracked_resources = @client_1.policy_tracked_resources
|
69
|
+
@remediations = @client_1.remediations
|
70
|
+
|
48
71
|
@model_classes = ModelClasses.new
|
49
72
|
end
|
50
73
|
|
@@ -54,7 +77,9 @@ module Azure::Profiles::Latest
|
|
54
77
|
end
|
55
78
|
|
56
79
|
def method_missing(method, *args)
|
57
|
-
if @
|
80
|
+
if @client_1.respond_to?method
|
81
|
+
@client_1.send(method, *args)
|
82
|
+
elsif @client_0.respond_to?method
|
58
83
|
@client_0.send(method, *args)
|
59
84
|
else
|
60
85
|
super
|
@@ -74,9 +99,6 @@ module Azure::Profiles::Latest
|
|
74
99
|
def summary
|
75
100
|
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::Summary
|
76
101
|
end
|
77
|
-
def query_failure
|
78
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailure
|
79
|
-
end
|
80
102
|
def summarize_results
|
81
103
|
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummarizeResults
|
82
104
|
end
|
@@ -98,18 +120,60 @@ module Azure::Profiles::Latest
|
|
98
120
|
def operations_list_results
|
99
121
|
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::OperationsListResults
|
100
122
|
end
|
101
|
-
def query_failure_error
|
102
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryFailureError
|
103
|
-
end
|
104
|
-
def query_options
|
105
|
-
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::QueryOptions
|
106
|
-
end
|
107
123
|
def summary_results
|
108
124
|
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::SummaryResults
|
109
125
|
end
|
110
126
|
def policy_states_resource
|
111
127
|
Azure::PolicyInsights::Mgmt::V2018_04_04::Models::PolicyStatesResource
|
112
128
|
end
|
129
|
+
def remediation
|
130
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::Remediation
|
131
|
+
end
|
132
|
+
def policy_details
|
133
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyDetails
|
134
|
+
end
|
135
|
+
def remediation_list_result
|
136
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationListResult
|
137
|
+
end
|
138
|
+
def policy_tracked_resource
|
139
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResource
|
140
|
+
end
|
141
|
+
def typed_error_info
|
142
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TypedErrorInfo
|
143
|
+
end
|
144
|
+
def query_failure_error
|
145
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailureError
|
146
|
+
end
|
147
|
+
def error_definition
|
148
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorDefinition
|
149
|
+
end
|
150
|
+
def remediation_filters
|
151
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationFilters
|
152
|
+
end
|
153
|
+
def remediation_deployment
|
154
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeployment
|
155
|
+
end
|
156
|
+
def tracked_resource_modification_details
|
157
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::TrackedResourceModificationDetails
|
158
|
+
end
|
159
|
+
def remediation_deployments_list_result
|
160
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentsListResult
|
161
|
+
end
|
162
|
+
def query_failure
|
163
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryFailure
|
164
|
+
end
|
165
|
+
def error_response
|
166
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::ErrorResponse
|
167
|
+
end
|
168
|
+
def policy_tracked_resources_query_results
|
169
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::PolicyTrackedResourcesQueryResults
|
170
|
+
end
|
171
|
+
def query_options
|
172
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::QueryOptions
|
173
|
+
end
|
174
|
+
def remediation_deployment_summary
|
175
|
+
Azure::PolicyInsights::Mgmt::V2018_07_01_preview::Models::RemediationDeploymentSummary
|
176
|
+
end
|
113
177
|
end
|
114
178
|
end
|
115
179
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -170,14 +170,14 @@ dependencies:
|
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 0.18.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 0.18.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: azure_mgmt_commerce
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.
|
243
|
+
version: 0.18.0
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.
|
250
|
+
version: 0.18.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: azure_mgmt_container_service
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -520,14 +520,14 @@ dependencies:
|
|
520
520
|
requirements:
|
521
521
|
- - "~>"
|
522
522
|
- !ruby/object:Gem::Version
|
523
|
-
version: 0.
|
523
|
+
version: 0.18.0
|
524
524
|
type: :runtime
|
525
525
|
prerelease: false
|
526
526
|
version_requirements: !ruby/object:Gem::Requirement
|
527
527
|
requirements:
|
528
528
|
- - "~>"
|
529
529
|
- !ruby/object:Gem::Version
|
530
|
-
version: 0.
|
530
|
+
version: 0.18.0
|
531
531
|
- !ruby/object:Gem::Dependency
|
532
532
|
name: azure_mgmt_monitor
|
533
533
|
requirement: !ruby/object:Gem::Requirement
|
@@ -604,28 +604,28 @@ dependencies:
|
|
604
604
|
requirements:
|
605
605
|
- - "~>"
|
606
606
|
- !ruby/object:Gem::Version
|
607
|
-
version: 0.17.
|
607
|
+
version: 0.17.2
|
608
608
|
type: :runtime
|
609
609
|
prerelease: false
|
610
610
|
version_requirements: !ruby/object:Gem::Requirement
|
611
611
|
requirements:
|
612
612
|
- - "~>"
|
613
613
|
- !ruby/object:Gem::Version
|
614
|
-
version: 0.17.
|
614
|
+
version: 0.17.2
|
615
615
|
- !ruby/object:Gem::Dependency
|
616
616
|
name: azure_mgmt_policy_insights
|
617
617
|
requirement: !ruby/object:Gem::Requirement
|
618
618
|
requirements:
|
619
619
|
- - "~>"
|
620
620
|
- !ruby/object:Gem::Version
|
621
|
-
version: 0.17.
|
621
|
+
version: 0.17.1
|
622
622
|
type: :runtime
|
623
623
|
prerelease: false
|
624
624
|
version_requirements: !ruby/object:Gem::Requirement
|
625
625
|
requirements:
|
626
626
|
- - "~>"
|
627
627
|
- !ruby/object:Gem::Version
|
628
|
-
version: 0.17.
|
628
|
+
version: 0.17.1
|
629
629
|
- !ruby/object:Gem::Dependency
|
630
630
|
name: azure_mgmt_powerbi_embedded
|
631
631
|
requirement: !ruby/object:Gem::Requirement
|
@@ -856,14 +856,14 @@ dependencies:
|
|
856
856
|
requirements:
|
857
857
|
- - "~>"
|
858
858
|
- !ruby/object:Gem::Version
|
859
|
-
version: 0.17.
|
859
|
+
version: 0.17.5
|
860
860
|
type: :runtime
|
861
861
|
prerelease: false
|
862
862
|
version_requirements: !ruby/object:Gem::Requirement
|
863
863
|
requirements:
|
864
864
|
- - "~>"
|
865
865
|
- !ruby/object:Gem::Version
|
866
|
-
version: 0.17.
|
866
|
+
version: 0.17.5
|
867
867
|
- !ruby/object:Gem::Dependency
|
868
868
|
name: azure_mgmt_stream_analytics
|
869
869
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1185,6 +1185,7 @@ files:
|
|
1185
1185
|
- lib/latest/modules/locks_profile_module.rb
|
1186
1186
|
- lib/latest/modules/logic_profile_module.rb
|
1187
1187
|
- lib/latest/modules/machinelearning_profile_module.rb
|
1188
|
+
- lib/latest/modules/machinelearningservices_profile_module.rb
|
1188
1189
|
- lib/latest/modules/managedapplications_profile_module.rb
|
1189
1190
|
- lib/latest/modules/managedserviceidentity_profile_module.rb
|
1190
1191
|
- lib/latest/modules/marketplaceordering_profile_module.rb
|
@@ -1259,7 +1260,7 @@ metadata:
|
|
1259
1260
|
changelog_uri: https://github.com/Azure/azure-sdk-for-ruby/blob/master/ChangeLog.md
|
1260
1261
|
documentation_uri: https://azure.microsoft.com/en-us/develop/ruby/
|
1261
1262
|
homepage_uri: https://aka.ms/azure-sdk-for-ruby
|
1262
|
-
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.
|
1263
|
+
source_code_uri: https://github.com/Azure/azure-sdk-for-ruby/tree/ARM-0.20.0
|
1263
1264
|
wiki_uri: https://github.com/Azure/azure-sdk-for-ruby/wiki
|
1264
1265
|
post_install_message:
|
1265
1266
|
rdoc_options: []
|
@@ -1277,7 +1278,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1277
1278
|
version: '0'
|
1278
1279
|
requirements: []
|
1279
1280
|
rubyforge_project:
|
1280
|
-
rubygems_version: 2.
|
1281
|
+
rubygems_version: 2.7.6
|
1281
1282
|
signing_key:
|
1282
1283
|
specification_version: 4
|
1283
1284
|
summary: Official Ruby client library to consume Microsoft Azure services.
|