azure_mgmt_storage 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_storage.rb +32 -11
  3. data/lib/generated/azure_mgmt_storage/models/access_tier.rb +1 -1
  4. data/lib/generated/azure_mgmt_storage/models/account_sas_parameters.rb +12 -11
  5. data/lib/generated/azure_mgmt_storage/models/account_status.rb +1 -1
  6. data/lib/generated/azure_mgmt_storage/models/action.rb +15 -0
  7. data/lib/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  8. data/lib/generated/azure_mgmt_storage/models/check_name_availability_result.rb +2 -1
  9. data/lib/generated/azure_mgmt_storage/models/custom_domain.rb +2 -1
  10. data/lib/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  11. data/lib/generated/azure_mgmt_storage/models/dimension.rb +55 -0
  12. data/lib/generated/azure_mgmt_storage/models/encryption.rb +17 -5
  13. data/lib/generated/azure_mgmt_storage/models/encryption_service.rb +2 -1
  14. data/lib/generated/azure_mgmt_storage/models/encryption_services.rb +2 -1
  15. data/lib/generated/azure_mgmt_storage/models/endpoints.rb +2 -1
  16. data/lib/generated/azure_mgmt_storage/models/http_protocol.rb +1 -1
  17. data/lib/generated/azure_mgmt_storage/models/identity.rb +69 -0
  18. data/lib/generated/azure_mgmt_storage/models/iprule.rb +59 -0
  19. data/lib/generated/azure_mgmt_storage/models/key_permission.rb +1 -1
  20. data/lib/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  21. data/lib/generated/azure_mgmt_storage/models/key_vault_properties.rb +65 -0
  22. data/lib/generated/azure_mgmt_storage/models/kind.rb +1 -1
  23. data/lib/generated/azure_mgmt_storage/models/list_account_sas_response.rb +2 -1
  24. data/lib/generated/azure_mgmt_storage/models/list_service_sas_response.rb +2 -1
  25. data/lib/generated/azure_mgmt_storage/models/metric_specification.rb +134 -0
  26. data/lib/generated/azure_mgmt_storage/models/operation.rb +79 -0
  27. data/lib/generated/azure_mgmt_storage/models/operation_display.rb +65 -0
  28. data/lib/generated/azure_mgmt_storage/models/operation_list_result.rb +55 -0
  29. data/lib/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  30. data/lib/generated/azure_mgmt_storage/models/provisioning_state.rb +1 -1
  31. data/lib/generated/azure_mgmt_storage/models/reason.rb +1 -1
  32. data/lib/generated/azure_mgmt_storage/models/service_sas_parameters.rb +9 -8
  33. data/lib/generated/azure_mgmt_storage/models/service_specification.rb +54 -0
  34. data/lib/generated/azure_mgmt_storage/models/services.rb +18 -0
  35. data/lib/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  36. data/lib/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  37. data/lib/generated/azure_mgmt_storage/models/sku.rb +2 -1
  38. data/lib/generated/azure_mgmt_storage/models/sku_name.rb +1 -1
  39. data/lib/generated/azure_mgmt_storage/models/sku_tier.rb +1 -1
  40. data/lib/generated/azure_mgmt_storage/models/state.rb +19 -0
  41. data/lib/generated/azure_mgmt_storage/models/storage_account.rb +37 -1
  42. data/lib/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +6 -3
  43. data/lib/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +36 -1
  44. data/lib/generated/azure_mgmt_storage/models/storage_account_key.rb +2 -1
  45. data/lib/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +2 -1
  46. data/lib/generated/azure_mgmt_storage/models/storage_account_list_result.rb +2 -1
  47. data/lib/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +4 -2
  48. data/lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +36 -1
  49. data/lib/generated/azure_mgmt_storage/models/storage_network_acls.rb +100 -0
  50. data/lib/generated/azure_mgmt_storage/models/usage.rb +2 -1
  51. data/lib/generated/azure_mgmt_storage/models/usage_list_result.rb +2 -1
  52. data/lib/generated/azure_mgmt_storage/models/usage_name.rb +2 -1
  53. data/lib/generated/azure_mgmt_storage/models/usage_unit.rb +1 -1
  54. data/lib/generated/azure_mgmt_storage/models/virtual_network_rule.rb +71 -0
  55. data/lib/generated/azure_mgmt_storage/module_definition.rb +1 -1
  56. data/lib/generated/azure_mgmt_storage/operations.rb +106 -0
  57. data/lib/generated/azure_mgmt_storage/storage_accounts.rb +46 -47
  58. data/lib/generated/azure_mgmt_storage/storage_management_client.rb +6 -2
  59. data/lib/generated/azure_mgmt_storage/usage_operations.rb +4 -5
  60. data/lib/generated/azure_mgmt_storage/version.rb +2 -2
  61. metadata +25 -4
