azure_mgmt_storage 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  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/storage_management_client.rb +1 -1
  9. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  10. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  11. data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  12. data/lib/2019-04-01/generated/azure_mgmt_storage.rb +22 -20
  13. data/lib/2019-04-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +13 -1
  15. data/lib/2019-04-01/generated/azure_mgmt_storage/models/directory_service_options.rb +1 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +1 -1
  18. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_accounts.rb +27 -15
  19. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  20. data/lib/2019-06-01/generated/azure_mgmt_storage.rb +152 -0
  21. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +2034 -0
  22. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_services.rb +383 -0
  23. data/lib/2019-06-01/generated/azure_mgmt_storage/file_services.rb +377 -0
  24. data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +798 -0
  25. data/lib/2019-06-01/generated/azure_mgmt_storage/management_policies.rb +361 -0
  26. data/lib/2019-06-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  27. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  28. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  29. data/lib/2019-06-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  30. data/lib/2019-06-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  31. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  32. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +59 -0
  33. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  34. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_items.rb +57 -0
  35. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +141 -0
  36. data/lib/2019-06-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  37. data/lib/2019-06-01/generated/azure_mgmt_storage/models/change_feed.rb +47 -0
  38. data/lib/2019-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  39. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
  40. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
  41. data/lib/2019-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  42. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
  43. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb +51 -0
  44. data/lib/2019-06-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  45. data/lib/2019-06-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
  46. data/lib/2019-06-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  47. data/lib/2019-06-01/generated/azure_mgmt_storage/models/directory_service_options.rb +17 -0
  48. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  49. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  50. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  51. data/lib/2019-06-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  52. data/lib/2019-06-01/generated/azure_mgmt_storage/models/error_response.rb +59 -0
  53. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_items.rb +57 -0
  54. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_properties.rb +90 -0
  55. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +121 -0
  56. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +120 -0
  57. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_items.rb +103 -0
  58. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
  59. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
  60. data/lib/2019-06-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  61. data/lib/2019-06-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  62. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  63. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  64. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  65. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  66. data/lib/2019-06-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  67. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  68. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  69. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  70. data/lib/2019-06-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  71. data/lib/2019-06-01/generated/azure_mgmt_storage/models/large_file_shares_state.rb +16 -0
  72. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
  73. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
  74. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  75. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  76. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  77. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  78. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  79. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  80. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  81. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_items.rb +103 -0
  82. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  83. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  84. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
  85. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
  86. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
  87. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
  88. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
  89. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
  90. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
  91. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
  92. data/lib/2019-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  93. data/lib/2019-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  94. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  95. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  96. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  97. data/lib/2019-06-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  98. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint.rb +47 -0
  99. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection.rb +101 -0
  100. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_provisioning_state.rb +18 -0
  101. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_service_connection_status.rb +17 -0
  102. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb +115 -0
  103. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource_list_result.rb +55 -0
  104. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb +72 -0
  105. data/lib/2019-06-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  106. data/lib/2019-06-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  107. data/lib/2019-06-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  108. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  109. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  110. data/lib/2019-06-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  111. data/lib/2019-06-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  112. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  113. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  114. data/lib/2019-06-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  115. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  116. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  117. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
  118. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_name.rb +22 -0
  119. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  120. data/lib/2019-06-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  121. data/lib/2019-06-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  122. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +410 -0
  123. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
  124. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +215 -0
  125. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
  126. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  127. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  128. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +103 -0
  129. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  130. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +192 -0
  131. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  132. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  133. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  134. data/lib/2019-06-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  135. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  136. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  137. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  138. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  139. data/lib/2019-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  140. data/lib/2019-06-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  141. data/lib/2019-06-01/generated/azure_mgmt_storage/operations.rb +110 -0
  142. data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +388 -0
  143. data/lib/2019-06-01/generated/azure_mgmt_storage/private_link_resources.rb +138 -0
  144. data/lib/2019-06-01/generated/azure_mgmt_storage/skus.rb +116 -0
  145. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_accounts.rb +1754 -0
  146. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +171 -0
  147. data/lib/2019-06-01/generated/azure_mgmt_storage/usages.rb +120 -0
  148. data/lib/azure_mgmt_storage.rb +1 -0
  149. data/lib/profiles/latest/modules/storage_profile_module.rb +305 -261
  150. data/lib/version.rb +1 -1
  151. metadata +132 -2
