azure_mgmt_storage 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  4. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  5. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  6. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  8. data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
  9. data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
  10. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  11. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/operation_display.rb +11 -0
  12. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/models/service_sas_parameters.rb +1 -1
  13. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  14. data/lib/2018-07-01/generated/azure_mgmt_storage.rb +107 -0
  15. data/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
  16. data/lib/2018-07-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  17. data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  18. data/lib/2018-07-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  19. data/lib/2018-07-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  20. data/lib/2018-07-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  21. data/lib/2018-07-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  22. data/lib/2018-07-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  23. data/lib/2018-07-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  24. data/lib/2018-07-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  25. data/lib/2018-07-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  26. data/lib/2018-07-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  27. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  28. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  29. data/lib/2018-07-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  30. data/lib/2018-07-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  31. data/lib/2018-07-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  32. data/lib/2018-07-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  33. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  34. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  35. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  36. data/lib/2018-07-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  37. data/lib/2018-07-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  38. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  39. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  40. data/lib/2018-07-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  41. data/lib/2018-07-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  42. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  43. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  44. data/lib/2018-07-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  45. data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  46. data/lib/2018-07-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  47. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  48. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  49. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
  50. data/lib/2018-07-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  51. data/lib/2018-07-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  52. data/lib/2018-07-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  53. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  54. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  55. data/lib/2018-07-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  56. data/lib/2018-07-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  57. data/lib/2018-07-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  58. data/lib/2018-07-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  59. data/lib/2018-07-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  60. data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  61. data/lib/2018-07-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  62. data/lib/2018-07-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  63. data/lib/2018-07-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  64. data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  65. data/lib/2018-07-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  66. data/lib/2018-07-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  67. data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  68. data/lib/2018-07-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  69. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
  70. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
  71. data/lib/2018-07-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  72. data/lib/2018-07-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  73. data/lib/2018-07-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  74. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account.rb +349 -0
  75. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
  76. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
  77. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  78. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  79. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
  80. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  81. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
  82. data/lib/2018-07-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  83. data/lib/2018-07-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  84. data/lib/2018-07-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  85. data/lib/2018-07-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  86. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  87. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  88. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  89. data/lib/2018-07-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  90. data/lib/2018-07-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  91. data/lib/2018-07-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  92. data/lib/2018-07-01/generated/azure_mgmt_storage/operations.rb +108 -0
  93. data/lib/2018-07-01/generated/azure_mgmt_storage/skus.rb +114 -0
  94. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
  95. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +147 -0
  96. data/lib/2018-07-01/generated/azure_mgmt_storage/usages.rb +118 -0
  97. data/lib/azure_mgmt_storage.rb +1 -0
  98. data/lib/profiles/latest/modules/storage_profile_module.rb +207 -199
  99. data/lib/version.rb +1 -1
  100. metadata +86 -3