@@ -0,0 +1,55 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # Result of the request to list Storage operations. It contains a list of
10
+ # operations and a URL link to get the next set of results.
11
+ #
12
+ class OperationListResult
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [Array<Operation>] List of Storage operations supported by the
18
+ # Storage resource provider.
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for OperationListResult class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'OperationListResult',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'OperationListResult',
33
+ model_properties: {
34
+ value: {
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ required: false,
41
+ serialized_name: 'OperationElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Operation'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,22 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # Defines values for Permissions
10
+ #
11
+ module Permissions
12
+ R = "r"
13
+ D = "d"
14
+ W = "w"
15
+ L = "l"
16
+ A = "a"
17
+ C = "c"
18
+ U = "u"
19
+ P = "p"
20
+ end
21
+ end
22
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,18 +12,19 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] The canonical path to the signed resource.
16
17
  attr_accessor :canonicalized_resource
17
18
 
18
- # @return [Enum] The signed services accessible with the service SAS.
19
- # Possible values include: Blob (b), Container (c), File (f), Share (s).
20
- # Possible values include: 'b', 'c', 'f', 's'
19
+ # @return [SignedResource] The signed services accessible with the
20
+ # service SAS. Possible values include: Blob (b), Container (c), File
21
+ # (f), Share (s). Possible values include: 'b', 'c', 'f', 's'
21
22
  attr_accessor :resource
22
23
 
23
- # @return [Enum] The signed permissions for the service SAS. Possible
24
- # values include: Read (r), Write (w), Delete (d), List (l), Add (a),
25
- # Create (c), Update (u) and Process (p). Possible values include: 'r',
26
- # 'd', 'w', 'l', 'a', 'c', 'u', 'p'
24
+ # @return [Permissions] The signed permissions for the service SAS.
25
+ # Possible values include: Read (r), Write (w), Delete (d), List (l), Add
26
+ # (a), Create (c), Update (u) and Process (p). Possible values include:
27
+ # 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
27
28
  attr_accessor :permissions
28
29
 
29
30
  # @return [String] An IP address or a range of IP addresses from which to
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
7
+ module Models
8
+ #
9
+ # One property of operation, include metric specifications.
10
+ #
11
+ class ServiceSpecification
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [Array<MetricSpecification>] Metric specifications of
17
+ # operation.
18
+ attr_accessor :metric_specifications
19
+
20
+
21
+ #
22
+ # Mapper for ServiceSpecification class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'ServiceSpecification',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'ServiceSpecification',
32
+ model_properties: {
33
+ metric_specifications: {
34
+ required: false,
35
+ serialized_name: 'metricSpecifications',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ required: false,
40
+ serialized_name: 'MetricSpecificationElementType',
41
+ type: {
42
+ name: 'Composite',
43
+ class_name: 'MetricSpecification'
44
+ }
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,18 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
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 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
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 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [SkuName] Gets or sets the sku name. Required for account
16
17
  # creation; optional for update. Note that in older versions, sku name
17
18
  # was called accountType. Possible values include: 'Standard_LRS',
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -0,0 +1,19 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Storage
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Sku] Gets the SKU.
16
17
  attr_accessor :sku
17
18
 
@@ -19,6 +20,9 @@ module Azure::ARM::Storage
19
20
  # 'BlobStorage'
20
21
  attr_accessor :kind
21
22
 
23
+ # @return [Identity] The identity of the resource.
24
+ attr_accessor :identity
25
+
22
26
  # @return [ProvisioningState] Gets the status of the storage account at
23
27
  # the time the operation was called. Possible values include: 'Creating',
24
28
  # 'ResolvingDNS', 'Succeeded'
@@ -78,6 +82,13 @@ module Azure::ARM::Storage
78
82
  # 'Hot', 'Cool'
79
83
  attr_accessor :access_tier
80
84
 
85
+ # @return [Boolean] Allows https traffic only to storage service if sets
86
+ # to true. Default value: false .
87
+ attr_accessor :enable_https_traffic_only
88
+
89
+ # @return [StorageNetworkAcls] Network ACL
90
+ attr_accessor :network_acls
91
+
81
92
 
82
93
  #
83
94
  # Mapper for StorageAccount class as Ruby Hash.
@@ -154,6 +165,14 @@ module Azure::ARM::Storage
154
165
  module: 'Kind'
155
166
  }
156
167
  },
