azure_sdk 0.60.0 → 0.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,6 @@ require 'azure_mgmt_mariadb'
7
7
  module Azure::Profiles::Latest
8
8
  module MariaDB
9
9
  module Mgmt
10
- Servers = Azure::MariaDB::Mgmt::V2018_06_01::Servers
11
10
  Replicas = Azure::MariaDB::Mgmt::V2018_06_01::Replicas
12
11
  FirewallRules = Azure::MariaDB::Mgmt::V2018_06_01::FirewallRules
13
12
  VirtualNetworkRules = Azure::MariaDB::Mgmt::V2018_06_01::VirtualNetworkRules
@@ -18,6 +17,7 @@ module Azure::Profiles::Latest
18
17
  CheckNameAvailability = Azure::MariaDB::Mgmt::V2018_06_01::CheckNameAvailability
19
18
  ServerSecurityAlertPolicies = Azure::MariaDB::Mgmt::V2018_06_01::ServerSecurityAlertPolicies
20
19
  Operations = Azure::MariaDB::Mgmt::V2018_06_01::Operations
20
+ Servers = Azure::MariaDB::Mgmt::V2020_01_01::Servers
21
21
 
22
22
  module Models
23
23
  VirtualNetworkRuleListResult = Azure::MariaDB::Mgmt::V2018_06_01::Models::VirtualNetworkRuleListResult
@@ -61,10 +61,12 @@ module Azure::Profiles::Latest
61
61
  VirtualNetworkRuleState = Azure::MariaDB::Mgmt::V2018_06_01::Models::VirtualNetworkRuleState
62
62
  OperationOrigin = Azure::MariaDB::Mgmt::V2018_06_01::Models::OperationOrigin
63
63
  ServerSecurityAlertPolicyState = Azure::MariaDB::Mgmt::V2018_06_01::Models::ServerSecurityAlertPolicyState
64
+ ErrorResponse = Azure::MariaDB::Mgmt::V2020_01_01::Models::ErrorResponse
65
+ ErrorAdditionalInfo = Azure::MariaDB::Mgmt::V2020_01_01::Models::ErrorAdditionalInfo
64
66
  end
65
67
 
66
68
  class MariaDBManagementClass
67
- attr_reader :servers, :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :configurable, :base_url, :options, :model_classes
69
+ attr_reader :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :servers, :configurable, :base_url, :options, :model_classes
68
70
 
69
71
  def initialize(configurable, base_url=nil, options=nil)
70
72
  @configurable, @base_url, @options = configurable, base_url, options
@@ -74,7 +76,6 @@ module Azure::Profiles::Latest
74
76
  @client_0.subscription_id = configurable.subscription_id
75
77
  end
76
78
  add_telemetry(@client_0)
77
- @servers = @client_0.servers
78
79
  @replicas = @client_0.replicas
79
80
  @firewall_rules = @client_0.firewall_rules
80
81
  @virtual_network_rules = @client_0.virtual_network_rules
@@ -86,6 +87,13 @@ module Azure::Profiles::Latest
86
87
  @server_security_alert_policies = @client_0.server_security_alert_policies
87
88
  @operations = @client_0.operations
88
89
 
90
+ @client_1 = Azure::MariaDB::Mgmt::V2020_01_01::MariaDBManagementClient.new(configurable.credentials, base_url, options)
91
+ if(@client_1.respond_to?(:subscription_id))
92
+ @client_1.subscription_id = configurable.subscription_id
93
+ end
94
+ add_telemetry(@client_1)
95
+ @servers = @client_1.servers
96
+
89
97
  @model_classes = ModelClasses.new
90
98
  end
91
99
 
@@ -95,7 +103,9 @@ module Azure::Profiles::Latest
95
103
  end
96
104
 
97
105
  def method_missing(method, *args)
98
- if @client_0.respond_to?method
106
+ if @client_1.respond_to?method
107
+ @client_1.send(method, *args)
108
+ elsif @client_0.respond_to?method
99
109
  @client_0.send(method, *args)
100
110
  else
101
111
  super
@@ -226,6 +236,12 @@ module Azure::Profiles::Latest
226
236
  def server_security_alert_policy_state
227
237
  Azure::MariaDB::Mgmt::V2018_06_01::Models::ServerSecurityAlertPolicyState
228
238
  end
239
+ def error_response
240
+ Azure::MariaDB::Mgmt::V2020_01_01::Models::ErrorResponse
241
+ end
242
+ def error_additional_info
243
+ Azure::MariaDB::Mgmt::V2020_01_01::Models::ErrorAdditionalInfo
244
+ end
229
245
  end
230
246
  end
231
247
  end
