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.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache.rb +1 -2
  3. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/caches.rb +1 -1
  4. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/operations.rb +1 -1
  5. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/skus.rb +1 -1
  6. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/{storage_cache_mgmt_client.rb → storage_cache_management_client.rb} +8 -4
  7. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_targets.rb +1 -1
  8. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/usage_models.rb +1 -1
  9. data/lib/2019-11-01/generated/azure_mgmt_storagecache.rb +60 -0
  10. data/lib/2019-11-01/generated/azure_mgmt_storagecache/caches.rb +1477 -0
  11. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
  12. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
  13. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
  14. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache.rb +188 -0
  15. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
  16. 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
  17. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
  18. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
  19. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
  20. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  21. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  22. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  23. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
  24. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  25. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  26. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  27. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  28. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  29. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  30. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  31. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  32. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
  33. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
  34. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  35. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  36. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  37. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  38. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  39. data/lib/2019-11-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  40. data/lib/2019-11-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  41. data/lib/2019-11-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  42. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
  43. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_targets.rb +670 -0
  44. data/lib/2019-11-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  45. data/lib/2020-03-01/generated/azure_mgmt_storagecache.rb +72 -0
  46. data/lib/2020-03-01/generated/azure_mgmt_storagecache/caches.rb +1513 -0
  47. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation.rb +59 -0
  48. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +69 -0
  49. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
  50. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache.rb +238 -0
  51. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
  52. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
  53. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
  54. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
  55. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
  56. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +46 -0
  57. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
  58. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
  59. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
  60. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
  61. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +110 -0
  62. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  63. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  64. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  65. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
  66. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
  67. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
  68. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  69. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +110 -0
  70. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  71. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  72. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  73. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  74. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  75. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  76. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  77. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
  78. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +130 -0
  79. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +72 -0
  80. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
  81. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  82. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  83. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +110 -0
  84. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  85. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  86. data/lib/2020-03-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  87. data/lib/2020-03-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  88. data/lib/2020-03-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  89. data/lib/2020-03-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  90. data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
  91. data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_targets.rb +703 -0
  92. data/lib/2020-03-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  93. data/lib/2020-10-01/generated/azure_mgmt_storagecache.rb +92 -0
  94. data/lib/2020-10-01/generated/azure_mgmt_storagecache/asc_operations.rb +127 -0
  95. data/lib/2020-10-01/generated/azure_mgmt_storagecache/caches.rb +1580 -0
  96. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb +95 -0
  97. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +80 -0
  98. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
  99. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb +57 -0
  100. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb +121 -0
  101. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb +264 -0
  102. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb +124 -0
  103. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings_credentials.rb +61 -0
  104. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_directory_settings.rb +62 -0
  105. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
  106. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
  107. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
  108. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
  109. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
  110. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +56 -0
  111. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
  112. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
  113. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings.rb +186 -0
  114. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb +61 -0
  115. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
  116. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
  117. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +102 -0
  118. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  119. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/created_by_type.rb +18 -0
  120. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/domain_joined_type.rb +17 -0
  121. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/error_response.rb +57 -0
  122. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  123. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  124. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
  125. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
  126. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_aggregation_type.rb +21 -0
  127. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_dimension.rb +79 -0
  128. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_specification.rb +140 -0
  129. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +79 -0
  130. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  131. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +102 -0
  132. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_policy.rb +69 -0
  133. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule.rb +139 -0
  134. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_access.rb +17 -0
  135. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_scope.rb +17 -0
  136. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  137. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  138. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  139. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  140. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  141. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  142. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  143. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target.rb +163 -0
  144. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +119 -0
  145. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +97 -0
  146. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  147. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/system_data.rb +105 -0
  148. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  149. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +102 -0
  150. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  151. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  152. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  153. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_downloaded_type.rb +17 -0
  154. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_source.rb +18 -0
  155. data/lib/2020-10-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  156. data/lib/2020-10-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  157. data/lib/2020-10-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  158. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +157 -0
  159. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_targets.rb +691 -0
  160. data/lib/2020-10-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  161. data/lib/azure_mgmt_storagecache.rb +3 -0
  162. data/lib/profiles/latest/modules/storagecache_profile_module.rb +208 -86
  163. data/lib/version.rb +1 -1
  164. 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::V2019_08_01_preview::Operations
