azure_mgmt_storagecache 0.17.1 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache.rb +0 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_storagecache.rb +0 -1
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
- data/lib/2020-03-01/generated/azure_mgmt_storagecache.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/caches.rb +1513 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb +238 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +46 -0
- data/lib/{2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error.rb → 2020-03-01/generated/azure_mgmt_storagecache/models/cache_sku.rb} +11 -12
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/{2019-08-01-preview/generated/azure_mgmt_storagecache/models/cloud_error.rb → 2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target.rb} +11 -12
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +130 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +72 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +110 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_targets.rb +703 -0
- data/lib/2020-03-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
- data/lib/azure_mgmt_storagecache.rb +1 -0
- data/lib/profiles/latest/modules/storagecache_profile_module.rb +131 -87
- data/lib/version.rb +1 -1
- metadata +50 -4
@@ -0,0 +1,223 @@
|
|
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::StorageCache::Mgmt::V2020_03_01
|
7
|
+
#
|
8
|
+
# A Storage Cache provides scalable caching service for NAS clients, serving
|
9
|
+
# data from either NFSv3 or Blob at-rest storage (referred to as "Storage
|
10
|
+
# Targets"). These operations allow you to manage Caches.
|
11
|
+
#
|
12
|
+
class UsageModels
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
#
|
16
|
+
# Creates and initializes a new instance of the UsageModels class.
|
17
|
+
# @param client service class for accessing basic functionality.
|
18
|
+
#
|
19
|
+
def initialize(client)
|
20
|
+
@client = client
|
21
|
+
end
|
22
|
+
|
23
|
+
# @return [StorageCacheManagementClient] reference to the StorageCacheManagementClient
|
24
|
+
attr_reader :client
|
25
|
+
|
26
|
+
#
|
27
|
+
# Get the list of Cache Usage Models available to this subscription.
|
28
|
+
#
|
29
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
|
+
# will be added to the HTTP request.
|
31
|
+
#
|
32
|
+
# @return [Array<UsageModel>] operation results.
|
33
|
+
#
|
34
|
+
def list(custom_headers:nil)
|
35
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
36
|
+
first_page.get_all_items
|
37
|
+
end
|
38
|
+
|
39
|
+
#
|
40
|
+
# Get the list of Cache Usage Models available to this subscription.
|
41
|
+
#
|
42
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
43
|
+
# will be added to the HTTP request.
|
44
|
+
#
|
45
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
46
|
+
#
|
47
|
+
def list_with_http_info(custom_headers:nil)
|
48
|
+
list_async(custom_headers:custom_headers).value!
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Get the list of Cache Usage Models available to this subscription.
|
53
|
+
#
|
54
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
55
|
+
# to the HTTP request.
|
56
|
+
#
|
57
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
58
|
+
#
|
59
|
+
def list_async(custom_headers:nil)
|
60
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
61
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
62
|
+
|
63
|
+
|
64
|
+
request_headers = {}
|
65
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
66
|
+
|
67
|
+
# Set Headers
|
68
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
69
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
70
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels'
|
71
|
+
|
72
|
+
request_url = @base_url || @client.base_url
|
73
|
+
|
74
|
+
options = {
|
75
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
76
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
77
|
+
query_params: {'api-version' => @client.api_version},
|
78
|
+
headers: request_headers.merge(custom_headers || {}),
|
79
|
+
base_url: request_url
|
80
|
+
}
|
81
|
+
promise = @client.make_request_async(:get, path_template, options)
|
82
|
+
|
83
|
+
promise = promise.then do |result|
|
84
|
+
http_response = result.response
|
85
|
+
status_code = http_response.status
|
86
|
+
response_content = http_response.body
|
87
|
+
unless status_code == 200
|
88
|
+
error_model = JSON.load(response_content)
|
89
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
90
|
+
end
|
91
|
+
|
92
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
93
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
94
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
95
|
+
# Deserialize Response
|
96
|
+
if status_code == 200
|
97
|
+
begin
|
98
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
99
|
+
result_mapper = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult.mapper()
|
100
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
101
|
+
rescue Exception => e
|
102
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
result
|
107
|
+
end
|
108
|
+
|
109
|
+
promise.execute
|
110
|
+
end
|
111
|
+
|
112
|
+
#
|
113
|
+
# Get the list of Cache Usage Models available to this subscription.
|
114
|
+
#
|
115
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
116
|
+
# to List operation.
|
117
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
118
|
+
# will be added to the HTTP request.
|
119
|
+
#
|
120
|
+
# @return [UsageModelsResult] operation results.
|
121
|
+
#
|
122
|
+
def list_next(next_page_link, custom_headers:nil)
|
123
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
124
|
+
response.body unless response.nil?
|
125
|
+
end
|
126
|
+
|
127
|
+
#
|
128
|
+
# Get the list of Cache Usage Models available to this subscription.
|
129
|
+
#
|
130
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
131
|
+
# to List operation.
|
132
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
133
|
+
# will be added to the HTTP request.
|
134
|
+
#
|
135
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
136
|
+
#
|
137
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
138
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
139
|
+
end
|
140
|
+
|
141
|
+
#
|
142
|
+
# Get the list of Cache Usage Models available to this subscription.
|
143
|
+
#
|
144
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
145
|
+
# to List operation.
|
146
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
147
|
+
# to the HTTP request.
|
148
|
+
#
|
149
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
150
|
+
#
|
151
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
152
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
153
|
+
|
154
|
+
|
155
|
+
request_headers = {}
|
156
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
157
|
+
|
158
|
+
# Set Headers
|
159
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
160
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
161
|
+
path_template = '{nextLink}'
|
162
|
+
|
163
|
+
request_url = @base_url || @client.base_url
|
164
|
+
|
165
|
+
options = {
|
166
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
167
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
168
|
+
headers: request_headers.merge(custom_headers || {}),
|
169
|
+
base_url: request_url
|
170
|
+
}
|
171
|
+
promise = @client.make_request_async(:get, path_template, options)
|
172
|
+
|
173
|
+
promise = promise.then do |result|
|
174
|
+
http_response = result.response
|
175
|
+
status_code = http_response.status
|
176
|
+
response_content = http_response.body
|
177
|
+
unless status_code == 200
|
178
|
+
error_model = JSON.load(response_content)
|
179
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
180
|
+
end
|
181
|
+
|
182
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
183
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
184
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
185
|
+
# Deserialize Response
|
186
|
+
if status_code == 200
|
187
|
+
begin
|
188
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
189
|
+
result_mapper = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult.mapper()
|
190
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
191
|
+
rescue Exception => e
|
192
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
result
|
197
|
+
end
|
198
|
+
|
199
|
+
promise.execute
|
200
|
+
end
|
201
|
+
|
202
|
+
#
|
203
|
+
# Get the list of Cache Usage Models available to this subscription.
|
204
|
+
#
|
205
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
206
|
+
# will be added to the HTTP request.
|
207
|
+
#
|
208
|
+
# @return [UsageModelsResult] which provide lazy access to pages of the
|
209
|
+
# response.
|
210
|
+
#
|
211
|
+
def list_as_lazy(custom_headers:nil)
|
212
|
+
response = list_async(custom_headers:custom_headers).value!
|
213
|
+
unless response.nil?
|
214
|
+
page = response.body
|
215
|
+
page.next_method = Proc.new do |next_page_link|
|
216
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
217
|
+
end
|
218
|
+
page
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
end
|
223
|
+
end
|
@@ -6,42 +6,53 @@ require 'azure_mgmt_storagecache'
|
|
6
6
|
|
7
7
|
module Azure::StorageCache::Profiles::Latest
|
8
8
|
module Mgmt
|
9
|
-
Operations = Azure::StorageCache::Mgmt::
|
10
|
-
Skus = Azure::StorageCache::Mgmt::
|
11
|
-
UsageModels = Azure::StorageCache::Mgmt::
|
12
|
-
Caches = Azure::StorageCache::Mgmt::
|
13
|
-
StorageTargets = Azure::StorageCache::Mgmt::
|
9
|
+
Operations = Azure::StorageCache::Mgmt::V2020_03_01::Operations
|
10
|
+
Skus = Azure::StorageCache::Mgmt::V2020_03_01::Skus
|
11
|
+
UsageModels = Azure::StorageCache::Mgmt::V2020_03_01::UsageModels
|
12
|
+
Caches = Azure::StorageCache::Mgmt::V2020_03_01::Caches
|
13
|
+
StorageTargets = Azure::StorageCache::Mgmt::V2020_03_01::StorageTargets
|
14
14
|
|
15
15
|
module Models
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
CacheHealth = Azure::StorageCache::Mgmt::
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
16
|
+
Nfs3Target = Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3Target
|
17
|
+
ApiOperationDisplay = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationDisplay
|
18
|
+
ClfsTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTarget
|
19
|
+
ApiOperationListResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationListResult
|
20
|
+
UnknownTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTarget
|
21
|
+
StorageTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetProperties
|
22
|
+
CacheHealth = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheHealth
|
23
|
+
CacheIdentity = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentity
|
24
|
+
CacheNetworkSettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheNetworkSettings
|
25
|
+
CacheUpgradeStatus = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheUpgradeStatus
|
26
|
+
KeyVaultKeyReference = Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReference
|
27
|
+
UsageModelsResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult
|
28
|
+
CacheSecuritySettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSecuritySettings
|
29
|
+
StorageTargetResource = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetResource
|
30
|
+
Cache = Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
|
31
|
+
UsageModel = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModel
|
32
|
+
NamespaceJunction = Azure::StorageCache::Mgmt::V2020_03_01::Models::NamespaceJunction
|
33
|
+
UsageModelDisplay = Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelDisplay
|
34
|
+
CloudErrorBody = Azure::StorageCache::Mgmt::V2020_03_01::Models::CloudErrorBody
|
35
|
+
StorageTargetsResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetsResult
|
36
|
+
CacheEncryptionSettings = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheEncryptionSettings
|
37
|
+
ResourceSkuCapabilities = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuCapabilities
|
38
|
+
CachesListResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::CachesListResult
|
39
|
+
ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuLocationInfo
|
40
|
+
KeyVaultKeyReferenceSourceVault = Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReferenceSourceVault
|
41
|
+
Restriction = Azure::StorageCache::Mgmt::V2020_03_01::Models::Restriction
|
42
|
+
ApiOperation = Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperation
|
43
|
+
ResourceSku = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSku
|
44
|
+
CacheSku = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSku
|
45
|
+
ResourceSkusResult = Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkusResult
|
46
|
+
StorageTarget = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTarget
|
47
|
+
Nfs3TargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3TargetProperties
|
48
|
+
ClfsTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
|
49
|
+
UnknownTargetProperties = Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTargetProperties
|
50
|
+
CacheIdentityType = Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentityType
|
51
|
+
HealthStateType = Azure::StorageCache::Mgmt::V2020_03_01::Models::HealthStateType
|
52
|
+
ProvisioningStateType = Azure::StorageCache::Mgmt::V2020_03_01::Models::ProvisioningStateType
|
53
|
+
FirmwareStatusType = Azure::StorageCache::Mgmt::V2020_03_01::Models::FirmwareStatusType
|
54
|
+
StorageTargetType = Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetType
|
55
|
+
ReasonCode = Azure::StorageCache::Mgmt::V2020_03_01::Models::ReasonCode
|
45
56
|
end
|
46
57
|
|
47
58
|
#
|
@@ -63,7 +74,7 @@ module Azure::StorageCache::Profiles::Latest
|
|
63
74
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
64
75
|
@options = options[:options].nil? ? nil:options[:options]
|
65
76
|
|
66
|
-
@client_0 = Azure::StorageCache::Mgmt::
|
77
|
+
@client_0 = Azure::StorageCache::Mgmt::V2020_03_01::StorageCacheManagementClient.new(configurable.credentials, base_url, options)
|
67
78
|
if(@client_0.respond_to?(:subscription_id))
|
68
79
|
@client_0.subscription_id = configurable.subscription_id
|
69
80
|
end
|
@@ -93,92 +104,125 @@ module Azure::StorageCache::Profiles::Latest
|
|
93
104
|
end
|
94
105
|
|
95
106
|
class ModelClasses
|
107
|
+
def nfs3_target
|
108
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3Target
|
109
|
+
end
|
110
|
+
def api_operation_display
|
111
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationDisplay
|
112
|
+
end
|
96
113
|
def clfs_target
|
97
|
-
Azure::StorageCache::Mgmt::
|
114
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTarget
|
115
|
+
end
|
116
|
+
def api_operation_list_result
|
117
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperationListResult
|
98
118
|
end
|
99
119
|
def unknown_target
|
100
|
-
Azure::StorageCache::Mgmt::
|
120
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTarget
|
101
121
|
end
|
102
|
-
def
|
103
|
-
Azure::StorageCache::Mgmt::
|
122
|
+
def storage_target_properties
|
123
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetProperties
|
104
124
|
end
|
105
|
-
def
|
106
|
-
Azure::StorageCache::Mgmt::
|
125
|
+
def cache_health
|
126
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheHealth
|
107
127
|
end
|
108
|
-
def
|
109
|
-
Azure::StorageCache::Mgmt::
|
128
|
+
def cache_identity
|
129
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentity
|
110
130
|
end
|
111
|
-
def
|
112
|
-
Azure::StorageCache::Mgmt::
|
131
|
+
def cache_network_settings
|
132
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheNetworkSettings
|
113
133
|
end
|
114
|
-
def
|
115
|
-
Azure::StorageCache::Mgmt::
|
134
|
+
def cache_upgrade_status
|
135
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheUpgradeStatus
|
116
136
|
end
|
117
|
-
def
|
118
|
-
Azure::StorageCache::Mgmt::
|
137
|
+
def key_vault_key_reference
|
138
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReference
|
119
139
|
end
|
120
|
-
def
|
121
|
-
Azure::StorageCache::Mgmt::
|
140
|
+
def usage_models_result
|
141
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelsResult
|
122
142
|
end
|
123
|
-
def
|
124
|
-
Azure::StorageCache::Mgmt::
|
143
|
+
def cache_security_settings
|
144
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSecuritySettings
|
125
145
|
end
|
126
|
-
def
|
127
|
-
Azure::StorageCache::Mgmt::
|
146
|
+
def storage_target_resource
|
147
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetResource
|
128
148
|
end
|
129
|
-
def
|
130
|
-
Azure::StorageCache::Mgmt::
|
149
|
+
def cache
|
150
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::Cache
|
131
151
|
end
|
132
|
-
def
|
133
|
-
Azure::StorageCache::Mgmt::
|
152
|
+
def usage_model
|
153
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModel
|
134
154
|
end
|
135
155
|
def namespace_junction
|
136
|
-
Azure::StorageCache::Mgmt::
|
137
|
-
end
|
138
|
-
def cloud_error
|
139
|
-
Azure::StorageCache::Mgmt::V2019_11_01::Models::CloudError
|
156
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::NamespaceJunction
|
140
157
|
end
|
141
|
-
def
|
142
|
-
Azure::StorageCache::Mgmt::
|
158
|
+
def usage_model_display
|
159
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::UsageModelDisplay
|
143
160
|
end
|
144
|
-
def
|
145
|
-
Azure::StorageCache::Mgmt::
|
161
|
+
def cloud_error_body
|
162
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CloudErrorBody
|
146
163
|
end
|
147
164
|
def storage_targets_result
|
148
|
-
Azure::StorageCache::Mgmt::
|
165
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetsResult
|
149
166
|
end
|
150
|
-
def
|
151
|
-
Azure::StorageCache::Mgmt::
|
167
|
+
def cache_encryption_settings
|
168
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheEncryptionSettings
|
152
169
|
end
|
153
|
-
def
|
154
|
-
Azure::StorageCache::Mgmt::
|
170
|
+
def resource_sku_capabilities
|
171
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuCapabilities
|
155
172
|
end
|
156
|
-
def
|
157
|
-
Azure::StorageCache::Mgmt::
|
173
|
+
def caches_list_result
|
174
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CachesListResult
|
158
175
|
end
|
159
|
-
def
|
160
|
-
Azure::StorageCache::Mgmt::
|
176
|
+
def resource_sku_location_info
|
177
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkuLocationInfo
|
161
178
|
end
|
162
|
-
def
|
163
|
-
Azure::StorageCache::Mgmt::
|
179
|
+
def key_vault_key_reference_source_vault
|
180
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::KeyVaultKeyReferenceSourceVault
|
164
181
|
end
|
165
|
-
def
|
166
|
-
Azure::StorageCache::Mgmt::
|
182
|
+
def restriction
|
183
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::Restriction
|
184
|
+
end
|
185
|
+
def api_operation
|
186
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ApiOperation
|
187
|
+
end
|
188
|
+
def resource_sku
|
189
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSku
|
190
|
+
end
|
191
|
+
def cache_sku
|
192
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheSku
|
193
|
+
end
|
194
|
+
def resource_skus_result
|
195
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ResourceSkusResult
|
196
|
+
end
|
197
|
+
def storage_target
|
198
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTarget
|
199
|
+
end
|
200
|
+
def nfs3_target_properties
|
201
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::Nfs3TargetProperties
|
202
|
+
end
|
203
|
+
def clfs_target_properties
|
204
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ClfsTargetProperties
|
205
|
+
end
|
206
|
+
def unknown_target_properties
|
207
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::UnknownTargetProperties
|
208
|
+
end
|
209
|
+
def cache_identity_type
|
210
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::CacheIdentityType
|
167
211
|
end
|
168
212
|
def health_state_type
|
169
|
-
Azure::StorageCache::Mgmt::
|
213
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::HealthStateType
|
170
214
|
end
|
171
215
|
def provisioning_state_type
|
172
|
-
Azure::StorageCache::Mgmt::
|
216
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ProvisioningStateType
|
173
217
|
end
|
174
218
|
def firmware_status_type
|
175
|
-
Azure::StorageCache::Mgmt::
|
176
|
-
end
|
177
|
-
def reason_code
|
178
|
-
Azure::StorageCache::Mgmt::V2019_11_01::Models::ReasonCode
|
219
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::FirmwareStatusType
|
179
220
|
end
|
180
221
|
def storage_target_type
|
181
|
-
Azure::StorageCache::Mgmt::
|
222
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTargetType
|
223
|
+
end
|
224
|
+
def reason_code
|
225
|
+
Azure::StorageCache::Mgmt::V2020_03_01::Models::ReasonCode
|
182
226
|
end
|
183
227
|
end
|
184
228
|
end
|