@@ -0,0 +1,171 @@
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::V2019_06_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 [ManagementPolicies] management_policies
51
+ attr_reader :management_policies
52
+
53
+ # @return [PrivateEndpointConnections] private_endpoint_connections
54
+ attr_reader :private_endpoint_connections
55
+
56
+ # @return [PrivateLinkResources] private_link_resources
57
+ attr_reader :private_link_resources
58
+
59
+ # @return [BlobServices] blob_services
60
+ attr_reader :blob_services
61
+
62
+ # @return [BlobContainers] blob_containers
63
+ attr_reader :blob_containers
64
+
65
+ # @return [FileServices] file_services
66
+ attr_reader :file_services
67
+
68
+ # @return [FileShares] file_shares
69
+ attr_reader :file_shares
70
+
71
+ #
72
+ # Creates initializes a new instance of the StorageManagementClient class.
73
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
74
+ # @param base_url [String] the base URI of the service.
75
+ # @param options [Array] filters to be applied to the HTTP requests.
76
+ #
77
+ def initialize(credentials = nil, base_url = nil, options = nil)
78
+ super(credentials, options)
79
+ @base_url = base_url || 'https://management.azure.com'
80
+
81
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
82
+ @credentials = credentials
83
+
84
+ @operations = Operations.new(self)
85
+ @skus = Skus.new(self)
86
+ @storage_accounts = StorageAccounts.new(self)
87
+ @usages = Usages.new(self)
88
+ @management_policies = ManagementPolicies.new(self)
89
+ @private_endpoint_connections = PrivateEndpointConnections.new(self)
90
+ @private_link_resources = PrivateLinkResources.new(self)
91
+ @blob_services = BlobServices.new(self)
92
+ @blob_containers = BlobContainers.new(self)
93
+ @file_services = FileServices.new(self)
94
+ @file_shares = FileShares.new(self)
95
+ @api_version = '2019-06-01'
96
+ @accept_language = 'en-US'
97
+ @long_running_operation_retry_timeout = 30
98
+ @generate_client_request_id = true
99
+ add_telemetry
100
+ end
101
+
102
+ #
103
+ # Makes a request and returns the body of the response.
104
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
105
+ # @param path [String] the path, relative to {base_url}.
106
+ # @param options [Hash{String=>String}] specifying any request options like :body.
107
+ # @return [Hash{String=>String}] containing the body of the response.
108
+ # Example:
109
+ #
110
+ # request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
111
+ # path = "/path"
112
+ # options = {
113
+ # body: request_content,
114
+ # query_params: {'api-version' => '2016-02-01'}
115
+ # }
116
+ # result = @client.make_request(:put, path, options)
117
+ #
118
+ def make_request(method, path, options = {})
119
+ result = make_request_with_http_info(method, path, options)
120
+ result.body unless result.nil?
121
+ end
122
+
123
+ #
124
+ # Makes a request and returns the operation response.
125
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
126
+ # @param path [String] the path, relative to {base_url}.
127
+ # @param options [Hash{String=>String}] specifying any request options like :body.
128
+ # @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
129
+ #
130
+ def make_request_with_http_info(method, path, options = {})
131
+ result = make_request_async(method, path, options).value!
132
+ result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
133
+ result
134
+ end
135
+
136
+ #
137
+ # Makes a request asynchronously.
138
+ # @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
139
+ # @param path [String] the path, relative to {base_url}.
140
+ # @param options [Hash{String=>String}] specifying any request options like :body.
141
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
142
+ #
143
+ def make_request_async(method, path, options = {})
144
+ fail ArgumentError, 'method is nil' if method.nil?
145
+ fail ArgumentError, 'path is nil' if path.nil?
146
+
147
+ request_url = options[:base_url] || @base_url
148
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
149
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
150
+ end
151
+
152
+ request_headers = @request_headers
153
+ request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
154
+ options.merge!({headers: request_headers.merge(options[:headers] || {})})
155
+ options.merge!({credentials: @credentials}) unless @credentials.nil?
156
+
157
+ super(request_url, method, path, options)
158
+ end
159
+
160
+
161
+ private
162
+ #
163
+ # Adds telemetry information.
164
+ #
165
+ def add_telemetry
166
+ sdk_information = 'azure_mgmt_storage'
167
+ sdk_information = "#{sdk_information}/0.18.2"
168
+ add_user_agent_information(sdk_information)
169
+ end
170
+ end
171
+ end
@@ -0,0 +1,120 @@
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::V2019_06_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
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
101
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
102
+ # Deserialize Response
103
+ if status_code == 200
104
+ begin
105
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
+ result_mapper = Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult.mapper()
107
+ result.body = @client.deserialize(result_mapper, parsed_response)
108
+ rescue Exception => e
109
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
110
+ end
111
+ end
112
+
113
+ result
114
+ end
115
+
116
+ promise.execute
117
+ end
118
+
119
+ end
120
+ end
@@ -13,6 +13,7 @@ require '2019-04-01/generated/azure_mgmt_storage'
13
13
  require '2017-10-01/generated/azure_mgmt_storage'
14
14
  require '2016-01-01/generated/azure_mgmt_storage'
15
15
  require '2017-06-01/generated/azure_mgmt_storage'
16
+ require '2019-06-01/generated/azure_mgmt_storage'
16
17
  require 'profiles/latest/storage_latest_profile_client'
17
18
  require 'profiles/v2017_03_09/storage_v2017_03_09_profile_client'
18
19
  require 'profiles/v2018_03_01/storage_v2018_03_01_profile_client'
@@ -6,128 +6,140 @@ require 'azure_mgmt_storage'
6
6
 
7
7
  module Azure::Storage::Profiles::Latest
8
8
  module Mgmt
9
- Operations = Azure::Storage::Mgmt::V2019_04_01::Operations
10
- Skus = Azure::Storage::Mgmt::V2019_04_01::Skus
11
- StorageAccounts = Azure::Storage::Mgmt::V2019_04_01::StorageAccounts
12
- Usages = Azure::Storage::Mgmt::V2019_04_01::Usages
13
- ManagementPolicies = Azure::Storage::Mgmt::V2019_04_01::ManagementPolicies
14
- BlobServices = Azure::Storage::Mgmt::V2019_04_01::BlobServices
15
- BlobContainers = Azure::Storage::Mgmt::V2019_04_01::BlobContainers
16
- FileServices = Azure::Storage::Mgmt::V2019_04_01::FileServices
17
- FileShares = Azure::Storage::Mgmt::V2019_04_01::FileShares
9
+ Operations = Azure::Storage::Mgmt::V2019_06_01::Operations
10
+ Skus = Azure::Storage::Mgmt::V2019_06_01::Skus
11
+ StorageAccounts = Azure::Storage::Mgmt::V2019_06_01::StorageAccounts
12
+ Usages = Azure::Storage::Mgmt::V2019_06_01::Usages
13
+ ManagementPolicies = Azure::Storage::Mgmt::V2019_06_01::ManagementPolicies
14
+ PrivateEndpointConnections = Azure::Storage::Mgmt::V2019_06_01::PrivateEndpointConnections
15
+ PrivateLinkResources = Azure::Storage::Mgmt::V2019_06_01::PrivateLinkResources
16
+ BlobServices = Azure::Storage::Mgmt::V2019_06_01::BlobServices
17
+ BlobContainers = Azure::Storage::Mgmt::V2019_06_01::BlobContainers
18
+ FileServices = Azure::Storage::Mgmt::V2019_06_01::FileServices
19
+ FileShares = Azure::Storage::Mgmt::V2019_06_01::FileShares
18
20
 
