azure_mgmt_storagecache 0.17.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/caches.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/operations.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/skus.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/{storage_cache_mgmt_client.rb → storage_cache_management_client.rb} +8 -4
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_targets.rb +1 -1
- data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/usage_models.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_storagecache.rb +61 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/caches.rb +1477 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache.rb +188 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error.rb +47 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
- data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_targets.rb +670 -0
- data/lib/2019-11-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 +64 -64
- data/lib/version.rb +1 -1
- metadata +40 -3
@@ -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::V2019_11_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::V2019_11_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::V2019_11_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
|
@@ -2,5 +2,6 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
+
require '2019-11-01/generated/azure_mgmt_storagecache'
|
5
6
|
require '2019-08-01-preview/generated/azure_mgmt_storagecache'
|
6
7
|
require 'profiles/latest/storagecache_latest_profile_client'
|
@@ -6,42 +6,42 @@ 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::V2019_11_01::Operations
|
10
|
+
Skus = Azure::StorageCache::Mgmt::V2019_11_01::Skus
|
11
|
+
UsageModels = Azure::StorageCache::Mgmt::V2019_11_01::UsageModels
|
12
|
+
Caches = Azure::StorageCache::Mgmt::V2019_11_01::Caches
|
13
|
+
StorageTargets = Azure::StorageCache::Mgmt::V2019_11_01::StorageTargets
|
14
14
|
|
15
15
|
module Models
|
16
|
-
ClfsTarget = Azure::StorageCache::Mgmt::
|
17
|
-
UnknownTarget = Azure::StorageCache::Mgmt::
|
18
|
-
ApiOperation = Azure::StorageCache::Mgmt::
|
19
|
-
ResourceSkuCapabilities = Azure::StorageCache::Mgmt::
|
20
|
-
CloudErrorBody = Azure::StorageCache::Mgmt::
|
21
|
-
ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::
|
22
|
-
CacheHealth = Azure::StorageCache::Mgmt::
|
23
|
-
Restriction = Azure::StorageCache::Mgmt::
|
24
|
-
CacheSku = Azure::StorageCache::Mgmt::
|
25
|
-
ResourceSku = Azure::StorageCache::Mgmt::
|
26
|
-
CachesListResult = Azure::StorageCache::Mgmt::
|
27
|
-
ResourceSkusResult = Azure::StorageCache::Mgmt::
|
28
|
-
ApiOperationDisplay = Azure::StorageCache::Mgmt::
|
29
|
-
NamespaceJunction = Azure::StorageCache::Mgmt::
|
30
|
-
CloudError = Azure::StorageCache::Mgmt::
|
31
|
-
StorageTarget = Azure::StorageCache::Mgmt::
|
32
|
-
Cache = Azure::StorageCache::Mgmt::
|
33
|
-
StorageTargetsResult = Azure::StorageCache::Mgmt::
|
34
|
-
ApiOperationListResult = Azure::StorageCache::Mgmt::
|
35
|
-
UsageModelDisplay = Azure::StorageCache::Mgmt::
|
36
|
-
Nfs3Target = Azure::StorageCache::Mgmt::
|
37
|
-
UsageModel = Azure::StorageCache::Mgmt::
|
38
|
-
CacheUpgradeStatus = Azure::StorageCache::Mgmt::
|
39
|
-
UsageModelsResult = Azure::StorageCache::Mgmt::
|
40
|
-
HealthStateType = Azure::StorageCache::Mgmt::
|
41
|
-
ProvisioningStateType = Azure::StorageCache::Mgmt::
|
42
|
-
FirmwareStatusType = Azure::StorageCache::Mgmt::
|
43
|
-
ReasonCode = Azure::StorageCache::Mgmt::
|
44
|
-
StorageTargetType = Azure::StorageCache::Mgmt::
|
16
|
+
ClfsTarget = Azure::StorageCache::Mgmt::V2019_11_01::Models::ClfsTarget
|
17
|
+
UnknownTarget = Azure::StorageCache::Mgmt::V2019_11_01::Models::UnknownTarget
|
18
|
+
ApiOperation = Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperation
|
19
|
+
ResourceSkuCapabilities = Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkuCapabilities
|
20
|
+
CloudErrorBody = Azure::StorageCache::Mgmt::V2019_11_01::Models::CloudErrorBody
|
21
|
+
ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkuLocationInfo
|
22
|
+
CacheHealth = Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheHealth
|
23
|
+
Restriction = Azure::StorageCache::Mgmt::V2019_11_01::Models::Restriction
|
24
|
+
CacheSku = Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheSku
|
25
|
+
ResourceSku = Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSku
|
26
|
+
CachesListResult = Azure::StorageCache::Mgmt::V2019_11_01::Models::CachesListResult
|
27
|
+
ResourceSkusResult = Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkusResult
|
28
|
+
ApiOperationDisplay = Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperationDisplay
|
29
|
+
NamespaceJunction = Azure::StorageCache::Mgmt::V2019_11_01::Models::NamespaceJunction
|
30
|
+
CloudError = Azure::StorageCache::Mgmt::V2019_11_01::Models::CloudError
|
31
|
+
StorageTarget = Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTarget
|
32
|
+
Cache = Azure::StorageCache::Mgmt::V2019_11_01::Models::Cache
|
33
|
+
StorageTargetsResult = Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTargetsResult
|
34
|
+
ApiOperationListResult = Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperationListResult
|
35
|
+
UsageModelDisplay = Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModelDisplay
|
36
|
+
Nfs3Target = Azure::StorageCache::Mgmt::V2019_11_01::Models::Nfs3Target
|
37
|
+
UsageModel = Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModel
|
38
|
+
CacheUpgradeStatus = Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheUpgradeStatus
|
39
|
+
UsageModelsResult = Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModelsResult
|
40
|
+
HealthStateType = Azure::StorageCache::Mgmt::V2019_11_01::Models::HealthStateType
|
41
|
+
ProvisioningStateType = Azure::StorageCache::Mgmt::V2019_11_01::Models::ProvisioningStateType
|
42
|
+
FirmwareStatusType = Azure::StorageCache::Mgmt::V2019_11_01::Models::FirmwareStatusType
|
43
|
+
ReasonCode = Azure::StorageCache::Mgmt::V2019_11_01::Models::ReasonCode
|
44
|
+
StorageTargetType = Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTargetType
|
45
45
|
end
|
46
46
|
|
47
47
|
#
|
@@ -63,7 +63,7 @@ module Azure::StorageCache::Profiles::Latest
|
|
63
63
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
64
64
|
@options = options[:options].nil? ? nil:options[:options]
|
65
65
|
|
66
|
-
@client_0 = Azure::StorageCache::Mgmt::
|
66
|
+
@client_0 = Azure::StorageCache::Mgmt::V2019_11_01::StorageCacheManagementClient.new(configurable.credentials, base_url, options)
|
67
67
|
if(@client_0.respond_to?(:subscription_id))
|
68
68
|
@client_0.subscription_id = configurable.subscription_id
|
69
69
|
end
|
@@ -94,91 +94,91 @@ module Azure::StorageCache::Profiles::Latest
|
|
94
94
|
|
95
95
|
class ModelClasses
|
96
96
|
def clfs_target
|
97
|
-
Azure::StorageCache::Mgmt::
|
97
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ClfsTarget
|
98
98
|
end
|
99
99
|
def unknown_target
|
100
|
-
Azure::StorageCache::Mgmt::
|
100
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::UnknownTarget
|
101
101
|
end
|
102
102
|
def api_operation
|
103
|
-
Azure::StorageCache::Mgmt::
|
103
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperation
|
104
104
|
end
|
105
105
|
def resource_sku_capabilities
|
106
|
-
Azure::StorageCache::Mgmt::
|
106
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkuCapabilities
|
107
107
|
end
|
108
108
|
def cloud_error_body
|
109
|
-
Azure::StorageCache::Mgmt::
|
109
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CloudErrorBody
|
110
110
|
end
|
111
111
|
def resource_sku_location_info
|
112
|
-
Azure::StorageCache::Mgmt::
|
112
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkuLocationInfo
|
113
113
|
end
|
114
114
|
def cache_health
|
115
|
-
Azure::StorageCache::Mgmt::
|
115
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheHealth
|
116
116
|
end
|
117
117
|
def restriction
|
118
|
-
Azure::StorageCache::Mgmt::
|
118
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::Restriction
|
119
119
|
end
|
120
120
|
def cache_sku
|
121
|
-
Azure::StorageCache::Mgmt::
|
121
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheSku
|
122
122
|
end
|
123
123
|
def resource_sku
|
124
|
-
Azure::StorageCache::Mgmt::
|
124
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSku
|
125
125
|
end
|
126
126
|
def caches_list_result
|
127
|
-
Azure::StorageCache::Mgmt::
|
127
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CachesListResult
|
128
128
|
end
|
129
129
|
def resource_skus_result
|
130
|
-
Azure::StorageCache::Mgmt::
|
130
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ResourceSkusResult
|
131
131
|
end
|
132
132
|
def api_operation_display
|
133
|
-
Azure::StorageCache::Mgmt::
|
133
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperationDisplay
|
134
134
|
end
|
135
135
|
def namespace_junction
|
136
|
-
Azure::StorageCache::Mgmt::
|
136
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::NamespaceJunction
|
137
137
|
end
|
138
138
|
def cloud_error
|
139
|
-
Azure::StorageCache::Mgmt::
|
139
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CloudError
|
140
140
|
end
|
141
141
|
def storage_target
|
142
|
-
Azure::StorageCache::Mgmt::
|
142
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTarget
|
143
143
|
end
|
144
144
|
def cache
|
145
|
-
Azure::StorageCache::Mgmt::
|
145
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::Cache
|
146
146
|
end
|
147
147
|
def storage_targets_result
|
148
|
-
Azure::StorageCache::Mgmt::
|
148
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTargetsResult
|
149
149
|
end
|
150
150
|
def api_operation_list_result
|
151
|
-
Azure::StorageCache::Mgmt::
|
151
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ApiOperationListResult
|
152
152
|
end
|
153
153
|
def usage_model_display
|
154
|
-
Azure::StorageCache::Mgmt::
|
154
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModelDisplay
|
155
155
|
end
|
156
156
|
def nfs3_target
|
157
|
-
Azure::StorageCache::Mgmt::
|
157
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::Nfs3Target
|
158
158
|
end
|
159
159
|
def usage_model
|
160
|
-
Azure::StorageCache::Mgmt::
|
160
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModel
|
161
161
|
end
|
162
162
|
def cache_upgrade_status
|
163
|
-
Azure::StorageCache::Mgmt::
|
163
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::CacheUpgradeStatus
|
164
164
|
end
|
165
165
|
def usage_models_result
|
166
|
-
Azure::StorageCache::Mgmt::
|
166
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::UsageModelsResult
|
167
167
|
end
|
168
168
|
def health_state_type
|
169
|
-
Azure::StorageCache::Mgmt::
|
169
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::HealthStateType
|
170
170
|
end
|
171
171
|
def provisioning_state_type
|
172
|
-
Azure::StorageCache::Mgmt::
|
172
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ProvisioningStateType
|
173
173
|
end
|
174
174
|
def firmware_status_type
|
175
|
-
Azure::StorageCache::Mgmt::
|
175
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::FirmwareStatusType
|
176
176
|
end
|
177
177
|
def reason_code
|
178
|
-
Azure::StorageCache::Mgmt::
|
178
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::ReasonCode
|
179
179
|
end
|
180
180
|
def storage_target_type
|
181
|
-
Azure::StorageCache::Mgmt::
|
181
|
+
Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTargetType
|
182
182
|
end
|
183
183
|
end
|
184
184
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_storagecache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -121,9 +121,46 @@ files:
|
|
121
121
|
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/module_definition.rb
|
122
122
|
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/operations.rb
|
123
123
|
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/skus.rb
|
124
|
-
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/
|
124
|
+
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_cache_management_client.rb
|
125
125
|
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_targets.rb
|
126
126
|
- lib/2019-08-01-preview/generated/azure_mgmt_storagecache/usage_models.rb
|
127
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache.rb
|
128
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/caches.rb
|
129
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation.rb
|
130
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb
|
131
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb
|
132
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache.rb
|
133
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb
|
134
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_sku.rb
|
135
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb
|
136
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb
|
137
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/clfs_target.rb
|
138
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error.rb
|
139
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb
|
140
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb
|
141
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/health_state_type.rb
|
142
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb
|
143
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb
|
144
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb
|
145
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/reason_code.rb
|
146
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb
|
147
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb
|
148
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb
|
149
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb
|
150
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/restriction.rb
|
151
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb
|
152
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb
|
153
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb
|
154
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/unknown_target.rb
|
155
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb
|
156
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb
|
157
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb
|
158
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/module_definition.rb
|
159
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/operations.rb
|
160
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/skus.rb
|
161
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb
|
162
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/storage_targets.rb
|
163
|
+
- lib/2019-11-01/generated/azure_mgmt_storagecache/usage_models.rb
|
127
164
|
- lib/azure_mgmt_storagecache.rb
|
128
165
|
- lib/module_definition.rb
|
129
166
|
- lib/profiles/latest/modules/storagecache_profile_module.rb
|