azure_mgmt_storage 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 230378fb5b101ea070db2568849d6ef11065db7c
4
- data.tar.gz: 601878f18066ed1272bc1094381f9bfd0f77e29b
3
+ metadata.gz: 5e80ec5433f30ad67825357895909bb8358401b8
4
+ data.tar.gz: bd3ec496bf2a62e4c1de8ac42af4e3ec8fa7bfa6
5
5
  SHA512:
6
- metadata.gz: ad6667981e4444a877ff78984f1bb332da5ea6ead334b2c077d815494c3d6bda71acd7eae536e0b2c838f0f8d9a59a4a6d57bcc3437203db2722bd5f659bd573
7
- data.tar.gz: 23e790ed39d5287ef6460c364ab1f9ccf64f04d6ea66b9e15902de2fe0ae590e6be52d5bcfa5cc01b06bf1d2948a4723140405833a5ea7c55c268345ef746279
6
+ metadata.gz: 0f517a4f9f1d63ee1c1f3e6b1b59802f336afc66f00117ca2d00c7754cada3a65d755944cae915e3026ed1b8d69e143d1a2a6b7cb8dddb5865f478556f4ad750
7
+ data.tar.gz: af0e94f1f8c41be1c1b69e8dc7e3d5cf534e80e5adca903a5f20600463d0345887e5af18547a61f4ff25ef9982fa5393ac4f1b1183b996fdb0b37d2d9d5fce6f
@@ -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.2"
133
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
133
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
133
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
133
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
141
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
141
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
143
+ sdk_information = "#{sdk_information}/0.17.3"
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.2"
143
+ sdk_information = "#{sdk_information}/0.17.3"
144
144
  add_user_agent_information(sdk_information)
145
145
  end
146
146
  end
@@ -140,7 +140,7 @@ module Azure::Storage::Mgmt::V2018_07_01
140
140
  #
141
141
  def add_telemetry
142
142
  sdk_information = 'azure_mgmt_storage'
143
- sdk_information = "#{sdk_information}/0.17.2"
143
+ sdk_information = "#{sdk_information}/0.17.3"
144
144
  add_user_agent_information(sdk_information)
145
145
  end
146
146
  end
@@ -13,3 +13,4 @@ require '2016-12-01/generated/azure_mgmt_storage'
13
13
  require '2017-06-01/generated/azure_mgmt_storage'
14
14
  require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
15
15
  require 'profiles/latest/storage_latest_profile_client'