@@ -0,0 +1,147 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class StorageManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRestAzure
12
+ include MsRestAzure::Serialization
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The ID of the target subscription.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] The API version to use for this operation.
24
+ attr_reader :api_version
25
+
26
+ # @return [String] The preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] The retry timeout in seconds for Long Running
30
+ # Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] Whether a unique x-ms-client-request-id should be
34
+ # generated. When set to true a unique x-ms-client-request-id value is
35
+ # generated and included in each request. Default is true.
36
+ attr_accessor :generate_client_request_id
37
+
38
+ # @return [Operations] operations
39
+ attr_reader :operations
40
+
41
+ # @return [Skus] skus
42
+ attr_reader :skus
43
+
44
+ # @return [StorageAccounts] storage_accounts
45
+ attr_reader :storage_accounts
46
+
47
+ # @return [Usages] usages
48
+ attr_reader :usages
49
+
50
+ # @return [BlobContainers] blob_containers
51
+ attr_reader :blob_containers
52
+
53
+ #
54
+ # Creates initializes a new instance of the StorageManagementClient class.
55
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
56
+ # @param base_url [String] the base URI of the service.
57
+ # @param options [Array] filters to be applied to the HTTP requests.
58
+ #
59
+ def initialize(credentials = nil, base_url = nil, options = nil)
60
+ super(credentials, options)
61
+ @base_url = base_url || 'https://management.azure.com'
62
+
63
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
64
+ @credentials = credentials
65
+
66
+ @operations = Operations.new(self)
67
+ @skus = Skus.new(self)
68
+ @storage_accounts = StorageAccounts.new(self)
69
+ @usages = Usages.new(self)
70
+ @blob_containers = BlobContainers.new(self)
71
+ @api_version = '2018-07-01'
72
+ @accept_language = 'en-US'
73
+ @long_running_operation_retry_timeout = 30
74
+ @generate_client_request_id = true
75
+ add_telemetry
76
+ end
77
+
78
+ #
79
+ # Makes a request and returns the body of the response.
80
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
81
+ # @param path [String] the path, relative to {base_url}.
82
+ # @param options [Hash{String=>String}] specifying any request options like :body.
83
+ # @return [Hash{String=>String}] containing the body of the response.
84
+ # Example:
85
+ #
86
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
87
+ # path = "/path"
88
+ # options = {
89
+ # body: request_content,
90
+ # query_params: {'api-version' => '2016-02-01'}
91
+ # }
92
+ # result = @client.make_request(:put, path, options)
93
+ #
94
+ def make_request(method, path, options = {})
95
+ result = make_request_with_http_info(method, path, options)
96
+ result.body unless result.nil?
97
+ end
98
+
99
+ #
100
+ # Makes a request and returns the operation response.
101
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
102
+ # @param path [String] the path, relative to {base_url}.
103
+ # @param options [Hash{String=>String}] specifying any request options like :body.
104
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
105
+ #
106
+ def make_request_with_http_info(method, path, options = {})
107
+ result = make_request_async(method, path, options).value!
108
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
109
+ result
110
+ end
111
+
112
+ #
113
+ # Makes a request asynchronously.
114
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
115
+ # @param path [String] the path, relative to {base_url}.
116
+ # @param options [Hash{String=>String}] specifying any request options like :body.
117
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
118
+ #
119
+ def make_request_async(method, path, options = {})
120
+ fail ArgumentError, 'method is nil' if method.nil?
121
+ fail ArgumentError, 'path is nil' if path.nil?
122
+
123
+ request_url = options[:base_url] || @base_url
124
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
125
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
126
+ end
127
+
128
+ request_headers = @request_headers
129
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
130
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
131
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
132
+
133
+ super(request_url, method, path, options)
134
+ end
135
+
136
+
137
+ private
138
+ #
139
+ # Adds telemetry information.
140
+ #
141
+ def add_telemetry
142
+ sdk_information = 'azure_mgmt_storage'
143
+ sdk_information = "#{sdk_information}/0.17.2"
144
+ add_user_agent_information(sdk_information)
145
+ end
146
+ end
147
+ end
@@ -0,0 +1,118 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::Storage::Mgmt::V2018_07_01
7
+ #
8
+ # The Azure Storage Management API.
9
+ #
10
+ class Usages
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Usages class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [StorageManagementClient] reference to the StorageManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Gets the current usage count and the limit for the resources of the location
26
+ # under the subscription.
27
+ #
28
+ # @param location [String] The location of the Azure Storage resource.
29
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
30
+ # will be added to the HTTP request.
31
+ #
32
+ # @return [UsageListResult] operation results.
33
+ #
34
+ def list_by_location(location, custom_headers:nil)
35
+ response = list_by_location_async(location, custom_headers:custom_headers).value!
36
+ response.body unless response.nil?
37
+ end
38
+
39
+ #
40
+ # Gets the current usage count and the limit for the resources of the location
41
+ # under the subscription.
42
+ #
43
+ # @param location [String] The location of the Azure Storage resource.
44
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
45
+ # will be added to the HTTP request.
46
+ #
47
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
+ #
49
+ def list_by_location_with_http_info(location, custom_headers:nil)
50
+ list_by_location_async(location, custom_headers:custom_headers).value!
51
+ end
52
+
53
+ #
54
+ # Gets the current usage count and the limit for the resources of the location
55
+ # under the subscription.
56
+ #
57
+ # @param location [String] The location of the Azure Storage resource.
58
+ # @param [Hash{String => String}] A hash of custom headers that will be added
59
+ # to the HTTP request.
60
+ #
61
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
+ #
63
+ def list_by_location_async(location, custom_headers:nil)
64
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
65
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
66
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
67
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
68
+ fail ArgumentError, 'location is nil' if location.nil?
69
+
70
+
71
+ request_headers = {}
72
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
73
+
74
+ # Set Headers
75
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
76
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
77
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages'
78
+
79
+ request_url = @base_url || @client.base_url
80
+
81
+ options = {
82
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
83
+ path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
84
+ query_params: {'api-version' => @client.api_version},
85
+ headers: request_headers.merge(custom_headers || {}),
86
+ base_url: request_url
87
+ }
88
+ promise = @client.make_request_async(:get, path_template, options)
89
+
90
+ promise = promise.then do |result|
91
+ http_response = result.response
92
+ status_code = http_response.status
93
+ response_content = http_response.body
94
+ unless status_code == 200
95
+ error_model = JSON.load(response_content)
96
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
97
+ end
98
+
99
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
100
+ # Deserialize Response
101
+ if status_code == 200
102
+ begin
103
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
104
+ result_mapper = Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult.mapper()
105
+ result.body = @client.deserialize(result_mapper, parsed_response)
106
+ rescue Exception => e
107
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
108
+ end
109
+ end
110
+
111
+ result
112
+ end
113
+
114
+ promise.execute
115
+ end
116
+
117
+ end
118
+ end
@@ -6,6 +6,7 @@ require '2018-03-01-preview/generated/azure_mgmt_storage'
6
6
  require '2017-10-01/generated/azure_mgmt_storage'