168
+ identity: {
169
+ required: false,
170
+ serialized_name: 'identity',
171
+ type: {
172
+ name: 'Composite',
173
+ class_name: 'Identity'
174
+ }
175
+ },
157
176
  provisioning_state: {
158
177
  required: false,
159
178
  read_only: true,
@@ -257,6 +276,23 @@ module Azure::ARM::Storage
257
276
  name: 'Enum',
258
277
  module: 'AccessTier'
259
278
  }
279
+ },
280
+ enable_https_traffic_only: {
281
+ required: false,
282
+ serialized_name: 'properties.supportsHttpsTrafficOnly',
283
+ default_value: false,
284
+ type: {
285
+ name: 'Boolean'
286
+ }
287
+ },
288
+ network_acls: {
289
+ required: false,
290
+ read_only: true,
291
+ serialized_name: 'properties.networkAcls',
292
+ type: {
293
+ name: 'Composite',
294
+ class_name: 'StorageNetworkAcls'
295
+ }
260
296
  }
261
297
  }
262
298
  }
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,10 +12,13 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String]
15
+ include MsRest::JSONable
16
+ # @return [String] The storage account name.
16
17
  attr_accessor :name
17
18
 
18
- # @return [String] . Default value: 'Microsoft.Storage/storageAccounts' .
19
+ # @return [String] The type of resource,
20
+ # Microsoft.Storage/storageAccounts. Default value:
21
+ # 'Microsoft.Storage/storageAccounts' .
19
22
  attr_accessor :type
20
23
 
21
24
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,6 +12,7 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Sku] Required. Gets or sets the sku name.
16
17
  attr_accessor :sku
17
18
 
@@ -34,6 +35,9 @@ module Azure::ARM::Storage
34
35
  # than 256 characters.
35
36
  attr_accessor :tags
36
37
 
38
+ # @return [Identity] The identity of the resource.
39
+ attr_accessor :identity
40
+
37
41
  # @return [CustomDomain] User domain assigned to the storage account.
38
42
  # Name is the CNAME source. Only one custom domain is supported per
39
43
  # storage account at this time. To clear the existing custom domain, use
@@ -45,11 +49,18 @@ module Azure::ARM::Storage
45
49
  # same. The default setting is unencrypted.
46
50
  attr_accessor :encryption
47
51
 
52
+ # @return [StorageNetworkAcls] Network ACL
53
+ attr_accessor :network_acls
54
+
48
55
  # @return [AccessTier] Required for storage accounts where kind =
49
56
  # BlobStorage. The access tier used for billing. Possible values include:
50
57
  # 'Hot', 'Cool'
51
58
  attr_accessor :access_tier
52
59
 
60
+ # @return [Boolean] Allows https traffic only to storage service if sets
61
+ # to true. Default value: false .
62
+ attr_accessor :enable_https_traffic_only
63
+
53
64
 
54
65
  #
55
66
  # Mapper for StorageAccountCreateParameters class as Ruby Hash.
@@ -100,6 +111,14 @@ module Azure::ARM::Storage
100
111
  }
101
112
  }
102
113
  },
114
+ identity: {
115
+ required: false,
116
+ serialized_name: 'identity',
117
+ type: {
118
+ name: 'Composite',
119
+ class_name: 'Identity'
120
+ }
121
+ },
103
122
  custom_domain: {
104
123
  required: false,
105
124
  serialized_name: 'properties.customDomain',
@@ -116,6 +135,14 @@ module Azure::ARM::Storage
116
135
  class_name: 'Encryption'
117
136
  }
118
137
  },
138
+ network_acls: {
139
+ required: false,
140
+ serialized_name: 'properties.networkAcls',
141
+ type: {
142
+ name: 'Composite',
143
+ class_name: 'StorageNetworkAcls'
144
+ }
145
+ },
119
146
  access_tier: {
120
147
  required: false,
121
148
  serialized_name: 'properties.accessTier',
@@ -123,6 +150,14 @@ module Azure::ARM::Storage
123
150
  name: 'Enum',
124
151
  module: 'AccessTier'
125
152
  }
153
+ },
154
+ enable_https_traffic_only: {
155
+ required: false,
156
+ serialized_name: 'properties.supportsHttpsTrafficOnly',
157
+ default_value: false,
158
+ type: {
159
+ name: 'Boolean'
160
+ }
126
161
  }
127
162
  }
128
163
  }