19
21
  module Models
20
- ListServiceSasResponse = Azure::Storage::Mgmt::V2019_04_01::Models::ListServiceSasResponse
21
- DateAfterModification = Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterModification
22
- Dimension = Azure::Storage::Mgmt::V2019_04_01::Models::Dimension
23
- ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyBaseBlob
24
- ServiceSpecification = Azure::Storage::Mgmt::V2019_04_01::Models::ServiceSpecification
25
- DateAfterCreation = Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterCreation
26
- OperationListResult = Azure::Storage::Mgmt::V2019_04_01::Models::OperationListResult
27
- ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicySnapShot
28
- SKUCapability = Azure::Storage::Mgmt::V2019_04_01::Models::SKUCapability
29
- ManagementPolicyAction = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyAction
30
- Sku = Azure::Storage::Mgmt::V2019_04_01::Models::Sku
31
- ManagementPolicyFilter = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyFilter
32
- CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_04_01::Models::CheckNameAvailabilityResult
33
- ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyDefinition
34
- EncryptionService = Azure::Storage::Mgmt::V2019_04_01::Models::EncryptionService
35
- ManagementPolicyRule = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyRule
36
- KeyVaultProperties = Azure::Storage::Mgmt::V2019_04_01::Models::KeyVaultProperties
37
- ManagementPolicySchema = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicySchema
38
- VirtualNetworkRule = Azure::Storage::Mgmt::V2019_04_01::Models::VirtualNetworkRule
39
- Restriction = Azure::Storage::Mgmt::V2019_04_01::Models::Restriction
40
- StorageSkuListResult = Azure::Storage::Mgmt::V2019_04_01::Models::StorageSkuListResult
41
- AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_04_01::Models::AzureFilesIdentityBasedAuthentication
42
- CustomDomain = Azure::Storage::Mgmt::V2019_04_01::Models::CustomDomain
43
- StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountCreateParameters
44
- EncryptionServices = Azure::Storage::Mgmt::V2019_04_01::Models::EncryptionServices
45
- GeoReplicationStats = Azure::Storage::Mgmt::V2019_04_01::Models::GeoReplicationStats
46
- Encryption = Azure::Storage::Mgmt::V2019_04_01::Models::Encryption
47
- StorageAccountKey = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountKey
48
- IPRule = Azure::Storage::Mgmt::V2019_04_01::Models::IPRule
49
- StorageAccountListKeysResult = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountListKeysResult
50
- StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountUpdateParameters
51
- Usage = Azure::Storage::Mgmt::V2019_04_01::Models::Usage
52
- FileShareItems = Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItems
53
- AccountSasParameters = Azure::Storage::Mgmt::V2019_04_01::Models::AccountSasParameters
54
- FileServiceItems = Azure::Storage::Mgmt::V2019_04_01::Models::FileServiceItems
55
- ServiceSasParameters = Azure::Storage::Mgmt::V2019_04_01::Models::ServiceSasParameters
56
- Resource = Azure::Storage::Mgmt::V2019_04_01::Models::Resource
57
- MetricSpecification = Azure::Storage::Mgmt::V2019_04_01::Models::MetricSpecification
58
- UpdateHistoryProperty = Azure::Storage::Mgmt::V2019_04_01::Models::UpdateHistoryProperty
59
- StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountCheckNameAvailabilityParameters
60
- ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyProperties
61
- Identity = Azure::Storage::Mgmt::V2019_04_01::Models::Identity
62
- TagProperty = Azure::Storage::Mgmt::V2019_04_01::Models::TagProperty
63
- ChangeFeed = Azure::Storage::Mgmt::V2019_04_01::Models::ChangeFeed
64
- StorageAccountListResult = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountListResult
65
- LegalHoldProperties = Azure::Storage::Mgmt::V2019_04_01::Models::LegalHoldProperties
66
- UsageName = Azure::Storage::Mgmt::V2019_04_01::Models::UsageName
67
- LeaseContainerResponse = Azure::Storage::Mgmt::V2019_04_01::Models::LeaseContainerResponse
68
- ListAccountSasResponse = Azure::Storage::Mgmt::V2019_04_01::Models::ListAccountSasResponse
69
- LeaseContainerRequest = Azure::Storage::Mgmt::V2019_04_01::Models::LeaseContainerRequest
70
- Operation = Azure::Storage::Mgmt::V2019_04_01::Models::Operation
71
- LegalHold = Azure::Storage::Mgmt::V2019_04_01::Models::LegalHold
72
- Endpoints = Azure::Storage::Mgmt::V2019_04_01::Models::Endpoints
73
- BlobServiceItems = Azure::Storage::Mgmt::V2019_04_01::Models::BlobServiceItems
74
- UsageListResult = Azure::Storage::Mgmt::V2019_04_01::Models::UsageListResult
75
- ListContainerItems = Azure::Storage::Mgmt::V2019_04_01::Models::ListContainerItems
76
- NetworkRuleSet = Azure::Storage::Mgmt::V2019_04_01::Models::NetworkRuleSet
77
- CorsRule = Azure::Storage::Mgmt::V2019_04_01::Models::CorsRule
78
- OperationDisplay = Azure::Storage::Mgmt::V2019_04_01::Models::OperationDisplay
79
- CorsRules = Azure::Storage::Mgmt::V2019_04_01::Models::CorsRules
80
- StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountRegenerateKeyParameters
81
- DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_04_01::Models::DeleteRetentionPolicy
82
- StorageAccount = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccount
83
- ManagementPolicy = Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicy
84
- ProxyResource = Azure::Storage::Mgmt::V2019_04_01::Models::ProxyResource
85
- TrackedResource = Azure::Storage::Mgmt::V2019_04_01::Models::TrackedResource
86
- AzureEntityResource = Azure::Storage::Mgmt::V2019_04_01::Models::AzureEntityResource
87
- BlobContainer = Azure::Storage::Mgmt::V2019_04_01::Models::BlobContainer
88
- ImmutabilityPolicy = Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicy
89
- ListContainerItem = Azure::Storage::Mgmt::V2019_04_01::Models::ListContainerItem
90
- BlobServiceProperties = Azure::Storage::Mgmt::V2019_04_01::Models::BlobServiceProperties
91
- FileServiceProperties = Azure::Storage::Mgmt::V2019_04_01::Models::FileServiceProperties
92
- FileShare = Azure::Storage::Mgmt::V2019_04_01::Models::FileShare
93
- FileShareItem = Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItem
94
- ReasonCode = Azure::Storage::Mgmt::V2019_04_01::Models::ReasonCode
95
- SkuName = Azure::Storage::Mgmt::V2019_04_01::Models::SkuName
96
- SkuTier = Azure::Storage::Mgmt::V2019_04_01::Models::SkuTier
97
- Kind = Azure::Storage::Mgmt::V2019_04_01::Models::Kind
98
- Reason = Azure::Storage::Mgmt::V2019_04_01::Models::Reason
99
- KeySource = Azure::Storage::Mgmt::V2019_04_01::Models::KeySource
100
- Action = Azure::Storage::Mgmt::V2019_04_01::Models::Action
101
- State = Azure::Storage::Mgmt::V2019_04_01::Models::State
102
- Bypass = Azure::Storage::Mgmt::V2019_04_01::Models::Bypass
103
- DefaultAction = Azure::Storage::Mgmt::V2019_04_01::Models::DefaultAction
104
- DirectoryServiceOptions = Azure::Storage::Mgmt::V2019_04_01::Models::DirectoryServiceOptions
105
- AccessTier = Azure::Storage::Mgmt::V2019_04_01::Models::AccessTier
106
- LargeFileSharesState = Azure::Storage::Mgmt::V2019_04_01::Models::LargeFileSharesState
107
- GeoReplicationStatus = Azure::Storage::Mgmt::V2019_04_01::Models::GeoReplicationStatus
108
- ProvisioningState = Azure::Storage::Mgmt::V2019_04_01::Models::ProvisioningState
109
- AccountStatus = Azure::Storage::Mgmt::V2019_04_01::Models::AccountStatus
110
- KeyPermission = Azure::Storage::Mgmt::V2019_04_01::Models::KeyPermission
111
- UsageUnit = Azure::Storage::Mgmt::V2019_04_01::Models::UsageUnit
112
- Services = Azure::Storage::Mgmt::V2019_04_01::Models::Services
113
- SignedResourceTypes = Azure::Storage::Mgmt::V2019_04_01::Models::SignedResourceTypes
114
- Permissions = Azure::Storage::Mgmt::V2019_04_01::Models::Permissions
115
- HttpProtocol = Azure::Storage::Mgmt::V2019_04_01::Models::HttpProtocol
116
- SignedResource = Azure::Storage::Mgmt::V2019_04_01::Models::SignedResource
117
- PublicAccess = Azure::Storage::Mgmt::V2019_04_01::Models::PublicAccess
118
- LeaseStatus = Azure::Storage::Mgmt::V2019_04_01::Models::LeaseStatus
119
- LeaseState = Azure::Storage::Mgmt::V2019_04_01::Models::LeaseState
120
- LeaseDuration = Azure::Storage::Mgmt::V2019_04_01::Models::LeaseDuration
121
- ImmutabilityPolicyState = Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyState
122
- ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyUpdateType
123
- StorageAccountExpand = Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountExpand
22
+ ListServiceSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
23
+ OperationDisplay = Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
24
+ DateAfterModification = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
25
+ MetricSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
26
+ ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
27
+ Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
28
+ DateAfterCreation = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
29
+ StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
30
+ ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
31
+ Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
32
+ ManagementPolicyAction = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
33
+ StorageSkuListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
34
+ ManagementPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
35
+ CustomDomain = Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
36
+ ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
37
+ EncryptionServices = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
38
+ ManagementPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
39
+ Encryption = Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
40
+ ManagementPolicySchema = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
41
+ IPRule = Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
42
+ Sku = Azure::Storage::Mgmt::V2019_06_01::Models::Sku
43
+ ActiveDirectoryProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
44
+ CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
45
+ Identity = Azure::Storage::Mgmt::V2019_06_01::Models::Identity
46
+ EncryptionService = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
47
+ Endpoints = Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
48
+ KeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
49
+ PrivateEndpoint = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
50
+ VirtualNetworkRule = Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
51
+ PrivateLinkServiceConnectionState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
52
+ CorsRules = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
53
+ StorageAccountKey = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
54
+ NetworkRuleSet = Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
55
+ StorageAccountListKeysResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
56
+ StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
57
+ Usage = Azure::Storage::Mgmt::V2019_06_01::Models::Usage
58
+ PrivateLinkResourceListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
59
+ AccountSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
60
+ ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
61
+ ServiceSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
62
+ FileShareItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
63
+ ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
64
+ FileServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
65
+ SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
66
+ LeaseContainerResponse = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
67
+ StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
68
+ Resource = Azure::Storage::Mgmt::V2019_06_01::Models::Resource
69
+ DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
70
+ UpdateHistoryProperty = Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
71
+ StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
72
+ ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
73
+ UsageListResult = Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
74
+ TagProperty = Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
75
+ Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
76
+ LegalHoldProperties = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
77
+ AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
78
+ LeaseContainerRequest = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
79
+ StorageAccountListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
80
+ BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
81
+ ListAccountSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
82
+ LegalHold = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
83
+ GeoReplicationStats = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
84
+ ChangeFeed = Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
85
+ OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
86
+ ListContainerItems = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
87
+ UsageName = Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
88
+ CorsRule = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
89
+ PrivateEndpointConnection = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
90
+ StorageAccount = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccount
91
+ ManagementPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
92
+ PrivateLinkResource = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
93
+ ProxyResource = Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
94
+ TrackedResource = Azure::Storage::Mgmt::V2019_06_01::Models::TrackedResource
95
+ AzureEntityResource = Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
96
+ BlobContainer = Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
97
+ ImmutabilityPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicy
98
+ ListContainerItem = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItem
99
+ BlobServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceProperties
100
+ FileServiceProperties = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceProperties
101
+ FileShare = Azure::Storage::Mgmt::V2019_06_01::Models::FileShare
102
+ FileShareItem = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
103
+ ReasonCode = Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
104
+ SkuName = Azure::Storage::Mgmt::V2019_06_01::Models::SkuName
105
+ SkuTier = Azure::Storage::Mgmt::V2019_06_01::Models::SkuTier
106
+ Kind = Azure::Storage::Mgmt::V2019_06_01::Models::Kind
107
+ Reason = Azure::Storage::Mgmt::V2019_06_01::Models::Reason
108
+ KeySource = Azure::Storage::Mgmt::V2019_06_01::Models::KeySource
109
+ Action = Azure::Storage::Mgmt::V2019_06_01::Models::Action
110
+ State = Azure::Storage::Mgmt::V2019_06_01::Models::State
111
+ Bypass = Azure::Storage::Mgmt::V2019_06_01::Models::Bypass
112
+ DefaultAction = Azure::Storage::Mgmt::V2019_06_01::Models::DefaultAction
113
+ DirectoryServiceOptions = Azure::Storage::Mgmt::V2019_06_01::Models::DirectoryServiceOptions
114
+ AccessTier = Azure::Storage::Mgmt::V2019_06_01::Models::AccessTier
115
+ LargeFileSharesState = Azure::Storage::Mgmt::V2019_06_01::Models::LargeFileSharesState
116
+ GeoReplicationStatus = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
117
+ ProvisioningState = Azure::Storage::Mgmt::V2019_06_01::Models::ProvisioningState
118
+ AccountStatus = Azure::Storage::Mgmt::V2019_06_01::Models::AccountStatus
119
+ PrivateEndpointServiceConnectionStatus = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointServiceConnectionStatus
120
+ PrivateEndpointConnectionProvisioningState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionProvisioningState
121
+ KeyPermission = Azure::Storage::Mgmt::V2019_06_01::Models::KeyPermission
122
+ UsageUnit = Azure::Storage::Mgmt::V2019_06_01::Models::UsageUnit
123
+ Services = Azure::Storage::Mgmt::V2019_06_01::Models::Services
124
+ SignedResourceTypes = Azure::Storage::Mgmt::V2019_06_01::Models::SignedResourceTypes
125
+ Permissions = Azure::Storage::Mgmt::V2019_06_01::Models::Permissions
126
+ HttpProtocol = Azure::Storage::Mgmt::V2019_06_01::Models::HttpProtocol
127
+ SignedResource = Azure::Storage::Mgmt::V2019_06_01::Models::SignedResource
128
+ PublicAccess = Azure::Storage::Mgmt::V2019_06_01::Models::PublicAccess
129
+ LeaseStatus = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseStatus
130
+ LeaseState = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseState
131
+ LeaseDuration = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseDuration
132
+ ImmutabilityPolicyState = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyState
133
+ ImmutabilityPolicyUpdateType = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyUpdateType
134
+ StorageAccountExpand = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountExpand
135
+ ListKeyExpand = Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
124
136
  end