7
7
  require '2018-02-01/generated/azure_mgmt_storage'
8
8
  require '2016-01-01/generated/azure_mgmt_storage'
9
+ require '2018-07-01/generated/azure_mgmt_storage'
9
10
  require '2015-06-15/generated/azure_mgmt_storage'
10
11
  require '2015-05-01-preview/generated/azure_mgmt_storage'
11
12
  require '2016-12-01/generated/azure_mgmt_storage'
@@ -6,90 +6,90 @@ require 'azure_mgmt_storage'
6
6
 
7
7
  module Azure::Storage::Profiles::Latest
8
8
  module Mgmt
9
- Operations = Azure::Storage::Mgmt::V2018_03_01_preview::Operations
10
- Skus = Azure::Storage::Mgmt::V2018_03_01_preview::Skus
11
- StorageAccounts = Azure::Storage::Mgmt::V2018_03_01_preview::StorageAccounts
12
- Usages = Azure::Storage::Mgmt::V2018_03_01_preview::Usages
13
- BlobContainers = Azure::Storage::Mgmt::V2018_03_01_preview::BlobContainers
9
+ Operations = Azure::Storage::Mgmt::V2018_07_01::Operations
10
+ Skus = Azure::Storage::Mgmt::V2018_07_01::Skus
11
+ StorageAccounts = Azure::Storage::Mgmt::V2018_07_01::StorageAccounts
12
+ Usages = Azure::Storage::Mgmt::V2018_07_01::Usages
13
+ BlobContainers = Azure::Storage::Mgmt::V2018_07_01::BlobContainers
14
14
 
15
15
  module Models
16
- StorageAccountListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult
17
- StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult
18
- Dimension = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension
19
- StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters
20
- ServiceSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
21
- StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters
22
- OperationListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult
23
- UsageName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName
24
- SKUCapability = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability
25
- Usage = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage
26
- Sku = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku
27
- UsageListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult
28
- CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
29
- AccountSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters
30
- EncryptionService = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService
31
- ListAccountSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse
32
- KeyVaultProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties
33
- ServiceSasParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters
34
- VirtualNetworkRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule
35
- ListServiceSasResponse = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse
36
- NetworkRuleSet = Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet
37
- EncryptionServices = Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices
38
- Encryption = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption
39
- Endpoints = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints
40
- IPRule = Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule
41
- StorageAccountKey = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey
42
- Identity = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity
43
- MetricSpecification = Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification
44
- StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters
45
16
  ManagementPoliciesRulesSetParameter = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter
46
- StorageSkuListResult = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult
47
- ListContainerItems = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems
48
- StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters
49
- LegalHold = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold
50
- OperationDisplay = Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay
51
- LegalHoldProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties
52
- Restriction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction
53
- Resource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource
54
- TagProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty
55
- Operation = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation
56
- UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty
57
- CustomDomain = Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain
58
- ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties
59
- StorageAccount = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount
60
17
  StorageAccountManagementPolicies = Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies
61
- ProxyResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource
62
- TrackedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource
63
- AzureEntityResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
64
- BlobContainer = Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer
65
- ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy
66
- ListContainerItem = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem
67
- ReasonCode = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode
68
- SkuName = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName
69
- SkuTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier
70
- Kind = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind
71
- Reason = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason
72
- KeySource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource
73
- Action = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action
74
- State = Azure::Storage::Mgmt::V2018_03_01_preview::Models::State
75
- Bypass = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass
76
- DefaultAction = Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction
77
- AccessTier = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier
78
- ProvisioningState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState
79
- AccountStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus
80
- KeyPermission = Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission
81
- UsageUnit = Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit
82
- Services = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services
83
- SignedResourceTypes = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes
84
- Permissions = Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions
85
- HttpProtocol = Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol
86
- SignedResource = Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource
87
- PublicAccess = Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess
88
- LeaseStatus = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus
89
- LeaseState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState
90
- LeaseDuration = Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration
91
- ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState
92
- ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType
18
+ StorageAccountKey = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey
19
+ StorageAccountListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult
20
+ Dimension = Azure::Storage::Mgmt::V2018_07_01::Models::Dimension
21
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult
22
+ ServiceSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification
23
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountRegenerateKeyParameters
24
+ OperationListResult = Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult
25
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters
26
+ SKUCapability = Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability
27
+ UsageName = Azure::Storage::Mgmt::V2018_07_01::Models::UsageName
28
+ Sku = Azure::Storage::Mgmt::V2018_07_01::Models::Sku
29
+ Usage = Azure::Storage::Mgmt::V2018_07_01::Models::Usage
30
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult
31
+ UsageListResult = Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult
32
+ EncryptionService = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService
33
+ AccountSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters
34
+ KeyVaultProperties = Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties
35
+ ListAccountSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse
36
+ VirtualNetworkRule = Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule
37
+ ServiceSasParameters = Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSasParameters
38
+ NetworkRuleSet = Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet
39
+ ListServiceSasResponse = Azure::Storage::Mgmt::V2018_07_01::Models::ListServiceSasResponse
40
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters
41
+ IPRule = Azure::Storage::Mgmt::V2018_07_01::Models::IPRule
42
+ LegalHoldProperties = Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties
43
+ OperationDisplay = Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay
44
+ Identity = Azure::Storage::Mgmt::V2018_07_01::Models::Identity
45
+ Operation = Azure::Storage::Mgmt::V2018_07_01::Models::Operation
46
+ Endpoints = Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints
47
+ Restriction = Azure::Storage::Mgmt::V2018_07_01::Models::Restriction
48
+ CustomDomain = Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain
49
+ ListContainerItems = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItems
50
+ Encryption = Azure::Storage::Mgmt::V2018_07_01::Models::Encryption
51
+ Resource = Azure::Storage::Mgmt::V2018_07_01::Models::Resource
52
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters
53
+ LegalHold = Azure::Storage::Mgmt::V2018_07_01::Models::LegalHold
54
+ EncryptionServices = Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices
55
+ UpdateHistoryProperty = Azure::Storage::Mgmt::V2018_07_01::Models::UpdateHistoryProperty
56
+ StorageSkuListResult = Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult
57
+ ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyProperties
58
+ MetricSpecification = Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification
59
+ TagProperty = Azure::Storage::Mgmt::V2018_07_01::Models::TagProperty
60
+ StorageAccount = Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount
61
+ ProxyResource = Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource
62
+ AzureEntityResource = Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource
63
+ TrackedResource = Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource
64
+ BlobContainer = Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer
65
+ ImmutabilityPolicy = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy
66
+ ListContainerItem = Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem
67
+ ReasonCode = Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode
68
+ SkuName = Azure::Storage::Mgmt::V2018_07_01::Models::SkuName
69
+ SkuTier = Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier
70
+ Kind = Azure::Storage::Mgmt::V2018_07_01::Models::Kind
71
+ Reason = Azure::Storage::Mgmt::V2018_07_01::Models::Reason
72
+ KeySource = Azure::Storage::Mgmt::V2018_07_01::Models::KeySource
73
+ Action = Azure::Storage::Mgmt::V2018_07_01::Models::Action
74
+ State = Azure::Storage::Mgmt::V2018_07_01::Models::State
75
+ Bypass = Azure::Storage::Mgmt::V2018_07_01::Models::Bypass
76
+ DefaultAction = Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction
77
+ AccessTier = Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier
78
+ ProvisioningState = Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState
79
+ AccountStatus = Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus
80
+ KeyPermission = Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission
81
+ UsageUnit = Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit
82
+ Services = Azure::Storage::Mgmt::V2018_07_01::Models::Services
83
+ SignedResourceTypes = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes
84
+ Permissions = Azure::Storage::Mgmt::V2018_07_01::Models::Permissions
85
+ HttpProtocol = Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol
86
+ SignedResource = Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource
87
+ PublicAccess = Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess
88
+ LeaseStatus = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus
89
+ LeaseState = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState
90
+ LeaseDuration = Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration
91
+ ImmutabilityPolicyState = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState
92
+ ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType
93
93
  end
