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,92 @@
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
+ module Models
8
+ #
9
+ # An error response.
10
+ #
11
+ class CloudErrorBody
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] An identifier for the error. Codes are invariant and
16
+ # are intended to be consumed programmatically.
17
+ attr_accessor :code
18
+
19
+ # @return [Array<CloudErrorBody>] A list of additional details about the
20
+ # error.
21
+ attr_accessor :details
22
+
23
+ # @return [String] A message describing the error, intended to be
24
+ # suitable for display in a user interface.
25
+ attr_accessor :message
26
+
27
+ # @return [String] The target of the particular error. For example, the
28
+ # name of the property in error.
29
+ attr_accessor :target
30
+
31
+
32
+ #
33
+ # Mapper for CloudErrorBody class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'CloudErrorBody',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'CloudErrorBody',
44
+ model_properties: {
45
+ code: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'code',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ details: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'details',
57
+ type: {
58
+ name: 'Sequence',
59
+ element: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'CloudErrorBodyElementType',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'CloudErrorBody'
66
+ }
67
+ }
68
+ }
69
+ },
70
+ message: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ serialized_name: 'message',
74
+ type: {
75
+ name: 'String'
76
+ }
77
+ },
78
+ target: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ serialized_name: 'target',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,18 @@
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
+ module Models
8
+ #
9
+ # Defines values for CreatedByType
10
+ #
11
+ module CreatedByType
12
+ User = "User"
13
+ Application = "Application"
14
+ ManagedIdentity = "ManagedIdentity"
15
+ Key = "Key"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,17 @@
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
+ module Models
8
+ #
9
+ # Defines values for DomainJoinedType
10
+ #
11
+ module DomainJoinedType
12
+ Yes = "Yes"
13
+ No = "No"
14
+ Error = "Error"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,57 @@
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
+ module Models
8
+ #
9
+ # Describes the format of Error response.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Error code
16
+ attr_accessor :code
17
+
18
+ # @return [String] Error message indicating why the operation failed.
19
+ attr_accessor :message
20
+
21
+
22
+ #
23
+ # Mapper for ErrorResponse class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'ErrorResponse',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ErrorResponse',
34
+ model_properties: {
35
+ code: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'code',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ message: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'message',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,16 @@
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
+ module Models
8
+ #
9
+ # Defines values for FirmwareStatusType
10
+ #
11
+ module FirmwareStatusType
12
+ Available = "available"
13
+ Unavailable = "unavailable"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,23 @@
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
+ module Models
8
+ #
9
+ # Defines values for HealthStateType
10
+ #
11
+ module HealthStateType
12
+ Unknown = "Unknown"
13
+ Healthy = "Healthy"
14
+ Degraded = "Degraded"
15
+ Down = "Down"
16
+ Transitioning = "Transitioning"
17
+ Stopping = "Stopping"
18
+ Stopped = "Stopped"
19
+ Upgrading = "Upgrading"
20
+ Flushing = "Flushing"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,59 @@
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
+ module Models
8
+ #
9
+ # Describes a reference to Key Vault Key.
10
+ #
11
+ class KeyVaultKeyReference
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The URL referencing a key encryption key in Key Vault.
16
+ attr_accessor :key_url
17
+
18
+ # @return [KeyVaultKeyReferenceSourceVault] Describes a resource Id to
19
+ # source Key Vault.
20
+ attr_accessor :source_vault
21
+
22
+
23
+ #
24
+ # Mapper for KeyVaultKeyReference class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'KeyVaultKeyReference',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'KeyVaultKeyReference',
35
+ model_properties: {
36
+ key_url: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'keyUrl',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ source_vault: {
45
+ client_side_validation: true,
46
+ required: true,
47
+ serialized_name: 'sourceVault',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'KeyVaultKeyReferenceSourceVault'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,46 @@
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
+ module Models
8
+ #
9
+ # Describes a resource Id to source Key Vault.
10
+ #
11
+ class KeyVaultKeyReferenceSourceVault
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource Id.
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for KeyVaultKeyReferenceSourceVault class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'KeyVaultKeyReference_sourceVault',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'KeyVaultKeyReferenceSourceVault',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'id',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,21 @@
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
+ module Models
8
+ #
9
+ # Defines values for MetricAggregationType
10
+ #
11
+ module MetricAggregationType
12
+ NotSpecified = "NotSpecified"
13
+ None = "None"
14
+ Average = "Average"
15
+ Minimum = "Minimum"
16
+ Maximum = "Maximum"
17
+ Total = "Total"
18
+ Count = "Count"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,79 @@
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
+ module Models
8
+ #
9
+ # Specifications of the Dimension of metrics.
10
+ #
11
+ class MetricDimension
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the dimension
16
+ attr_accessor :name
17
+
18
+ # @return [String] Localized friendly display name of the dimension
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] Internal name of the dimension.
22
+ attr_accessor :internal_name
23
+
24
+ # @return [Boolean] To be exported to shoe box.
25
+ attr_accessor :to_be_exported_for_shoebox
26
+
27
+
28
+ #
29
+ # Mapper for MetricDimension class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'MetricDimension',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'MetricDimension',
40
+ model_properties: {
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ display_name: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'displayName',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ internal_name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'internalName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ to_be_exported_for_shoebox: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'toBeExportedForShoebox',
69
+ type: {
70
+ name: 'Boolean'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,140 @@
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
+ module Models
8
+ #
9
+ # Details about operation related to metrics.
10
+ #
11
+ class MetricSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The name of the metric.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Localized display name of the metric.
19
+ attr_accessor :display_name
20
+
21
+ # @return [String] The description of the metric.
22
+ attr_accessor :display_description
23
+
24
+ # @return [String] The unit that the metric is measured in.
25
+ attr_accessor :unit
26
+
27
+ # @return [String] The type of metric aggregation.
28
+ attr_accessor :aggregation_type
29
+
30
+ # @return [Array<MetricAggregationType>] Support metric aggregation type.
31
+ attr_accessor :supported_aggregation_types
32
+
33
+ # @return [String] Type of metrics.
34
+ attr_accessor :metric_class
35
+
36
+ # @return [Array<MetricDimension>] Dimensions of the metric
37
+ attr_accessor :dimensions
38
+
39
+
40
+ #
41
+ # Mapper for MetricSpecification class as Ruby Hash.
42
+ # This will be used for serialization/deserialization.
43
+ #
44
+ def self.mapper()
45
+ {
46
+ client_side_validation: true,
47
+ required: false,
48
+ serialized_name: 'MetricSpecification',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'MetricSpecification',
52
+ model_properties: {
53
+ name: {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'name',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ display_name: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'displayName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ display_description: {
70
+ client_side_validation: true,
71
+ required: false,
72
+ serialized_name: 'displayDescription',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ unit: {
78
+ client_side_validation: true,
79
+ required: false,
80
+ serialized_name: 'unit',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ aggregation_type: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'aggregationType',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ supported_aggregation_types: {
94
+ client_side_validation: true,
95
+ required: false,
96
+ serialized_name: 'supportedAggregationTypes',
97
+ type: {
98
+ name: 'Sequence',
99
+ element: {
100
+ client_side_validation: true,
101
+ required: false,
102
+ serialized_name: 'MetricAggregationTypeElementType',
103
+ type: {
104
+ name: 'String'
105
+ }
106
+ }
107
+ }
108
+ },
109
+ metric_class: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'metricClass',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ dimensions: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'dimensions',
121
+ type: {
122
+ name: 'Sequence',
123
+ element: {
124
+ client_side_validation: true,
125
+ required: false,
126
+ serialized_name: 'MetricDimensionElementType',
127
+ type: {
128
+ name: 'Composite',
129
+ class_name: 'MetricDimension'
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
136
+ }
137
+ end
138
+ end
139
+ end
140
+ end