125
137
 
126
138
  #
127
139
  # StorageManagementClass
128
140
  #
129
141
  class StorageManagementClass
130
- attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :blob_services, :blob_containers, :file_services, :file_shares, :configurable, :base_url, :options, :model_classes
142
+ attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :blob_services, :blob_containers, :file_services, :file_shares, :configurable, :base_url, :options, :model_classes
131
143
 
132
144
  def initialize(options = {})
133
145
  if options.is_a?(Hash) && options.length == 0
@@ -142,7 +154,7 @@ module Azure::Storage::Profiles::Latest
142
154
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
143
155
  @options = options[:options].nil? ? nil:options[:options]
144
156
 
145
- @client_0 = Azure::Storage::Mgmt::V2019_04_01::StorageManagementClient.new(configurable.credentials, base_url, options)
157
+ @client_0 = Azure::Storage::Mgmt::V2019_06_01::StorageManagementClient.new(configurable.credentials, base_url, options)
146
158
  if(@client_0.respond_to?(:subscription_id))
147
159
  @client_0.subscription_id = configurable.subscription_id
148
160
  end
@@ -152,6 +164,8 @@ module Azure::Storage::Profiles::Latest
152
164
  @storage_accounts = @client_0.storage_accounts
153
165
  @usages = @client_0.usages
