azure_mgmt_storage 0.17.7 → 0.17.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/v2019_03_01_hybrid/modules/storage_profile_module.rb +295 -0
- data/lib/profiles/v2019_03_01_hybrid/storage_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/storage_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d59a2341f7ca63a13cd051ce451ef16888ebb8936a10d525eebecc69126557f0
|
4
|
+
data.tar.gz: f41dd37403968e536b748ad69b815bdfee039136db2db004179962d6d9ac778e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9accc28f9aa81599d98e45a169a7dfb2dc16bfd9c8bf10ffda577cd243a02761081f3a40c590908c95e1635c2503a858389551bc38e755fb740f13337a4ccb16
|
7
|
+
data.tar.gz: 0b0120a98d8d8655f8e2a6194109e1c1842d26d767e5c1b7f554368052b69f91bdf18f2796dd68d4d001092833d5bfb3285a23a3975511d48d7a54a48befb8bf
|
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2015_05_01_preview
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_storage'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2015_06_15
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_storage'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2016_01_01
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_storage'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -130,7 +130,7 @@ module Azure::Storage::Mgmt::V2016_12_01
|
|
130
130
|
#
|
131
131
|
def add_telemetry
|
132
132
|
sdk_information = 'azure_mgmt_storage'
|
133
|
-
sdk_information = "#{sdk_information}/0.17.
|
133
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
134
134
|
add_user_agent_information(sdk_information)
|
135
135
|
end
|
136
136
|
end
|
@@ -138,7 +138,7 @@ module Azure::Storage::Mgmt::V2017_06_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_storage'
|
141
|
-
sdk_information = "#{sdk_information}/0.17.
|
141
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -138,7 +138,7 @@ module Azure::Storage::Mgmt::V2017_10_01
|
|
138
138
|
#
|
139
139
|
def add_telemetry
|
140
140
|
sdk_information = 'azure_mgmt_storage'
|
141
|
-
sdk_information = "#{sdk_information}/0.17.
|
141
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
142
142
|
add_user_agent_information(sdk_information)
|
143
143
|
end
|
144
144
|
end
|
@@ -140,7 +140,7 @@ module Azure::Storage::Mgmt::V2018_02_01
|
|
140
140
|
#
|
141
141
|
def add_telemetry
|
142
142
|
sdk_information = 'azure_mgmt_storage'
|
143
|
-
sdk_information = "#{sdk_information}/0.17.
|
143
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
144
144
|
add_user_agent_information(sdk_information)
|
145
145
|
end
|
146
146
|
end
|
@@ -140,7 +140,7 @@ module Azure::Storage::Mgmt::V2018_03_01_preview
|
|
140
140
|
#
|
141
141
|
def add_telemetry
|
142
142
|
sdk_information = 'azure_mgmt_storage'
|
143
|
-
sdk_information = "#{sdk_information}/0.17.
|
143
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
144
144
|
add_user_agent_information(sdk_information)
|
145
145
|
end
|
146
146
|
end
|
@@ -144,7 +144,7 @@ module Azure::Storage::Mgmt::V2018_07_01
|
|
144
144
|
#
|
145
145
|
def add_telemetry
|
146
146
|
sdk_information = 'azure_mgmt_storage'
|
147
|
-
sdk_information = "#{sdk_information}/0.17.
|
147
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
148
148
|
add_user_agent_information(sdk_information)
|
149
149
|
end
|
150
150
|
end
|
@@ -148,7 +148,7 @@ module Azure::Storage::Mgmt::V2018_11_01
|
|
148
148
|
#
|
149
149
|
def add_telemetry
|
150
150
|
sdk_information = 'azure_mgmt_storage'
|
151
|
-
sdk_information = "#{sdk_information}/0.17.
|
151
|
+
sdk_information = "#{sdk_information}/0.17.8"
|
152
152
|
add_user_agent_information(sdk_information)
|
153
153
|
end
|
154
154
|
end
|
data/lib/azure_mgmt_storage.rb
CHANGED
@@ -14,4 +14,5 @@ require '2016-12-01/generated/azure_mgmt_storage'
|
|
14
14
|
require '2017-06-01/generated/azure_mgmt_storage'
|
15
15
|
require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
|
16
16
|
require 'profiles/latest/storage_latest_profile_client'
|
17
|
+
require 'profiles/v2019_03_01_hybrid/storage_v2019_03_01_hybrid_profile_client'
|
17
18
|
require 'profiles/v2018_03_01/storage_v2018_03_01_profile_client'
|
@@ -0,0 +1,295 @@
|
|
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_storage'
|
6
|
+
|
7
|
+
module Azure::Storage::Profiles::V2019_03_01_Hybrid
|
8
|
+
module Mgmt
|
9
|
+
Operations = Azure::Storage::Mgmt::V2017_10_01::Operations
|
10
|
+
Skus = Azure::Storage::Mgmt::V2017_10_01::Skus
|
11
|
+
StorageAccounts = Azure::Storage::Mgmt::V2017_10_01::StorageAccounts
|
12
|
+
UsageOperations = Azure::Storage::Mgmt::V2017_10_01::UsageOperations
|
13
|
+
|
14
|
+
module Models
|
15
|
+
IPRule = Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
|
16
|
+
NetworkRuleSet = Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
|
17
|
+
Dimension = Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
|
18
|
+
Identity = Azure::Storage::Mgmt::V2017_10_01::Models::Identity
|
19
|
+
ServiceSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
|
20
|
+
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
|
21
|
+
OperationListResult = Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
|
22
|
+
Endpoints = Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
|
23
|
+
SKUCapability = Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
|
24
|
+
Restriction = Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
|
25
|
+
StorageSkuListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
|
26
|
+
StorageAccountKey = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
|
27
|
+
CustomDomain = Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
|
28
|
+
StorageAccountListResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
|
29
|
+
EncryptionServices = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
|
30
|
+
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
|
31
|
+
Encryption = Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
|
32
|
+
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
|
33
|
+
OperationDisplay = Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
|
34
|
+
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
|
35
|
+
Operation = Azure::Storage::Mgmt::V2017_10_01::Models::Operation
|
36
|
+
UsageName = Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
|
37
|
+
Sku = Azure::Storage::Mgmt::V2017_10_01::Models::Sku
|
38
|
+
Usage = Azure::Storage::Mgmt::V2017_10_01::Models::Usage
|
39
|
+
EncryptionService = Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
|
40
|
+
UsageListResult = Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
|
41
|
+
VirtualNetworkRule = Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
|
42
|
+
Resource = Azure::Storage::Mgmt::V2017_10_01::Models::Resource
|
43
|
+
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
|
44
|
+
AccountSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
|
45
|
+
KeyVaultProperties = Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
|
46
|
+
ListAccountSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
|
47
|
+
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
|
48
|
+
ServiceSasParameters = Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
|
49
|
+
MetricSpecification = Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
|
50
|
+
ListServiceSasResponse = Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
|
51
|
+
StorageAccount = Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
|
52
|
+
ReasonCode = Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
|
53
|
+
SkuName = Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
|
54
|
+
SkuTier = Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
|
55
|
+
Kind = Azure::Storage::Mgmt::V2017_10_01::Models::Kind
|
56
|
+
Reason = Azure::Storage::Mgmt::V2017_10_01::Models::Reason
|
57
|
+
KeySource = Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
|
58
|
+
Action = Azure::Storage::Mgmt::V2017_10_01::Models::Action
|
59
|
+
State = Azure::Storage::Mgmt::V2017_10_01::Models::State
|
60
|
+
Bypass = Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
|
61
|
+
DefaultAction = Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
|
62
|
+
AccessTier = Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
|
63
|
+
ProvisioningState = Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
|
64
|
+
AccountStatus = Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
|
65
|
+
KeyPermission = Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
|
66
|
+
UsageUnit = Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
|
67
|
+
Services = Azure::Storage::Mgmt::V2017_10_01::Models::Services
|
68
|
+
SignedResourceTypes = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
|
69
|
+
Permissions = Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
|
70
|
+
HttpProtocol = Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
|
71
|
+
SignedResource = Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
|
72
|
+
end
|
73
|
+
|
74
|
+
#
|
75
|
+
# StorageManagementClass
|
76
|
+
#
|
77
|
+
class StorageManagementClass
|
78
|
+
attr_reader :operations, :skus, :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes
|
79
|
+
|
80
|
+
def initialize(options = {})
|
81
|
+
if options.is_a?(Hash) && options.length == 0
|
82
|
+
@options = setup_default_options
|
83
|
+
else
|
84
|
+
@options = options
|
85
|
+
end
|
86
|
+
|
87
|
+
reset!(options)
|
88
|
+
|
89
|
+
@configurable = self
|
90
|
+
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
91
|
+
@options = options[:options].nil? ? nil:options[:options]
|
92
|
+
|
93
|
+
@client_0 = Azure::Storage::Mgmt::V2017_10_01::StorageManagementClient.new(configurable.credentials, base_url, options)
|
94
|
+
if(@client_0.respond_to?(:subscription_id))
|
95
|
+
@client_0.subscription_id = configurable.subscription_id
|
96
|
+
end
|
97
|
+
add_telemetry(@client_0)
|
98
|
+
@operations = @client_0.operations
|
99
|
+
@skus = @client_0.skus
|
100
|
+
@storage_accounts = @client_0.storage_accounts
|
101
|
+
@usage_operations = @client_0.usage_operations
|
102
|
+
|
103
|
+
@model_classes = ModelClasses.new
|
104
|
+
end
|
105
|
+
|
106
|
+
def add_telemetry(client)
|
107
|
+
profile_information = 'Profiles/V2019_03_01_Hybrid/Storage/Mgmt'
|
108
|
+
client.add_user_agent_information(profile_information)
|
109
|
+
end
|
110
|
+
|
111
|
+
def method_missing(method, *args)
|
112
|
+
if @client_0.respond_to?method
|
113
|
+
@client_0.send(method, *args)
|
114
|
+
else
|
115
|
+
super
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
end
|
120
|
+
|
121
|
+
class ModelClasses
|
122
|
+
def iprule
|
123
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::IPRule
|
124
|
+
end
|
125
|
+
def network_rule_set
|
126
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::NetworkRuleSet
|
127
|
+
end
|
128
|
+
def dimension
|
129
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Dimension
|
130
|
+
end
|
131
|
+
def identity
|
132
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Identity
|
133
|
+
end
|
134
|
+
def service_specification
|
135
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSpecification
|
136
|
+
end
|
137
|
+
def storage_account_create_parameters
|
138
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCreateParameters
|
139
|
+
end
|
140
|
+
def operation_list_result
|
141
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::OperationListResult
|
142
|
+
end
|
143
|
+
def endpoints
|
144
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Endpoints
|
145
|
+
end
|
146
|
+
def skucapability
|
147
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::SKUCapability
|
148
|
+
end
|
149
|
+
def restriction
|
150
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Restriction
|
151
|
+
end
|
152
|
+
def storage_sku_list_result
|
153
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageSkuListResult
|
154
|
+
end
|
155
|
+
def storage_account_key
|
156
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountKey
|
157
|
+
end
|
158
|
+
def custom_domain
|
159
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::CustomDomain
|
160
|
+
end
|
161
|
+
def storage_account_list_result
|
162
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListResult
|
163
|
+
end
|
164
|
+
def encryption_services
|
165
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionServices
|
166
|
+
end
|
167
|
+
def storage_account_list_keys_result
|
168
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountListKeysResult
|
169
|
+
end
|
170
|
+
def encryption
|
171
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Encryption
|
172
|
+
end
|
173
|
+
def storage_account_regenerate_key_parameters
|
174
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountRegenerateKeyParameters
|
175
|
+
end
|
176
|
+
def operation_display
|
177
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::OperationDisplay
|
178
|
+
end
|
179
|
+
def storage_account_update_parameters
|
180
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters
|
181
|
+
end
|
182
|
+
def operation
|
183
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Operation
|
184
|
+
end
|
185
|
+
def usage_name
|
186
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::UsageName
|
187
|
+
end
|
188
|
+
def sku
|
189
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Sku
|
190
|
+
end
|
191
|
+
def usage
|
192
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Usage
|
193
|
+
end
|
194
|
+
def encryption_service
|
195
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::EncryptionService
|
196
|
+
end
|
197
|
+
def usage_list_result
|
198
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::UsageListResult
|
199
|
+
end
|
200
|
+
def virtual_network_rule
|
201
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::VirtualNetworkRule
|
202
|
+
end
|
203
|
+
def resource
|
204
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Resource
|
205
|
+
end
|
206
|
+
def storage_account_check_name_availability_parameters
|
207
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountCheckNameAvailabilityParameters
|
208
|
+
end
|
209
|
+
def account_sas_parameters
|
210
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::AccountSasParameters
|
211
|
+
end
|
212
|
+
def key_vault_properties
|
213
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::KeyVaultProperties
|
214
|
+
end
|
215
|
+
def list_account_sas_response
|
216
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ListAccountSasResponse
|
217
|
+
end
|
218
|
+
def check_name_availability_result
|
219
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::CheckNameAvailabilityResult
|
220
|
+
end
|
221
|
+
def service_sas_parameters
|
222
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ServiceSasParameters
|
223
|
+
end
|
224
|
+
def metric_specification
|
225
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::MetricSpecification
|
226
|
+
end
|
227
|
+
def list_service_sas_response
|
228
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ListServiceSasResponse
|
229
|
+
end
|
230
|
+
def storage_account
|
231
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccount
|
232
|
+
end
|
233
|
+
def reason_code
|
234
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ReasonCode
|
235
|
+
end
|
236
|
+
def sku_name
|
237
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::SkuName
|
238
|
+
end
|
239
|
+
def sku_tier
|
240
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::SkuTier
|
241
|
+
end
|
242
|
+
def kind
|
243
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Kind
|
244
|
+
end
|
245
|
+
def reason
|
246
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Reason
|
247
|
+
end
|
248
|
+
def key_source
|
249
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::KeySource
|
250
|
+
end
|
251
|
+
def action
|
252
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Action
|
253
|
+
end
|
254
|
+
def state
|
255
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::State
|
256
|
+
end
|
257
|
+
def bypass
|
258
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Bypass
|
259
|
+
end
|
260
|
+
def default_action
|
261
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::DefaultAction
|
262
|
+
end
|
263
|
+
def access_tier
|
264
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::AccessTier
|
265
|
+
end
|
266
|
+
def provisioning_state
|
267
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::ProvisioningState
|
268
|
+
end
|
269
|
+
def account_status
|
270
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::AccountStatus
|
271
|
+
end
|
272
|
+
def key_permission
|
273
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::KeyPermission
|
274
|
+
end
|
275
|
+
def usage_unit
|
276
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::UsageUnit
|
277
|
+
end
|
278
|
+
def services
|
279
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Services
|
280
|
+
end
|
281
|
+
def signed_resource_types
|
282
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::SignedResourceTypes
|
283
|
+
end
|
284
|
+
def permissions
|
285
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::Permissions
|
286
|
+
end
|
287
|
+
def http_protocol
|
288
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::HttpProtocol
|
289
|
+
end
|
290
|
+
def signed_resource
|
291
|
+
Azure::Storage::Mgmt::V2017_10_01::Models::SignedResource
|
292
|
+
end
|
293
|
+
end
|
294
|
+
end
|
295
|
+
end
|
@@ -0,0 +1,8 @@
|
|
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
|
+
module Azure end
|
6
|
+
module Azure::Storage end
|
7
|
+
module Azure::Storage::Profiles end
|
8
|
+
module Azure::Storage::Profiles::V2019_03_01_Hybrid end
|
@@ -0,0 +1,40 @@
|
|
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 'profiles/v2019_03_01_hybrid/storage_module_definition'
|
6
|
+
require 'profiles/v2019_03_01_hybrid/modules/storage_profile_module'
|
7
|
+
|
8
|
+
module Azure::Storage::Profiles::V2019_03_01_Hybrid
|
9
|
+
module Mgmt
|
10
|
+
#
|
11
|
+
# Client class for the V2019_03_01_Hybrid profile SDK.
|
12
|
+
#
|
13
|
+
class Client < StorageManagementClass
|
14
|
+
include MsRestAzure::Common::Configurable
|
15
|
+
|
16
|
+
#
|
17
|
+
# Initializes a new instance of the Client class.
|
18
|
+
# @param options [Hash] hash of client options.
|
19
|
+
# options = {
|
20
|
+
# tenant_id: 'YOUR TENANT ID',
|
21
|
+
# client_id: 'YOUR CLIENT ID',
|
22
|
+
# client_secret: 'YOUR CLIENT SECRET',
|
23
|
+
# subscription_id: 'YOUR SUBSCRIPTION ID',
|
24
|
+
# credentials: credentials,
|
25
|
+
# active_directory_settings: active_directory_settings,
|
26
|
+
# base_url: 'YOUR BASE URL',
|
27
|
+
# options: options
|
28
|
+
# }
|
29
|
+
# 'credentials' are optional and if not passed in the hash, will be obtained
|
30
|
+
# from MsRest::TokenCredentials using MsRestAzure::ApplicationTokenProvider.
|
31
|
+
#
|
32
|
+
# Also, base_url, active_directory_settings & options are optional.
|
33
|
+
#
|
34
|
+
def initialize(options = {})
|
35
|
+
super(options)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -709,6 +709,9 @@ files:
|
|
709
709
|
- lib/profiles/v2018_03_01/modules/storage_profile_module.rb
|
710
710
|
- lib/profiles/v2018_03_01/storage_module_definition.rb
|
711
711
|
- lib/profiles/v2018_03_01/storage_v2018_03_01_profile_client.rb
|
712
|
+
- lib/profiles/v2019_03_01_hybrid/modules/storage_profile_module.rb
|
713
|
+
- lib/profiles/v2019_03_01_hybrid/storage_module_definition.rb
|
714
|
+
- lib/profiles/v2019_03_01_hybrid/storage_v2019_03_01_hybrid_profile_client.rb
|
712
715
|
- lib/version.rb
|
713
716
|
homepage: https://aka.ms/azure-sdk-for-ruby
|
714
717
|
licenses:
|