94
94
 
95
95
  #
@@ -116,11 +116,17 @@ module Azure::Storage::Profiles::Latest
116
116
  @client_0.subscription_id = configurable.subscription_id
117
117
  end
118
118
  add_telemetry(@client_0)
119
- @operations = @client_0.operations
120
- @skus = @client_0.skus
121
- @storage_accounts = @client_0.storage_accounts
122
- @usages = @client_0.usages
123
- @blob_containers = @client_0.blob_containers
119
+
120
+ @client_1 = Azure::Storage::Mgmt::V2018_07_01::StorageManagementClient.new(configurable.credentials, base_url, options)
121
+ if(@client_1.respond_to?(:subscription_id))
122
+ @client_1.subscription_id = configurable.subscription_id
123
+ end
124
+ add_telemetry(@client_1)
125
+ @operations = @client_1.operations
126
+ @skus = @client_1.skus
127
+ @storage_accounts = @client_1.storage_accounts
128
+ @usages = @client_1.usages
129
+ @blob_containers = @client_1.blob_containers
124
130
 
125
131
  @model_classes = ModelClasses.new
126
132
  end
@@ -131,7 +137,9 @@ module Azure::Storage::Profiles::Latest
131
137
  end
132
138
 
133
139
  def method_missing(method, *args)
134
- if @client_0.respond_to?method
140
+ if @client_1.respond_to?method
141
+ @client_1.send(method, *args)
142
+ elsif @client_0.respond_to?method
135
143
  @client_0.send(method, *args)
136
144
  else
137
145
  super
@@ -141,236 +149,236 @@ module Azure::Storage::Profiles::Latest
141
149
  end
142
150
 
143
151
  class ModelClasses
144
- def storage_account_list_result
145
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListResult
152
+ def management_policies_rules_set_parameter
153
+ Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter
146
154
  end
147
- def storage_account_list_keys_result
148
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountListKeysResult
155
+ def storage_account_management_policies
156
+ Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies
157
+ end
158
+ def storage_account_key
159
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountKey
160
+ end
161
+ def storage_account_list_result
162
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListResult
149
163
  end
150
164
  def dimension
