azure_mgmt_storagecache 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2019-08-01-preview/generated/azure_mgmt_storagecache.rb +1 -1
  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 +61 -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-11-01/generated/azure_mgmt_storagecache/models/cache_sku.rb +46 -0
  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.rb +47 -0
  21. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/cloud_error_body.rb +92 -0
  22. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/firmware_status_type.rb +16 -0
  23. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/health_state_type.rb +23 -0
  24. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/namespace_junction.rb +68 -0
  25. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/nfs3target.rb +62 -0
  26. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/provisioning_state_type.rb +20 -0
  27. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/reason_code.rb +16 -0
  28. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku.rb +143 -0
  29. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_capabilities.rb +57 -0
  30. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_sku_location_info.rb +65 -0
  31. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/resource_skus_result.rb +100 -0
  32. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/restriction.rb +86 -0
  33. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb +155 -0
  34. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target_type.rb +17 -0
  35. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_targets_result.rb +99 -0
  36. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/unknown_target.rb +55 -0
  37. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model.rb +71 -0
  38. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_model_display.rb +46 -0
  39. data/lib/2019-11-01/generated/azure_mgmt_storagecache/models/usage_models_result.rb +99 -0
  40. data/lib/2019-11-01/generated/azure_mgmt_storagecache/module_definition.rb +9 -0
  41. data/lib/2019-11-01/generated/azure_mgmt_storagecache/operations.rb +221 -0
  42. data/lib/2019-11-01/generated/azure_mgmt_storagecache/skus.rb +223 -0
  43. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_cache_management_client.rb +153 -0
  44. data/lib/2019-11-01/generated/azure_mgmt_storagecache/storage_targets.rb +670 -0
  45. data/lib/2019-11-01/generated/azure_mgmt_storagecache/usage_models.rb +223 -0
  46. data/lib/azure_mgmt_storagecache.rb +1 -0
  47. data/lib/profiles/latest/modules/storagecache_profile_module.rb +64 -64
  48. data/lib/version.rb +1 -1
  49. metadata +40 -3
@@ -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::V2019_11_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,68 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::StorageCache::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # A namespace junction.
10
+ #
11
+ class NamespaceJunction
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Namespace path on a Cache for a Storage Target.
16
+ attr_accessor :namespace_path
17
+
18
+ # @return [String] Path in Storage Target to which namespacePath points.
19
+ attr_accessor :target_path
20
+
21
+ # @return [String] NFS export where targetPath exists.
22
+ attr_accessor :nfs_export
23
+
24
+
25
+ #
26
+ # Mapper for NamespaceJunction class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'NamespaceJunction',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'NamespaceJunction',
37
+ model_properties: {
38
+ namespace_path: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'namespacePath',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ target_path: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'targetPath',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ nfs_export: {
55
+ client_side_validation: true,
56
+ required: false,
57
+ serialized_name: 'nfsExport',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ }
62
+ }
63
+ }
64
+ }
65
+ end
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,62 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::StorageCache::Mgmt::V2019_11_01
7
+ module Models
8
+ #
9
+ # An NFSv3 mount point for use as a Storage Target.
10
+ #
11
+ class Nfs3Target
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] IP address or host name of an NFSv3 host (e.g.,
16
+ # 10.0.44.44).
17
+ attr_accessor :target
18
+
19
+ # @return [String] Identifies the primary usage model to be used for this
20
+ # Storage Target. Get choices from .../usageModels
21
+ attr_accessor :usage_model
22
+
23
+
24
+ #
25
+ # Mapper for Nfs3Target class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'nfs3',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'Nfs3Target',
36
+ model_properties: {
37
+ target: {
38
+ client_side_validation: true,
39
+ required: false,
40
+ serialized_name: 'target',
41
+ constraints: {
42
+ Pattern: '^[-.0-9a-zA-Z]+$'
43
+ },
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ usage_model: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'usageModel',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ 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::V2019_11_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::V2019_11_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::V2019_11_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 that the SKU is available.
23
+ # This will be supported and registered Azure Geo Regions (e.g., West US,
24
+ # East US, Southeast Asia, etc.).
25
+ attr_accessor :locations
26
+
27
+ # @return [Array<ResourceSkuLocationInfo>] The set of locations that 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::V2019_11_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::V2019_11_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