@@ -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 :servers, :replicas, :firewall_rules, :virtual_network_rules, :databases, :configurations, :log_files, :location_based_performance_tier, :check_name_availability, :server_security_alert_policies, :operations, :configurable, :base_url, :options, :model_classes
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 @client_0.respond_to?method
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,60 +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::V2019_11_01::Operations
11
- NetAppResource = Azure::NetApp::Mgmt::V2019_11_01::NetAppResource
12
- Accounts = Azure::NetApp::Mgmt::V2019_11_01::Accounts
13
- Pools = Azure::NetApp::Mgmt::V2019_11_01::Pools
14
- Volumes = Azure::NetApp::Mgmt::V2019_11_01::Volumes
15
- Snapshots = Azure::NetApp::Mgmt::V2019_11_01::Snapshots
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
- ExportPolicyRule = Azure::NetApp::Mgmt::V2019_11_01::Models::ExportPolicyRule
19
- OperationDisplay = Azure::NetApp::Mgmt::V2019_11_01::Models::OperationDisplay
20
- VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePropertiesExportPolicy
21
- MetricSpecification = Azure::NetApp::Mgmt::V2019_11_01::Models::MetricSpecification
22
- MountTargetProperties = Azure::NetApp::Mgmt::V2019_11_01::Models::MountTargetProperties
23
- Operation = Azure::NetApp::Mgmt::V2019_11_01::Models::Operation
24
- ReplicationObject = Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationObject
25
- ResourceNameAvailability = Azure::NetApp::Mgmt::V2019_11_01::Models::ResourceNameAvailability
26
- VolumePropertiesDataProtection = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePropertiesDataProtection
27
- ActiveDirectory = Azure::NetApp::Mgmt::V2019_11_01::Models::ActiveDirectory
28
- Volume = Azure::NetApp::Mgmt::V2019_11_01::Models::Volume
29
- NetAppAccountList = Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccountList
30
- VolumeList = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumeList
31
- CapacityPool = Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPool
32
- ReplicationStatus = Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationStatus
33
- CapacityPoolPatch = Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPoolPatch
34
- VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePatchPropertiesExportPolicy
35
- ServiceSpecification = Azure::NetApp::Mgmt::V2019_11_01::Models::ServiceSpecification
36
- VolumePatch = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePatch
37
- ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2019_11_01::Models::ResourceNameAvailabilityRequest
38
- MountTarget = Azure::NetApp::Mgmt::V2019_11_01::Models::MountTarget
39
- NetAppAccountPatch = Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccountPatch
40
- Snapshot = Azure::NetApp::Mgmt::V2019_11_01::Models::Snapshot
41
- Dimension = Azure::NetApp::Mgmt::V2019_11_01::Models::Dimension
42
- SnapshotsList = Azure::NetApp::Mgmt::V2019_11_01::Models::SnapshotsList
43
- NetAppAccount = Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccount
44
- VolumeRevert = Azure::NetApp::Mgmt::V2019_11_01::Models::VolumeRevert
45
- OperationListResult = Azure::NetApp::Mgmt::V2019_11_01::Models::OperationListResult
46
- AuthorizeRequest = Azure::NetApp::Mgmt::V2019_11_01::Models::AuthorizeRequest
47
- CapacityPoolList = Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPoolList
48
- InAvailabilityReasonType = Azure::NetApp::Mgmt::V2019_11_01::Models::InAvailabilityReasonType
49
- CheckNameResourceTypes = Azure::NetApp::Mgmt::V2019_11_01::Models::CheckNameResourceTypes
50
- ServiceLevel = Azure::NetApp::Mgmt::V2019_11_01::Models::ServiceLevel
51
- EndpointType = Azure::NetApp::Mgmt::V2019_11_01::Models::EndpointType
52
- ReplicationSchedule = Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationSchedule
53
- RelationshipStatus = Azure::NetApp::Mgmt::V2019_11_01::Models::RelationshipStatus
54
- MirrorState = Azure::NetApp::Mgmt::V2019_11_01::Models::MirrorState
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
55
89
  end
56
90
 
57
91
  class NetAppManagementClass
58
- 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
59
93
 
60
94
  def initialize(configurable, base_url=nil, options=nil)
61
95
  @configurable, @base_url, @options = configurable, base_url, options
62
96
 
63
- @client_0 = Azure::NetApp::Mgmt::V2019_11_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
97
+ @client_0 = Azure::NetApp::Mgmt::V2020_06_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
64
98
  if(@client_0.respond_to?(:subscription_id))
65
99
  @client_0.subscription_id = configurable.subscription_id
66
100
  end
@@ -71,6 +105,11 @@ module Azure::Profiles::Latest
71
105
  @pools = @client_0.pools
72
106
  @volumes = @client_0.volumes