151
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Dimension
165
+ Azure::Storage::Mgmt::V2018_07_01::Models::Dimension
152
166
  end
153
- def storage_account_regenerate_key_parameters
154
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountRegenerateKeyParameters
167
+ def storage_account_list_keys_result
168
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountListKeysResult
155
169
  end
156
170
  def service_specification
157
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSpecification
171
+ Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSpecification
158
172
  end
159
- def storage_account_update_parameters
160
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountUpdateParameters
173
+ def storage_account_regenerate_key_parameters
174
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountRegenerateKeyParameters
161
175
  end
162
176
  def operation_list_result
163
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationListResult
177
+ Azure::Storage::Mgmt::V2018_07_01::Models::OperationListResult
164
178
  end
165
- def usage_name
166
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageName
179
+ def storage_account_update_parameters
180
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountUpdateParameters
167
181
  end
168
182
  def skucapability
169
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::SKUCapability
183
+ Azure::Storage::Mgmt::V2018_07_01::Models::SKUCapability
170
184
  end
171
- def usage
172
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Usage
185
+ def usage_name
186
+ Azure::Storage::Mgmt::V2018_07_01::Models::UsageName
173
187
  end
174
188
  def sku
175
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Sku
189
+ Azure::Storage::Mgmt::V2018_07_01::Models::Sku
176
190
  end
177
- def usage_list_result
178
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageListResult
191
+ def usage
192
+ Azure::Storage::Mgmt::V2018_07_01::Models::Usage
179
193
  end
180
194
  def check_name_availability_result
181
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::CheckNameAvailabilityResult
195
+ Azure::Storage::Mgmt::V2018_07_01::Models::CheckNameAvailabilityResult
182
196
  end
183
- def account_sas_parameters
184
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountSasParameters
197
+ def usage_list_result
198
+ Azure::Storage::Mgmt::V2018_07_01::Models::UsageListResult
185
199
  end
186
200
  def encryption_service
187
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionService
201
+ Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionService
188
202
  end
189
- def list_account_sas_response
190
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListAccountSasResponse
203
+ def account_sas_parameters
204
+ Azure::Storage::Mgmt::V2018_07_01::Models::AccountSasParameters
191
205
  end
192
206
  def key_vault_properties
193
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyVaultProperties
207
+ Azure::Storage::Mgmt::V2018_07_01::Models::KeyVaultProperties
194
208
  end
195
- def service_sas_parameters
196
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ServiceSasParameters
209
+ def list_account_sas_response
210
+ Azure::Storage::Mgmt::V2018_07_01::Models::ListAccountSasResponse
197
211
  end
198
212
  def virtual_network_rule
199
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::VirtualNetworkRule
213
+ Azure::Storage::Mgmt::V2018_07_01::Models::VirtualNetworkRule
200
214
  end
201
- def list_service_sas_response
202
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListServiceSasResponse
215
+ def service_sas_parameters
216
+ Azure::Storage::Mgmt::V2018_07_01::Models::ServiceSasParameters
203
217
  end
204
218
  def network_rule_set
205
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::NetworkRuleSet
219
+ Azure::Storage::Mgmt::V2018_07_01::Models::NetworkRuleSet
206
220
  end
207
- def encryption_services
208
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::EncryptionServices
209
- end
210
- def encryption
211
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Encryption
221
+ def list_service_sas_response
222
+ Azure::Storage::Mgmt::V2018_07_01::Models::ListServiceSasResponse
212
223
  end
213
- def endpoints
214
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Endpoints
224
+ def storage_account_create_parameters
225
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCreateParameters
215
226
  end
216
227
  def iprule
217
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::IPRule
228
+ Azure::Storage::Mgmt::V2018_07_01::Models::IPRule
218
229
  end
219
- def storage_account_key
220
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountKey
230
+ def legal_hold_properties
231
+ Azure::Storage::Mgmt::V2018_07_01::Models::LegalHoldProperties
232
+ end
233
+ def operation_display
234
+ Azure::Storage::Mgmt::V2018_07_01::Models::OperationDisplay
221
235
  end
