azure_mgmt_storagecache 0.17.0 → 0.19.1
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 +1 -2
- 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 +60 -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-08-01-preview/generated/azure_mgmt_storagecache/models/cloud_error.rb → 2019-11-01/generated/azure_mgmt_storagecache/models/cache_sku.rb} +11 -12
- 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_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/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/2020-03-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
- 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/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- 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/2020-10-01/generated/azure_mgmt_storagecache.rb +92 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/asc_operations.rb +127 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/caches.rb +1580 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb +95 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +80 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb +121 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb +264 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb +124 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings_credentials.rb +61 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_directory_settings.rb +62 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +56 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings.rb +186 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb +61 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/created_by_type.rb +18 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/domain_joined_type.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/error_response.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_aggregation_type.rb +21 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_dimension.rb +79 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_specification.rb +140 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +79 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_policy.rb +69 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule.rb +139 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_access.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_scope.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target.rb +163 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +119 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +97 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/system_data.rb +105 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +102 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_downloaded_type.rb +17 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_source.rb +18 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +157 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_targets.rb +691 -0
- data/lib/2020-10-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
- data/lib/azure_mgmt_storagecache.rb +3 -0
- data/lib/profiles/latest/modules/storagecache_profile_module.rb +208 -86
- data/lib/version.rb +1 -1
- metadata +158 -7
@@ -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_10_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_10_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_10_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,8 @@
|
|
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 '2020-10-01/generated/azure_mgmt_storagecache'
|
6
|
+
require '2019-11-01/generated/azure_mgmt_storagecache'
|
7
|
+
require '2020-03-01/generated/azure_mgmt_storagecache'
|
5
8
|
require '2019-08-01-preview/generated/azure_mgmt_storagecache'
|
6
9
|
require 'profiles/latest/storagecache_latest_profile_client'
|
@@ -6,49 +6,80 @@ 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
|
-
|
13
|
-
|
9
|
+
Operations = Azure::StorageCache::Mgmt::V2020_10_01::Operations
|
10
|
+
Skus = Azure::StorageCache::Mgmt::V2020_10_01::Skus
|
11
|
+
UsageModels = Azure::StorageCache::Mgmt::V2020_10_01::UsageModels
|
12
|
+
AscOperations = Azure::StorageCache::Mgmt::V2020_10_01::AscOperations
|
13
|
+
Caches = Azure::StorageCache::Mgmt::V2020_10_01::Caches
|
14
|
+
StorageTargets = Azure::StorageCache::Mgmt::V2020_10_01::StorageTargets
|
14
15
|
|
15
16
|
module Models
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
17
|
+
CacheUsernameDownloadSettingsCredentials = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUsernameDownloadSettingsCredentials
|
18
|
+
CacheUsernameDownloadSettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUsernameDownloadSettings
|
19
|
+
MetricDimension = Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricDimension
|
20
|
+
CacheDirectorySettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheDirectorySettings
|
21
|
+
ApiOperationPropertiesServiceSpecification = Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationPropertiesServiceSpecification
|
22
|
+
CacheSku = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheSku
|
23
|
+
ApiOperationListResult = Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationListResult
|
24
|
+
Cache = Azure::StorageCache::Mgmt::V2020_10_01::Models::Cache
|
25
|
+
CachesListResult = Azure::StorageCache::Mgmt::V2020_10_01::Models::CachesListResult
|
26
|
+
AscOperation = Azure::StorageCache::Mgmt::V2020_10_01::Models::AscOperation
|
27
|
+
NamespaceJunction = Azure::StorageCache::Mgmt::V2020_10_01::Models::NamespaceJunction
|
28
|
+
SystemData = Azure::StorageCache::Mgmt::V2020_10_01::Models::SystemData
|
29
|
+
Nfs3Target = Azure::StorageCache::Mgmt::V2020_10_01::Models::Nfs3Target
|
30
|
+
CacheUpgradeStatus = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUpgradeStatus
|
31
|
+
ClfsTarget = Azure::StorageCache::Mgmt::V2020_10_01::Models::ClfsTarget
|
32
|
+
KeyVaultKeyReferenceSourceVault = Azure::StorageCache::Mgmt::V2020_10_01::Models::KeyVaultKeyReferenceSourceVault
|
33
|
+
UnknownTarget = Azure::StorageCache::Mgmt::V2020_10_01::Models::UnknownTarget
|
34
|
+
CacheEncryptionSettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheEncryptionSettings
|
35
|
+
StorageTargetProperties = Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetProperties
|
36
|
+
NfsAccessPolicy = Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessPolicy
|
37
|
+
NfsAccessRule = Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRule
|
38
|
+
CacheActiveDirectorySettingsCredentials = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheActiveDirectorySettingsCredentials
|
39
|
+
CacheSecuritySettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheSecuritySettings
|
40
|
+
ApiOperationDisplay = Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationDisplay
|
41
|
+
UsageModelsResult = Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModelsResult
|
42
|
+
ApiOperation = Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperation
|
43
|
+
StorageTargetResource = Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetResource
|
44
|
+
ErrorResponse = Azure::StorageCache::Mgmt::V2020_10_01::Models::ErrorResponse
|
45
|
+
UsageModel = Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModel
|
46
|
+
CacheHealth = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheHealth
|
47
|
+
UsageModelDisplay = Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModelDisplay
|
48
|
+
KeyVaultKeyReference = Azure::StorageCache::Mgmt::V2020_10_01::Models::KeyVaultKeyReference
|
49
|
+
StorageTargetsResult = Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetsResult
|
50
|
+
MetricSpecification = Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricSpecification
|
51
|
+
ResourceSkuCapabilities = Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuCapabilities
|
52
|
+
CacheIdentity = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheIdentity
|
53
|
+
ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuLocationInfo
|
54
|
+
CacheActiveDirectorySettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheActiveDirectorySettings
|
55
|
+
Restriction = Azure::StorageCache::Mgmt::V2020_10_01::Models::Restriction
|
56
|
+
CacheNetworkSettings = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheNetworkSettings
|
57
|
+
ResourceSku = Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSku
|
58
|
+
CloudErrorBody = Azure::StorageCache::Mgmt::V2020_10_01::Models::CloudErrorBody
|
59
|
+
ResourceSkusResult = Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkusResult
|
60
|
+
StorageTarget = Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTarget
|
61
|
+
Nfs3TargetProperties = Azure::StorageCache::Mgmt::V2020_10_01::Models::Nfs3TargetProperties
|
62
|
+
ClfsTargetProperties = Azure::StorageCache::Mgmt::V2020_10_01::Models::ClfsTargetProperties
|
63
|
+
UnknownTargetProperties = Azure::StorageCache::Mgmt::V2020_10_01::Models::UnknownTargetProperties
|
64
|
+
MetricAggregationType = Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricAggregationType
|
65
|
+
CacheIdentityType = Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheIdentityType
|
66
|
+
CreatedByType = Azure::StorageCache::Mgmt::V2020_10_01::Models::CreatedByType
|
67
|
+
HealthStateType = Azure::StorageCache::Mgmt::V2020_10_01::Models::HealthStateType
|
68
|
+
ProvisioningStateType = Azure::StorageCache::Mgmt::V2020_10_01::Models::ProvisioningStateType
|
69
|
+
FirmwareStatusType = Azure::StorageCache::Mgmt::V2020_10_01::Models::FirmwareStatusType
|
70
|
+
NfsAccessRuleScope = Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleScope
|
71
|
+
NfsAccessRuleAccess = Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleAccess
|
72
|
+
DomainJoinedType = Azure::StorageCache::Mgmt::V2020_10_01::Models::DomainJoinedType
|
73
|
+
UsernameSource = Azure::StorageCache::Mgmt::V2020_10_01::Models::UsernameSource
|
74
|
+
UsernameDownloadedType = Azure::StorageCache::Mgmt::V2020_10_01::Models::UsernameDownloadedType
|
75
|
+
ReasonCode = Azure::StorageCache::Mgmt::V2020_10_01::Models::ReasonCode
|
45
76
|
end
|
46
77
|
|
47
78
|
#
|
48
79
|
# StorageCacheManagementClass
|
49
80
|
#
|
50
81
|
class StorageCacheManagementClass
|
51
|
-
attr_reader :operations, :skus, :usage_models, :caches, :storage_targets, :configurable, :base_url, :options, :model_classes
|
82
|
+
attr_reader :operations, :skus, :usage_models, :asc_operations, :caches, :storage_targets, :configurable, :base_url, :options, :model_classes
|
52
83
|
|
53
84
|
def initialize(options = {})
|
54
85
|
if options.is_a?(Hash) && options.length == 0
|
@@ -63,7 +94,7 @@ module Azure::StorageCache::Profiles::Latest
|
|
63
94
|
@base_url = options[:base_url].nil? ? nil:options[:base_url]
|
64
95
|
@options = options[:options].nil? ? nil:options[:options]
|
65
96
|
|
66
|
-
@client_0 = Azure::StorageCache::Mgmt::
|
97
|
+
@client_0 = Azure::StorageCache::Mgmt::V2020_10_01::StorageCacheManagementClient.new(configurable.credentials, base_url, options)
|
67
98
|
if(@client_0.respond_to?(:subscription_id))
|
68
99
|
@client_0.subscription_id = configurable.subscription_id
|
69
100
|
end
|
@@ -71,6 +102,7 @@ module Azure::StorageCache::Profiles::Latest
|
|
71
102
|
@operations = @client_0.operations
|
72
103
|
@skus = @client_0.skus
|
73
104
|
@usage_models = @client_0.usage_models
|
105
|
+
@asc_operations = @client_0.asc_operations
|
74
106
|
@caches = @client_0.caches
|
75
107
|
@storage_targets = @client_0.storage_targets
|
76
108
|
|
@@ -93,92 +125,182 @@ module Azure::StorageCache::Profiles::Latest
|
|
93
125
|
end
|
94
126
|
|
95
127
|
class ModelClasses
|
128
|
+
def cache_username_download_settings_credentials
|
129
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUsernameDownloadSettingsCredentials
|
130
|
+
end
|
131
|
+
def cache_username_download_settings
|
132
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUsernameDownloadSettings
|
133
|
+
end
|
134
|
+
def metric_dimension
|
135
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricDimension
|
136
|
+
end
|
137
|
+
def cache_directory_settings
|
138
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheDirectorySettings
|
139
|
+
end
|
140
|
+
def api_operation_properties_service_specification
|
141
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationPropertiesServiceSpecification
|
142
|
+
end
|
143
|
+
def cache_sku
|
144
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheSku
|
145
|
+
end
|
146
|
+
def api_operation_list_result
|
147
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationListResult
|
148
|
+
end
|
149
|
+
def cache
|
150
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::Cache
|
151
|
+
end
|
152
|
+
def caches_list_result
|
153
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CachesListResult
|
154
|
+
end
|
155
|
+
def asc_operation
|
156
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::AscOperation
|
157
|
+
end
|
158
|
+
def namespace_junction
|
159
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::NamespaceJunction
|
160
|
+
end
|
161
|
+
def system_data
|
162
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::SystemData
|
163
|
+
end
|
164
|
+
def nfs3_target
|
165
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::Nfs3Target
|
166
|
+
end
|
167
|
+
def cache_upgrade_status
|
168
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheUpgradeStatus
|
169
|
+
end
|
96
170
|
def clfs_target
|
97
|
-
Azure::StorageCache::Mgmt::
|
171
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ClfsTarget
|
172
|
+
end
|
173
|
+
def key_vault_key_reference_source_vault
|
174
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::KeyVaultKeyReferenceSourceVault
|
98
175
|
end
|
99
176
|
def unknown_target
|
100
|
-
Azure::StorageCache::Mgmt::
|
177
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UnknownTarget
|
178
|
+
end
|
179
|
+
def cache_encryption_settings
|
180
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheEncryptionSettings
|
181
|
+
end
|
182
|
+
def storage_target_properties
|
183
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetProperties
|
184
|
+
end
|
185
|
+
def nfs_access_policy
|
186
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessPolicy
|
187
|
+
end
|
188
|
+
def nfs_access_rule
|
189
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRule
|
190
|
+
end
|
191
|
+
def cache_active_directory_settings_credentials
|
192
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheActiveDirectorySettingsCredentials
|
193
|
+
end
|
194
|
+
def cache_security_settings
|
195
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheSecuritySettings
|
196
|
+
end
|
197
|
+
def api_operation_display
|
198
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperationDisplay
|
199
|
+
end
|
200
|
+
def usage_models_result
|
201
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModelsResult
|
101
202
|
end
|
102
203
|
def api_operation
|
103
|
-
Azure::StorageCache::Mgmt::
|
204
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ApiOperation
|
205
|
+
end
|
206
|
+
def storage_target_resource
|
207
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetResource
|
208
|
+
end
|
209
|
+
def error_response
|
210
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ErrorResponse
|
211
|
+
end
|
212
|
+
def usage_model
|
213
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModel
|
214
|
+
end
|
215
|
+
def cache_health
|
216
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheHealth
|
217
|
+
end
|
218
|
+
def usage_model_display
|
219
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UsageModelDisplay
|
220
|
+
end
|
221
|
+
def key_vault_key_reference
|
222
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::KeyVaultKeyReference
|
223
|
+
end
|
224
|
+
def storage_targets_result
|
225
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetsResult
|
226
|
+
end
|
227
|
+
def metric_specification
|
228
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricSpecification
|
104
229
|
end
|
105
230
|
def resource_sku_capabilities
|
106
|
-
Azure::StorageCache::Mgmt::
|
231
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuCapabilities
|
107
232
|
end
|
108
|
-
def
|
109
|
-
Azure::StorageCache::Mgmt::
|
233
|
+
def cache_identity
|
234
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheIdentity
|
110
235
|
end
|
111
236
|
def resource_sku_location_info
|
112
|
-
Azure::StorageCache::Mgmt::
|
237
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuLocationInfo
|
113
238
|
end
|
114
|
-
def
|
115
|
-
Azure::StorageCache::Mgmt::
|
239
|
+
def cache_active_directory_settings
|
240
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheActiveDirectorySettings
|
116
241
|
end
|
117
242
|
def restriction
|
118
|
-
Azure::StorageCache::Mgmt::
|
243
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::Restriction
|
119
244
|
end
|
120
|
-
def
|
121
|
-
Azure::StorageCache::Mgmt::
|
245
|
+
def cache_network_settings
|
246
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheNetworkSettings
|
122
247
|
end
|
123
248
|
def resource_sku
|
124
|
-
Azure::StorageCache::Mgmt::
|
249
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSku
|
125
250
|
end
|
126
|
-
def
|
127
|
-
Azure::StorageCache::Mgmt::
|
251
|
+
def cloud_error_body
|
252
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CloudErrorBody
|
128
253
|
end
|
129
254
|
def resource_skus_result
|
130
|
-
Azure::StorageCache::Mgmt::
|
255
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkusResult
|
131
256
|
end
|
132
|
-
def
|
133
|
-
Azure::StorageCache::Mgmt::
|
257
|
+
def storage_target
|
258
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTarget
|
134
259
|
end
|
135
|
-
def
|
136
|
-
Azure::StorageCache::Mgmt::
|
260
|
+
def nfs3_target_properties
|
261
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::Nfs3TargetProperties
|
137
262
|
end
|
138
|
-
def
|
139
|
-
Azure::StorageCache::Mgmt::
|
263
|
+
def clfs_target_properties
|
264
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ClfsTargetProperties
|
140
265
|
end
|
141
|
-
def
|
142
|
-
Azure::StorageCache::Mgmt::
|
266
|
+
def unknown_target_properties
|
267
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UnknownTargetProperties
|
143
268
|
end
|
144
|
-
def
|
145
|
-
Azure::StorageCache::Mgmt::
|
269
|
+
def metric_aggregation_type
|
270
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricAggregationType
|
146
271
|
end
|
147
|
-
def
|
148
|
-
Azure::StorageCache::Mgmt::
|
272
|
+
def cache_identity_type
|
273
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheIdentityType
|
149
274
|
end
|
150
|
-
def
|
151
|
-
Azure::StorageCache::Mgmt::
|
275
|
+
def created_by_type
|
276
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::CreatedByType
|
152
277
|
end
|
153
|
-
def
|
154
|
-
Azure::StorageCache::Mgmt::
|
278
|
+
def health_state_type
|
279
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::HealthStateType
|
155
280
|
end
|
156
|
-
def
|
157
|
-
Azure::StorageCache::Mgmt::
|
281
|
+
def provisioning_state_type
|
282
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ProvisioningStateType
|
158
283
|
end
|
159
|
-
def
|
160
|
-
Azure::StorageCache::Mgmt::
|
284
|
+
def firmware_status_type
|
285
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::FirmwareStatusType
|
161
286
|
end
|
162
|
-
def
|
163
|
-
Azure::StorageCache::Mgmt::
|
287
|
+
def nfs_access_rule_scope
|
288
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleScope
|
164
289
|
end
|
165
|
-
def
|
166
|
-
Azure::StorageCache::Mgmt::
|
290
|
+
def nfs_access_rule_access
|
291
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleAccess
|
167
292
|
end
|
168
|
-
def
|
169
|
-
Azure::StorageCache::Mgmt::
|
293
|
+
def domain_joined_type
|
294
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::DomainJoinedType
|
170
295
|
end
|
171
|
-
def
|
172
|
-
Azure::StorageCache::Mgmt::
|
296
|
+
def username_source
|
297
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UsernameSource
|
173
298
|
end
|
174
|
-
def
|
175
|
-
Azure::StorageCache::Mgmt::
|
299
|
+
def username_downloaded_type
|
300
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::UsernameDownloadedType
|
176
301
|
end
|
177
302
|
def reason_code
|
178
|
-
Azure::StorageCache::Mgmt::
|
179
|
-
end
|
180
|
-
def storage_target_type
|
181
|
-
Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTargetType
|
303
|
+
Azure::StorageCache::Mgmt::V2020_10_01::Models::ReasonCode
|
182
304
|
end
|
183
305
|
end
|
184
306
|
end
|