azure_sdk 0.44.0 → 0.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +31 -1
- data/lib/latest/modules/batch_profile_module.rb +417 -377
- data/lib/latest/modules/consumption_profile_module.rb +345 -255
- data/lib/latest/modules/eventhub_profile_module.rb +195 -171
- data/lib/latest/modules/importexport_profile_module.rb +135 -0
- data/lib/latest/modules/maintenance_profile_module.rb +121 -121
- data/lib/latest/modules/netapp_profile_module.rb +185 -185
- data/lib/latest/modules/portal_profile_module.rb +95 -0
- data/lib/latest/modules/resourcehealth_profile_module.rb +111 -0
- data/lib/latest/modules/sql_profile_module.rb +1765 -1765
- data/lib/latest/modules/sqlvirtualmachine_profile_module.rb +235 -223
- metadata +64 -19
@@ -1,121 +1,121 @@
|
|
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_maintenance'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module Maintenance
|
9
|
-
module Mgmt
|
10
|
-
ApplyUpdates = Azure::Maintenance::Mgmt::V2018_06_01_preview::ApplyUpdates
|
11
|
-
ConfigurationAssignments = Azure::Maintenance::Mgmt::V2018_06_01_preview::ConfigurationAssignments
|
12
|
-
MaintenanceConfigurations = Azure::Maintenance::Mgmt::V2018_06_01_preview::MaintenanceConfigurations
|
13
|
-
Operations = Azure::Maintenance::Mgmt::V2018_06_01_preview::Operations
|
14
|
-
Updates = Azure::Maintenance::Mgmt::V2018_06_01_preview::Updates
|
15
|
-
|
16
|
-
module Models
|
17
|
-
MaintenanceError = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceError
|
18
|
-
ListMaintenanceConfigurationsResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListMaintenanceConfigurationsResult
|
19
|
-
Resource = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Resource
|
20
|
-
Update = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Update
|
21
|
-
ListUpdatesResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListUpdatesResult
|
22
|
-
OperationInfo = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationInfo
|
23
|
-
ListConfigurationAssignmentsResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListConfigurationAssignmentsResult
|
24
|
-
Operation = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Operation
|
25
|
-
ErrorDetails = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
26
|
-
OperationsListResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationsListResult
|
27
|
-
ApplyUpdate = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ApplyUpdate
|
28
|
-
ConfigurationAssignment = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ConfigurationAssignment
|
29
|
-
MaintenanceConfiguration = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceConfiguration
|
30
|
-
UpdateStatus = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::UpdateStatus
|
31
|
-
MaintenanceScope = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceScope
|
32
|
-
ImpactType = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ImpactType
|
33
|
-
end
|
34
|
-
|
35
|
-
class MaintenanceManagementClass
|
36
|
-
attr_reader :apply_updates, :configuration_assignments, :maintenance_configurations, :operations, :updates, :configurable, :base_url, :options, :model_classes
|
37
|
-
|
38
|
-
def initialize(configurable, base_url=nil, options=nil)
|
39
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
40
|
-
|
41
|
-
@client_0 = Azure::Maintenance::Mgmt::V2018_06_01_preview::MaintenanceManagementClient.new(configurable.credentials, base_url, options)
|
42
|
-
if(@client_0.respond_to?(:subscription_id))
|
43
|
-
@client_0.subscription_id = configurable.subscription_id
|
44
|
-
end
|
45
|
-
add_telemetry(@client_0)
|
46
|
-
@apply_updates = @client_0.apply_updates
|
47
|
-
@configuration_assignments = @client_0.configuration_assignments
|
48
|
-
@maintenance_configurations = @client_0.maintenance_configurations
|
49
|
-
@operations = @client_0.operations
|
50
|
-
@updates = @client_0.updates
|
51
|
-
|
52
|
-
@model_classes = ModelClasses.new
|
53
|
-
end
|
54
|
-
|
55
|
-
def add_telemetry(client)
|
56
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Maintenance/Mgmt"
|
57
|
-
client.add_user_agent_information(profile_information)
|
58
|
-
end
|
59
|
-
|
60
|
-
def method_missing(method, *args)
|
61
|
-
if @client_0.respond_to?method
|
62
|
-
@client_0.send(method, *args)
|
63
|
-
else
|
64
|
-
super
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
class ModelClasses
|
69
|
-
def maintenance_error
|
70
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceError
|
71
|
-
end
|
72
|
-
def list_maintenance_configurations_result
|
73
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListMaintenanceConfigurationsResult
|
74
|
-
end
|
75
|
-
def resource
|
76
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Resource
|
77
|
-
end
|
78
|
-
def update
|
79
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Update
|
80
|
-
end
|
81
|
-
def list_updates_result
|
82
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListUpdatesResult
|
83
|
-
end
|
84
|
-
def operation_info
|
85
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationInfo
|
86
|
-
end
|
87
|
-
def list_configuration_assignments_result
|
88
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListConfigurationAssignmentsResult
|
89
|
-
end
|
90
|
-
def operation
|
91
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Operation
|
92
|
-
end
|
93
|
-
def error_details
|
94
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
95
|
-
end
|
96
|
-
def operations_list_result
|
97
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationsListResult
|
98
|
-
end
|
99
|
-
def apply_update
|
100
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ApplyUpdate
|
101
|
-
end
|
102
|
-
def configuration_assignment
|
103
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ConfigurationAssignment
|
104
|
-
end
|
105
|
-
def maintenance_configuration
|
106
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceConfiguration
|
107
|
-
end
|
108
|
-
def update_status
|
109
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::UpdateStatus
|
110
|
-
end
|
111
|
-
def maintenance_scope
|
112
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceScope
|
113
|
-
end
|
114
|
-
def impact_type
|
115
|
-
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ImpactType
|
116
|
-
end
|
117
|
-
end
|
118
|
-
end
|
119
|
-
end
|
120
|
-
end
|
121
|
-
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_maintenance'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module Maintenance
|
9
|
+
module Mgmt
|
10
|
+
ApplyUpdates = Azure::Maintenance::Mgmt::V2018_06_01_preview::ApplyUpdates
|
11
|
+
ConfigurationAssignments = Azure::Maintenance::Mgmt::V2018_06_01_preview::ConfigurationAssignments
|
12
|
+
MaintenanceConfigurations = Azure::Maintenance::Mgmt::V2018_06_01_preview::MaintenanceConfigurations
|
13
|
+
Operations = Azure::Maintenance::Mgmt::V2018_06_01_preview::Operations
|
14
|
+
Updates = Azure::Maintenance::Mgmt::V2018_06_01_preview::Updates
|
15
|
+
|
16
|
+
module Models
|
17
|
+
MaintenanceError = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceError
|
18
|
+
ListMaintenanceConfigurationsResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListMaintenanceConfigurationsResult
|
19
|
+
Resource = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Resource
|
20
|
+
Update = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Update
|
21
|
+
ListUpdatesResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListUpdatesResult
|
22
|
+
OperationInfo = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationInfo
|
23
|
+
ListConfigurationAssignmentsResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListConfigurationAssignmentsResult
|
24
|
+
Operation = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Operation
|
25
|
+
ErrorDetails = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
26
|
+
OperationsListResult = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationsListResult
|
27
|
+
ApplyUpdate = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ApplyUpdate
|
28
|
+
ConfigurationAssignment = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ConfigurationAssignment
|
29
|
+
MaintenanceConfiguration = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceConfiguration
|
30
|
+
UpdateStatus = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::UpdateStatus
|
31
|
+
MaintenanceScope = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceScope
|
32
|
+
ImpactType = Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ImpactType
|
33
|
+
end
|
34
|
+
|
35
|
+
class MaintenanceManagementClass
|
36
|
+
attr_reader :apply_updates, :configuration_assignments, :maintenance_configurations, :operations, :updates, :configurable, :base_url, :options, :model_classes
|
37
|
+
|
38
|
+
def initialize(configurable, base_url=nil, options=nil)
|
39
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
40
|
+
|
41
|
+
@client_0 = Azure::Maintenance::Mgmt::V2018_06_01_preview::MaintenanceManagementClient.new(configurable.credentials, base_url, options)
|
42
|
+
if(@client_0.respond_to?(:subscription_id))
|
43
|
+
@client_0.subscription_id = configurable.subscription_id
|
44
|
+
end
|
45
|
+
add_telemetry(@client_0)
|
46
|
+
@apply_updates = @client_0.apply_updates
|
47
|
+
@configuration_assignments = @client_0.configuration_assignments
|
48
|
+
@maintenance_configurations = @client_0.maintenance_configurations
|
49
|
+
@operations = @client_0.operations
|
50
|
+
@updates = @client_0.updates
|
51
|
+
|
52
|
+
@model_classes = ModelClasses.new
|
53
|
+
end
|
54
|
+
|
55
|
+
def add_telemetry(client)
|
56
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/Maintenance/Mgmt"
|
57
|
+
client.add_user_agent_information(profile_information)
|
58
|
+
end
|
59
|
+
|
60
|
+
def method_missing(method, *args)
|
61
|
+
if @client_0.respond_to?method
|
62
|
+
@client_0.send(method, *args)
|
63
|
+
else
|
64
|
+
super
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
class ModelClasses
|
69
|
+
def maintenance_error
|
70
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceError
|
71
|
+
end
|
72
|
+
def list_maintenance_configurations_result
|
73
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListMaintenanceConfigurationsResult
|
74
|
+
end
|
75
|
+
def resource
|
76
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Resource
|
77
|
+
end
|
78
|
+
def update
|
79
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Update
|
80
|
+
end
|
81
|
+
def list_updates_result
|
82
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListUpdatesResult
|
83
|
+
end
|
84
|
+
def operation_info
|
85
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationInfo
|
86
|
+
end
|
87
|
+
def list_configuration_assignments_result
|
88
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ListConfigurationAssignmentsResult
|
89
|
+
end
|
90
|
+
def operation
|
91
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::Operation
|
92
|
+
end
|
93
|
+
def error_details
|
94
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ErrorDetails
|
95
|
+
end
|
96
|
+
def operations_list_result
|
97
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::OperationsListResult
|
98
|
+
end
|
99
|
+
def apply_update
|
100
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ApplyUpdate
|
101
|
+
end
|
102
|
+
def configuration_assignment
|
103
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ConfigurationAssignment
|
104
|
+
end
|
105
|
+
def maintenance_configuration
|
106
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceConfiguration
|
107
|
+
end
|
108
|
+
def update_status
|
109
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::UpdateStatus
|
110
|
+
end
|
111
|
+
def maintenance_scope
|
112
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::MaintenanceScope
|
113
|
+
end
|
114
|
+
def impact_type
|
115
|
+
Azure::Maintenance::Mgmt::V2018_06_01_preview::Models::ImpactType
|
116
|
+
end
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -1,185 +1,185 @@
|
|
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_08_01::Operations
|
11
|
-
NetAppResource = Azure::NetApp::Mgmt::V2019_08_01::NetAppResource
|
12
|
-
Accounts = Azure::NetApp::Mgmt::V2019_08_01::Accounts
|
13
|
-
Pools = Azure::NetApp::Mgmt::V2019_08_01::Pools
|
14
|
-
Volumes = Azure::NetApp::Mgmt::V2019_08_01::Volumes
|
15
|
-
MountTargets = Azure::NetApp::Mgmt::V2019_08_01::MountTargets
|
16
|
-
Snapshots = Azure::NetApp::Mgmt::V2019_08_01::Snapshots
|
17
|
-
|
18
|
-
module Models
|
19
|
-
CapacityPoolPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolPatch
|
20
|
-
OperationDisplay = Azure::NetApp::Mgmt::V2019_08_01::Models::OperationDisplay
|
21
|
-
ExportPolicyRule = Azure::NetApp::Mgmt::V2019_08_01::Models::ExportPolicyRule
|
22
|
-
MetricSpecification = Azure::NetApp::Mgmt::V2019_08_01::Models::MetricSpecification
|
23
|
-
VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesExportPolicy
|
24
|
-
Operation = Azure::NetApp::Mgmt::V2019_08_01::Models::Operation
|
25
|
-
ReplicationObject = Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
|
26
|
-
ResourceNameAvailability = Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailability
|
27
|
-
VolumePropertiesDataProtection = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesDataProtection
|
28
|
-
ActiveDirectory = Azure::NetApp::Mgmt::V2019_08_01::Models::ActiveDirectory
|
29
|
-
Volume = Azure::NetApp::Mgmt::V2019_08_01::Models::Volume
|
30
|
-
NetAppAccountList = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountList
|
31
|
-
VolumeList = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumeList
|
32
|
-
CapacityPool = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPool
|
33
|
-
VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatchPropertiesExportPolicy
|
34
|
-
Dimension = Azure::NetApp::Mgmt::V2019_08_01::Models::Dimension
|
35
|
-
VolumePatch = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatch
|
36
|
-
OperationListResult = Azure::NetApp::Mgmt::V2019_08_01::Models::OperationListResult
|
37
|
-
MountTarget = Azure::NetApp::Mgmt::V2019_08_01::Models::MountTarget
|
38
|
-
NetAppAccount = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccount
|
39
|
-
MountTargetList = Azure::NetApp::Mgmt::V2019_08_01::Models::MountTargetList
|
40
|
-
CapacityPoolList = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolList
|
41
|
-
Snapshot = Azure::NetApp::Mgmt::V2019_08_01::Models::Snapshot
|
42
|
-
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailabilityRequest
|
43
|
-
SnapshotsList = Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotsList
|
44
|
-
ServiceSpecification = Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceSpecification
|
45
|
-
SnapshotPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotPatch
|
46
|
-
NetAppAccountPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountPatch
|
47
|
-
InAvailabilityReasonType = Azure::NetApp::Mgmt::V2019_08_01::Models::InAvailabilityReasonType
|
48
|
-
CheckNameResourceTypes = Azure::NetApp::Mgmt::V2019_08_01::Models::CheckNameResourceTypes
|
49
|
-
ServiceLevel = Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceLevel
|
50
|
-
end
|
51
|
-
|
52
|
-
class NetAppManagementClass
|
53
|
-
attr_reader :operations, :net_app_resource, :accounts, :pools, :volumes, :mount_targets, :snapshots, :configurable, :base_url, :options, :model_classes
|
54
|
-
|
55
|
-
def initialize(configurable, base_url=nil, options=nil)
|
56
|
-
@configurable, @base_url, @options = configurable, base_url, options
|
57
|
-
|
58
|
-
@client_0 = Azure::NetApp::Mgmt::V2019_08_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
|
59
|
-
if(@client_0.respond_to?(:subscription_id))
|
60
|
-
@client_0.subscription_id = configurable.subscription_id
|
61
|
-
end
|
62
|
-
add_telemetry(@client_0)
|
63
|
-
@operations = @client_0.operations
|
64
|
-
@net_app_resource = @client_0.net_app_resource
|
65
|
-
@accounts = @client_0.accounts
|
66
|
-
@pools = @client_0.pools
|
67
|
-
@volumes = @client_0.volumes
|
68
|
-
@mount_targets = @client_0.mount_targets
|
69
|
-
@snapshots = @client_0.snapshots
|
70
|
-
|
71
|
-
@model_classes = ModelClasses.new
|
72
|
-
end
|
73
|
-
|
74
|
-
def add_telemetry(client)
|
75
|
-
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NetApp/Mgmt"
|
76
|
-
client.add_user_agent_information(profile_information)
|
77
|
-
end
|
78
|
-
|
79
|
-
def method_missing(method, *args)
|
80
|
-
if @client_0.respond_to?method
|
81
|
-
@client_0.send(method, *args)
|
82
|
-
else
|
83
|
-
super
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
class ModelClasses
|
88
|
-
def capacity_pool_patch
|
89
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolPatch
|
90
|
-
end
|
91
|
-
def operation_display
|
92
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::OperationDisplay
|
93
|
-
end
|
94
|
-
def export_policy_rule
|
95
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ExportPolicyRule
|
96
|
-
end
|
97
|
-
def metric_specification
|
98
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::MetricSpecification
|
99
|
-
end
|
100
|
-
def volume_properties_export_policy
|
101
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesExportPolicy
|
102
|
-
end
|
103
|
-
def operation
|
104
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::Operation
|
105
|
-
end
|
106
|
-
def replication_object
|
107
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
|
108
|
-
end
|
109
|
-
def resource_name_availability
|
110
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailability
|
111
|
-
end
|
112
|
-
def volume_properties_data_protection
|
113
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesDataProtection
|
114
|
-
end
|
115
|
-
def active_directory
|
116
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ActiveDirectory
|
117
|
-
end
|
118
|
-
def volume
|
119
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::Volume
|
120
|
-
end
|
121
|
-
def net_app_account_list
|
122
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountList
|
123
|
-
end
|
124
|
-
def volume_list
|
125
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumeList
|
126
|
-
end
|
127
|
-
def capacity_pool
|
128
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPool
|
129
|
-
end
|
130
|
-
def volume_patch_properties_export_policy
|
131
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatchPropertiesExportPolicy
|
132
|
-
end
|
133
|
-
def dimension
|
134
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::Dimension
|
135
|
-
end
|
136
|
-
def volume_patch
|
137
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatch
|
138
|
-
end
|
139
|
-
def operation_list_result
|
140
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::OperationListResult
|
141
|
-
end
|
142
|
-
def mount_target
|
143
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::MountTarget
|
144
|
-
end
|
145
|
-
def net_app_account
|
146
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccount
|
147
|
-
end
|
148
|
-
def mount_target_list
|
149
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::MountTargetList
|
150
|
-
end
|
151
|
-
def capacity_pool_list
|
152
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolList
|
153
|
-
end
|
154
|
-
def snapshot
|
155
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::Snapshot
|
156
|
-
end
|
157
|
-
def resource_name_availability_request
|
158
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailabilityRequest
|
159
|
-
end
|
160
|
-
def snapshots_list
|
161
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotsList
|
162
|
-
end
|
163
|
-
def service_specification
|
164
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceSpecification
|
165
|
-
end
|
166
|
-
def snapshot_patch
|
167
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotPatch
|
168
|
-
end
|
169
|
-
def net_app_account_patch
|
170
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountPatch
|
171
|
-
end
|
172
|
-
def in_availability_reason_type
|
173
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::InAvailabilityReasonType
|
174
|
-
end
|
175
|
-
def check_name_resource_types
|
176
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::CheckNameResourceTypes
|
177
|
-
end
|
178
|
-
def service_level
|
179
|
-
Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceLevel
|
180
|
-
end
|
181
|
-
end
|
182
|
-
end
|
183
|
-
end
|
184
|
-
end
|
185
|
-
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_08_01::Operations
|
11
|
+
NetAppResource = Azure::NetApp::Mgmt::V2019_08_01::NetAppResource
|
12
|
+
Accounts = Azure::NetApp::Mgmt::V2019_08_01::Accounts
|
13
|
+
Pools = Azure::NetApp::Mgmt::V2019_08_01::Pools
|
14
|
+
Volumes = Azure::NetApp::Mgmt::V2019_08_01::Volumes
|
15
|
+
MountTargets = Azure::NetApp::Mgmt::V2019_08_01::MountTargets
|
16
|
+
Snapshots = Azure::NetApp::Mgmt::V2019_08_01::Snapshots
|
17
|
+
|
18
|
+
module Models
|
19
|
+
CapacityPoolPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolPatch
|
20
|
+
OperationDisplay = Azure::NetApp::Mgmt::V2019_08_01::Models::OperationDisplay
|
21
|
+
ExportPolicyRule = Azure::NetApp::Mgmt::V2019_08_01::Models::ExportPolicyRule
|
22
|
+
MetricSpecification = Azure::NetApp::Mgmt::V2019_08_01::Models::MetricSpecification
|
23
|
+
VolumePropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesExportPolicy
|
24
|
+
Operation = Azure::NetApp::Mgmt::V2019_08_01::Models::Operation
|
25
|
+
ReplicationObject = Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
|
26
|
+
ResourceNameAvailability = Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailability
|
27
|
+
VolumePropertiesDataProtection = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesDataProtection
|
28
|
+
ActiveDirectory = Azure::NetApp::Mgmt::V2019_08_01::Models::ActiveDirectory
|
29
|
+
Volume = Azure::NetApp::Mgmt::V2019_08_01::Models::Volume
|
30
|
+
NetAppAccountList = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountList
|
31
|
+
VolumeList = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumeList
|
32
|
+
CapacityPool = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPool
|
33
|
+
VolumePatchPropertiesExportPolicy = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatchPropertiesExportPolicy
|
34
|
+
Dimension = Azure::NetApp::Mgmt::V2019_08_01::Models::Dimension
|
35
|
+
VolumePatch = Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatch
|
36
|
+
OperationListResult = Azure::NetApp::Mgmt::V2019_08_01::Models::OperationListResult
|
37
|
+
MountTarget = Azure::NetApp::Mgmt::V2019_08_01::Models::MountTarget
|
38
|
+
NetAppAccount = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccount
|
39
|
+
MountTargetList = Azure::NetApp::Mgmt::V2019_08_01::Models::MountTargetList
|
40
|
+
CapacityPoolList = Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolList
|
41
|
+
Snapshot = Azure::NetApp::Mgmt::V2019_08_01::Models::Snapshot
|
42
|
+
ResourceNameAvailabilityRequest = Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailabilityRequest
|
43
|
+
SnapshotsList = Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotsList
|
44
|
+
ServiceSpecification = Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceSpecification
|
45
|
+
SnapshotPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotPatch
|
46
|
+
NetAppAccountPatch = Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountPatch
|
47
|
+
InAvailabilityReasonType = Azure::NetApp::Mgmt::V2019_08_01::Models::InAvailabilityReasonType
|
48
|
+
CheckNameResourceTypes = Azure::NetApp::Mgmt::V2019_08_01::Models::CheckNameResourceTypes
|
49
|
+
ServiceLevel = Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceLevel
|
50
|
+
end
|
51
|
+
|
52
|
+
class NetAppManagementClass
|
53
|
+
attr_reader :operations, :net_app_resource, :accounts, :pools, :volumes, :mount_targets, :snapshots, :configurable, :base_url, :options, :model_classes
|
54
|
+
|
55
|
+
def initialize(configurable, base_url=nil, options=nil)
|
56
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
57
|
+
|
58
|
+
@client_0 = Azure::NetApp::Mgmt::V2019_08_01::AzureNetAppFilesManagementClient.new(configurable.credentials, base_url, options)
|
59
|
+
if(@client_0.respond_to?(:subscription_id))
|
60
|
+
@client_0.subscription_id = configurable.subscription_id
|
61
|
+
end
|
62
|
+
add_telemetry(@client_0)
|
63
|
+
@operations = @client_0.operations
|
64
|
+
@net_app_resource = @client_0.net_app_resource
|
65
|
+
@accounts = @client_0.accounts
|
66
|
+
@pools = @client_0.pools
|
67
|
+
@volumes = @client_0.volumes
|
68
|
+
@mount_targets = @client_0.mount_targets
|
69
|
+
@snapshots = @client_0.snapshots
|
70
|
+
|
71
|
+
@model_classes = ModelClasses.new
|
72
|
+
end
|
73
|
+
|
74
|
+
def add_telemetry(client)
|
75
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/NetApp/Mgmt"
|
76
|
+
client.add_user_agent_information(profile_information)
|
77
|
+
end
|
78
|
+
|
79
|
+
def method_missing(method, *args)
|
80
|
+
if @client_0.respond_to?method
|
81
|
+
@client_0.send(method, *args)
|
82
|
+
else
|
83
|
+
super
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
class ModelClasses
|
88
|
+
def capacity_pool_patch
|
89
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolPatch
|
90
|
+
end
|
91
|
+
def operation_display
|
92
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::OperationDisplay
|
93
|
+
end
|
94
|
+
def export_policy_rule
|
95
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ExportPolicyRule
|
96
|
+
end
|
97
|
+
def metric_specification
|
98
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::MetricSpecification
|
99
|
+
end
|
100
|
+
def volume_properties_export_policy
|
101
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesExportPolicy
|
102
|
+
end
|
103
|
+
def operation
|
104
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::Operation
|
105
|
+
end
|
106
|
+
def replication_object
|
107
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ReplicationObject
|
108
|
+
end
|
109
|
+
def resource_name_availability
|
110
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailability
|
111
|
+
end
|
112
|
+
def volume_properties_data_protection
|
113
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePropertiesDataProtection
|
114
|
+
end
|
115
|
+
def active_directory
|
116
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ActiveDirectory
|
117
|
+
end
|
118
|
+
def volume
|
119
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::Volume
|
120
|
+
end
|
121
|
+
def net_app_account_list
|
122
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountList
|
123
|
+
end
|
124
|
+
def volume_list
|
125
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumeList
|
126
|
+
end
|
127
|
+
def capacity_pool
|
128
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPool
|
129
|
+
end
|
130
|
+
def volume_patch_properties_export_policy
|
131
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatchPropertiesExportPolicy
|
132
|
+
end
|
133
|
+
def dimension
|
134
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::Dimension
|
135
|
+
end
|
136
|
+
def volume_patch
|
137
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::VolumePatch
|
138
|
+
end
|
139
|
+
def operation_list_result
|
140
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::OperationListResult
|
141
|
+
end
|
142
|
+
def mount_target
|
143
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::MountTarget
|
144
|
+
end
|
145
|
+
def net_app_account
|
146
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccount
|
147
|
+
end
|
148
|
+
def mount_target_list
|
149
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::MountTargetList
|
150
|
+
end
|
151
|
+
def capacity_pool_list
|
152
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::CapacityPoolList
|
153
|
+
end
|
154
|
+
def snapshot
|
155
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::Snapshot
|
156
|
+
end
|
157
|
+
def resource_name_availability_request
|
158
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ResourceNameAvailabilityRequest
|
159
|
+
end
|
160
|
+
def snapshots_list
|
161
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotsList
|
162
|
+
end
|
163
|
+
def service_specification
|
164
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceSpecification
|
165
|
+
end
|
166
|
+
def snapshot_patch
|
167
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::SnapshotPatch
|
168
|
+
end
|
169
|
+
def net_app_account_patch
|
170
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::NetAppAccountPatch
|
171
|
+
end
|
172
|
+
def in_availability_reason_type
|
173
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::InAvailabilityReasonType
|
174
|
+
end
|
175
|
+
def check_name_resource_types
|
176
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::CheckNameResourceTypes
|
177
|
+
end
|
178
|
+
def service_level
|
179
|
+
Azure::NetApp::Mgmt::V2019_08_01::Models::ServiceLevel
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|