222
236
  def identity
223
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Identity
237
+ Azure::Storage::Mgmt::V2018_07_01::Models::Identity
224
238
  end
225
- def metric_specification
226
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::MetricSpecification
239
+ def operation
240
+ Azure::Storage::Mgmt::V2018_07_01::Models::Operation
227
241
  end
228
- def storage_account_check_name_availability_parameters
229
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCheckNameAvailabilityParameters
242
+ def endpoints
243
+ Azure::Storage::Mgmt::V2018_07_01::Models::Endpoints
230
244
  end
231
- def management_policies_rules_set_parameter
232
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ManagementPoliciesRulesSetParameter
245
+ def restriction
246
+ Azure::Storage::Mgmt::V2018_07_01::Models::Restriction
233
247
  end
234
- def storage_sku_list_result
235
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageSkuListResult
248
+ def custom_domain
249
+ Azure::Storage::Mgmt::V2018_07_01::Models::CustomDomain
236
250
  end
237
251
  def list_container_items
238
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItems
252
+ Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItems
239
253
  end
240
- def storage_account_create_parameters
241
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountCreateParameters
242
- end
243
- def legal_hold
244
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHold
245
- end
246
- def operation_display
247
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::OperationDisplay
248
- end
249
- def legal_hold_properties
250
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::LegalHoldProperties
251
- end
252
- def restriction
253
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Restriction
254
+ def encryption
255
+ Azure::Storage::Mgmt::V2018_07_01::Models::Encryption
254
256
  end
255
257
  def resource
256
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Resource
258
+ Azure::Storage::Mgmt::V2018_07_01::Models::Resource
257
259
  end
258
- def tag_property
259
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::TagProperty
260
+ def storage_account_check_name_availability_parameters
261
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccountCheckNameAvailabilityParameters
260
262
  end
261
- def operation
262
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Operation
263
+ def legal_hold
264
+ Azure::Storage::Mgmt::V2018_07_01::Models::LegalHold
265
+ end
266
+ def encryption_services
267
+ Azure::Storage::Mgmt::V2018_07_01::Models::EncryptionServices
263
268
  end
264
269
  def update_history_property
265
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::UpdateHistoryProperty
270
+ Azure::Storage::Mgmt::V2018_07_01::Models::UpdateHistoryProperty
266
271
  end
267
- def custom_domain
268
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::CustomDomain
272
+ def storage_sku_list_result
273
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageSkuListResult
269
274
  end
270
275
  def immutability_policy_properties
271
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyProperties
276
+ Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyProperties
272
277
  end
273
- def storage_account
274
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccount
278
+ def metric_specification
279
+ Azure::Storage::Mgmt::V2018_07_01::Models::MetricSpecification
275
280
  end
276
- def storage_account_management_policies
277
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::StorageAccountManagementPolicies
281
+ def tag_property
282
+ Azure::Storage::Mgmt::V2018_07_01::Models::TagProperty
278
283
  end
279
- def proxy_resource
280
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProxyResource
284
+ def storage_account
285
+ Azure::Storage::Mgmt::V2018_07_01::Models::StorageAccount
281
286
  end
282
- def tracked_resource
283
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::TrackedResource
287
+ def proxy_resource
288
+ Azure::Storage::Mgmt::V2018_07_01::Models::ProxyResource
284
289
  end
285
290
  def azure_entity_resource
286
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::AzureEntityResource
291
+ Azure::Storage::Mgmt::V2018_07_01::Models::AzureEntityResource
292
+ end
293
+ def tracked_resource
294
+ Azure::Storage::Mgmt::V2018_07_01::Models::TrackedResource
287
295
  end
288
296
  def blob_container
289
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::BlobContainer
297
+ Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer
290
298
  end
291
299
  def immutability_policy
292
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicy
300
+ Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicy
293
301
  end
294
302
  def list_container_item
295
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ListContainerItem
303
+ Azure::Storage::Mgmt::V2018_07_01::Models::ListContainerItem
296
304
  end
297
305
  def reason_code