154
166
  @management_policies = @client_0.management_policies
167
+ @private_endpoint_connections = @client_0.private_endpoint_connections
168
+ @private_link_resources = @client_0.private_link_resources
155
169
  @blob_services = @client_0.blob_services
156
170
  @blob_containers = @client_0.blob_containers
157
171
  @file_services = @client_0.file_services
@@ -177,316 +191,346 @@ module Azure::Storage::Profiles::Latest
177
191
 
178
192
  class ModelClasses
179
193
  def list_service_sas_response
180
- Azure::Storage::Mgmt::V2019_04_01::Models::ListServiceSasResponse
194
+ Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
195
+ end
196
+ def operation_display
197
+ Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
181
198
  end
182
199
  def date_after_modification
183
- Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterModification
200
+ Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
184
201
  end
185
- def dimension
186
- Azure::Storage::Mgmt::V2019_04_01::Models::Dimension
202
+ def metric_specification
203
+ Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
187
204
  end
188
205
  def management_policy_base_blob
189
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyBaseBlob
206
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
190
207
  end
191
- def service_specification
192
- Azure::Storage::Mgmt::V2019_04_01::Models::ServiceSpecification
208
+ def operation
209
+ Azure::Storage::Mgmt::V2019_06_01::Models::Operation
193
210
  end
194
211
  def date_after_creation
195
- Azure::Storage::Mgmt::V2019_04_01::Models::DateAfterCreation
212
+ Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
196
213
  end
