azure_mgmt_storagecache 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  3. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  4. data/lib/2020-03-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +1 -1
  5. data/lib/2020-10-01/generated/azure_mgmt_storagecache.rb +92 -0
  6. data/lib/2020-10-01/generated/azure_mgmt_storagecache/asc_operations.rb +127 -0
  7. data/lib/2020-10-01/generated/azure_mgmt_storagecache/caches.rb +1580 -0
  8. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation.rb +95 -0
  9. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_display.rb +80 -0
  10. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_list_result.rb +101 -0
  11. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/api_operation_properties_service_specification.rb +57 -0
  12. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/asc_operation.rb +121 -0
  13. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache.rb +264 -0
  14. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings.rb +124 -0
  15. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_active_directory_settings_credentials.rb +61 -0
  16. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_directory_settings.rb +62 -0
  17. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_encryption_settings.rb +48 -0
  18. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_health.rb +60 -0
  19. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity.rb +72 -0
  20. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_identity_type.rb +16 -0
  21. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_network_settings.rb +73 -0
  22. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_security_settings.rb +56 -0
  23. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
  24. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_upgrade_status.rb +101 -0
  25. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings.rb +186 -0
  26. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cache_username_download_settings_credentials.rb +61 -0
  27. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/caches_list_result.rb +100 -0
  28. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target.rb +46 -0
  29. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/clfs_target_properties.rb +102 -0
  30. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  31. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/created_by_type.rb +18 -0
  32. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/domain_joined_type.rb +17 -0
  33. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/error_response.rb +57 -0
  34. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  35. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  36. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference.rb +59 -0
  37. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/key_vault_key_reference_source_vault.rb +46 -0
  38. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_aggregation_type.rb +21 -0
  39. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_dimension.rb +79 -0
  40. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/metric_specification.rb +140 -0
  41. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +79 -0
  42. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  43. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs3target_properties.rb +102 -0
  44. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_policy.rb +69 -0
  45. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule.rb +139 -0
  46. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_access.rb +17 -0
  47. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/nfs_access_rule_scope.rb +17 -0
  48. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  49. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  50. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  51. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  52. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  53. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  54. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  55. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target.rb +163 -0
  56. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb +119 -0
  57. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_resource.rb +97 -0
  58. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  59. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/system_data.rb +106 -0
  60. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  61. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/unknown_target_properties.rb +102 -0
  62. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  63. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  64. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  65. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_downloaded_type.rb +17 -0
  66. data/lib/2020-10-01/generated/azure_mgmt_storagecache/models/username_source.rb +18 -0
  67. data/lib/2020-10-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  68. data/lib/2020-10-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  69. data/lib/2020-10-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  70. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +157 -0
  71. data/lib/2020-10-01/generated/azure_mgmt_storagecache/storage_targets.rb +691 -0
  72. data/lib/2020-10-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  73. data/lib/azure_mgmt_storagecache.rb +2 -1
  74. data/lib/profiles/latest/modules/storagecache_profile_module.rb +182 -104
  75. data/lib/version.rb +1 -1
  76. metadata +71 -3
