azure_sdk 0.39.0 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE.txt +20 -20
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/azure_sdk.rb +9 -9
- data/lib/latest/latest_profile_client.rb +1257 -1257
- data/lib/latest/module_definition.rb +6 -6
- data/lib/latest/modules/adhybridhealthservice_profile_module.rb +481 -481
- data/lib/latest/modules/advisor_profile_module.rb +119 -119
- data/lib/latest/modules/alertsmanagement_profile_module.rb +259 -259
- data/lib/latest/modules/analysisservices_profile_module.rb +159 -159
- data/lib/latest/modules/anomalydetector_profile_module.rb +69 -69
- data/lib/latest/modules/apimanagement_profile_module.rb +1069 -1069
- data/lib/latest/modules/appconfiguration_profile_module.rb +107 -107
- data/lib/latest/modules/attestation_profile_module.rb +95 -95
- data/lib/latest/modules/authorization_profile_module.rb +167 -167
- data/lib/latest/modules/automation_profile_module.rb +663 -663
- data/lib/latest/modules/autosuggest_profile_module.rb +121 -121
- data/lib/latest/modules/azurestack_profile_module.rb +163 -163
- data/lib/latest/modules/batch_profile_module.rb +377 -377
- data/lib/latest/modules/batchai_profile_module.rb +425 -425
- data/lib/latest/modules/billing_profile_module.rb +107 -107
- data/lib/latest/modules/botservice_profile_module.rb +293 -293
- data/lib/latest/modules/cdn_profile_module.rb +325 -325
- data/lib/latest/modules/cognitiveservices_profile_module.rb +207 -207
- data/lib/latest/modules/commerce_profile_module.rb +99 -99
- data/lib/latest/modules/compute_profile_module.rb +1083 -1083
- data/lib/latest/modules/computervision_profile_module.rb +233 -233
- data/lib/latest/modules/consumption_profile_module.rb +255 -255
- data/lib/latest/modules/containerinstance_profile_module.rb +253 -253
- data/lib/latest/modules/containerregistry_profile_module.rb +575 -575
- data/lib/latest/modules/containerservice_profile_module.rb +385 -385
- data/lib/latest/modules/contentmoderator_profile_module.rb +287 -287
- data/lib/latest/modules/cosmosdb_profile_module.rb +559 -489
- data/lib/latest/modules/costmanagement_profile_module.rb +207 -207
- data/lib/latest/modules/customerinsights_profile_module.rb +497 -497
- data/lib/latest/modules/customimagesearch_profile_module.rb +143 -143
- data/lib/latest/modules/customsearch_profile_module.rb +123 -123
- data/lib/latest/modules/customvisionprediction_profile_module.rb +69 -69
- data/lib/latest/modules/customvisiontraining_profile_module.rb +241 -241
- data/lib/latest/modules/databox_profile_module.rb +309 -309
- data/lib/latest/modules/datafactory_profile_module.rb +2159 -2159
- data/lib/latest/modules/datalakeanalytics_profile_module.rb +253 -253
- data/lib/latest/modules/datalakestore_profile_module.rb +247 -247
- data/lib/latest/modules/datamigration_profile_module.rb +1307 -1307
- data/lib/latest/modules/datashare_profile_module.rb +383 -383
- data/lib/latest/modules/devspaces_profile_module.rb +119 -119
- data/lib/latest/modules/devtestlabs_profile_module.rb +849 -849
- data/lib/latest/modules/dns_profile_module.rb +143 -143
- data/lib/latest/modules/edgegateway_profile_module.rb +463 -463
- data/lib/latest/modules/entitysearch_profile_module.rb +231 -231
- data/lib/latest/modules/eventgrid_profile_module.rb +671 -671
- data/lib/latest/modules/eventhub_profile_module.rb +171 -171
- data/lib/latest/modules/face_profile_module.rb +297 -297
- data/lib/latest/modules/features_profile_module.rb +73 -73
- data/lib/latest/modules/formrecognizer_profile_module.rb +169 -169
- data/lib/latest/modules/graphrbac_profile_module.rb +225 -225
- data/lib/latest/modules/hanaonazure_profile_module.rb +137 -137
- data/lib/latest/modules/hdinsight_profile_module.rb +407 -407
- data/lib/latest/modules/imagesearch_profile_module.rb +279 -279
- data/lib/latest/modules/iotcentral_profile_module.rb +103 -103
- data/lib/latest/modules/iothub_profile_module.rb +377 -377
- data/lib/latest/modules/keyvault_profile_module.rb +623 -623
- data/lib/latest/modules/kusto_profile_module.rb +297 -247
- data/lib/latest/modules/labservices_profile_module.rb +357 -357
- data/lib/latest/modules/links_profile_module.rb +83 -83
- data/lib/latest/modules/localsearch_profile_module.rb +151 -151
- data/lib/latest/modules/locks_profile_module.rb +79 -79
- data/lib/latest/modules/logic_profile_module.rb +787 -787
- data/lib/latest/modules/luisauthoring_profile_module.rb +497 -485
- data/lib/latest/modules/luisruntime_profile_module.rb +91 -91
- data/lib/latest/modules/machinelearning_profile_module.rb +211 -211
- data/lib/latest/modules/machinelearningservices_profile_module.rb +293 -293
- data/lib/latest/modules/managedapplications_profile_module.rb +123 -123
- data/lib/latest/modules/managedserviceidentity_profile_module.rb +75 -75
- data/lib/latest/modules/mariadb_profile_module.rb +233 -233
- data/lib/latest/modules/marketplaceordering_profile_module.rb +79 -79
- data/lib/latest/modules/mediaservices_profile_module.rb +859 -859
- data/lib/latest/modules/migrate_profile_module.rb +243 -243
- data/lib/latest/modules/mixedreality_profile_module.rb +125 -125
- data/lib/latest/modules/monitor_profile_module.rb +723 -723
- data/lib/latest/modules/mysql_profile_module.rb +233 -233
- data/lib/latest/modules/netapp_profile_module.rb +175 -175
- data/lib/latest/modules/network_profile_module.rb +2489 -2489
- data/lib/latest/modules/newssearch_profile_module.rb +143 -143
- data/lib/latest/modules/notificationhubs_profile_module.rb +189 -189
- data/lib/latest/modules/operationalinsights_profile_module.rb +259 -259
- data/lib/latest/modules/operationsmanagement_profile_module.rb +123 -123
- data/lib/latest/modules/peering_profile_module.rb +259 -259
- data/lib/latest/modules/personalizer_profile_module.rb +83 -83
- data/lib/latest/modules/policy_profile_module.rb +105 -105
- data/lib/latest/modules/policyinsights_profile_module.rb +193 -193
- data/lib/latest/modules/postgresql_profile_module.rb +233 -233
- data/lib/latest/modules/powerbidedicated_profile_module.rb +123 -123
- data/lib/latest/modules/powerbiembedded_profile_module.rb +127 -127
- data/lib/latest/modules/privatedns_profile_module.rb +137 -137
- data/lib/latest/modules/qnamaker_profile_module.rb +219 -219
- data/lib/latest/modules/qnamakerruntime_profile_module.rb +123 -123
- data/lib/latest/modules/recoveryservices_profile_module.rb +211 -211
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +1241 -1241
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1465 -1465
- data/lib/latest/modules/redis_profile_module.rb +209 -209
- data/lib/latest/modules/relay_profile_module.rb +163 -163
- data/lib/latest/modules/reservations_profile_module.rb +237 -237
- data/lib/latest/modules/resourcegraph_profile_module.rb +129 -129
- data/lib/latest/modules/resources_profile_module.rb +321 -321
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +163 -163
- data/lib/latest/modules/scheduler_profile_module.rb +227 -227
- data/lib/latest/modules/search_profile_module.rb +127 -127
- data/lib/latest/modules/security_profile_module.rb +733 -733
- data/lib/latest/modules/serialconsole_profile_module.rb +73 -73
- data/lib/latest/modules/servicebus_profile_module.rb +309 -309
- data/lib/latest/modules/servicefabric_profile_module.rb +2711 -2711
- data/lib/latest/modules/signalr_profile_module.rb +161 -161
- data/lib/latest/modules/spellcheck_profile_module.rb +101 -101
- data/lib/latest/modules/sql_profile_module.rb +1757 -1757
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +223 -223
- data/lib/latest/modules/storage_profile_module.rb +525 -525
- data/lib/latest/modules/storagecache_profile_module.rb +173 -173
- data/lib/latest/modules/storagesync_profile_module.rb +249 -249
- data/lib/latest/modules/storsimple8000series_profile_module.rb +715 -715
- data/lib/latest/modules/streamanalytics_profile_module.rb +349 -349
- data/lib/latest/modules/subscriptions_profile_module.rb +207 -207
- data/lib/latest/modules/textanalytics_profile_module.rb +125 -125
- data/lib/latest/modules/trafficmanager_profile_module.rb +173 -173
- data/lib/latest/modules/videosearch_profile_module.rb +175 -175
- data/lib/latest/modules/visualsearch_profile_module.rb +235 -235
- data/lib/latest/modules/vmwarecloudsimple_profile_module.rb +247 -247
- data/lib/latest/modules/web_profile_module.rb +1419 -1419
- data/lib/latest/modules/websearch_profile_module.rb +211 -211
- data/lib/v2017_03_09/module_definition.rb +6 -6
- data/lib/v2017_03_09/modules/authorization_profile_module.rb +141 -141
- data/lib/v2017_03_09/modules/compute_profile_module.rb +469 -469
- data/lib/v2017_03_09/modules/dns_profile_module.rb +139 -139
- data/lib/v2017_03_09/modules/features_profile_module.rb +73 -73
- data/lib/v2017_03_09/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2017_03_09/modules/links_profile_module.rb +83 -83
- data/lib/v2017_03_09/modules/locks_profile_module.rb +61 -61
- data/lib/v2017_03_09/modules/network_profile_module.rb +555 -555
- data/lib/v2017_03_09/modules/policy_profile_module.rb +71 -71
- data/lib/v2017_03_09/modules/resources_profile_module.rb +255 -255
- data/lib/v2017_03_09/modules/storage_profile_module.rb +163 -163
- data/lib/v2017_03_09/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2017_03_09/v2017_03_09_profile_client.rb +170 -170
- data/lib/v2018_03_01/module_definition.rb +6 -6
- data/lib/v2018_03_01/modules/authorization_profile_module.rb +133 -133
- data/lib/v2018_03_01/modules/compute_profile_module.rb +755 -755
- data/lib/v2018_03_01/modules/dns_profile_module.rb +139 -139
- data/lib/v2018_03_01/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2018_03_01/modules/locks_profile_module.rb +79 -79
- data/lib/v2018_03_01/modules/network_profile_module.rb +1321 -1321
- data/lib/v2018_03_01/modules/policy_profile_module.rb +75 -75
- data/lib/v2018_03_01/modules/resources_profile_module.rb +271 -271
- data/lib/v2018_03_01/modules/storage_profile_module.rb +163 -163
- data/lib/v2018_03_01/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2018_03_01/modules/web_profile_module.rb +1223 -1223
- data/lib/v2018_03_01/v2018_03_01_profile_client.rb +160 -160
- data/lib/v2019_03_01_hybrid/module_definition.rb +6 -6
- data/lib/v2019_03_01_hybrid/modules/authorization_profile_module.rb +133 -133
- data/lib/v2019_03_01_hybrid/modules/compute_profile_module.rb +855 -855
- data/lib/v2019_03_01_hybrid/modules/dns_profile_module.rb +139 -139
- data/lib/v2019_03_01_hybrid/modules/keyvault_profile_module.rb +559 -559
- data/lib/v2019_03_01_hybrid/modules/locks_profile_module.rb +79 -79
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +285 -285
- data/lib/v2019_03_01_hybrid/modules/network_profile_module.rb +1261 -1261
- data/lib/v2019_03_01_hybrid/modules/policy_profile_module.rb +75 -75
- data/lib/v2019_03_01_hybrid/modules/resources_profile_module.rb +289 -289
- data/lib/v2019_03_01_hybrid/modules/storage_profile_module.rb +283 -283
- data/lib/v2019_03_01_hybrid/modules/subscriptions_profile_module.rb +101 -101
- data/lib/v2019_03_01_hybrid/modules/web_profile_module.rb +1457 -1457
- data/lib/v2019_03_01_hybrid/v2019_03_01_hybrid_profile_client.rb +170 -170
- metadata +12 -12
@@ -1,175 +1,175 @@
|
|
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_netapp'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module NetApp
|
9
|
-
module Mgmt
|
10
|
-
Operations = Azure::NetApp::Mgmt::V2019_07_01::Operations
|
11
|
-
Accounts = Azure::NetApp::Mgmt::V2019_07_01::Accounts
|
12
|
-
Pools = Azure::NetApp::Mgmt::V2019_07_01::Pools
|
13
|
-
Volumes = Azure::NetApp::Mgmt::V2019_07_01::Volumes
|
14
|
-
MountTargets = Azure::NetApp::Mgmt::V2019_07_01::MountTargets
|
15
|
-
Snapshots = Azure::NetApp::Mgmt::V2019_07_01::Snapshots
|
16
|
-
|
17
|
-
module Models
|
18
|
-
CapacityPoolList = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolList
|
19
|
-
OperationDisplay = Azure::NetApp::Mgmt::V2019_07_01::Models::OperationDisplay
|
20
|
-
CapacityPoolPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolPatch
|
21
|
-
MetricSpecification = Azure::NetApp::Mgmt::V2019_07_01::Models::MetricSpecification
|
22
|
-
ExportPolicyRule = Azure::NetApp::Mgmt::V2019_07_01::Models::ExportPolicyRule
|
23
|
-
Operation = Azure::NetApp::Mgmt::V2019_07_01::Models::Operation
|
24
|
-
VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePropertiesExportPolicy
|
25
|
-
ResourceNameAvailability = Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailability
|
26
|
-
Volume = Azure::NetApp::Mgmt::V2019_07_01::Models::Volume
|
27
|
-
ActiveDirectory = Azure::NetApp::Mgmt::V2019_07_01::Models::ActiveDirectory
|
28
|
-
VolumeList = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumeList
|
29
|
-
NetAppAccountList = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountList
|
30
|
-
VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatchPropertiesExportPolicy
|
31
|
-
CapacityPool = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPool
|
32
|
-
VolumePatch = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatch
|
33
|
-
ServiceSpecification = Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceSpecification
|
34
|
-
MountTarget = Azure::NetApp::Mgmt::V2019_07_01::Models::MountTarget
|
35
|
-
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailabilityRequest
|
36
|
-
MountTargetList = Azure::NetApp::Mgmt::V2019_07_01::Models::MountTargetList
|
37
|
-
NetAppAccountPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountPatch
|
38
|
-
Snapshot = Azure::NetApp::Mgmt::V2019_07_01::Models::Snapshot
|
39
|
-
OperationListResult = Azure::NetApp::Mgmt::V2019_07_01::Models::OperationListResult
|
40
|
-
SnapshotsList = Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotsList
|
41
|
-
Dimension = Azure::NetApp::Mgmt::V2019_07_01::Models::Dimension
|
42
|
-
SnapshotPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotPatch
|
43
|
-
NetAppAccount = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccount
|
44
|
-
InAvailabilityReasonType = Azure::NetApp::Mgmt::V2019_07_01::Models::InAvailabilityReasonType
|
45
|
-
CheckNameResourceTypes = Azure::NetApp::Mgmt::V2019_07_01::Models::CheckNameResourceTypes
|
46
|
-
ServiceLevel = Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceLevel
|
47
|
-
end
|
48
|
-
|
49
|
-
class NetAppManagementClass
|
50
|
-
attr_reader :operations, :accounts, :pools, :volumes, :mount_targets, :snapshots, :configurable, :base_url, :options, :model_classes
|
51
|
-
|
52
|
-
def initialize(configurable, base_url=nil, options=nil)
|
53
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
54
|
-
|
55
|
-
@client_0 = Azure::NetApp::Mgmt::V2019_07_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
|
56
|
-
if(@client_0.respond_to?(:subscription_id))
|
57
|
-
@client_0.subscription_id = configurable.subscription_id
|
58
|
-
end
|
59
|
-
add_telemetry(@client_0)
|
60
|
-
@operations = @client_0.operations
|
61
|
-
@accounts = @client_0.accounts
|
62
|
-
@pools = @client_0.pools
|
63
|
-
@volumes = @client_0.volumes
|
64
|
-
@mount_targets = @client_0.mount_targets
|
65
|
-
@snapshots = @client_0.snapshots
|
66
|
-
|
67
|
-
@model_classes = ModelClasses.new
|
68
|
-
end
|
69
|
-
|
70
|
-
def add_telemetry(client)
|
71
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NetApp/Mgmt"
|
72
|
-
client.add_user_agent_information(profile_information)
|
73
|
-
end
|
74
|
-
|
75
|
-
def method_missing(method, *args)
|
76
|
-
if @client_0.respond_to?method
|
77
|
-
@client_0.send(method, *args)
|
78
|
-
else
|
79
|
-
super
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
class ModelClasses
|
84
|
-
def capacity_pool_list
|
85
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolList
|
86
|
-
end
|
87
|
-
def operation_display
|
88
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::OperationDisplay
|
89
|
-
end
|
90
|
-
def capacity_pool_patch
|
91
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolPatch
|
92
|
-
end
|
93
|
-
def metric_specification
|
94
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::MetricSpecification
|
95
|
-
end
|
96
|
-
def export_policy_rule
|
97
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ExportPolicyRule
|
98
|
-
end
|
99
|
-
def operation
|
100
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::Operation
|
101
|
-
end
|
102
|
-
def volume_properties_export_policy
|
103
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePropertiesExportPolicy
|
104
|
-
end
|
105
|
-
def resource_name_availability
|
106
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailability
|
107
|
-
end
|
108
|
-
def volume
|
109
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::Volume
|
110
|
-
end
|
111
|
-
def active_directory
|
112
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ActiveDirectory
|
113
|
-
end
|
114
|
-
def volume_list
|
115
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumeList
|
116
|
-
end
|
117
|
-
def net_app_account_list
|
118
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountList
|
119
|
-
end
|
120
|
-
def volume_patch_properties_export_policy
|
121
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatchPropertiesExportPolicy
|
122
|
-
end
|
123
|
-
def capacity_pool
|
124
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPool
|
125
|
-
end
|
126
|
-
def volume_patch
|
127
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatch
|
128
|
-
end
|
129
|
-
def service_specification
|
130
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceSpecification
|
131
|
-
end
|
132
|
-
def mount_target
|
133
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::MountTarget
|
134
|
-
end
|
135
|
-
def resource_name_availability_request
|
136
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailabilityRequest
|
137
|
-
end
|
138
|
-
def mount_target_list
|
139
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::MountTargetList
|
140
|
-
end
|
141
|
-
def net_app_account_patch
|
142
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountPatch
|
143
|
-
end
|
144
|
-
def snapshot
|
145
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::Snapshot
|
146
|
-
end
|
147
|
-
def operation_list_result
|
148
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::OperationListResult
|
149
|
-
end
|
150
|
-
def snapshots_list
|
151
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotsList
|
152
|
-
end
|
153
|
-
def dimension
|
154
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::Dimension
|
155
|
-
end
|
156
|
-
def snapshot_patch
|
157
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotPatch
|
158
|
-
end
|
159
|
-
def net_app_account
|
160
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccount
|
161
|
-
end
|
162
|
-
def in_availability_reason_type
|
163
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::InAvailabilityReasonType
|
164
|
-
end
|
165
|
-
def check_name_resource_types
|
166
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::CheckNameResourceTypes
|
167
|
-
end
|
168
|
-
def service_level
|
169
|
-
Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceLevel
|
170
|
-
end
|
171
|
-
end
|
172
|
-
end
|
173
|
-
end
|
174
|
-
end
|
175
|
-
end
|
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_netapp'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module NetApp
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::NetApp::Mgmt::V2019_07_01::Operations
|
11
|
+
Accounts = Azure::NetApp::Mgmt::V2019_07_01::Accounts
|
12
|
+
Pools = Azure::NetApp::Mgmt::V2019_07_01::Pools
|
13
|
+
Volumes = Azure::NetApp::Mgmt::V2019_07_01::Volumes
|
14
|
+
MountTargets = Azure::NetApp::Mgmt::V2019_07_01::MountTargets
|
15
|
+
Snapshots = Azure::NetApp::Mgmt::V2019_07_01::Snapshots
|
16
|
+
|
17
|
+
module Models
|
18
|
+
CapacityPoolList = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolList
|
19
|
+
OperationDisplay = Azure::NetApp::Mgmt::V2019_07_01::Models::OperationDisplay
|
20
|
+
CapacityPoolPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolPatch
|
21
|
+
MetricSpecification = Azure::NetApp::Mgmt::V2019_07_01::Models::MetricSpecification
|
22
|
+
ExportPolicyRule = Azure::NetApp::Mgmt::V2019_07_01::Models::ExportPolicyRule
|
23
|
+
Operation = Azure::NetApp::Mgmt::V2019_07_01::Models::Operation
|
24
|
+
VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePropertiesExportPolicy
|
25
|
+
ResourceNameAvailability = Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailability
|
26
|
+
Volume = Azure::NetApp::Mgmt::V2019_07_01::Models::Volume
|
27
|
+
ActiveDirectory = Azure::NetApp::Mgmt::V2019_07_01::Models::ActiveDirectory
|
28
|
+
VolumeList = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumeList
|
29
|
+
NetAppAccountList = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountList
|
30
|
+
VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatchPropertiesExportPolicy
|
31
|
+
CapacityPool = Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPool
|
32
|
+
VolumePatch = Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatch
|
33
|
+
ServiceSpecification = Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceSpecification
|
34
|
+
MountTarget = Azure::NetApp::Mgmt::V2019_07_01::Models::MountTarget
|
35
|
+
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailabilityRequest
|
36
|
+
MountTargetList = Azure::NetApp::Mgmt::V2019_07_01::Models::MountTargetList
|
37
|
+
NetAppAccountPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountPatch
|
38
|
+
Snapshot = Azure::NetApp::Mgmt::V2019_07_01::Models::Snapshot
|
39
|
+
OperationListResult = Azure::NetApp::Mgmt::V2019_07_01::Models::OperationListResult
|
40
|
+
SnapshotsList = Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotsList
|
41
|
+
Dimension = Azure::NetApp::Mgmt::V2019_07_01::Models::Dimension
|
42
|
+
SnapshotPatch = Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotPatch
|
43
|
+
NetAppAccount = Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccount
|
44
|
+
InAvailabilityReasonType = Azure::NetApp::Mgmt::V2019_07_01::Models::InAvailabilityReasonType
|
45
|
+
CheckNameResourceTypes = Azure::NetApp::Mgmt::V2019_07_01::Models::CheckNameResourceTypes
|
46
|
+
ServiceLevel = Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceLevel
|
47
|
+
end
|
48
|
+
|
49
|
+
class NetAppManagementClass
|
50
|
+
attr_reader :operations, :accounts, :pools, :volumes, :mount_targets, :snapshots, :configurable, :base_url, :options, :model_classes
|
51
|
+
|
52
|
+
def initialize(configurable, base_url=nil, options=nil)
|
53
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
54
|
+
|
55
|
+
@client_0 = Azure::NetApp::Mgmt::V2019_07_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
|
56
|
+
if(@client_0.respond_to?(:subscription_id))
|
57
|
+
@client_0.subscription_id = configurable.subscription_id
|
58
|
+
end
|
59
|
+
add_telemetry(@client_0)
|
60
|
+
@operations = @client_0.operations
|
61
|
+
@accounts = @client_0.accounts
|
62
|
+
@pools = @client_0.pools
|
63
|
+
@volumes = @client_0.volumes
|
64
|
+
@mount_targets = @client_0.mount_targets
|
65
|
+
@snapshots = @client_0.snapshots
|
66
|
+
|
67
|
+
@model_classes = ModelClasses.new
|
68
|
+
end
|
69
|
+
|
70
|
+
def add_telemetry(client)
|
71
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NetApp/Mgmt"
|
72
|
+
client.add_user_agent_information(profile_information)
|
73
|
+
end
|
74
|
+
|
75
|
+
def method_missing(method, *args)
|
76
|
+
if @client_0.respond_to?method
|
77
|
+
@client_0.send(method, *args)
|
78
|
+
else
|
79
|
+
super
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
class ModelClasses
|
84
|
+
def capacity_pool_list
|
85
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolList
|
86
|
+
end
|
87
|
+
def operation_display
|
88
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::OperationDisplay
|
89
|
+
end
|
90
|
+
def capacity_pool_patch
|
91
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPoolPatch
|
92
|
+
end
|
93
|
+
def metric_specification
|
94
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::MetricSpecification
|
95
|
+
end
|
96
|
+
def export_policy_rule
|
97
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ExportPolicyRule
|
98
|
+
end
|
99
|
+
def operation
|
100
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::Operation
|
101
|
+
end
|
102
|
+
def volume_properties_export_policy
|
103
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePropertiesExportPolicy
|
104
|
+
end
|
105
|
+
def resource_name_availability
|
106
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailability
|
107
|
+
end
|
108
|
+
def volume
|
109
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::Volume
|
110
|
+
end
|
111
|
+
def active_directory
|
112
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ActiveDirectory
|
113
|
+
end
|
114
|
+
def volume_list
|
115
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumeList
|
116
|
+
end
|
117
|
+
def net_app_account_list
|
118
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountList
|
119
|
+
end
|
120
|
+
def volume_patch_properties_export_policy
|
121
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatchPropertiesExportPolicy
|
122
|
+
end
|
123
|
+
def capacity_pool
|
124
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::CapacityPool
|
125
|
+
end
|
126
|
+
def volume_patch
|
127
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::VolumePatch
|
128
|
+
end
|
129
|
+
def service_specification
|
130
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceSpecification
|
131
|
+
end
|
132
|
+
def mount_target
|
133
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::MountTarget
|
134
|
+
end
|
135
|
+
def resource_name_availability_request
|
136
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ResourceNameAvailabilityRequest
|
137
|
+
end
|
138
|
+
def mount_target_list
|
139
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::MountTargetList
|
140
|
+
end
|
141
|
+
def net_app_account_patch
|
142
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccountPatch
|
143
|
+
end
|
144
|
+
def snapshot
|
145
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::Snapshot
|
146
|
+
end
|
147
|
+
def operation_list_result
|
148
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::OperationListResult
|
149
|
+
end
|
150
|
+
def snapshots_list
|
151
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotsList
|
152
|
+
end
|
153
|
+
def dimension
|
154
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::Dimension
|
155
|
+
end
|
156
|
+
def snapshot_patch
|
157
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::SnapshotPatch
|
158
|
+
end
|
159
|
+
def net_app_account
|
160
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::NetAppAccount
|
161
|
+
end
|
162
|
+
def in_availability_reason_type
|
163
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::InAvailabilityReasonType
|
164
|
+
end
|
165
|
+
def check_name_resource_types
|
166
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::CheckNameResourceTypes
|
167
|
+
end
|
168
|
+
def service_level
|
169
|
+
Azure::NetApp::Mgmt::V2019_07_01::Models::ServiceLevel
|
170
|
+
end
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
175
|
+
end
|