197
- def operation_list_result
198
- Azure::Storage::Mgmt::V2019_04_01::Models::OperationListResult
214
+ def storage_account_check_name_availability_parameters
215
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
199
216
  end
200
217
  def management_policy_snap_shot
201
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicySnapShot
218
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
202
219
  end
203
- def skucapability
204
- Azure::Storage::Mgmt::V2019_04_01::Models::SKUCapability
220
+ def restriction
221
+ Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
205
222
  end
206
223
  def management_policy_action
207
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyAction
224
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
208
225
  end
209
- def sku
210
- Azure::Storage::Mgmt::V2019_04_01::Models::Sku
226
+ def storage_sku_list_result
227
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
211
228
  end
212
229
  def management_policy_filter
213
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyFilter
230
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
214
231
  end
215
- def check_name_availability_result
216
- Azure::Storage::Mgmt::V2019_04_01::Models::CheckNameAvailabilityResult
232
+ def custom_domain
233
+ Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
217
234
  end
218
235
  def management_policy_definition
219
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyDefinition
236
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
220
237
  end
221
- def encryption_service
222
- Azure::Storage::Mgmt::V2019_04_01::Models::EncryptionService
238
+ def encryption_services
239
+ Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
223
240
  end
224
241
  def management_policy_rule
225
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyRule
242
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
226
243
  end
227
- def key_vault_properties
228
- Azure::Storage::Mgmt::V2019_04_01::Models::KeyVaultProperties
244
+ def encryption
245
+ Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
229
246
  end
230
247
  def management_policy_schema
231
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicySchema
248
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
232
249
  end
233
- def virtual_network_rule
234
- Azure::Storage::Mgmt::V2019_04_01::Models::VirtualNetworkRule
250
+ def iprule
251
+ Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
235
252
  end
236
- def restriction
237
- Azure::Storage::Mgmt::V2019_04_01::Models::Restriction
253
+ def sku
254
+ Azure::Storage::Mgmt::V2019_06_01::Models::Sku
238
255
  end
239
- def storage_sku_list_result
240
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageSkuListResult
256
+ def active_directory_properties
257
+ Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
241
258
  end
242
- def azure_files_identity_based_authentication
243
- Azure::Storage::Mgmt::V2019_04_01::Models::AzureFilesIdentityBasedAuthentication
259
+ def check_name_availability_result
260
+ Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
244
261
  end
245
- def custom_domain
246
- Azure::Storage::Mgmt::V2019_04_01::Models::CustomDomain
262
+ def identity
263
+ Azure::Storage::Mgmt::V2019_06_01::Models::Identity
247
264
  end
248
- def storage_account_create_parameters
249
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountCreateParameters
265
+ def encryption_service
266
+ Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
250
267
  end
251
- def encryption_services
252
- Azure::Storage::Mgmt::V2019_04_01::Models::EncryptionServices
268
+ def endpoints
269
+ Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
253
270
  end
254
- def geo_replication_stats
255
- Azure::Storage::Mgmt::V2019_04_01::Models::GeoReplicationStats
271
+ def key_vault_properties
272
+ Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
256
273
  end
257
- def encryption
258
- Azure::Storage::Mgmt::V2019_04_01::Models::Encryption
274
+ def private_endpoint
275
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
276
+ end
277
+ def virtual_network_rule
278
+ Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
279
+ end
280
+ def private_link_service_connection_state
281
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
282
+ end
283
+ def cors_rules
284
+ Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
259
285
  end
260
286
  def storage_account_key
261
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountKey
287
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
262
288
  end
263
- def iprule
264
- Azure::Storage::Mgmt::V2019_04_01::Models::IPRule
289
+ def network_rule_set
290
+ Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
265
291
  end
266
292
  def storage_account_list_keys_result
267
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountListKeysResult
293
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
268
294
  end
269
295
  def storage_account_update_parameters
270
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountUpdateParameters
296
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
271
297
  end
272
298
  def usage
273
- Azure::Storage::Mgmt::V2019_04_01::Models::Usage
299
+ Azure::Storage::Mgmt::V2019_06_01::Models::Usage
274
300
  end
275
- def file_share_items
276
- Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItems
301
+ def private_link_resource_list_result
302
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
277
303
  end
278
304
  def account_sas_parameters
279
- Azure::Storage::Mgmt::V2019_04_01::Models::AccountSasParameters
305
+ Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
280
306
  end
281
- def file_service_items
282
- Azure::Storage::Mgmt::V2019_04_01::Models::FileServiceItems
307
+ def error_response
308
+ Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
283
309
  end
284
310
  def service_sas_parameters
285
- Azure::Storage::Mgmt::V2019_04_01::Models::ServiceSasParameters
311
+ Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
312
+ end
313
+ def file_share_items
314
+ Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
315
+ end
316
+ def service_specification
317
+ Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
318
+ end
319
+ def file_service_items
320
+ Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
321
+ end
322
+ def skucapability
323
+ Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
324
+ end
325
+ def lease_container_response
326
+ Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
327
+ end
328
+ def storage_account_create_parameters
329
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
286
330
  end
287
331
  def resource
288
- Azure::Storage::Mgmt::V2019_04_01::Models::Resource
332
+ Azure::Storage::Mgmt::V2019_06_01::Models::Resource
289
333
  end
290
- def metric_specification
291
- Azure::Storage::Mgmt::V2019_04_01::Models::MetricSpecification
334
+ def delete_retention_policy
335
+ Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
292
336
  end
293
337
  def update_history_property
294
- Azure::Storage::Mgmt::V2019_04_01::Models::UpdateHistoryProperty
338
+ Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
295
339
  end
296
- def storage_account_check_name_availability_parameters
297
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountCheckNameAvailabilityParameters
340
+ def storage_account_regenerate_key_parameters
341
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
298
342
  end
299
343
  def immutability_policy_properties
300
- Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyProperties
344
+ Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
301
345
  end
302
- def identity
303
- Azure::Storage::Mgmt::V2019_04_01::Models::Identity
346
+ def usage_list_result
347
+ Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
304
348
  end