73
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
74
113
 
75
114
  @model_classes = ModelClasses.new
76
115
  end
@@ -89,116 +128,203 @@ module Azure::Profiles::Latest
89
128
  end
90
129
 
91
130
  class ModelClasses
92
- def export_policy_rule
93
- Azure::NetApp::Mgmt::V2019_11_01::Models::ExportPolicyRule
131
+ def volume_patch_properties_data_protection
132
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatchPropertiesDataProtection
94
133
  end
95
- def operation_display
96
- Azure::NetApp::Mgmt::V2019_11_01::Models::OperationDisplay
134
+ def volume_patch
135
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePatch
97
136
  end
98
- def volume_properties_export_policy
99
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePropertiesExportPolicy
137
+ def dimension
138
+ Azure::NetApp::Mgmt::V2020_06_01::Models::Dimension
100
139
  end
101
- def metric_specification
102
- Azure::NetApp::Mgmt::V2019_11_01::Models::MetricSpecification
140
+ def mount_target
141
+ Azure::NetApp::Mgmt::V2020_06_01::Models::MountTarget
103
142
  end
104
- def mount_target_properties
105
- Azure::NetApp::Mgmt::V2019_11_01::Models::MountTargetProperties
143
+ def service_specification
144
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceSpecification
106
145
  end
107
- def operation
108
- Azure::NetApp::Mgmt::V2019_11_01::Models::Operation
146
+ def snapshot
147
+ Azure::NetApp::Mgmt::V2020_06_01::Models::Snapshot
109
148
  end
110
- def replication_object
111
- Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationObject
149
+ def operation_list_result
150
+ Azure::NetApp::Mgmt::V2020_06_01::Models::OperationListResult
112
151
  end
113
- def resource_name_availability
114
- Azure::NetApp::Mgmt::V2019_11_01::Models::ResourceNameAvailability
152
+ def snapshots_list
153
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotsList
115
154
  end
116
- def volume_properties_data_protection
117
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePropertiesDataProtection
155
+ def resource_name_availability_request
156
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ResourceNameAvailabilityRequest
157
+ end
158
+ def snapshot_policy
159
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicy
118
160
  end
119
161
  def active_directory
120
- Azure::NetApp::Mgmt::V2019_11_01::Models::ActiveDirectory
162
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ActiveDirectory
121
163
  end
122
- def volume
123
- Azure::NetApp::Mgmt::V2019_11_01::Models::Volume
164
+ def snapshot_policies_list
165
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPoliciesList
124
166
  end
125
167
  def net_app_account_list
126
- Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccountList
168
+ Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountList
127
169
  end
128
- def volume_list
129
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumeList
170
+ def snapshot_policy_details
171
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyDetails
130
172
  end
131
173
  def capacity_pool
132
- Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPool
174
+ Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPool
133
175
  end
134
- def replication_status
135
- Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationStatus
176
+ def snapshot_policy_patch
177
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyPatch
136
178
  end
137
179
  def capacity_pool_patch
138
- Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPoolPatch
180
+ Azure::NetApp::Mgmt::V2020_06_01::Models::CapacityPoolPatch
139
181
  end
140
- def volume_patch_properties_export_policy
141
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePatchPropertiesExportPolicy
182
+ def snapshot_policy_volume_list
183
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SnapshotPolicyVolumeList
142
184
  end
143
- def service_specification
144
- Azure::NetApp::Mgmt::V2019_11_01::Models::ServiceSpecification
185
+ def volume_properties_export_policy
186
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumePropertiesExportPolicy
145
187
  end
146
- def volume_patch
147
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumePatch
188
+ def hourly_schedule
189
+ Azure::NetApp::Mgmt::V2020_06_01::Models::HourlySchedule
148
190
  end
149
- def resource_name_availability_request
150
- Azure::NetApp::Mgmt::V2019_11_01::Models::ResourceNameAvailabilityRequest
191
+ def volume_backup_properties
192
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeBackupProperties
151
193
  end
152
- def mount_target
153
- Azure::NetApp::Mgmt::V2019_11_01::Models::MountTarget
194
+ def daily_schedule
195
+ Azure::NetApp::Mgmt::V2020_06_01::Models::DailySchedule
154
196
  end
155
- def net_app_account_patch
156
- Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccountPatch
197
+ def volume_snapshot_properties
198
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeSnapshotProperties
157
199
  end
158
- def snapshot
159
- Azure::NetApp::Mgmt::V2019_11_01::Models::Snapshot
200
+ def weekly_schedule
201
+ Azure::NetApp::Mgmt::V2020_06_01::Models::WeeklySchedule
160
202
  end