10
- Skus = Azure::StorageCache::Mgmt::V2019_08_01_preview::Skus
11
- UsageModels = Azure::StorageCache::Mgmt::V2019_08_01_preview::UsageModels
12
- Caches = Azure::StorageCache::Mgmt::V2019_08_01_preview::Caches
13
- StorageTargets = Azure::StorageCache::Mgmt::V2019_08_01_preview::StorageTargets
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
- ClfsTarget = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ClfsTarget
17
- UnknownTarget = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UnknownTarget
18
- ApiOperation = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ApiOperation
19
- ResourceSkuCapabilities = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ResourceSkuCapabilities
20
- CloudErrorBody = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CloudErrorBody
21
- ResourceSkuLocationInfo = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ResourceSkuLocationInfo
22
- CacheHealth = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheHealth
23
- Restriction = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Restriction
24
- CacheSku = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheSku
25
- ResourceSku = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ResourceSku
26
- CachesListResult = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CachesListResult
27
- ResourceSkusResult = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ResourceSkusResult
28
- ApiOperationDisplay = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ApiOperationDisplay
29
- NamespaceJunction = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::NamespaceJunction
30
- CloudError = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CloudError
31
- StorageTarget = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTarget
32
- Cache = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Cache
33
- StorageTargetsResult = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTargetsResult
34
- ApiOperationListResult = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ApiOperationListResult
35
- UsageModelDisplay = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModelDisplay
36
- Nfs3Target = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Nfs3Target
37
- UsageModel = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModel
38
- CacheUpgradeStatus = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheUpgradeStatus
39
- UsageModelsResult = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModelsResult
40
- HealthStateType = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::HealthStateType
41
- ProvisioningStateType = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ProvisioningStateType
42
- FirmwareStatusType = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::FirmwareStatusType
43
- ReasonCode = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ReasonCode
44
- StorageTargetType = Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTargetType
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::V2019_08_01_preview::StorageCacheMgmtClient.new(configurable.credentials, base_url, options)
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::V2019_08_01_preview::Models::ClfsTarget
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::V2019_08_01_preview::Models::UnknownTarget
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::V2019_08_01_preview::Models::ApiOperation
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::V2019_08_01_preview::Models::ResourceSkuCapabilities
231
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuCapabilities
107
232
  end
108
- def cloud_error_body
109
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CloudErrorBody
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::V2019_08_01_preview::Models::ResourceSkuLocationInfo
237
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkuLocationInfo
113
238
  end
114
- def cache_health
115
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheHealth
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::V2019_08_01_preview::Models::Restriction
243
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::Restriction
119
244
  end
120
- def cache_sku
121
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheSku
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::V2019_08_01_preview::Models::ResourceSku
249
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSku
125
250
  end
126
- def caches_list_result
127
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CachesListResult
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::V2019_08_01_preview::Models::ResourceSkusResult
255
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ResourceSkusResult
131
256
  end
132
- def api_operation_display
133
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ApiOperationDisplay
257
+ def storage_target
258
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTarget
134
259
  end
135
- def namespace_junction
136
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::NamespaceJunction
260
+ def nfs3_target_properties
261
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::Nfs3TargetProperties
137
262
  end
138
- def cloud_error
139
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CloudError
263
+ def clfs_target_properties
264
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ClfsTargetProperties
140
265
  end
141
- def storage_target
142
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTarget
266
+ def unknown_target_properties
267
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::UnknownTargetProperties
143
268
  end
144
- def cache
145
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Cache
269
+ def metric_aggregation_type
270
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::MetricAggregationType
146
271
  end
147
- def storage_targets_result
148
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::StorageTargetsResult
272
+ def cache_identity_type
273
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::CacheIdentityType
149
274
  end
150
- def api_operation_list_result
151
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ApiOperationListResult
275
+ def created_by_type
276
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::CreatedByType
152
277
  end
153
- def usage_model_display
154
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModelDisplay
278
+ def health_state_type
279
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::HealthStateType
155
280
  end
156
- def nfs3_target
157
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::Nfs3Target
281
+ def provisioning_state_type
282
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::ProvisioningStateType
158
283
  end
159
- def usage_model
160
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModel
284
+ def firmware_status_type
285
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::FirmwareStatusType
161
286
  end
162
- def cache_upgrade_status
163
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::CacheUpgradeStatus
287
+ def nfs_access_rule_scope
288
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleScope
164
289
  end
165
- def usage_models_result
166
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::UsageModelsResult
290
+ def nfs_access_rule_access
291
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::NfsAccessRuleAccess
167
292
  end
168
- def health_state_type
169
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::HealthStateType
293
+ def domain_joined_type
294
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::DomainJoinedType
170
295
  end
171
- def provisioning_state_type
172
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::ProvisioningStateType
296
+ def username_source
297
+ Azure::StorageCache::Mgmt::V2020_10_01::Models::UsernameSource
173
298
  end
174
- def firmware_status_type
175
- Azure::StorageCache::Mgmt::V2019_08_01_preview::Models::FirmwareStatusType
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::V2019_08_01_preview::Models::ReasonCode
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