298
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ReasonCode
306
+ Azure::Storage::Mgmt::V2018_07_01::Models::ReasonCode
299
307
  end
300
308
  def sku_name
301
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuName
309
+ Azure::Storage::Mgmt::V2018_07_01::Models::SkuName
302
310
  end
303
311
  def sku_tier
304
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::SkuTier
312
+ Azure::Storage::Mgmt::V2018_07_01::Models::SkuTier
305
313
  end
306
314
  def kind
307
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Kind
315
+ Azure::Storage::Mgmt::V2018_07_01::Models::Kind
308
316
  end
309
317
  def reason
310
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Reason
318
+ Azure::Storage::Mgmt::V2018_07_01::Models::Reason
311
319
  end
312
320
  def key_source
313
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeySource
321
+ Azure::Storage::Mgmt::V2018_07_01::Models::KeySource
314
322
  end
315
323
  def action
316
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Action
324
+ Azure::Storage::Mgmt::V2018_07_01::Models::Action
317
325
  end
318
326
  def state
319
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::State
327
+ Azure::Storage::Mgmt::V2018_07_01::Models::State
320
328
  end
321
329
  def bypass
322
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Bypass
330
+ Azure::Storage::Mgmt::V2018_07_01::Models::Bypass
323
331
  end
324
332
  def default_action
325
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::DefaultAction
333
+ Azure::Storage::Mgmt::V2018_07_01::Models::DefaultAction
326
334
  end
327
335
  def access_tier
328
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccessTier
336
+ Azure::Storage::Mgmt::V2018_07_01::Models::AccessTier
329
337
  end
330
338
  def provisioning_state
331
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ProvisioningState
339
+ Azure::Storage::Mgmt::V2018_07_01::Models::ProvisioningState
332
340
  end
333
341
  def account_status
334
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::AccountStatus
342
+ Azure::Storage::Mgmt::V2018_07_01::Models::AccountStatus
335
343
  end
336
344
  def key_permission
337
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::KeyPermission
345
+ Azure::Storage::Mgmt::V2018_07_01::Models::KeyPermission
338
346
  end
339
347
  def usage_unit
340
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::UsageUnit
348
+ Azure::Storage::Mgmt::V2018_07_01::Models::UsageUnit
341
349
  end
342
350
  def services
343
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Services
351
+ Azure::Storage::Mgmt::V2018_07_01::Models::Services
344
352
  end
345
353
  def signed_resource_types
346
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResourceTypes
354
+ Azure::Storage::Mgmt::V2018_07_01::Models::SignedResourceTypes
347
355
  end
348
356
  def permissions
349
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::Permissions
357
+ Azure::Storage::Mgmt::V2018_07_01::Models::Permissions
350
358
  end
351
359
  def http_protocol
352
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::HttpProtocol
360
+ Azure::Storage::Mgmt::V2018_07_01::Models::HttpProtocol
353
361
  end
354
362
  def signed_resource
355
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::SignedResource
363
+ Azure::Storage::Mgmt::V2018_07_01::Models::SignedResource
356
364
  end
357
365
  def public_access
358
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::PublicAccess
366
+ Azure::Storage::Mgmt::V2018_07_01::Models::PublicAccess
359
367
  end
360
368
  def lease_status
361
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseStatus
369
+ Azure::Storage::Mgmt::V2018_07_01::Models::LeaseStatus
362
370
  end
363
371
  def lease_state
364
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseState
372
+ Azure::Storage::Mgmt::V2018_07_01::Models::LeaseState
365
373
  end
366
374
  def lease_duration
367
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::LeaseDuration
375
+ Azure::Storage::Mgmt::V2018_07_01::Models::LeaseDuration
368
376
  end
369
377
  def immutability_policy_state
370
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyState
378
+ Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyState
371
379
  end
372
380
  def immutability_policy_update_type
373
- Azure::Storage::Mgmt::V2018_03_01_preview::Models::ImmutabilityPolicyUpdateType
381
+ Azure::Storage::Mgmt::V2018_07_01::Models::ImmutabilityPolicyUpdateType
374
382
  end
375
383
  end
376
384
  end