azure_sdk 0.44.0 → 0.45.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/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,171 +1,195 @@
|
|
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_event_hub'
|
6
|
-
|
7
|
-
module Azure::Profiles::Latest
|
8
|
-
module EventHub
|
9
|
-
module Mgmt
|
10
|
-
Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
|
11
|
-
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
|
12
|
-
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
13
|
-
Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
|
14
|
-
|
15
|
-
module Models
|
16
|
-
|
17
|
-
OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
|
18
|
-
|
19
|
-
OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
@
|
60
|
-
@
|
61
|
-
|
62
|
-
|
63
|
-
@
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
end
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
def sku
|
87
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
88
|
-
end
|
89
|
-
def
|
90
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
91
|
-
end
|
92
|
-
def
|
93
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
94
|
-
end
|
95
|
-
def
|
96
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
97
|
-
end
|
98
|
-
def
|
99
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
100
|
-
end
|
101
|
-
def
|
102
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
103
|
-
end
|
104
|
-
def
|
105
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
106
|
-
end
|
107
|
-
def
|
108
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
109
|
-
end
|
110
|
-
def
|
111
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
112
|
-
end
|
113
|
-
def
|
114
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
115
|
-
end
|
116
|
-
def
|
117
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
118
|
-
end
|
119
|
-
def
|
120
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
121
|
-
end
|
122
|
-
def
|
123
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
124
|
-
end
|
125
|
-
def
|
126
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
127
|
-
end
|
128
|
-
def
|
129
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
130
|
-
end
|
131
|
-
def
|
132
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
133
|
-
end
|
134
|
-
def
|
135
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
136
|
-
end
|
137
|
-
def
|
138
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
139
|
-
end
|
140
|
-
def
|
141
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
142
|
-
end
|
143
|
-
def
|
144
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
145
|
-
end
|
146
|
-
def
|
147
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
148
|
-
end
|
149
|
-
def
|
150
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
151
|
-
end
|
152
|
-
def
|
153
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
154
|
-
end
|
155
|
-
def
|
156
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
157
|
-
end
|
158
|
-
def
|
159
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
160
|
-
end
|
161
|
-
def
|
162
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
163
|
-
end
|
164
|
-
def
|
165
|
-
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::
|
166
|
-
end
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
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_event_hub'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module EventHub
|
9
|
+
module Mgmt
|
10
|
+
Operations = Azure::EventHub::Mgmt::V2018_01_01_preview::Operations
|
11
|
+
Clusters = Azure::EventHub::Mgmt::V2018_01_01_preview::Clusters
|
12
|
+
Configuration = Azure::EventHub::Mgmt::V2018_01_01_preview::Configuration
|
13
|
+
Namespaces = Azure::EventHub::Mgmt::V2018_01_01_preview::Namespaces
|
14
|
+
|
15
|
+
module Models
|
16
|
+
Sku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
17
|
+
OperationDisplay = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
|
18
|
+
Identity = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
19
|
+
OperationListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
|
20
|
+
KeyVaultProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
21
|
+
Operation = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
|
22
|
+
AvailableCluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
23
|
+
ClusterSku = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
24
|
+
ClusterListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
25
|
+
ErrorResponse = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
26
|
+
Encryption = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
27
|
+
Resource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
28
|
+
NWRuleSetVirtualNetworkRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
29
|
+
EHNamespaceIdListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
30
|
+
EHNamespaceListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
31
|
+
ClusterQuotaConfigurationProperties = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
32
|
+
NWRuleSetIpRules = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
33
|
+
EHNamespaceIdContainer = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
34
|
+
IpFilterRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
35
|
+
VirtualNetworkRuleListResult = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
36
|
+
AvailableClustersList = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
37
|
+
Subnet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
38
|
+
TrackedResource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
39
|
+
Cluster = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
40
|
+
EHNamespace = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
41
|
+
IpFilterRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
42
|
+
VirtualNetworkRule = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
43
|
+
NetworkRuleSet = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
44
|
+
SkuName = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
45
|
+
SkuTier = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
46
|
+
IdentityType = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
47
|
+
KeySource = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
48
|
+
IPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
49
|
+
NetworkRuleIPAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
50
|
+
DefaultAction = Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
51
|
+
end
|
52
|
+
|
53
|
+
class EventHubManagementClass
|
54
|
+
attr_reader :operations, :clusters, :configuration, :namespaces, :configurable, :base_url, :options, :model_classes
|
55
|
+
|
56
|
+
def initialize(configurable, base_url=nil, options=nil)
|
57
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
58
|
+
|
59
|
+
@client_0 = Azure::EventHub::Mgmt::V2018_01_01_preview::EventHub2018PreviewManagementClient.new(configurable.credentials, base_url, options)
|
60
|
+
if(@client_0.respond_to?(:subscription_id))
|
61
|
+
@client_0.subscription_id = configurable.subscription_id
|
62
|
+
end
|
63
|
+
add_telemetry(@client_0)
|
64
|
+
@operations = @client_0.operations
|
65
|
+
@clusters = @client_0.clusters
|
66
|
+
@configuration = @client_0.configuration
|
67
|
+
@namespaces = @client_0.namespaces
|
68
|
+
|
69
|
+
@model_classes = ModelClasses.new
|
70
|
+
end
|
71
|
+
|
72
|
+
def add_telemetry(client)
|
73
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/EventHub/Mgmt"
|
74
|
+
client.add_user_agent_information(profile_information)
|
75
|
+
end
|
76
|
+
|
77
|
+
def method_missing(method, *args)
|
78
|
+
if @client_0.respond_to?method
|
79
|
+
@client_0.send(method, *args)
|
80
|
+
else
|
81
|
+
super
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
class ModelClasses
|
86
|
+
def sku
|
87
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Sku
|
88
|
+
end
|
89
|
+
def operation_display
|
90
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationDisplay
|
91
|
+
end
|
92
|
+
def identity
|
93
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Identity
|
94
|
+
end
|
95
|
+
def operation_list_result
|
96
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::OperationListResult
|
97
|
+
end
|
98
|
+
def key_vault_properties
|
99
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeyVaultProperties
|
100
|
+
end
|
101
|
+
def operation
|
102
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Operation
|
103
|
+
end
|
104
|
+
def available_cluster
|
105
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableCluster
|
106
|
+
end
|
107
|
+
def cluster_sku
|
108
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterSku
|
109
|
+
end
|
110
|
+
def cluster_list_result
|
111
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterListResult
|
112
|
+
end
|
113
|
+
def error_response
|
114
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ErrorResponse
|
115
|
+
end
|
116
|
+
def encryption
|
117
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Encryption
|
118
|
+
end
|
119
|
+
def resource
|
120
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Resource
|
121
|
+
end
|
122
|
+
def nwrule_set_virtual_network_rules
|
123
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetVirtualNetworkRules
|
124
|
+
end
|
125
|
+
def ehnamespace_id_list_result
|
126
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdListResult
|
127
|
+
end
|
128
|
+
def ehnamespace_list_result
|
129
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceListResult
|
130
|
+
end
|
131
|
+
def cluster_quota_configuration_properties
|
132
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::ClusterQuotaConfigurationProperties
|
133
|
+
end
|
134
|
+
def nwrule_set_ip_rules
|
135
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NWRuleSetIpRules
|
136
|
+
end
|
137
|
+
def ehnamespace_id_container
|
138
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespaceIdContainer
|
139
|
+
end
|
140
|
+
def ip_filter_rule_list_result
|
141
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRuleListResult
|
142
|
+
end
|
143
|
+
def virtual_network_rule_list_result
|
144
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRuleListResult
|
145
|
+
end
|
146
|
+
def available_clusters_list
|
147
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::AvailableClustersList
|
148
|
+
end
|
149
|
+
def subnet
|
150
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Subnet
|
151
|
+
end
|
152
|
+
def tracked_resource
|
153
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::TrackedResource
|
154
|
+
end
|
155
|
+
def cluster
|
156
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::Cluster
|
157
|
+
end
|
158
|
+
def ehnamespace
|
159
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::EHNamespace
|
160
|
+
end
|
161
|
+
def ip_filter_rule
|
162
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IpFilterRule
|
163
|
+
end
|
164
|
+
def virtual_network_rule
|
165
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::VirtualNetworkRule
|
166
|
+
end
|
167
|
+
def network_rule_set
|
168
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleSet
|
169
|
+
end
|
170
|
+
def sku_name
|
171
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuName
|
172
|
+
end
|
173
|
+
def sku_tier
|
174
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::SkuTier
|
175
|
+
end
|
176
|
+
def identity_type
|
177
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IdentityType
|
178
|
+
end
|
179
|
+
def key_source
|
180
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::KeySource
|
181
|
+
end
|
182
|
+
def ipaction
|
183
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::IPAction
|
184
|
+
end
|
185
|
+
def network_rule_ipaction
|
186
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::NetworkRuleIPAction
|
187
|
+
end
|
188
|
+
def default_action
|
189
|
+
Azure::EventHub::Mgmt::V2018_01_01_preview::Models::DefaultAction
|
190
|
+
end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
end
|
@@ -0,0 +1,135 @@
|
|
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_import_export'
|
6
|
+
|
7
|
+
module Azure::Profiles::Latest
|
8
|
+
module ImportExport
|
9
|
+
module Mgmt
|
10
|
+
Locations = Azure::ImportExport::Mgmt::V2016_11_01::Locations
|
11
|
+
Jobs = Azure::ImportExport::Mgmt::V2016_11_01::Jobs
|
12
|
+
BitLockerKeys = Azure::ImportExport::Mgmt::V2016_11_01::BitLockerKeys
|
13
|
+
Operations = Azure::ImportExport::Mgmt::V2016_11_01::Operations
|
14
|
+
|
15
|
+
module Models
|
16
|
+
PutJobParameters = Azure::ImportExport::Mgmt::V2016_11_01::Models::PutJobParameters
|
17
|
+
UpdateJobParameters = Azure::ImportExport::Mgmt::V2016_11_01::Models::UpdateJobParameters
|
18
|
+
ErrorResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponse
|
19
|
+
JobResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::JobResponse
|
20
|
+
ReturnShipping = Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnShipping
|
21
|
+
ListJobsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ListJobsResponse
|
22
|
+
PackageInfomation = Azure::ImportExport::Mgmt::V2016_11_01::Models::PackageInfomation
|
23
|
+
Operation = Azure::ImportExport::Mgmt::V2016_11_01::Models::Operation
|
24
|
+
Export = Azure::ImportExport::Mgmt::V2016_11_01::Models::Export
|
25
|
+
Location = Azure::ImportExport::Mgmt::V2016_11_01::Models::Location
|
26
|
+
ErrorResponseErrorDetailsItem = Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponseErrorDetailsItem
|
27
|
+
LocationsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::LocationsResponse
|
28
|
+
ShippingInformation = Azure::ImportExport::Mgmt::V2016_11_01::Models::ShippingInformation
|
29
|
+
DriveBitLockerKey = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveBitLockerKey
|
30
|
+
JobDetails = Azure::ImportExport::Mgmt::V2016_11_01::Models::JobDetails
|
31
|
+
GetBitLockerKeysResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::GetBitLockerKeysResponse
|
32
|
+
DriveStatus = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveStatus
|
33
|
+
ListOperationsResponse = Azure::ImportExport::Mgmt::V2016_11_01::Models::ListOperationsResponse
|
34
|
+
ReturnAddress = Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
|
35
|
+
DriveState = Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveState
|
36
|
+
end
|
37
|
+
|
38
|
+
class ImportExportManagementClass
|
39
|
+
attr_reader :locations, :jobs, :bit_locker_keys, :operations, :configurable, :base_url, :options, :model_classes
|
40
|
+
|
41
|
+
def initialize(configurable, base_url=nil, options=nil)
|
42
|
+
@configurable, @base_url, @options = configurable, base_url, options
|
43
|
+
|
44
|
+
@client_0 = Azure::ImportExport::Mgmt::V2016_11_01::StorageImportExport.new(configurable.credentials, base_url, options)
|
45
|
+
if(@client_0.respond_to?(:subscription_id))
|
46
|
+
@client_0.subscription_id = configurable.subscription_id
|
47
|
+
end
|
48
|
+
add_telemetry(@client_0)
|
49
|
+
@locations = @client_0.locations
|
50
|
+
@jobs = @client_0.jobs
|
51
|
+
@bit_locker_keys = @client_0.bit_locker_keys
|
52
|
+
@operations = @client_0.operations
|
53
|
+
|
54
|
+
@model_classes = ModelClasses.new
|
55
|
+
end
|
56
|
+
|
57
|
+
def add_telemetry(client)
|
58
|
+
profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ImportExport/Mgmt"
|
59
|
+
client.add_user_agent_information(profile_information)
|
60
|
+
end
|
61
|
+
|
62
|
+
def method_missing(method, *args)
|
63
|
+
if @client_0.respond_to?method
|
64
|
+
@client_0.send(method, *args)
|
65
|
+
else
|
66
|
+
super
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class ModelClasses
|
71
|
+
def put_job_parameters
|
72
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::PutJobParameters
|
73
|
+
end
|
74
|
+
def update_job_parameters
|
75
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::UpdateJobParameters
|
76
|
+
end
|
77
|
+
def error_response
|
78
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponse
|
79
|
+
end
|
80
|
+
def job_response
|
81
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::JobResponse
|
82
|
+
end
|
83
|
+
def return_shipping
|
84
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnShipping
|
85
|
+
end
|
86
|
+
def list_jobs_response
|
87
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ListJobsResponse
|
88
|
+
end
|
89
|
+
def package_infomation
|
90
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::PackageInfomation
|
91
|
+
end
|
92
|
+
def operation
|
93
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::Operation
|
94
|
+
end
|
95
|
+
def export
|
96
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::Export
|
97
|
+
end
|
98
|
+
def location
|
99
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::Location
|
100
|
+
end
|
101
|
+
def error_response_error_details_item
|
102
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ErrorResponseErrorDetailsItem
|
103
|
+
end
|
104
|
+
def locations_response
|
105
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::LocationsResponse
|
106
|
+
end
|
107
|
+
def shipping_information
|
108
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ShippingInformation
|
109
|
+
end
|
110
|
+
def drive_bit_locker_key
|
111
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveBitLockerKey
|
112
|
+
end
|
113
|
+
def job_details
|
114
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::JobDetails
|
115
|
+
end
|
116
|
+
def get_bit_locker_keys_response
|
117
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::GetBitLockerKeysResponse
|
118
|
+
end
|
119
|
+
def drive_status
|
120
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveStatus
|
121
|
+
end
|
122
|
+
def list_operations_response
|
123
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ListOperationsResponse
|
124
|
+
end
|
125
|
+
def return_address
|
126
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::ReturnAddress
|
127
|
+
end
|
128
|
+
def drive_state
|
129
|
+
Azure::ImportExport::Mgmt::V2016_11_01::Models::DriveState
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|