azure_sdk 0.61.0 → 0.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure_sdk.rb +1 -1
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +41 -1
- data/lib/latest/modules/automanage_profile_module.rb +183 -0
- data/lib/latest/modules/azurestackhci_profile_module.rb +119 -0
- data/lib/latest/modules/cdn_profile_module.rb +122 -118
- data/lib/latest/modules/cognitiveservices_profile_module.rb +68 -64
- data/lib/latest/modules/compute_profile_module.rb +961 -805
- data/lib/latest/modules/containerservice_profile_module.rb +143 -139
- data/lib/latest/modules/datafactory_profile_module.rb +419 -351
- data/lib/latest/modules/digitaltwins_profile_module.rb +137 -0
- data/lib/latest/modules/hdinsight_profile_module.rb +9 -9
- data/lib/latest/modules/hybridcompute_profile_module.rb +177 -0
- data/lib/latest/modules/keyvault_profile_module.rb +426 -272
- data/lib/latest/modules/kusto_profile_module.rb +164 -160
- data/lib/latest/modules/mariadb_profile_module.rb +20 -4
- data/lib/latest/modules/mysql_profile_module.rb +122 -12
- data/lib/latest/modules/netapp_profile_module.rb +231 -105
- data/lib/latest/modules/network_profile_module.rb +1733 -1633
- data/lib/latest/modules/operationalinsights_profile_module.rb +173 -173
- data/lib/latest/modules/security_profile_module.rb +492 -224
- data/lib/latest/modules/storage_profile_module.rb +391 -377
- data/lib/latest/modules/subscriptions_profile_module.rb +92 -72
- metadata +104 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f10569d22826ef0e07f1e8a39b631bf06fbb006fcc7ad3aeee517758e3df165
|
4
|
+
data.tar.gz: 67f8693c3b124dab346f44cd3cac218ccb269f2980d4e8c89991cf9d2777d2bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a61372767bf92035aab69a564f3093ce8afde3b95cfd8a0d01d1aa4e27ab83e07806b442a045e737aa6c46ed2dc6eb364359219621285d5485b6598199d6d33
|
7
|
+
data.tar.gz: 6779385afbc9e2d7ec484110c2d910b6d80b3f19d470e944ecb6515a1149d619a687b076d797ad2ceb83263b48aff8ec31c06530bbb13087ca5b4cf4b8c661ee
|
data/lib/azure_sdk.rb
CHANGED
@@ -5,5 +5,5 @@
|
|
5
5
|
require 'azure_sdk/version'
|
6
6
|
require 'latest/latest_profile_client'
|
7
7
|
require 'v2017_03_09/v2017_03_09_profile_client'
|
8
|
-
require 'v2018_03_01/v2018_03_01_profile_client'
|
9
8
|
require 'v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client'
|
9
|
+
require 'v2018_03_01/v2018_03_01_profile_client'
|
data/lib/azure_sdk/version.rb
CHANGED
@@ -11,8 +11,10 @@ require 'latest/modules/apimanagement_profile_module'
|
|
11
11
|
require 'latest/modules/appconfiguration_profile_module'
|
12
12
|
require 'latest/modules/attestation_profile_module'
|
13
13
|
require 'latest/modules/authorization_profile_module'
|
14
|
+
require 'latest/modules/automanage_profile_module'
|
14
15
|
require 'latest/modules/automation_profile_module'
|
15
16
|
require 'latest/modules/azurestack_profile_module'
|
17
|
+
require 'latest/modules/azurestackhci_profile_module'
|
16
18
|
require 'latest/modules/batch_profile_module'
|
17
19
|
require 'latest/modules/batchai_profile_module'
|
18
20
|
require 'latest/modules/billing_profile_module'
|
@@ -37,6 +39,7 @@ require 'latest/modules/datafactory_profile_module'
|
|
37
39
|
require 'latest/modules/deploymentmanager_profile_module'
|
38
40
|
require 'latest/modules/devspaces_profile_module'
|
39
41
|
require 'latest/modules/devtestlabs_profile_module'
|
42
|
+
require 'latest/modules/digitaltwins_profile_module'
|
40
43
|
require 'latest/modules/dns_profile_module'
|
41
44
|
require 'latest/modules/edgegateway_profile_module'
|
42
45
|
require 'latest/modules/eventgrid_profile_module'
|
@@ -44,6 +47,7 @@ require 'latest/modules/eventhub_profile_module'
|
|
44
47
|
require 'latest/modules/features_profile_module'
|
45
48
|
require 'latest/modules/hanaonazure_profile_module'
|
46
49
|
require 'latest/modules/hdinsight_profile_module'
|
50
|
+
require 'latest/modules/hybridcompute_profile_module'
|
47
51
|
require 'latest/modules/graphrbac_profile_module'
|
48
52
|
require 'latest/modules/importexport_profile_module'
|
49
53
|
require 'latest/modules/iotcentral_profile_module'
|
@@ -143,7 +147,7 @@ module Azure::Profiles::Latest
|
|
143
147
|
class Client
|
144
148
|
include MsRestAzure::Common::Configurable
|
145
149
|
|
146
|
-
attr_reader :adhybrid_health_service, :advisor, :alerts_management, :analysis_services, :api_management, :appconfiguration, :attestation, :authorization, :automation, :azure_stack, :batch, :batch_ai, :billing, :bot_service, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :cost_management, :customer_insights, :data_box, :data_share, :data_lake_analytics, :data_lake_store, :data_migration, :data_factory, :deployment_manager, :dev_spaces, :dev_test_labs, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :graph_rbac, :import_export, :iot_central, :iot_hub, :key_vault, :kubernetes_configuration, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :maintenance, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :migrate, :mixed_reality, :monitor, :managed_service_identity, :mysql, :net_app, :network, :notification_hubs, :operational_insights, :operations_management, :peering, :policy, :policy_insights, :portal, :postgresql, :power_bi_embedded, :power_bi_dedicated, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_health, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :storage_cache, :stream_analytics, :subscriptions, :support, :synapse, :time_series_insights, :traffic_manager, :vmware_cloud_simple, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :personalizer, :qnamaker, :qnamaker_runtime, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
150
|
+
attr_reader :adhybrid_health_service, :advisor, :alerts_management, :analysis_services, :api_management, :appconfiguration, :attestation, :authorization, :automanage, :automation, :azure_stack, :azure_stack_hci, :batch, :batch_ai, :billing, :bot_service, :cdn, :cognitive_services, :commerce, :compute, :consumption, :container_instance, :container_registry, :container_service, :cosmosdb, :cost_management, :customer_insights, :data_box, :data_share, :data_lake_analytics, :data_lake_store, :data_migration, :data_factory, :deployment_manager, :dev_spaces, :dev_test_labs, :digital_twins, :dns, :edge_gateway, :event_grid, :event_hub, :features, :hanaonazure, :hdinsight, :hybrid_compute, :graph_rbac, :import_export, :iot_central, :iot_hub, :key_vault, :kubernetes_configuration, :kusto, :labservices, :links, :locks, :logic, :machine_learning, :machine_learning_services, :maintenance, :managed_applications, :maria_db, :marketplace_ordering, :media_services, :migrate, :mixed_reality, :monitor, :managed_service_identity, :mysql, :net_app, :network, :notification_hubs, :operational_insights, :operations_management, :peering, :policy, :policy_insights, :portal, :postgresql, :power_bi_embedded, :power_bi_dedicated, :private_dns, :recovery_services, :recovery_services_backup, :recovery_services_site_recovery, :redis, :relay, :reservations, :resource_health, :resource_graph, :resources, :resources_management, :scheduler, :search, :security, :serialconsole, :service_bus, :service_fabric, :signalr, :sql, :sqlvirtualmachine, :stor_simple8000_series, :storage, :storage_sync, :storage_cache, :stream_analytics, :subscriptions, :support, :synapse, :time_series_insights, :traffic_manager, :vmware_cloud_simple, :web, :anomaly_detector, :autosuggest, :customimagesearch, :computer_vision, :content_moderator, :custom_search, :customvisiontraining, :customvisionprediction, :entity_search, :face, :form_recognizer, :image_search, :local_search, :luis_runtime, :luis_authoring, :news_search, :personalizer, :qnamaker, :qnamaker_runtime, :spell_check, :text_analytics, :video_search, :web_search, :visual_search
|
147
151
|
|
148
152
|
#
|
149
153
|
# Initializes a new instance of the Client class.
|
@@ -183,8 +187,10 @@ module Azure::Profiles::Latest
|
|
183
187
|
@appconfiguration = AppconfigurationAdapter.new(self, base_url, sdk_options)
|
184
188
|
@attestation = AttestationAdapter.new(self, base_url, sdk_options)
|
185
189
|
@authorization = AuthorizationAdapter.new(self, base_url, sdk_options)
|
190
|
+
@automanage = AutomanageAdapter.new(self, base_url, sdk_options)
|
186
191
|
@automation = AutomationAdapter.new(self, base_url, sdk_options)
|
187
192
|
@azure_stack = AzureStackAdapter.new(self, base_url, sdk_options)
|
193
|
+
@azure_stack_hci = AzureStackHCIAdapter.new(self, base_url, sdk_options)
|
188
194
|
@batch = BatchAdapter.new(self, base_url, sdk_options)
|
189
195
|
@batch_ai = BatchAIAdapter.new(self, base_url, sdk_options)
|
190
196
|
@billing = BillingAdapter.new(self, base_url, sdk_options)
|
@@ -209,6 +215,7 @@ module Azure::Profiles::Latest
|
|
209
215
|
@deployment_manager = DeploymentManagerAdapter.new(self, base_url, sdk_options)
|
210
216
|
@dev_spaces = DevSpacesAdapter.new(self, base_url, sdk_options)
|
211
217
|
@dev_test_labs = DevTestLabsAdapter.new(self, base_url, sdk_options)
|
218
|
+
@digital_twins = DigitalTwinsAdapter.new(self, base_url, sdk_options)
|
212
219
|
@dns = DnsAdapter.new(self, base_url, sdk_options)
|
213
220
|
@edge_gateway = EdgeGatewayAdapter.new(self, base_url, sdk_options)
|
214
221
|
@event_grid = EventGridAdapter.new(self, base_url, sdk_options)
|
@@ -216,6 +223,7 @@ module Azure::Profiles::Latest
|
|
216
223
|
@features = FeaturesAdapter.new(self, base_url, sdk_options)
|
217
224
|
@hanaonazure = HanaonazureAdapter.new(self, base_url, sdk_options)
|
218
225
|
@hdinsight = HdinsightAdapter.new(self, base_url, sdk_options)
|
226
|
+
@hybrid_compute = HybridComputeAdapter.new(self, base_url, sdk_options)
|
219
227
|
@graph_rbac = GraphRbacAdapter.new(self, base_url, sdk_options)
|
220
228
|
@import_export = ImportExportAdapter.new(self, base_url, sdk_options)
|
221
229
|
@iot_central = IotCentralAdapter.new(self, base_url, sdk_options)
|
@@ -373,6 +381,14 @@ module Azure::Profiles::Latest
|
|
373
381
|
end
|
374
382
|
end
|
375
383
|
|
384
|
+
class AutomanageAdapter
|
385
|
+
attr_accessor :mgmt
|
386
|
+
|
387
|
+
def initialize(context, base_url, options)
|
388
|
+
@mgmt = Azure::Profiles::Latest::Automanage::Mgmt::AutomanageManagementClass.new(context, base_url, options)
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
376
392
|
class AutomationAdapter
|
377
393
|
attr_accessor :mgmt
|
378
394
|
|
@@ -389,6 +405,14 @@ module Azure::Profiles::Latest
|
|
389
405
|
end
|
390
406
|
end
|
391
407
|
|
408
|
+
class AzureStackHCIAdapter
|
409
|
+
attr_accessor :mgmt
|
410
|
+
|
411
|
+
def initialize(context, base_url, options)
|
412
|
+
@mgmt = Azure::Profiles::Latest::AzureStackHCI::Mgmt::AzureStackHCIManagementClass.new(context, base_url, options)
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
392
416
|
class BatchAdapter
|
393
417
|
attr_accessor :mgmt
|
394
418
|
|
@@ -581,6 +605,14 @@ module Azure::Profiles::Latest
|
|
581
605
|
end
|
582
606
|
end
|
583
607
|
|
608
|
+
class DigitalTwinsAdapter
|
609
|
+
attr_accessor :mgmt
|
610
|
+
|
611
|
+
def initialize(context, base_url, options)
|
612
|
+
@mgmt = Azure::Profiles::Latest::DigitalTwins::Mgmt::DigitalTwinsManagementClass.new(context, base_url, options)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
584
616
|
class DnsAdapter
|
585
617
|
attr_accessor :mgmt
|
586
618
|
|
@@ -638,6 +670,14 @@ module Azure::Profiles::Latest
|
|
638
670
|
end
|
639
671
|
end
|
640
672
|
|
673
|
+
class HybridComputeAdapter
|
674
|
+
attr_accessor :mgmt
|
675
|
+
|
676
|
+
def initialize(context, base_url, options)
|
677
|
+
@mgmt = Azure::Profiles::Latest::HybridCompute::Mgmt::HybridComputeManagementClass.new(context, base_url, options)
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
641
681
|
class GraphRbacAdapter < Azure::Profiles::Latest::GraphRbac::GraphRbacDataClass
|
642
682
|
|
643
683
|
def initialize(context, base_url, options)
|
@@ -0,0 +1,183 @@
|
|
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_automanage'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Automanage
|
9
|
+
module Mgmt
|
10
|
+
Accounts = Azure::Automanage::Mgmt::V2020_06_30_preview::Accounts
|
11
|
+
ConfigurationProfileAssignments = Azure::Automanage::Mgmt::V2020_06_30_preview::ConfigurationProfileAssignments
|
12
|
+
ConfigurationProfilePreferences = Azure::Automanage::Mgmt::V2020_06_30_preview::ConfigurationProfilePreferences
|
13
|
+
Operations = Azure::Automanage::Mgmt::V2020_06_30_preview::Operations
|
14
|
+
|
15
|
+
module Models
|
16
|
+
ConfigurationProfilePreferenceProperties = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceProperties
|
17
|
+
AccountIdentity = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountIdentity
|
18
|
+
ErrorAdditionalInfo = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorAdditionalInfo
|
19
|
+
ErrorResponse = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorResponse
|
20
|
+
AccountList = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountList
|
21
|
+
ErrorResponseError = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorResponseError
|
22
|
+
ConfigurationProfileAssignmentProperties = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentProperties
|
23
|
+
ConfigurationProfileAssignmentList = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentList
|
24
|
+
ConfigurationProfilePreferenceList = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceList
|
25
|
+
ConfigurationProfilePreferenceAntiMalware = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceAntiMalware
|
26
|
+
OperationDisplay = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::OperationDisplay
|
27
|
+
Resource = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Resource
|
28
|
+
Operation = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Operation
|
29
|
+
ConfigurationProfileAssignmentCompliance = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentCompliance
|
30
|
+
OperationList = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::OperationList
|
31
|
+
ConfigurationProfilePreferenceVmBackup = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceVmBackup
|
32
|
+
UpdateResource = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::UpdateResource
|
33
|
+
Account = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Account
|
34
|
+
AccountUpdate = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountUpdate
|
35
|
+
ConfigurationProfileAssignment = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignment
|
36
|
+
ConfigurationProfilePreference = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreference
|
37
|
+
ConfigurationProfilePreferenceUpdate = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceUpdate
|
38
|
+
ProxyResource = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ProxyResource
|
39
|
+
AzureEntityResource = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AzureEntityResource
|
40
|
+
TrackedResource = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::TrackedResource
|
41
|
+
ResourceIdentityType = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ResourceIdentityType
|
42
|
+
ConfigurationProfile = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfile
|
43
|
+
ProvisioningState = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ProvisioningState
|
44
|
+
UpdateStatus = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::UpdateStatus
|
45
|
+
EnableRealTimeProtection = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::EnableRealTimeProtection
|
46
|
+
RunScheduledScan = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::RunScheduledScan
|
47
|
+
ScanType = Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ScanType
|
48
|
+
end
|
49
|
+
|
50
|
+
class AutomanageManagementClass
|
51
|
+
attr_reader :accounts, :configuration_profile_assignments, :configuration_profile_preferences, :operations, :configurable, :base_url, :options, :model_classes
|
52
|
+
|
53
|
+
def initialize(configurable, base_url=nil, options=nil)
|
54
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
55
|
+
|
56
|
+
@client_0 = Azure::Automanage::Mgmt::V2020_06_30_preview::AutomanageClient.new(configurable.credentials, base_url, options)
|
57
|
+
if(@client_0.respond_to?(:subscription_id))
|
58
|
+
@client_0.subscription_id = configurable.subscription_id
|
59
|
+
end
|
60
|
+
add_telemetry(@client_0)
|
61
|
+
@accounts = @client_0.accounts
|
62
|
+
@configuration_profile_assignments = @client_0.configuration_profile_assignments
|
63
|
+
@configuration_profile_preferences = @client_0.configuration_profile_preferences
|
64
|
+
@operations = @client_0.operations
|
65
|
+
|
66
|
+
@model_classes = ModelClasses.new
|
67
|
+
end
|
68
|
+
|
69
|
+
def add_telemetry(client)
|
70
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Automanage/Mgmt"
|
71
|
+
client.add_user_agent_information(profile_information)
|
72
|
+
end
|
73
|
+
|
74
|
+
def method_missing(method, *args)
|
75
|
+
if @client_0.respond_to?method
|
76
|
+
@client_0.send(method, *args)
|
77
|
+
else
|
78
|
+
super
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
class ModelClasses
|
83
|
+
def configuration_profile_preference_properties
|
84
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceProperties
|
85
|
+
end
|
86
|
+
def account_identity
|
87
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountIdentity
|
88
|
+
end
|
89
|
+
def error_additional_info
|
90
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorAdditionalInfo
|
91
|
+
end
|
92
|
+
def error_response
|
93
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorResponse
|
94
|
+
end
|
95
|
+
def account_list
|
96
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountList
|
97
|
+
end
|
98
|
+
def error_response_error
|
99
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ErrorResponseError
|
100
|
+
end
|
101
|
+
def configuration_profile_assignment_properties
|
102
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentProperties
|
103
|
+
end
|
104
|
+
def configuration_profile_assignment_list
|
105
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentList
|
106
|
+
end
|
107
|
+
def configuration_profile_preference_list
|
108
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceList
|
109
|
+
end
|
110
|
+
def configuration_profile_preference_anti_malware
|
111
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceAntiMalware
|
112
|
+
end
|
113
|
+
def operation_display
|
114
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::OperationDisplay
|
115
|
+
end
|
116
|
+
def resource
|
117
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Resource
|
118
|
+
end
|
119
|
+
def operation
|
120
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Operation
|
121
|
+
end
|
122
|
+
def configuration_profile_assignment_compliance
|
123
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignmentCompliance
|
124
|
+
end
|
125
|
+
def operation_list
|
126
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::OperationList
|
127
|
+
end
|
128
|
+
def configuration_profile_preference_vm_backup
|
129
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceVmBackup
|
130
|
+
end
|
131
|
+
def update_resource
|
132
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::UpdateResource
|
133
|
+
end
|
134
|
+
def account
|
135
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::Account
|
136
|
+
end
|
137
|
+
def account_update
|
138
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AccountUpdate
|
139
|
+
end
|
140
|
+
def configuration_profile_assignment
|
141
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfileAssignment
|
142
|
+
end
|
143
|
+
def configuration_profile_preference
|
144
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreference
|
145
|
+
end
|
146
|
+
def configuration_profile_preference_update
|
147
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfilePreferenceUpdate
|
148
|
+
end
|
149
|
+
def proxy_resource
|
150
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ProxyResource
|
151
|
+
end
|
152
|
+
def azure_entity_resource
|
153
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::AzureEntityResource
|
154
|
+
end
|
155
|
+
def tracked_resource
|
156
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::TrackedResource
|
157
|
+
end
|
158
|
+
def resource_identity_type
|
159
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ResourceIdentityType
|
160
|
+
end
|
161
|
+
def configuration_profile
|
162
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ConfigurationProfile
|
163
|
+
end
|
164
|
+
def provisioning_state
|
165
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ProvisioningState
|
166
|
+
end
|
167
|
+
def update_status
|
168
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::UpdateStatus
|
169
|
+
end
|
170
|
+
def enable_real_time_protection
|
171
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::EnableRealTimeProtection
|
172
|
+
end
|
173
|
+
def run_scheduled_scan
|
174
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::RunScheduledScan
|
175
|
+
end
|
176
|
+
def scan_type
|
177
|
+
Azure::Automanage::Mgmt::V2020_06_30_preview::Models::ScanType
|
178
|
+
end
|
179
|
+
end
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
@@ -0,0 +1,119 @@
|
|
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_azurestack_hci'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module AzureStackHCI
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Operations
|
11
|
+
Clusters = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Clusters
|
12
|
+
|
13
|
+
module Models
|
14
|
+
OperationList = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationList
|
15
|
+
Operation = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Operation
|
16
|
+
ClusterNode = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterNode
|
17
|
+
ErrorAdditionalInfo = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
|
18
|
+
ClusterList = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterList
|
19
|
+
OperationDisplay = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationDisplay
|
20
|
+
ErrorResponse = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponse
|
21
|
+
ClusterUpdate = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterUpdate
|
22
|
+
Resource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Resource
|
23
|
+
ClusterReportedProperties = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterReportedProperties
|
24
|
+
ErrorResponseError = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponseError
|
25
|
+
Cluster = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Cluster
|
26
|
+
ProxyResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProxyResource
|
27
|
+
AzureEntityResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
|
28
|
+
TrackedResource = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::TrackedResource
|
29
|
+
ProvisioningState = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProvisioningState
|
30
|
+
Status = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Status
|
31
|
+
end
|
32
|
+
|
33
|
+
class AzureStackHCIManagementClass
|
34
|
+
attr_reader :operations, :clusters, :configurable, :base_url, :options, :model_classes
|
35
|
+
|
36
|
+
def initialize(configurable, base_url=nil, options=nil)
|
37
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
38
|
+
|
39
|
+
@client_0 = Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::AzureStackHCIClient.new(configurable.credentials, base_url, options)
|
40
|
+
if(@client_0.respond_to?(:subscription_id))
|
41
|
+
@client_0.subscription_id = configurable.subscription_id
|
42
|
+
end
|
43
|
+
add_telemetry(@client_0)
|
44
|
+
@operations = @client_0.operations
|
45
|
+
@clusters = @client_0.clusters
|
46
|
+
|
47
|
+
@model_classes = ModelClasses.new
|
48
|
+
end
|
49
|
+
|
50
|
+
def add_telemetry(client)
|
51
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/AzureStackHCI/Mgmt"
|
52
|
+
client.add_user_agent_information(profile_information)
|
53
|
+
end
|
54
|
+
|
55
|
+
def method_missing(method, *args)
|
56
|
+
if @client_0.respond_to?method
|
57
|
+
@client_0.send(method, *args)
|
58
|
+
else
|
59
|
+
super
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class ModelClasses
|
64
|
+
def operation_list
|
65
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationList
|
66
|
+
end
|
67
|
+
def operation
|
68
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Operation
|
69
|
+
end
|
70
|
+
def cluster_node
|
71
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterNode
|
72
|
+
end
|
73
|
+
def error_additional_info
|
74
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorAdditionalInfo
|
75
|
+
end
|
76
|
+
def cluster_list
|
77
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterList
|
78
|
+
end
|
79
|
+
def operation_display
|
80
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::OperationDisplay
|
81
|
+
end
|
82
|
+
def error_response
|
83
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponse
|
84
|
+
end
|
85
|
+
def cluster_update
|
86
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterUpdate
|
87
|
+
end
|
88
|
+
def resource
|
89
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Resource
|
90
|
+
end
|
91
|
+
def cluster_reported_properties
|
92
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ClusterReportedProperties
|
93
|
+
end
|
94
|
+
def error_response_error
|
95
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ErrorResponseError
|
96
|
+
end
|
97
|
+
def cluster
|
98
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Cluster
|
99
|
+
end
|
100
|
+
def proxy_resource
|
101
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProxyResource
|
102
|
+
end
|
103
|
+
def azure_entity_resource
|
104
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::AzureEntityResource
|
105
|
+
end
|
106
|
+
def tracked_resource
|
107
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::TrackedResource
|
108
|
+
end
|
109
|
+
def provisioning_state
|
110
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::ProvisioningState
|
111
|
+
end
|
112
|
+
def status
|
113
|
+
Azure::AzureStackHCI::Mgmt::V2020_03_01_preview::Models::Status
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|