16
+ require 'profiles/v2018_03_01/storage_v2018_03_01_profile_client'
@@ -0,0 +1,175 @@
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::V2018_03_01
8
+ module Mgmt
9
+ StorageAccounts = Azure::Storage::Mgmt::V2016_01_01::StorageAccounts
10
+ UsageOperations = Azure::Storage::Mgmt::V2016_01_01::UsageOperations
11
+
12
+ module Models
13
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters
14
+ StorageAccountKey = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey
15
+ Sku = Azure::Storage::Mgmt::V2016_01_01::Models::Sku
16
+ StorageAccountListResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult
17
+ EncryptionService = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService
18
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult
19
+ Encryption = Azure::Storage::Mgmt::V2016_01_01::Models::Encryption
20
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters
21
+ Endpoints = Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints
22
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters
23
+ CustomDomain = Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain
24
+ UsageName = Azure::Storage::Mgmt::V2016_01_01::Models::UsageName
25
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters
26
+ Usage = Azure::Storage::Mgmt::V2016_01_01::Models::Usage
27
+ EncryptionServices = Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices
28
+ UsageListResult = Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult
29
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult
30
+ Resource = Azure::Storage::Mgmt::V2016_01_01::Models::Resource
31
+ StorageAccount = Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount
32
+ Reason = Azure::Storage::Mgmt::V2016_01_01::Models::Reason
33
+ SkuName = Azure::Storage::Mgmt::V2016_01_01::Models::SkuName
34
+ SkuTier = Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier
35
+ AccessTier = Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier
36
+ Kind = Azure::Storage::Mgmt::V2016_01_01::Models::Kind
37
+ ProvisioningState = Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState
38
+ AccountStatus = Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus
39
+ KeyPermission = Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission
40
+ UsageUnit = Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit
41
+ end
42
+
43
+ #
44
+ # StorageManagementClass
45
+ #
46
+ class StorageManagementClass
47
+ attr_reader :storage_accounts, :usage_operations, :configurable, :base_url, :options, :model_classes
48
+
49
+ def initialize(options = {})
50
+ if options.is_a?(Hash) && options.length == 0
51
+ @options = setup_default_options
52
+ else
53
+ @options = options
54
+ end
55
+
56
+ reset!(options)
57
+
58
+ @configurable = self
59
+ @base_url = options[:base_url].nil? ? nil:options[:base_url]
60
+ @options = options[:options].nil? ? nil:options[:options]
61
+
62
+ @client_0 = Azure::Storage::Mgmt::V2016_01_01::StorageManagementClient.new(configurable.credentials, base_url, options)
63
+ if(@client_0.respond_to?(:subscription_id))
64
+ @client_0.subscription_id = configurable.subscription_id
65
+ end
66
+ add_telemetry(@client_0)
67
+ @storage_accounts = @client_0.storage_accounts
68
+ @usage_operations = @client_0.usage_operations
69
+
70
+ @model_classes = ModelClasses.new
71
+ end
72
+
73
+ def add_telemetry(client)
74
+ profile_information = 'Profiles/V2018_03_01/Storage/Mgmt'
75
+ client.add_user_agent_information(profile_information)
76
+ end
77
+
78
+ def method_missing(method, *args)
79
+ if @client_0.respond_to?method
80
+ @client_0.send(method, *args)
81
+ else
82
+ super
83
+ end
84
+ end
85
+
86
+ end
87
+
88
+ class ModelClasses
89
+ def storage_account_check_name_availability_parameters
90
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCheckNameAvailabilityParameters
91
+ end
92
+ def storage_account_key
93
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountKey
94
+ end
95
+ def sku
96
+ Azure::Storage::Mgmt::V2016_01_01::Models::Sku
97
+ end
98
+ def storage_account_list_result
99
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListResult
100
+ end
101
+ def encryption_service
102
+ Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionService
103
+ end
104
+ def storage_account_list_keys_result
105
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountListKeysResult
106
+ end
107
+ def encryption
108
+ Azure::Storage::Mgmt::V2016_01_01::Models::Encryption
109
+ end
110
+ def storage_account_regenerate_key_parameters
111
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountRegenerateKeyParameters
112
+ end
113
+ def endpoints
114
+ Azure::Storage::Mgmt::V2016_01_01::Models::Endpoints
115
+ end
116
+ def storage_account_update_parameters
117
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters
118
+ end
119
+ def custom_domain
120
+ Azure::Storage::Mgmt::V2016_01_01::Models::CustomDomain
121
+ end
122
+ def usage_name
123
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageName
124
+ end
125
+ def storage_account_create_parameters
126
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountCreateParameters
127
+ end
128
+ def usage
129
+ Azure::Storage::Mgmt::V2016_01_01::Models::Usage
130
+ end
131
+ def encryption_services
132
+ Azure::Storage::Mgmt::V2016_01_01::Models::EncryptionServices
133
+ end
134
+ def usage_list_result
135
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageListResult
136
+ end
137
+ def check_name_availability_result
138
+ Azure::Storage::Mgmt::V2016_01_01::Models::CheckNameAvailabilityResult
139
+ end
140
+ def resource
141
+ Azure::Storage::Mgmt::V2016_01_01::Models::Resource
142
+ end
143
+ def storage_account
144
+ Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccount
145
+ end
146
+ def reason
147
+ Azure::Storage::Mgmt::V2016_01_01::Models::Reason
148
+ end
149
+ def sku_name
150
+ Azure::Storage::Mgmt::V2016_01_01::Models::SkuName
151
+ end
152
+ def sku_tier
153
+ Azure::Storage::Mgmt::V2016_01_01::Models::SkuTier
154
+ end
155
+ def access_tier
156
+ Azure::Storage::Mgmt::V2016_01_01::Models::AccessTier
157
+ end
158
+ def kind
159
+ Azure::Storage::Mgmt::V2016_01_01::Models::Kind
160
+ end
161
+ def provisioning_state
162
+ Azure::Storage::Mgmt::V2016_01_01::Models::ProvisioningState
163
+ end
164
+ def account_status
165
+ Azure::Storage::Mgmt::V2016_01_01::Models::AccountStatus
166
+ end
167
+ def key_permission
168
+ Azure::Storage::Mgmt::V2016_01_01::Models::KeyPermission
169
+ end
170
+ def usage_unit
171
+ Azure::Storage::Mgmt::V2016_01_01::Models::UsageUnit
172
+ end
173
+ end
174
+ end
175
+ 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::V2018_03_01 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/v2018_03_01/storage_module_definition'
6
+ require 'profiles/v2018_03_01/modules/storage_profile_module'
7
+
8
+ module Azure::Storage::Profiles::V2018_03_01
9
+ module Mgmt
10
+ #
11
+ # Client class for the V2018_03_01 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
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::Storage::Mgmt
6
- VERSION = '0.17.2'
6
+ VERSION = '0.17.3'
7
7
  end
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.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-28 00:00:00.000000000 Z
11
+ date: 2018-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -596,6 +596,9 @@ files:
596
596
  - lib/profiles/v2017_03_09/modules/storage_profile_module.rb
597
597
  - lib/profiles/v2017_03_09/storage_module_definition.rb
598
598
  - lib/profiles/v2017_03_09/storage_v2017_03_09_profile_client.rb
599
+ - lib/profiles/v2018_03_01/modules/storage_profile_module.rb
600
+ - lib/profiles/v2018_03_01/storage_module_definition.rb
601
+ - lib/profiles/v2018_03_01/storage_v2018_03_01_profile_client.rb
599
602
  - lib/version.rb
600
603
  homepage: https://aka.ms/azure-sdk-for-ruby
601
604
  licenses: