azure_mgmt_storage 0.17.6 → 0.17.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  3. data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  4. data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  5. data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  6. data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  7. data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  8. data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  9. data/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  10. data/lib/2018-07-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  11. data/lib/2018-11-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
  12. data/lib/2018-11-01/generated/azure_mgmt_storage/blob_services.rb +266 -0
  13. data/lib/2018-11-01/generated/azure_mgmt_storage/management_policies.rb +355 -0
  14. data/lib/2018-11-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  15. data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  16. data/lib/2018-11-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  17. data/lib/2018-11-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  18. data/lib/2018-11-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  19. data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  20. data/lib/2018-11-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +104 -0
  21. data/lib/2018-11-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  22. data/lib/2018-11-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  23. data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
  24. data/lib/2018-11-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
  25. data/lib/2018-11-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  26. data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
  27. data/lib/2018-11-01/generated/azure_mgmt_storage/models/date_after_modification.rb +50 -0
  28. data/lib/2018-11-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  29. data/lib/2018-11-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
  30. data/lib/2018-11-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  31. data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  32. data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  33. data/lib/2018-11-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  34. data/lib/2018-11-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  35. data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
  36. data/lib/2018-11-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
  37. data/lib/2018-11-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  38. data/lib/2018-11-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  39. data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  40. data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  41. data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  42. data/lib/2018-11-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  43. data/lib/2018-11-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  44. data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  45. data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  46. data/lib/2018-11-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  47. data/lib/2018-11-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  48. data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  49. data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  50. data/lib/2018-11-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  51. data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  52. data/lib/2018-11-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  53. data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  54. data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  55. data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
  56. data/lib/2018-11-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  57. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
  58. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
  59. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
  60. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
  61. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
  62. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
  63. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
  64. data/lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
  65. data/lib/2018-11-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  66. data/lib/2018-11-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  67. data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  68. data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  69. data/lib/2018-11-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  70. data/lib/2018-11-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  71. data/lib/2018-11-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  72. data/lib/2018-11-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  73. data/lib/2018-11-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  74. data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  75. data/lib/2018-11-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  76. data/lib/2018-11-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  77. data/lib/2018-11-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  78. data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  79. data/lib/2018-11-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  80. data/lib/2018-11-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  81. data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  82. data/lib/2018-11-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  83. data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku.rb +159 -0
  84. data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_name.rb +20 -0
  85. data/lib/2018-11-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  86. data/lib/2018-11-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  87. data/lib/2018-11-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  88. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account.rb +375 -0
  89. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
  90. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +203 -0
  91. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
  92. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  93. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  94. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
  95. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  96. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +179 -0
  97. data/lib/2018-11-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  98. data/lib/2018-11-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  99. data/lib/2018-11-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  100. data/lib/2018-11-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  101. data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  102. data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  103. data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  104. data/lib/2018-11-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  105. data/lib/2018-11-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  106. data/lib/2018-11-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  107. data/lib/2018-11-01/generated/azure_mgmt_storage/operations.rb +108 -0
  108. data/lib/2018-11-01/generated/azure_mgmt_storage/skus.rb +114 -0
  109. data/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb +1505 -0
  110. data/lib/2018-11-01/generated/azure_mgmt_storage/storage_management_client.rb +155 -0
  111. data/lib/2018-11-01/generated/azure_mgmt_storage/usages.rb +118 -0
  112. data/lib/2018-11-01/generated/azure_mgmt_storage.rb +126 -0
  113. data/lib/azure_mgmt_storage.rb +1 -0
  114. data/lib/profiles/latest/modules/storage_profile_module.rb +250 -224
  115. data/lib/version.rb +1 -1
  116. metadata +104 -2
@@ -0,0 +1,247 @@
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # The parameters to list service SAS credentials of a specific resource.
10
+ #
11
+ class ServiceSasParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The canonical path to the signed resource.
16
+ attr_accessor :canonicalized_resource
17
+
18
+ # @return [SignedResource] The signed services accessible with the
19
+ # service SAS. Possible values include: Blob (b), Container (c), File
20
+ # (f), Share (s). Possible values include: 'b', 'c', 'f', 's'
21
+ attr_accessor :resource
22
+
23
+ # @return [Permissions] The signed permissions for the service SAS.
24
+ # Possible values include: Read (r), Write (w), Delete (d), List (l), Add
25
+ # (a), Create (c), Update (u) and Process (p). Possible values include:
26
+ # 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
27
+ attr_accessor :permissions
28
+
29
+ # @return [String] An IP address or a range of IP addresses from which to
30
+ # accept requests.
31
+ attr_accessor :ipaddress_or_range
32
+
33
+ # @return [HttpProtocol] The protocol permitted for a request made with
34
+ # the account SAS. Possible values include: 'https,http', 'https'
35
+ attr_accessor :protocols
36
+
37
+ # @return [DateTime] The time at which the SAS becomes valid.
38
+ attr_accessor :shared_access_start_time
39
+
40
+ # @return [DateTime] The time at which the shared access signature
41
+ # becomes invalid.
42
+ attr_accessor :shared_access_expiry_time
43
+
44
+ # @return [String] A unique value up to 64 characters in length that
45
+ # correlates to an access policy specified for the container, queue, or
46
+ # table.
47
+ attr_accessor :identifier
48
+
49
+ # @return [String] The start of partition key.
50
+ attr_accessor :partition_key_start
51
+
52
+ # @return [String] The end of partition key.
53
+ attr_accessor :partition_key_end
54
+
55
+ # @return [String] The start of row key.
56
+ attr_accessor :row_key_start
57
+
58
+ # @return [String] The end of row key.
59
+ attr_accessor :row_key_end
60
+
61
+ # @return [String] The key to sign the account SAS token with.
62
+ attr_accessor :key_to_sign
63
+
64
+ # @return [String] The response header override for cache control.
65
+ attr_accessor :cache_control
66
+
67
+ # @return [String] The response header override for content disposition.
68
+ attr_accessor :content_disposition
69
+
70
+ # @return [String] The response header override for content encoding.
71
+ attr_accessor :content_encoding
72
+
73
+ # @return [String] The response header override for content language.
74
+ attr_accessor :content_language
75
+
76
+ # @return [String] The response header override for content type.
77
+ attr_accessor :content_type
78
+
79
+
80
+ #
81
+ # Mapper for ServiceSasParameters class as Ruby Hash.
82
+ # This will be used for serialization/deserialization.
83
+ #
84
+ def self.mapper()
85
+ {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'ServiceSasParameters',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'ServiceSasParameters',
92
+ model_properties: {
93
+ canonicalized_resource: {
94
+ client_side_validation: true,
95
+ required: true,
96
+ serialized_name: 'canonicalizedResource',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ resource: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'signedResource',
105
+ type: {
106
+ name: 'String'
107
+ }
108
+ },
109
+ permissions: {
110
+ client_side_validation: true,
111
+ required: false,
112
+ serialized_name: 'signedPermission',
113
+ type: {
114
+ name: 'String'
115
+ }
116
+ },
117
+ ipaddress_or_range: {
118
+ client_side_validation: true,
119
+ required: false,
120
+ serialized_name: 'signedIp',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ protocols: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'signedProtocol',
129
+ type: {
130
+ name: 'Enum',
131
+ module: 'HttpProtocol'
132
+ }
133
+ },
134
+ shared_access_start_time: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'signedStart',
138
+ type: {
139
+ name: 'DateTime'
140
+ }
141
+ },
142
+ shared_access_expiry_time: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'signedExpiry',
146
+ type: {
147
+ name: 'DateTime'
148
+ }
149
+ },
150
+ identifier: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ serialized_name: 'signedIdentifier',
154
+ constraints: {
155
+ MaxLength: 64
156
+ },
157
+ type: {
158
+ name: 'String'
159
+ }
160
+ },
161
+ partition_key_start: {
162
+ client_side_validation: true,
163
+ required: false,
164
+ serialized_name: 'startPk',
165
+ type: {
166
+ name: 'String'
167
+ }
168
+ },
169
+ partition_key_end: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'endPk',
173
+ type: {
174
+ name: 'String'
175
+ }
176
+ },
177
+ row_key_start: {
178
+ client_side_validation: true,
179
+ required: false,
180
+ serialized_name: 'startRk',
181
+ type: {
182
+ name: 'String'
183
+ }
184
+ },
185
+ row_key_end: {
186
+ client_side_validation: true,
187
+ required: false,
188
+ serialized_name: 'endRk',
189
+ type: {
190
+ name: 'String'
191
+ }
192
+ },
193
+ key_to_sign: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'keyToSign',
197
+ type: {
198
+ name: 'String'
199
+ }
200
+ },
201
+ cache_control: {
202
+ client_side_validation: true,
203
+ required: false,
204
+ serialized_name: 'rscc',
205
+ type: {
206
+ name: 'String'
207
+ }
208
+ },
209
+ content_disposition: {
210
+ client_side_validation: true,
211
+ required: false,
212
+ serialized_name: 'rscd',
213
+ type: {
214
+ name: 'String'
215
+ }
216
+ },
217
+ content_encoding: {
218
+ client_side_validation: true,
219
+ required: false,
220
+ serialized_name: 'rsce',
221
+ type: {
222
+ name: 'String'
223
+ }
224
+ },
225
+ content_language: {
226
+ client_side_validation: true,
227
+ required: false,
228
+ serialized_name: 'rscl',
229
+ type: {
230
+ name: 'String'
231
+ }
232
+ },
233
+ content_type: {
234
+ client_side_validation: true,
235
+ required: false,
236
+ serialized_name: 'rsct',
237
+ type: {
238
+ name: 'String'
239
+ }
240
+ }
241
+ }
242
+ }
243
+ }
244
+ end
245
+ end
246
+ end
247
+ end
@@ -0,0 +1,56 @@
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # One property of operation, include metric specifications.
10
+ #
11
+ class ServiceSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<MetricSpecification>] Metric specifications of
16
+ # operation.
17
+ attr_accessor :metric_specifications
18
+
19
+
20
+ #
21
+ # Mapper for ServiceSpecification class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'ServiceSpecification',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ServiceSpecification',
32
+ model_properties: {
33
+ metric_specifications: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'metricSpecifications',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'MetricSpecificationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'MetricSpecification'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for Services
10
+ #
11
+ module Services
12
+ B = "b"
13
+ Q = "q"
14
+ T = "t"
15
+ F = "f"
16
+ end
17
+ end
18
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for SignedResource
10
+ #
11
+ module SignedResource
12
+ B = "b"
13
+ C = "c"
14
+ F = "f"
15
+ S = "s"
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for SignedResourceTypes
10
+ #
11
+ module SignedResourceTypes
12
+ S = "s"
13
+ C = "c"
14
+ O = "o"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,159 @@
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # The SKU of the storage account.
10
+ #
11
+ class Sku
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [SkuName] Gets or sets the SKU name. Required for account
16
+ # creation; optional for update. Note that in older versions, SKU name
17
+ # was called accountType. Possible values include: 'Standard_LRS',
18
+ # 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS',
19
+ # 'Premium_ZRS'
20
+ attr_accessor :name
21
+
22
+ # @return [SkuTier] Gets the SKU tier. This is based on the SKU name.
23
+ # Possible values include: 'Standard', 'Premium'
24
+ attr_accessor :tier
25
+
26
+ # @return [String] The type of the resource, usually it is
27
+ # 'storageAccounts'.
28
+ attr_accessor :resource_type
29
+
30
+ # @return [Kind] Indicates the type of storage account. Possible values
31
+ # include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage',
32
+ # 'BlockBlobStorage'
33
+ attr_accessor :kind
34
+
35
+ # @return [Array<String>] The set of locations that the SKU is available.
36
+ # This will be supported and registered Azure Geo Regions (e.g. West US,
37
+ # East US, Southeast Asia, etc.).
38
+ attr_accessor :locations
39
+
40
+ # @return [Array<SKUCapability>] The capability information in the
41
+ # specified SKU, including file encryption, network ACLs, change
42
+ # notification, etc.
43
+ attr_accessor :capabilities
44
+
45
+ # @return [Array<Restriction>] The restrictions because of which SKU
46
+ # cannot be used. This is empty if there are no restrictions.
47
+ attr_accessor :restrictions
48
+
49
+
50
+ #
51
+ # Mapper for Sku class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'Sku',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'Sku',
62
+ model_properties: {
63
+ name: {
64
+ client_side_validation: true,
65
+ required: true,
66
+ serialized_name: 'name',
67
+ type: {
68
+ name: 'Enum',
69
+ module: 'SkuName'
70
+ }
71
+ },
72
+ tier: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ read_only: true,
76
+ serialized_name: 'tier',
77
+ type: {
78
+ name: 'Enum',
79
+ module: 'SkuTier'
80
+ }
81
+ },
82
+ resource_type: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ read_only: true,
86
+ serialized_name: 'resourceType',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ kind: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ read_only: true,
95
+ serialized_name: 'kind',
96
+ type: {
97
+ name: 'Enum',
98
+ module: 'Kind'
99
+ }
100
+ },
101
+ locations: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ read_only: true,
105
+ serialized_name: 'locations',
106
+ type: {
107
+ name: 'Sequence',
108
+ element: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'StringElementType',
112
+ type: {
113
+ name: 'String'
114
+ }
115
+ }
116
+ }
117
+ },
118
+ capabilities: {
119
+ client_side_validation: true,
120
+ required: false,
121
+ read_only: true,
122
+ serialized_name: 'capabilities',
123
+ type: {
124
+ name: 'Sequence',
125
+ element: {
126
+ client_side_validation: true,
127
+ required: false,
128
+ serialized_name: 'SKUCapabilityElementType',
129
+ type: {
130
+ name: 'Composite',
131
+ class_name: 'SKUCapability'
132
+ }
133
+ }
134
+ }
135
+ },
136
+ restrictions: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'restrictions',
140
+ type: {
141
+ name: 'Sequence',
142
+ element: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'RestrictionElementType',
146
+ type: {
147
+ name: 'Composite',
148
+ class_name: 'Restriction'
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ }
156
+ end
157
+ end
158
+ end
159
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for SkuName
10
+ #
11
+ module SkuName
12
+ StandardLRS = "Standard_LRS"
13
+ StandardGRS = "Standard_GRS"
14
+ StandardRAGRS = "Standard_RAGRS"
15
+ StandardZRS = "Standard_ZRS"
16
+ PremiumLRS = "Premium_LRS"
17
+ PremiumZRS = "Premium_ZRS"
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for SkuTier
10
+ #
11
+ module SkuTier
12
+ Standard = "Standard"
13
+ Premium = "Premium"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,63 @@
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # The capability information in the specified SKU, including file
10
+ # encryption, network ACLs, change notification, etc.
11
+ #
12
+ class SKUCapability
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The name of capability, The capability information in
17
+ # the specified SKU, including file encryption, network ACLs, change
18
+ # notification, etc.
19
+ attr_accessor :name
20
+
21
+ # @return [String] A string value to indicate states of given capability.
22
+ # Possibly 'true' or 'false'.
23
+ attr_accessor :value
24
+
25
+
26
+ #
27
+ # Mapper for SKUCapability class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ client_side_validation: true,
33
+ required: false,
34
+ serialized_name: 'SKUCapability',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'SKUCapability',
38
+ model_properties: {
39
+ name: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'name',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ value: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'value',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ end
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,19 @@
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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Defines values for State
10
+ #
11
+ module State
12
+ Provisioning = "provisioning"
13
+ Deprovisioning = "deprovisioning"
14
+ Succeeded = "succeeded"
15
+ Failed = "failed"
16
+ NetworkSourceDeleted = "networkSourceDeleted"
17
+ end
18
+ end
19
+ end