azure_sdk 0.62.0 → 0.67.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 +2 -1
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +31 -1
- data/lib/latest/modules/automanage_profile_module.rb +183 -0
- data/lib/latest/modules/cognitiveservices_profile_module.rb +68 -64
- data/lib/latest/modules/compute_profile_module.rb +961 -805
- data/lib/latest/modules/containerregistry_profile_module.rb +130 -74
- data/lib/latest/modules/containerservice_profile_module.rb +143 -139
- data/lib/latest/modules/datafactory_profile_module.rb +594 -490
- data/lib/latest/modules/digitaltwins_profile_module.rb +137 -0
- data/lib/latest/modules/eventhub_profile_module.rb +79 -57
- 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/monitor_profile_module.rb +226 -122
- data/lib/latest/modules/mysql_profile_module.rb +122 -12
- data/lib/latest/modules/netapp_profile_module.rb +229 -107
- data/lib/latest/modules/network_profile_module.rb +1733 -1633
- data/lib/latest/modules/operationalinsights_profile_module.rb +173 -173
- data/lib/latest/modules/policyinsights_profile_module.rb +8 -0
- 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
- data/lib/latest/modules/synapse_profile_module.rb +404 -208
- data/lib/v2019_03_01_hybrid/modules/monitor_profile_module.rb +65 -35
- data/lib/v2020_09_01_hybrid/module_definition.rb +7 -0
- data/lib/v2020_09_01_hybrid/modules/authorization_profile_module.rb +133 -0
- data/lib/v2020_09_01_hybrid/modules/commerce_profile_module.rb +99 -0
- data/lib/v2020_09_01_hybrid/modules/compute_profile_module.rb +1287 -0
- data/lib/v2020_09_01_hybrid/modules/databoxedge_profile_module.rb +539 -0
- data/lib/v2020_09_01_hybrid/modules/dns_profile_module.rb +139 -0
- data/lib/v2020_09_01_hybrid/modules/eventhub_profile_module.rb +411 -0
- data/lib/v2020_09_01_hybrid/modules/iothub_profile_module.rb +385 -0
- data/lib/v2020_09_01_hybrid/modules/keyvault_profile_module.rb +657 -0
- data/lib/v2020_09_01_hybrid/modules/locks_profile_module.rb +79 -0
- data/lib/v2020_09_01_hybrid/modules/monitor_profile_module.rb +315 -0
- data/lib/v2020_09_01_hybrid/modules/network_profile_module.rb +1925 -0
- data/lib/v2020_09_01_hybrid/modules/policy_profile_module.rb +75 -0
- data/lib/v2020_09_01_hybrid/modules/resources_profile_module.rb +387 -0
- data/lib/v2020_09_01_hybrid/modules/storage_profile_module.rb +693 -0
- data/lib/v2020_09_01_hybrid/modules/web_profile_module.rb +1445 -0
- data/lib/v2020_09_01_hybrid/v2020_09_01_hybrid_profile_client.rb +200 -0
- metadata +118 -56
@@ -7,7 +7,6 @@ require 'azure_mgmt_mysql'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module Mysql
|
9
9
|
module Mgmt
|
10
|
-
Servers = Azure::Mysql::Mgmt::V2017_12_01::Servers
|
11
10
|
Replicas = Azure::Mysql::Mgmt::V2017_12_01::Replicas
|
12
11
|
FirewallRules = Azure::Mysql::Mgmt::V2017_12_01::FirewallRules
|
13
12
|
VirtualNetworkRules = Azure::Mysql::Mgmt::V2017_12_01::VirtualNetworkRules
|
@@ -18,13 +17,20 @@ module Azure::Profiles::Latest
|
|
18
17
|
CheckNameAvailability = Azure::Mysql::Mgmt::V2017_12_01::CheckNameAvailability
|
19
18
|
ServerSecurityAlertPolicies = Azure::Mysql::Mgmt::V2017_12_01::ServerSecurityAlertPolicies
|
20
19
|
Operations = Azure::Mysql::Mgmt::V2017_12_01::Operations
|
20
|
+
Advisors = Azure::Mysql::Mgmt::V2018_06_01::Advisors
|
21
|
+
RecommendedActions = Azure::Mysql::Mgmt::V2018_06_01::RecommendedActions
|
22
|
+
LocationBasedRecommendedActionSessionsOperationStatus = Azure::Mysql::Mgmt::V2018_06_01::LocationBasedRecommendedActionSessionsOperationStatus
|
23
|
+
LocationBasedRecommendedActionSessionsResult = Azure::Mysql::Mgmt::V2018_06_01::LocationBasedRecommendedActionSessionsResult
|
24
|
+
PrivateEndpointConnections = Azure::Mysql::Mgmt::V2018_06_01::PrivateEndpointConnections
|
25
|
+
PrivateLinkResources = Azure::Mysql::Mgmt::V2018_06_01::PrivateLinkResources
|
26
|
+
ServerKeys = Azure::Mysql::Mgmt::V2020_01_01::ServerKeys
|
27
|
+
Servers = Azure::Mysql::Mgmt::V2020_01_01::Servers
|
21
28
|
|
22
29
|
module Models
|
23
30
|
VirtualNetworkRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleListResult
|
24
31
|
FirewallRuleListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::FirewallRuleListResult
|
25
32
|
NameAvailabilityRequest = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailabilityRequest
|
26
33
|
StorageProfile = Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
27
|
-
ProxyResource = Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
28
34
|
NameAvailability = Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
29
35
|
PerformanceTierListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::PerformanceTierListResult
|
30
36
|
Operation = Azure::Mysql::Mgmt::V2017_12_01::Models::Operation
|
@@ -40,7 +46,6 @@ module Azure::Profiles::Latest
|
|
40
46
|
ConfigurationListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ConfigurationListResult
|
41
47
|
ServerListResult = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerListResult
|
42
48
|
OperationDisplay = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
43
|
-
TrackedResource = Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
44
49
|
ServerPropertiesForDefaultCreate = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
45
50
|
ServerPropertiesForRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForRestore
|
46
51
|
ServerPropertiesForGeoRestore = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForGeoRestore
|
@@ -61,10 +66,32 @@ module Azure::Profiles::Latest
|
|
61
66
|
VirtualNetworkRuleState = Azure::Mysql::Mgmt::V2017_12_01::Models::VirtualNetworkRuleState
|
62
67
|
OperationOrigin = Azure::Mysql::Mgmt::V2017_12_01::Models::OperationOrigin
|
63
68
|
ServerSecurityAlertPolicyState = Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
69
|
+
PrivateEndpointProperty = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointProperty
|
70
|
+
PrivateLinkServiceConnectionStateProperty = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkServiceConnectionStateProperty
|
71
|
+
AdvisorsResultList = Azure::Mysql::Mgmt::V2018_06_01::Models::AdvisorsResultList
|
72
|
+
RecommendedActionSessionsOperationStatus = Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendedActionSessionsOperationStatus
|
73
|
+
TagsObject = Azure::Mysql::Mgmt::V2018_06_01::Models::TagsObject
|
74
|
+
PrivateLinkResourceProperties = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResourceProperties
|
75
|
+
PrivateLinkResourceListResult = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResourceListResult
|
76
|
+
RecommendationActionsResultList = Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationActionsResultList
|
77
|
+
PrivateEndpointConnectionListResult = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointConnectionListResult
|
78
|
+
Advisor = Azure::Mysql::Mgmt::V2018_06_01::Models::Advisor
|
79
|
+
RecommendationAction = Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationAction
|
80
|
+
PrivateEndpointConnection = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointConnection
|
81
|
+
PrivateLinkResource = Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResource
|
82
|
+
ErrorResponse = Azure::Mysql::Mgmt::V2020_01_01::Models::ErrorResponse
|
83
|
+
ServerKeyListResult = Azure::Mysql::Mgmt::V2020_01_01::Models::ServerKeyListResult
|
84
|
+
Resource = Azure::Mysql::Mgmt::V2020_01_01::Models::Resource
|
85
|
+
ErrorAdditionalInfo = Azure::Mysql::Mgmt::V2020_01_01::Models::ErrorAdditionalInfo
|
86
|
+
ServerUpgradeParameters = Azure::Mysql::Mgmt::V2020_01_01::Models::ServerUpgradeParameters
|
87
|
+
ServerKey = Azure::Mysql::Mgmt::V2020_01_01::Models::ServerKey
|
88
|
+
TrackedResource = Azure::Mysql::Mgmt::V2020_01_01::Models::TrackedResource
|
89
|
+
AzureEntityResource = Azure::Mysql::Mgmt::V2020_01_01::Models::AzureEntityResource
|
90
|
+
ProxyResource = Azure::Mysql::Mgmt::V2020_01_01::Models::ProxyResource
|
64
91
|
end
|
65
92
|
|
66
93
|
class MysqlManagementClass
|
67
|
-
attr_reader :
|
94
|
+
attr_reader :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :advisors, :recommended_actions, :location_based_recommended_action_sessions_operation_status, :location_based_recommended_action_sessions_result, :private_endpoint_connections, :private_link_resources, :server_keys, :servers, :configurable, :base_url, :options, :model_classes
|
68
95
|
|
69
96
|
def initialize(configurable, base_url=nil, options=nil)
|
70
97
|
@configurable, @base_url, @options = configurable, base_url, options
|
@@ -74,7 +101,6 @@ module Azure::Profiles::Latest
|
|
74
101
|
@client_0.subscription_id = configurable.subscription_id
|
75
102
|
end
|
76
103
|
add_telemetry(@client_0)
|
77
|
-
@servers = @client_0.servers
|
78
104
|
@replicas = @client_0.replicas
|
79
105
|
@firewall_rules = @client_0.firewall_rules
|
80
106
|
@virtual_network_rules = @client_0.virtual_network_rules
|
@@ -86,6 +112,26 @@ module Azure::Profiles::Latest
|
|
86
112
|
@server_security_alert_policies = @client_0.server_security_alert_policies
|
87
113
|
@operations = @client_0.operations
|
88
114
|
|
115
|
+
@client_1 = Azure::Mysql::Mgmt::V2018_06_01::MySQLManagementClient.new(configurable.credentials, base_url, options)
|
116
|
+
if(@client_1.respond_to?(:subscription_id))
|
117
|
+
@client_1.subscription_id = configurable.subscription_id
|
118
|
+
end
|
119
|
+
add_telemetry(@client_1)
|
120
|
+
@advisors = @client_1.advisors
|
121
|
+
@recommended_actions = @client_1.recommended_actions
|
122
|
+
@location_based_recommended_action_sessions_operation_status = @client_1.location_based_recommended_action_sessions_operation_status
|
123
|
+
@location_based_recommended_action_sessions_result = @client_1.location_based_recommended_action_sessions_result
|
124
|
+
@private_endpoint_connections = @client_1.private_endpoint_connections
|
125
|
+
@private_link_resources = @client_1.private_link_resources
|
126
|
+
|
127
|
+
@client_2 = Azure::Mysql::Mgmt::V2020_01_01::MySQLManagementClient.new(configurable.credentials, base_url, options)
|
128
|
+
if(@client_2.respond_to?(:subscription_id))
|
129
|
+
@client_2.subscription_id = configurable.subscription_id
|
130
|
+
end
|
131
|
+
add_telemetry(@client_2)
|
132
|
+
@server_keys = @client_2.server_keys
|
133
|
+
@servers = @client_2.servers
|
134
|
+
|
89
135
|
@model_classes = ModelClasses.new
|
90
136
|
end
|
91
137
|
|
@@ -95,7 +141,11 @@ module Azure::Profiles::Latest
|
|
95
141
|
end
|
96
142
|
|
97
143
|
def method_missing(method, *args)
|
98
|
-
if @
|
144
|
+
if @client_2.respond_to?method
|
145
|
+
@client_2.send(method, *args)
|
146
|
+
elsif @client_1.respond_to?method
|
147
|
+
@client_1.send(method, *args)
|
148
|
+
elsif @client_0.respond_to?method
|
99
149
|
@client_0.send(method, *args)
|
100
150
|
else
|
101
151
|
super
|
@@ -115,9 +165,6 @@ module Azure::Profiles::Latest
|
|
115
165
|
def storage_profile
|
116
166
|
Azure::Mysql::Mgmt::V2017_12_01::Models::StorageProfile
|
117
167
|
end
|
118
|
-
def proxy_resource
|
119
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::ProxyResource
|
120
|
-
end
|
121
168
|
def name_availability
|
122
169
|
Azure::Mysql::Mgmt::V2017_12_01::Models::NameAvailability
|
123
170
|
end
|
@@ -163,9 +210,6 @@ module Azure::Profiles::Latest
|
|
163
210
|
def operation_display
|
164
211
|
Azure::Mysql::Mgmt::V2017_12_01::Models::OperationDisplay
|
165
212
|
end
|
166
|
-
def tracked_resource
|
167
|
-
Azure::Mysql::Mgmt::V2017_12_01::Models::TrackedResource
|
168
|
-
end
|
169
213
|
def server_properties_for_default_create
|
170
214
|
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerPropertiesForDefaultCreate
|
171
215
|
end
|
@@ -226,6 +270,72 @@ module Azure::Profiles::Latest
|
|
226
270
|
def server_security_alert_policy_state
|
227
271
|
Azure::Mysql::Mgmt::V2017_12_01::Models::ServerSecurityAlertPolicyState
|
228
272
|
end
|
273
|
+
def private_endpoint_property
|
274
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointProperty
|
275
|
+
end
|
276
|
+
def private_link_service_connection_state_property
|
277
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkServiceConnectionStateProperty
|
278
|
+
end
|
279
|
+
def advisors_result_list
|
280
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::AdvisorsResultList
|
281
|
+
end
|
282
|
+
def recommended_action_sessions_operation_status
|
283
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendedActionSessionsOperationStatus
|
284
|
+
end
|
285
|
+
def tags_object
|
286
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::TagsObject
|
287
|
+
end
|
288
|
+
def private_link_resource_properties
|
289
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResourceProperties
|
290
|
+
end
|
291
|
+
def private_link_resource_list_result
|
292
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResourceListResult
|
293
|
+
end
|
294
|
+
def recommendation_actions_result_list
|
295
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationActionsResultList
|
296
|
+
end
|
297
|
+
def private_endpoint_connection_list_result
|
298
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointConnectionListResult
|
299
|
+
end
|
300
|
+
def advisor
|
301
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::Advisor
|
302
|
+
end
|
303
|
+
def recommendation_action
|
304
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::RecommendationAction
|
305
|
+
end
|
306
|
+
def private_endpoint_connection
|
307
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateEndpointConnection
|
308
|
+
end
|
309
|
+
def private_link_resource
|
310
|
+
Azure::Mysql::Mgmt::V2018_06_01::Models::PrivateLinkResource
|
311
|
+
end
|
312
|
+
def error_response
|
313
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ErrorResponse
|
314
|
+
end
|
315
|
+
def server_key_list_result
|
316
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ServerKeyListResult
|
317
|
+
end
|
318
|
+
def resource
|
319
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::Resource
|
320
|
+
end
|
321
|
+
def error_additional_info
|
322
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ErrorAdditionalInfo
|
323
|
+
end
|
324
|
+
def server_upgrade_parameters
|
325
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ServerUpgradeParameters
|
326
|
+
end
|
327
|
+
def server_key
|
328
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ServerKey
|
329
|
+
end
|
330
|
+
def tracked_resource
|
331
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::TrackedResource
|
332
|
+
end
|
333
|
+
def azure_entity_resource
|
334
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::AzureEntityResource
|
335
|
+
end
|
336
|
+
def proxy_resource
|
337
|
+
Azure::Mysql::Mgmt::V2020_01_01::Models::ProxyResource
|
338
|
+
end
|
229
339
|
end
|
230
340
|
end
|
231
341
|
end
|
@@ -7,61 +7,94 @@ require 'azure_mgmt_netapp'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module NetApp
|
9
9
|
module Mgmt
|
10
|
-
Operations = Azure::NetApp::Mgmt::
|
11
|
-
NetAppResource = Azure::NetApp::Mgmt::
|
12
|
-
Accounts = Azure::NetApp::Mgmt::
|
13
|
-
Pools = Azure::NetApp::Mgmt::
|
14
|
-
Volumes = Azure::NetApp::Mgmt::
|
15
|
-
Snapshots = Azure::NetApp::Mgmt::
|
10
|
+
Operations = Azure::NetApp::Mgmt::V2020_06_01::Operations
|
11
|
+
NetAppResource = Azure::NetApp::Mgmt::V2020_06_01::NetAppResource
|
12
|
+
Accounts = Azure::NetApp::Mgmt::V2020_06_01::Accounts
|
13
|
+
Pools = Azure::NetApp::Mgmt::V2020_06_01::Pools
|
14
|
+
Volumes = Azure::NetApp::Mgmt::V2020_06_01::Volumes
|
15
|
+
Snapshots = Azure::NetApp::Mgmt::V2020_06_01::Snapshots
|
16
|
+
SnapshotPolicies = Azure::NetApp::Mgmt::V2020_06_01::SnapshotPolicies
|
17
|
+
AccountBackups = Azure::NetApp::Mgmt::V2020_06_01::AccountBackups
|
18
|
+
Backups = Azure::NetApp::Mgmt::V2020_06_01::Backups
|
19
|
+
BackupPolicies = Azure::NetApp::Mgmt::V2020_06_01::BackupPolicies
|
20
|
+
Vaults = Azure::NetApp::Mgmt::V2020_06_01::Vaults
|
16
21
|
|
17
22
|
module Models
|
18
|
-
|
19
|
-
|
20
|
-
Dimension = Azure::NetApp::Mgmt::
|
21
|
-
|
22
|
-
ServiceSpecification = Azure::NetApp::Mgmt::
|
23
|
-
|
24
|
-
OperationListResult = Azure::NetApp::Mgmt::
|
25
|
-
|
26
|
-
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
VolumeRevert = Azure::NetApp::Mgmt::
|
46
|
-
|
47
|
-
AuthorizeRequest = Azure::NetApp::Mgmt::
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
23
|
+
VolumePatchPropertiesDataProtection = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatchPropertiesDataProtection
|
24
|
+
VolumePatch = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatch
|
25
|
+
Dimension = Azure::NetApp::Mgmt::V2020_06_01::Models::Dimension
|
26
|
+
MountTarget = Azure::NetApp::Mgmt::V2020_06_01::Models::MountTarget
|
27
|
+
ServiceSpecification = Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceSpecification
|
28
|
+
Snapshot = Azure::NetApp::Mgmt::V2020_06_01::Models::Snapshot
|
29
|
+
OperationListResult = Azure::NetApp::Mgmt::V2020_06_01::Models::OperationListResult
|
30
|
+
SnapshotsList = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotsList
|
31
|
+
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2020_06_01::Models::ResourceNameAvailabilityRequest
|
32
|
+
SnapshotPolicy = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicy
|
33
|
+
ActiveDirectory = Azure::NetApp::Mgmt::V2020_06_01::Models::ActiveDirectory
|
34
|
+
SnapshotPoliciesList = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPoliciesList
|
35
|
+
NetAppAccountList = Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountList
|
36
|
+
SnapshotPolicyDetails = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyDetails
|
37
|
+
CapacityPool = Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPool
|
38
|
+
SnapshotPolicyPatch = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyPatch
|
39
|
+
CapacityPoolPatch = Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPoolPatch
|
40
|
+
SnapshotPolicyVolumeList = Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyVolumeList
|
41
|
+
VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePropertiesExportPolicy
|
42
|
+
HourlySchedule = Azure::NetApp::Mgmt::V2020_06_01::Models::HourlySchedule
|
43
|
+
VolumeBackupProperties = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeBackupProperties
|
44
|
+
DailySchedule = Azure::NetApp::Mgmt::V2020_06_01::Models::DailySchedule
|
45
|
+
VolumeSnapshotProperties = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeSnapshotProperties
|
46
|
+
WeeklySchedule = Azure::NetApp::Mgmt::V2020_06_01::Models::WeeklySchedule
|
47
|
+
Volume = Azure::NetApp::Mgmt::V2020_06_01::Models::Volume
|
48
|
+
MonthlySchedule = Azure::NetApp::Mgmt::V2020_06_01::Models::MonthlySchedule
|
49
|
+
ReplicationStatus = Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationStatus
|
50
|
+
VolumeRevert = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeRevert
|
51
|
+
OperationDisplay = Azure::NetApp::Mgmt::V2020_06_01::Models::OperationDisplay
|
52
|
+
AuthorizeRequest = Azure::NetApp::Mgmt::V2020_06_01::Models::AuthorizeRequest
|
53
|
+
Operation = Azure::NetApp::Mgmt::V2020_06_01::Models::Operation
|
54
|
+
BreakReplicationRequest = Azure::NetApp::Mgmt::V2020_06_01::Models::BreakReplicationRequest
|
55
|
+
QuotaAvailabilityRequest = Azure::NetApp::Mgmt::V2020_06_01::Models::QuotaAvailabilityRequest
|
56
|
+
PoolChangeRequest = Azure::NetApp::Mgmt::V2020_06_01::Models::PoolChangeRequest
|
57
|
+
NetAppAccountPatch = Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountPatch
|
58
|
+
Backup = Azure::NetApp::Mgmt::V2020_06_01::Models::Backup
|
59
|
+
ExportPolicyRule = Azure::NetApp::Mgmt::V2020_06_01::Models::ExportPolicyRule
|
60
|
+
BackupsList = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupsList
|
61
|
+
ReplicationObject = Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationObject
|
62
|
+
BackupPatch = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPatch
|
63
|
+
VolumeList = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeList
|
64
|
+
VolumeBackups = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeBackups
|
65
|
+
MetricSpecification = Azure::NetApp::Mgmt::V2020_06_01::Models::MetricSpecification
|
66
|
+
BackupPolicy = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicy
|
67
|
+
NetAppAccount = Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccount
|
68
|
+
BackupPoliciesList = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPoliciesList
|
69
|
+
MountTargetProperties = Azure::NetApp::Mgmt::V2020_06_01::Models::MountTargetProperties
|
70
|
+
BackupPolicyDetails = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicyDetails
|
71
|
+
VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatchPropertiesExportPolicy
|
72
|
+
BackupPolicyPatch = Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicyPatch
|
73
|
+
CapacityPoolList = Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPoolList
|
74
|
+
Vault = Azure::NetApp::Mgmt::V2020_06_01::Models::Vault
|
75
|
+
CheckAvailabilityResponse = Azure::NetApp::Mgmt::V2020_06_01::Models::CheckAvailabilityResponse
|
76
|
+
VaultList = Azure::NetApp::Mgmt::V2020_06_01::Models::VaultList
|
77
|
+
VolumePropertiesDataProtection = Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePropertiesDataProtection
|
78
|
+
InAvailabilityReasonType = Azure::NetApp::Mgmt::V2020_06_01::Models::InAvailabilityReasonType
|
79
|
+
CheckNameResourceTypes = Azure::NetApp::Mgmt::V2020_06_01::Models::CheckNameResourceTypes
|
80
|
+
CheckQuotaNameResourceTypes = Azure::NetApp::Mgmt::V2020_06_01::Models::CheckQuotaNameResourceTypes
|
81
|
+
ActiveDirectoryStatus = Azure::NetApp::Mgmt::V2020_06_01::Models::ActiveDirectoryStatus
|
82
|
+
ServiceLevel = Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceLevel
|
83
|
+
QosType = Azure::NetApp::Mgmt::V2020_06_01::Models::QosType
|
84
|
+
EndpointType = Azure::NetApp::Mgmt::V2020_06_01::Models::EndpointType
|
85
|
+
ReplicationSchedule = Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationSchedule
|
86
|
+
SecurityStyle = Azure::NetApp::Mgmt::V2020_06_01::Models::SecurityStyle
|
87
|
+
RelationshipStatus = Azure::NetApp::Mgmt::V2020_06_01::Models::RelationshipStatus
|
88
|
+
MirrorState = Azure::NetApp::Mgmt::V2020_06_01::Models::MirrorState
|
56
89
|
end
|
57
90
|
|
58
91
|
class NetAppManagementClass
|
59
|
-
attr_reader :operations, :net_app_resource, :accounts, :pools, :volumes, :snapshots, :configurable, :base_url, :options, :model_classes
|
92
|
+
attr_reader :operations, :net_app_resource, :accounts, :pools, :volumes, :snapshots, :snapshot_policies, :account_backups, :backups, :backup_policies, :vaults, :configurable, :base_url, :options, :model_classes
|
60
93
|
|
61
94
|
def initialize(configurable, base_url=nil, options=nil)
|
62
95
|
@configurable, @base_url, @options = configurable, base_url, options
|
63
96
|
|
64
|
-
@client_0 = Azure::NetApp::Mgmt::
|
97
|
+
@client_0 = Azure::NetApp::Mgmt::V2020_06_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
|
65
98
|
if(@client_0.respond_to?(:subscription_id))
|
66
99
|
@client_0.subscription_id = configurable.subscription_id
|
67
100
|
end
|
@@ -72,6 +105,11 @@ module Azure::Profiles::Latest
|
|
72
105
|
@pools = @client_0.pools
|
73
106
|
@volumes = @client_0.volumes
|
74
107
|
@snapshots = @client_0.snapshots
|
108
|
+
@snapshot_policies = @client_0.snapshot_policies
|
109
|
+
@account_backups = @client_0.account_backups
|
110
|
+
@backups = @client_0.backups
|
111
|
+
@backup_policies = @client_0.backup_policies
|
112
|
+
@vaults = @client_0.vaults
|
75
113
|
|
76
114
|
@model_classes = ModelClasses.new
|
77
115
|
end
|
@@ -90,119 +128,203 @@ module Azure::Profiles::Latest
|
|
90
128
|
end
|
91
129
|
|
92
130
|
class ModelClasses
|
93
|
-
def
|
94
|
-
Azure::NetApp::Mgmt::
|
131
|
+
def volume_patch_properties_data_protection
|
132
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatchPropertiesDataProtection
|
95
133
|
end
|
96
|
-
def
|
97
|
-
Azure::NetApp::Mgmt::
|
134
|
+
def volume_patch
|
135
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatch
|
98
136
|
end
|
99
137
|
def dimension
|
100
|
-
Azure::NetApp::Mgmt::
|
138
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Dimension
|
101
139
|
end
|
102
|
-
def
|
103
|
-
Azure::NetApp::Mgmt::
|
140
|
+
def mount_target
|
141
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::MountTarget
|
104
142
|
end
|
105
143
|
def service_specification
|
106
|
-
Azure::NetApp::Mgmt::
|
144
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceSpecification
|
107
145
|
end
|
108
|
-
def
|
109
|
-
Azure::NetApp::Mgmt::
|
146
|
+
def snapshot
|
147
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Snapshot
|
110
148
|
end
|
111
149
|
def operation_list_result
|
112
|
-
Azure::NetApp::Mgmt::
|
150
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::OperationListResult
|
113
151
|
end
|
114
|
-
def
|
115
|
-
Azure::NetApp::Mgmt::
|
152
|
+
def snapshots_list
|
153
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotsList
|
116
154
|
end
|
117
155
|
def resource_name_availability_request
|
118
|
-
Azure::NetApp::Mgmt::
|
156
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ResourceNameAvailabilityRequest
|
119
157
|
end
|
120
|
-
def
|
121
|
-
Azure::NetApp::Mgmt::
|
158
|
+
def snapshot_policy
|
159
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicy
|
122
160
|
end
|
123
|
-
def
|
124
|
-
Azure::NetApp::Mgmt::
|
161
|
+
def active_directory
|
162
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ActiveDirectory
|
125
163
|
end
|
126
|
-
def
|
127
|
-
Azure::NetApp::Mgmt::
|
164
|
+
def snapshot_policies_list
|
165
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPoliciesList
|
128
166
|
end
|
129
|
-
def
|
130
|
-
Azure::NetApp::Mgmt::
|
167
|
+
def net_app_account_list
|
168
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountList
|
131
169
|
end
|
132
|
-
def
|
133
|
-
Azure::NetApp::Mgmt::
|
170
|
+
def snapshot_policy_details
|
171
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyDetails
|
134
172
|
end
|
135
|
-
def
|
136
|
-
Azure::NetApp::Mgmt::
|
173
|
+
def capacity_pool
|
174
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPool
|
175
|
+
end
|
176
|
+
def snapshot_policy_patch
|
177
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyPatch
|
178
|
+
end
|
179
|
+
def capacity_pool_patch
|
180
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPoolPatch
|
181
|
+
end
|
182
|
+
def snapshot_policy_volume_list
|
183
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyVolumeList
|
184
|
+
end
|
185
|
+
def volume_properties_export_policy
|
186
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePropertiesExportPolicy
|
187
|
+
end
|
188
|
+
def hourly_schedule
|
189
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::HourlySchedule
|
190
|
+
end
|
191
|
+
def volume_backup_properties
|
192
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeBackupProperties
|
193
|
+
end
|
194
|
+
def daily_schedule
|
195
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::DailySchedule
|
196
|
+
end
|
197
|
+
def volume_snapshot_properties
|
198
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeSnapshotProperties
|
199
|
+
end
|
200
|
+
def weekly_schedule
|
201
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::WeeklySchedule
|
202
|
+
end
|
203
|
+
def volume
|
204
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Volume
|
205
|
+
end
|
206
|
+
def monthly_schedule
|
207
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::MonthlySchedule
|
137
208
|
end
|
138
209
|
def replication_status
|
139
|
-
Azure::NetApp::Mgmt::
|
210
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationStatus
|
211
|
+
end
|
212
|
+
def volume_revert
|
213
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeRevert
|
140
214
|
end
|
141
215
|
def operation_display
|
142
|
-
Azure::NetApp::Mgmt::
|
216
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::OperationDisplay
|
143
217
|
end
|
144
|
-
def
|
145
|
-
Azure::NetApp::Mgmt::
|
218
|
+
def authorize_request
|
219
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::AuthorizeRequest
|
146
220
|
end
|
147
221
|
def operation
|
148
|
-
Azure::NetApp::Mgmt::
|
222
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Operation
|
149
223
|
end
|
150
|
-
def
|
151
|
-
Azure::NetApp::Mgmt::
|
224
|
+
def break_replication_request
|
225
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BreakReplicationRequest
|
152
226
|
end
|
153
|
-
def
|
154
|
-
Azure::NetApp::Mgmt::
|
227
|
+
def quota_availability_request
|
228
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::QuotaAvailabilityRequest
|
155
229
|
end
|
156
|
-
def
|
157
|
-
Azure::NetApp::Mgmt::
|
230
|
+
def pool_change_request
|
231
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::PoolChangeRequest
|
158
232
|
end
|
159
|
-
def
|
160
|
-
Azure::NetApp::Mgmt::
|
233
|
+
def net_app_account_patch
|
234
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountPatch
|
161
235
|
end
|
162
|
-
def
|
163
|
-
Azure::NetApp::Mgmt::
|
236
|
+
def backup
|
237
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Backup
|
238
|
+
end
|
239
|
+
def export_policy_rule
|
240
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ExportPolicyRule
|
241
|
+
end
|
242
|
+
def backups_list
|
243
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupsList
|
244
|
+
end
|
245
|
+
def replication_object
|
246
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationObject
|
247
|
+
end
|
248
|
+
def backup_patch
|
249
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPatch
|
250
|
+
end
|
251
|
+
def volume_list
|
252
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeList
|
253
|
+
end
|
254
|
+
def volume_backups
|
255
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeBackups
|
164
256
|
end
|
165
257
|
def metric_specification
|
166
|
-
Azure::NetApp::Mgmt::
|
258
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::MetricSpecification
|
167
259
|
end
|
168
|
-
def
|
169
|
-
Azure::NetApp::Mgmt::
|
260
|
+
def backup_policy
|
261
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicy
|
170
262
|
end
|
171
|
-
def
|
172
|
-
Azure::NetApp::Mgmt::
|
263
|
+
def net_app_account
|
264
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccount
|
173
265
|
end
|
174
|
-
def
|
175
|
-
Azure::NetApp::Mgmt::
|
266
|
+
def backup_policies_list
|
267
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPoliciesList
|
176
268
|
end
|
177
|
-
def
|
178
|
-
Azure::NetApp::Mgmt::
|
269
|
+
def mount_target_properties
|
270
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::MountTargetProperties
|
179
271
|
end
|
180
|
-
def
|
181
|
-
Azure::NetApp::Mgmt::
|
272
|
+
def backup_policy_details
|
273
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicyDetails
|
182
274
|
end
|
183
|
-
def
|
184
|
-
Azure::NetApp::Mgmt::
|
275
|
+
def volume_patch_properties_export_policy
|
276
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatchPropertiesExportPolicy
|
277
|
+
end
|
278
|
+
def backup_policy_patch
|
279
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicyPatch
|
280
|
+
end
|
281
|
+
def capacity_pool_list
|
282
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPoolList
|
283
|
+
end
|
284
|
+
def vault
|
285
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::Vault
|
286
|
+
end
|
287
|
+
def check_availability_response
|
288
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CheckAvailabilityResponse
|
289
|
+
end
|
290
|
+
def vault_list
|
291
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VaultList
|
292
|
+
end
|
293
|
+
def volume_properties_data_protection
|
294
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePropertiesDataProtection
|
185
295
|
end
|
186
296
|
def in_availability_reason_type
|
187
|
-
Azure::NetApp::Mgmt::
|
297
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::InAvailabilityReasonType
|
188
298
|
end
|
189
299
|
def check_name_resource_types
|
190
|
-
Azure::NetApp::Mgmt::
|
300
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CheckNameResourceTypes
|
301
|
+
end
|
302
|
+
def check_quota_name_resource_types
|
303
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::CheckQuotaNameResourceTypes
|
304
|
+
end
|
305
|
+
def active_directory_status
|
306
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ActiveDirectoryStatus
|
191
307
|
end
|
192
308
|
def service_level
|
193
|
-
Azure::NetApp::Mgmt::
|
309
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceLevel
|
310
|
+
end
|
311
|
+
def qos_type
|
312
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::QosType
|
194
313
|
end
|
195
314
|
def endpoint_type
|
196
|
-
Azure::NetApp::Mgmt::
|
315
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::EndpointType
|
197
316
|
end
|
198
317
|
def replication_schedule
|
199
|
-
Azure::NetApp::Mgmt::
|
318
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationSchedule
|
319
|
+
end
|
320
|
+
def security_style
|
321
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::SecurityStyle
|
200
322
|
end
|
201
323
|
def relationship_status
|
202
|
-
Azure::NetApp::Mgmt::
|
324
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::RelationshipStatus
|
203
325
|
end
|
204
326
|
def mirror_state
|
205
|
-
Azure::NetApp::Mgmt::
|
327
|
+
Azure::NetApp::Mgmt::V2020_06_01::Models::MirrorState
|
206
328
|
end
|
207
329
|
end
|
208
330
|
end
|