305
349
  def tag_property
306
- Azure::Storage::Mgmt::V2019_04_01::Models::TagProperty
307
- end
308
- def change_feed
309
- Azure::Storage::Mgmt::V2019_04_01::Models::ChangeFeed
350
+ Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
310
351
  end
311
- def storage_account_list_result
312
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountListResult
352
+ def dimension
353
+ Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
313
354
  end
314
355
  def legal_hold_properties
315
- Azure::Storage::Mgmt::V2019_04_01::Models::LegalHoldProperties
356
+ Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
316
357
  end
317
- def usage_name
318
- Azure::Storage::Mgmt::V2019_04_01::Models::UsageName
358
+ def azure_files_identity_based_authentication
359
+ Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
319
360
  end
320
- def lease_container_response
321
- Azure::Storage::Mgmt::V2019_04_01::Models::LeaseContainerResponse
361
+ def lease_container_request
362
+ Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
322
363
  end
323
- def list_account_sas_response
324
- Azure::Storage::Mgmt::V2019_04_01::Models::ListAccountSasResponse
364
+ def storage_account_list_result
365
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
325
366
  end
326
- def lease_container_request
327
- Azure::Storage::Mgmt::V2019_04_01::Models::LeaseContainerRequest
367
+ def blob_service_items
368
+ Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
328
369
  end
329
- def operation
330
- Azure::Storage::Mgmt::V2019_04_01::Models::Operation
370
+ def list_account_sas_response
371
+ Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
331
372
  end
332
373
  def legal_hold
333
- Azure::Storage::Mgmt::V2019_04_01::Models::LegalHold
374
+ Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
334
375
  end
335
- def endpoints
336
- Azure::Storage::Mgmt::V2019_04_01::Models::Endpoints
376
+ def geo_replication_stats
377
+ Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
337
378
  end
338
- def blob_service_items
339
- Azure::Storage::Mgmt::V2019_04_01::Models::BlobServiceItems
379
+ def change_feed
380
+ Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
340
381
  end
341
- def usage_list_result
342
- Azure::Storage::Mgmt::V2019_04_01::Models::UsageListResult
382
+ def operation_list_result
383
+ Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
343
384
  end
344
385
  def list_container_items
345
- Azure::Storage::Mgmt::V2019_04_01::Models::ListContainerItems
386
+ Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
346
387
  end
347
- def network_rule_set
348
- Azure::Storage::Mgmt::V2019_04_01::Models::NetworkRuleSet
388
+ def usage_name
389
+ Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
349
390
  end
350
391
  def cors_rule
351
- Azure::Storage::Mgmt::V2019_04_01::Models::CorsRule
392
+ Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
352
393
  end
353
- def operation_display
354
- Azure::Storage::Mgmt::V2019_04_01::Models::OperationDisplay
355
- end
356
- def cors_rules
357
- Azure::Storage::Mgmt::V2019_04_01::Models::CorsRules
358
- end
359
- def storage_account_regenerate_key_parameters
360
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountRegenerateKeyParameters
361
- end
362
- def delete_retention_policy
363
- Azure::Storage::Mgmt::V2019_04_01::Models::DeleteRetentionPolicy
394
+ def private_endpoint_connection
395
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
364
396
  end
365
397
  def storage_account
366
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccount
398
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccount
367
399
  end
368
400
  def management_policy
369
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicy
401
+ Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicy
402
+ end
403
+ def private_link_resource
404
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
370
405
  end
371
406
  def proxy_resource
372
- Azure::Storage::Mgmt::V2019_04_01::Models::ProxyResource
407
+ Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
373
408
  end
374
409
  def tracked_resource
375
- Azure::Storage::Mgmt::V2019_04_01::Models::TrackedResource
410
+ Azure::Storage::Mgmt::V2019_06_01::Models::TrackedResource
376
411
  end
377
412
  def azure_entity_resource
378
- Azure::Storage::Mgmt::V2019_04_01::Models::AzureEntityResource
413
+ Azure::Storage::Mgmt::V2019_06_01::Models::AzureEntityResource
379
414
  end
380
415
  def blob_container
381
- Azure::Storage::Mgmt::V2019_04_01::Models::BlobContainer
416
+ Azure::Storage::Mgmt::V2019_06_01::Models::BlobContainer
382
417
  end
383
418
  def immutability_policy
384
- Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicy
419
+ Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicy
385
420
  end
386
421
  def list_container_item
387
- Azure::Storage::Mgmt::V2019_04_01::Models::ListContainerItem
422
+ Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItem
388
423
  end
389
424
  def blob_service_properties
390
- Azure::Storage::Mgmt::V2019_04_01::Models::BlobServiceProperties
425
+ Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceProperties
391
426
  end
392
427
  def file_service_properties
393
- Azure::Storage::Mgmt::V2019_04_01::Models::FileServiceProperties
428
+ Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceProperties
394
429
  end
395
430
  def file_share
396
- Azure::Storage::Mgmt::V2019_04_01::Models::FileShare
431
+ Azure::Storage::Mgmt::V2019_06_01::Models::FileShare
397
432
  end
398
433
  def file_share_item
399
- Azure::Storage::Mgmt::V2019_04_01::Models::FileShareItem
434
+ Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItem
400
435
  end
401
436
  def reason_code
402
- Azure::Storage::Mgmt::V2019_04_01::Models::ReasonCode
437
+ Azure::Storage::Mgmt::V2019_06_01::Models::ReasonCode
403
438
  end
404
439
  def sku_name
405
- Azure::Storage::Mgmt::V2019_04_01::Models::SkuName
440
+ Azure::Storage::Mgmt::V2019_06_01::Models::SkuName
406
441
  end
407
442
  def sku_tier
408
- Azure::Storage::Mgmt::V2019_04_01::Models::SkuTier
443
+ Azure::Storage::Mgmt::V2019_06_01::Models::SkuTier
409
444
  end
410
445
  def kind