161
- def dimension
162
- Azure::NetApp::Mgmt::V2019_11_01::Models::Dimension
203
+ def volume
204
+ Azure::NetApp::Mgmt::V2020_06_01::Models::Volume
163
205
  end
164
- def snapshots_list
165
- Azure::NetApp::Mgmt::V2019_11_01::Models::SnapshotsList
206
+ def monthly_schedule
207
+ Azure::NetApp::Mgmt::V2020_06_01::Models::MonthlySchedule
166
208
  end
167
- def net_app_account
168
- Azure::NetApp::Mgmt::V2019_11_01::Models::NetAppAccount
209
+ def replication_status
210
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationStatus
169
211
  end
170
212
  def volume_revert
171
- Azure::NetApp::Mgmt::V2019_11_01::Models::VolumeRevert
213
+ Azure::NetApp::Mgmt::V2020_06_01::Models::VolumeRevert
172
214
  end
173
- def operation_list_result
174
- Azure::NetApp::Mgmt::V2019_11_01::Models::OperationListResult
215
+ def operation_display
216
+ Azure::NetApp::Mgmt::V2020_06_01::Models::OperationDisplay
175
217
  end
176
218
  def authorize_request
177
- Azure::NetApp::Mgmt::V2019_11_01::Models::AuthorizeRequest
219
+ Azure::NetApp::Mgmt::V2020_06_01::Models::AuthorizeRequest
220
+ end
221
+ def operation
222
+ Azure::NetApp::Mgmt::V2020_06_01::Models::Operation
223
+ end
224
+ def break_replication_request
225
+ Azure::NetApp::Mgmt::V2020_06_01::Models::BreakReplicationRequest
226
+ end
227
+ def quota_availability_request
228
+ Azure::NetApp::Mgmt::V2020_06_01::Models::QuotaAvailabilityRequest
229
+ end
230
+ def pool_change_request
231
+ Azure::NetApp::Mgmt::V2020_06_01::Models::PoolChangeRequest
232
+ end
233
+ def net_app_account_patch
234
+ Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccountPatch
235
+ end
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
256
+ end
257
+ def metric_specification
258
+ Azure::NetApp::Mgmt::V2020_06_01::Models::MetricSpecification
259
+ end
260
+ def backup_policy
261
+ Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicy
262
+ end
263
+ def net_app_account
264
+ Azure::NetApp::Mgmt::V2020_06_01::Models::NetAppAccount
265
+ end
266
+ def backup_policies_list
267
+ Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPoliciesList
268
+ end
269
+ def mount_target_properties
270
+ Azure::NetApp::Mgmt::V2020_06_01::Models::MountTargetProperties
271
+ end
272
+ def backup_policy_details
273
+ Azure::NetApp::Mgmt::V2020_06_01::Models::BackupPolicyDetails
274
+ end
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
178
280
  end
179
281
  def capacity_pool_list
180
- Azure::NetApp::Mgmt::V2019_11_01::Models::CapacityPoolList
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
181
295
  end
182
296
  def in_availability_reason_type
183
- Azure::NetApp::Mgmt::V2019_11_01::Models::InAvailabilityReasonType
297
+ Azure::NetApp::Mgmt::V2020_06_01::Models::InAvailabilityReasonType
184
298
  end
185
299
  def check_name_resource_types
186
- Azure::NetApp::Mgmt::V2019_11_01::Models::CheckNameResourceTypes
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
187
307
  end
188
308
  def service_level
189
- Azure::NetApp::Mgmt::V2019_11_01::Models::ServiceLevel
309
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ServiceLevel
310
+ end
311
+ def qos_type
312
+ Azure::NetApp::Mgmt::V2020_06_01::Models::QosType
190
313
  end
191
314
  def endpoint_type
192
- Azure::NetApp::Mgmt::V2019_11_01::Models::EndpointType
315
+ Azure::NetApp::Mgmt::V2020_06_01::Models::EndpointType
193
316
  end
194
317
  def replication_schedule
195
- Azure::NetApp::Mgmt::V2019_11_01::Models::ReplicationSchedule
318
+ Azure::NetApp::Mgmt::V2020_06_01::Models::ReplicationSchedule
319
+ end
320
+ def security_style
321
+ Azure::NetApp::Mgmt::V2020_06_01::Models::SecurityStyle
196
322
  end
197
323
  def relationship_status
198
- Azure::NetApp::Mgmt::V2019_11_01::Models::RelationshipStatus
324
+ Azure::NetApp::Mgmt::V2020_06_01::Models::RelationshipStatus
199
325
  end
200
326
  def mirror_state
201
- Azure::NetApp::Mgmt::V2019_11_01::Models::MirrorState
327
+ Azure::NetApp::Mgmt::V2020_06_01::Models::MirrorState
202
328
  end
203
329
  end
204
330
  end