@@ -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 NfsAccessRuleAccess
10
+ #
11
+ module NfsAccessRuleAccess
12
+ No = "no"
13
+ Ro = "ro"
14
+ Rw = "rw"
15
+ end
16
+ end
17
+ 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 NfsAccessRuleScope
10
+ #
11
+ module NfsAccessRuleScope
12
+ Default = "default"
13
+ Network = "network"
14
+ Host = "host"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,20 @@
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 ProvisioningStateType
10
+ #
11
+ module ProvisioningStateType
12
+ Succeeded = "Succeeded"
13
+ Failed = "Failed"
14
+ Cancelled = "Cancelled"
15
+ Creating = "Creating"
16
+ Deleting = "Deleting"
17
+ Updating = "Updating"
18
+ end
19
+ end
20
+ 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 ReasonCode
10
+ #
11
+ module ReasonCode
12
+ QuotaId = "QuotaId"
13
+ NotAvailableForSubscription = "NotAvailableForSubscription"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,143 @@
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
+ # A resource SKU.
10
+ #
11
+ class ResourceSku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The type of resource the SKU applies to.
16
+ attr_accessor :resource_type
17
+
18
+ # @return [Array<ResourceSkuCapabilities>] A list of capabilities of this
19
+ # SKU, such as throughput or ops/sec.
20
+ attr_accessor :capabilities
21
+
22
+ # @return [Array<String>] The set of locations where the SKU is
23
+ # available. This is the supported and registered Azure Geo Regions
24
+ # (e.g., West US, East US, Southeast Asia, etc.).
25
+ attr_accessor :locations
26
+
27
+ # @return [Array<ResourceSkuLocationInfo>] The set of locations where the
28
+ # SKU is available.
29
+ attr_accessor :location_info
30
+
31
+ # @return [String] The name of this SKU.
32
+ attr_accessor :name
33
+
34
+ # @return [Array<Restriction>] The restrictions preventing this SKU from
35
+ # being used. This is empty if there are no restrictions.
36
+ attr_accessor :restrictions
37
+
38
+
39
+ #
40
+ # Mapper for ResourceSku class as Ruby Hash.
41
+ # This will be used for serialization/deserialization.
42
+ #
43
+ def self.mapper()
44
+ {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'ResourceSku',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ResourceSku',
51
+ model_properties: {
52
+ resource_type: {
53
+ client_side_validation: true,
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'resourceType',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ capabilities: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ serialized_name: 'capabilities',
65
+ type: {
66
+ name: 'Sequence',
67
+ element: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'ResourceSkuCapabilitiesElementType',
71
+ type: {
72
+ name: 'Composite',
73
+ class_name: 'ResourceSkuCapabilities'
74
+ }
75
+ }
76
+ }
77
+ },
78
+ locations: {
79
+ client_side_validation: true,
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'locations',
83
+ type: {
84
+ name: 'Sequence',
85
+ element: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'StringElementType',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ }
93
+ }
94
+ },
95
+ location_info: {
96
+ client_side_validation: true,
97
+ required: false,
98
+ serialized_name: 'locationInfo',
99
+ type: {
100
+ name: 'Sequence',
101
+ element: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'ResourceSkuLocationInfoElementType',
105
+ type: {
106
+ name: 'Composite',
107
+ class_name: 'ResourceSkuLocationInfo'
108
+ }
109
+ }
110
+ }
111
+ },
112
+ name: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'name',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ restrictions: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'restrictions',
124
+ type: {
125
+ name: 'Sequence',
126
+ element: {
127
+ client_side_validation: true,
128
+ required: false,
129
+ serialized_name: 'RestrictionElementType',
130
+ type: {
131
+ name: 'Composite',
132
+ class_name: 'Restriction'
133
+ }
134
+ }
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ end
141
+ end
142
+ end
143
+ 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
+ # A resource SKU capability.
10
+ #
11
+ class ResourceSkuCapabilities
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of a capability, such as ops/sec.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Quantity, if the capability is measured by quantity.
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for ResourceSkuCapabilities 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: 'ResourceSkuCapabilities',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ResourceSkuCapabilities',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ value: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'value',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,65 @@
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
+ # Resource SKU location information.
10
+ #
11
+ class ResourceSkuLocationInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Location where this SKU is available.
16
+ attr_accessor :location
17
+
18
+ # @return [Array<String>] Zones if any.
19
+ attr_accessor :zones
20
+
21
+
22
+ #
23
+ # Mapper for ResourceSkuLocationInfo 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: 'ResourceSkuLocationInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'ResourceSkuLocationInfo',
34
+ model_properties: {
35
+ location: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'location',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ zones: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'zones',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'StringElementType',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,100 @@
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
+ # The response from the List Cache SKUs operation.
10
+ #
11
+ class ResourceSkusResult
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The URI to fetch the next page of Cache SKUs.
17
+ attr_accessor :next_link
18
+
19
+ # @return [Array<ResourceSku>] The list of SKUs available for the
20
+ # subscription.
21
+ attr_accessor :value
22
+
23
+ # return [Proc] with next page method call.
24
+ attr_accessor :next_method
25
+
26
+ #
27
+ # Gets the rest of the items for the request, enabling auto-pagination.
28
+ #
29
+ # @return [Array<ResourceSku>] operation results.
30
+ #
31
+ def get_all_items
32
+ items = @value
33
+ page = self
34
+ while page.next_link != nil && !page.next_link.strip.empty? do
35
+ page = page.get_next_page
36
+ items.concat(page.value)
37
+ end
38
+ items
39
+ end
40
+
41
+ #
42
+ # Gets the next page of results.
43
+ #
44
+ # @return [ResourceSkusResult] with next page content.
45
+ #
46
+ def get_next_page
47
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
48
+ unless response.nil?
49
+ @next_link = response.body.next_link
50
+ @value = response.body.value
51
+ self
52
+ end
53
+ end
54
+
55
+ #
56
+ # Mapper for ResourceSkusResult class as Ruby Hash.
57
+ # This will be used for serialization/deserialization.
58
+ #
59
+ def self.mapper()
60
+ {
61
+ client_side_validation: true,
62
+ required: false,
63
+ serialized_name: 'ResourceSkusResult',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'ResourceSkusResult',
67
+ model_properties: {
68
+ next_link: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'nextLink',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ value: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'value',
81
+ type: {
82
+ name: 'Sequence',
83
+ element: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'ResourceSkuElementType',
87
+ type: {
88
+ name: 'Composite',
89
+ class_name: 'ResourceSku'
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+ end
98
+ end
99
+ end
100
+ end