411
- Azure::Storage::Mgmt::V2019_04_01::Models::Kind
446
+ Azure::Storage::Mgmt::V2019_06_01::Models::Kind
412
447
  end
413
448
  def reason
414
- Azure::Storage::Mgmt::V2019_04_01::Models::Reason
449
+ Azure::Storage::Mgmt::V2019_06_01::Models::Reason
415
450
  end
416
451
  def key_source
417
- Azure::Storage::Mgmt::V2019_04_01::Models::KeySource
452
+ Azure::Storage::Mgmt::V2019_06_01::Models::KeySource
418
453
  end
419
454
  def action
420
- Azure::Storage::Mgmt::V2019_04_01::Models::Action
455
+ Azure::Storage::Mgmt::V2019_06_01::Models::Action
421
456
  end
422
457
  def state
423
- Azure::Storage::Mgmt::V2019_04_01::Models::State
458
+ Azure::Storage::Mgmt::V2019_06_01::Models::State
424
459
  end
425
460
  def bypass
426
- Azure::Storage::Mgmt::V2019_04_01::Models::Bypass
461
+ Azure::Storage::Mgmt::V2019_06_01::Models::Bypass
427
462
  end
428
463
  def default_action
429
- Azure::Storage::Mgmt::V2019_04_01::Models::DefaultAction
464
+ Azure::Storage::Mgmt::V2019_06_01::Models::DefaultAction
430
465
  end
431
466
  def directory_service_options
432
- Azure::Storage::Mgmt::V2019_04_01::Models::DirectoryServiceOptions
467
+ Azure::Storage::Mgmt::V2019_06_01::Models::DirectoryServiceOptions
433
468
  end
434
469
  def access_tier
435
- Azure::Storage::Mgmt::V2019_04_01::Models::AccessTier
470
+ Azure::Storage::Mgmt::V2019_06_01::Models::AccessTier
436
471
  end
437
472
  def large_file_shares_state
438
- Azure::Storage::Mgmt::V2019_04_01::Models::LargeFileSharesState
473
+ Azure::Storage::Mgmt::V2019_06_01::Models::LargeFileSharesState
439
474
  end
440
475
  def geo_replication_status
441
- Azure::Storage::Mgmt::V2019_04_01::Models::GeoReplicationStatus
476
+ Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStatus
442
477
  end
443
478
  def provisioning_state
444
- Azure::Storage::Mgmt::V2019_04_01::Models::ProvisioningState
479
+ Azure::Storage::Mgmt::V2019_06_01::Models::ProvisioningState
445
480
  end
446
481
  def account_status
447
- Azure::Storage::Mgmt::V2019_04_01::Models::AccountStatus
482
+ Azure::Storage::Mgmt::V2019_06_01::Models::AccountStatus
483
+ end
484
+ def private_endpoint_service_connection_status
485
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointServiceConnectionStatus
486
+ end
487
+ def private_endpoint_connection_provisioning_state
488
+ Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnectionProvisioningState
448
489
  end
449
490
  def key_permission
450
- Azure::Storage::Mgmt::V2019_04_01::Models::KeyPermission
491
+ Azure::Storage::Mgmt::V2019_06_01::Models::KeyPermission
451
492
  end
452
493
  def usage_unit
453
- Azure::Storage::Mgmt::V2019_04_01::Models::UsageUnit
494
+ Azure::Storage::Mgmt::V2019_06_01::Models::UsageUnit
454
495
  end
455
496
  def services
456
- Azure::Storage::Mgmt::V2019_04_01::Models::Services
497
+ Azure::Storage::Mgmt::V2019_06_01::Models::Services
457
498
  end
458
499
  def signed_resource_types
459
- Azure::Storage::Mgmt::V2019_04_01::Models::SignedResourceTypes
500
+ Azure::Storage::Mgmt::V2019_06_01::Models::SignedResourceTypes
460
501
  end
461
502
  def permissions
462
- Azure::Storage::Mgmt::V2019_04_01::Models::Permissions
503
+ Azure::Storage::Mgmt::V2019_06_01::Models::Permissions
463
504
  end
464
505
  def http_protocol
465
- Azure::Storage::Mgmt::V2019_04_01::Models::HttpProtocol
506
+ Azure::Storage::Mgmt::V2019_06_01::Models::HttpProtocol
466
507
  end
467
508
  def signed_resource
468
- Azure::Storage::Mgmt::V2019_04_01::Models::SignedResource
509
+ Azure::Storage::Mgmt::V2019_06_01::Models::SignedResource
469
510
  end
470
511
  def public_access
471
- Azure::Storage::Mgmt::V2019_04_01::Models::PublicAccess
512
+ Azure::Storage::Mgmt::V2019_06_01::Models::PublicAccess
472
513
  end
473
514
  def lease_status
474
- Azure::Storage::Mgmt::V2019_04_01::Models::LeaseStatus
515
+ Azure::Storage::Mgmt::V2019_06_01::Models::LeaseStatus
475
516
  end
476
517
  def lease_state
477
- Azure::Storage::Mgmt::V2019_04_01::Models::LeaseState
518
+ Azure::Storage::Mgmt::V2019_06_01::Models::LeaseState
478
519
  end
479
520
  def lease_duration
480
- Azure::Storage::Mgmt::V2019_04_01::Models::LeaseDuration
521
+ Azure::Storage::Mgmt::V2019_06_01::Models::LeaseDuration
481
522
  end
482
523
  def immutability_policy_state
483
- Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyState
524
+ Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyState
484
525
  end
485
526
  def immutability_policy_update_type
486
- Azure::Storage::Mgmt::V2019_04_01::Models::ImmutabilityPolicyUpdateType
527
+ Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyUpdateType
487
528
  end
488
529
  def storage_account_expand
489
- Azure::Storage::Mgmt::V2019_04_01::Models::StorageAccountExpand
530
+ Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountExpand
531
+ end
532
+ def list_key_expand
533
+ Azure::Storage::Mgmt::V2019_06_01::Models::ListKeyExpand
490
534
  end
491
535
  end
492
536
  end