azure_mgmt_storage 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9734042a159070e23dd4a3df411c6696c43b17a0
4
- data.tar.gz: 13d17c2c4f2ce202b2afe123cae5b5a0fe0323d8
3
+ metadata.gz: 695f2959b2b2e9d4924c34808a3061977095c623
4
+ data.tar.gz: 939d3f443ebba7c0256cc0c259e505b4d404f2c3
5
5
  SHA512:
6
- metadata.gz: ff5ff9d8f6005d7024ef8c41681e9388e0245f8d02582e0e54a0fcdd7d0fe9d7ae7a47a71ffff0eb77941ef757ad3abb75518190b6057942518dcc26deae332d
7
- data.tar.gz: aa985e6c331006a06fcb66b368d7688b8f0324b968a713de8f5c4906171dd48b4d2a0b585e545dd56bb73c9782ee64c6baf29bd64294736f6840dd5eacc415ff
6
+ metadata.gz: cc62f4ae6262d66fde3d7776c363e0de556c02df6fb54f3e3446b067bf42f569ee5ac0314e829a2f4ce110d16819799d42fb0f71303644cdcc96550be5777a35
7
+ data.tar.gz: a19369e64bf1aa75b75142dec31f39c4011802c7d7b39d16bc1f9607d61ae06bfde6a1c08c57f3c1cb4ef94a90998c92064348ac810f327cd8e7b1327fdfccbb
@@ -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
 
@@ -20,42 +20,63 @@ require 'generated/azure_mgmt_storage/module_definition'
20
20
  require 'ms_rest_azure'
21
21
 
22
22
  module Azure::ARM::Storage
23
+ autoload :Operations, 'generated/azure_mgmt_storage/operations.rb'
23
24
  autoload :StorageAccounts, 'generated/azure_mgmt_storage/storage_accounts.rb'
24
25
  autoload :UsageOperations, 'generated/azure_mgmt_storage/usage_operations.rb'
25
26
  autoload :StorageManagementClient, 'generated/azure_mgmt_storage/storage_management_client.rb'
26
27
 
27
28
  module Models
29
+ autoload :Identity, 'generated/azure_mgmt_storage/models/identity.rb'
30
+ autoload :OperationDisplay, 'generated/azure_mgmt_storage/models/operation_display.rb'
31
+ autoload :StorageAccountCreateParameters, 'generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
32
+ autoload :MetricSpecification, 'generated/azure_mgmt_storage/models/metric_specification.rb'
33
+ autoload :Endpoints, 'generated/azure_mgmt_storage/models/endpoints.rb'
34
+ autoload :Operation, 'generated/azure_mgmt_storage/models/operation.rb'
35
+ autoload :OperationListResult, 'generated/azure_mgmt_storage/models/operation_list_result.rb'
36
+ autoload :CheckNameAvailabilityResult, 'generated/azure_mgmt_storage/models/check_name_availability_result.rb'
37
+ autoload :StorageAccountKey, 'generated/azure_mgmt_storage/models/storage_account_key.rb'
38
+ autoload :CustomDomain, 'generated/azure_mgmt_storage/models/custom_domain.rb'
28
39
  autoload :StorageAccountListResult, 'generated/azure_mgmt_storage/models/storage_account_list_result.rb'
40
+ autoload :EncryptionServices, 'generated/azure_mgmt_storage/models/encryption_services.rb'
29
41
  autoload :StorageAccountListKeysResult, 'generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb'
30
- autoload :CheckNameAvailabilityResult, 'generated/azure_mgmt_storage/models/check_name_availability_result.rb'
42
+ autoload :Encryption, 'generated/azure_mgmt_storage/models/encryption.rb'
31
43
  autoload :StorageAccountRegenerateKeyParameters, 'generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb'
32
- autoload :CustomDomain, 'generated/azure_mgmt_storage/models/custom_domain.rb'
44
+ autoload :IPRule, 'generated/azure_mgmt_storage/models/iprule.rb'
33
45
  autoload :StorageAccountUpdateParameters, 'generated/azure_mgmt_storage/models/storage_account_update_parameters.rb'
34
- autoload :EncryptionServices, 'generated/azure_mgmt_storage/models/encryption_services.rb'
46
+ autoload :Dimension, 'generated/azure_mgmt_storage/models/dimension.rb'
35
47
  autoload :UsageName, 'generated/azure_mgmt_storage/models/usage_name.rb'
36
- autoload :StorageAccountCreateParameters, 'generated/azure_mgmt_storage/models/storage_account_create_parameters.rb'
48
+ autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
37
49
  autoload :Usage, 'generated/azure_mgmt_storage/models/usage.rb'
38
- autoload :StorageAccountKey, 'generated/azure_mgmt_storage/models/storage_account_key.rb'
50
+ autoload :EncryptionService, 'generated/azure_mgmt_storage/models/encryption_service.rb'
39
51
  autoload :UsageListResult, 'generated/azure_mgmt_storage/models/usage_list_result.rb'
40
- autoload :Sku, 'generated/azure_mgmt_storage/models/sku.rb'
41
- autoload :Encryption, 'generated/azure_mgmt_storage/models/encryption.rb'
52
+ autoload :VirtualNetworkRule, 'generated/azure_mgmt_storage/models/virtual_network_rule.rb'
53
+ autoload :ServiceSpecification, 'generated/azure_mgmt_storage/models/service_specification.rb'
42
54
  autoload :AccountSasParameters, 'generated/azure_mgmt_storage/models/account_sas_parameters.rb'
43
- autoload :StorageAccountCheckNameAvailabilityParameters, 'generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb'
55
+ autoload :KeyVaultProperties, 'generated/azure_mgmt_storage/models/key_vault_properties.rb'
44
56
  autoload :ListAccountSasResponse, 'generated/azure_mgmt_storage/models/list_account_sas_response.rb'
45
- autoload :Endpoints, 'generated/azure_mgmt_storage/models/endpoints.rb'
57
+ autoload :Sku, 'generated/azure_mgmt_storage/models/sku.rb'
46
58
  autoload :ServiceSasParameters, 'generated/azure_mgmt_storage/models/service_sas_parameters.rb'
47
- autoload :EncryptionService, 'generated/azure_mgmt_storage/models/encryption_service.rb'
59
+ autoload :StorageNetworkAcls, 'generated/azure_mgmt_storage/models/storage_network_acls.rb'
48
60
  autoload :ListServiceSasResponse, 'generated/azure_mgmt_storage/models/list_service_sas_response.rb'
49
61
  autoload :StorageAccount, 'generated/azure_mgmt_storage/models/storage_account.rb'
50
62
  autoload :Reason, 'generated/azure_mgmt_storage/models/reason.rb'
51
63
  autoload :SkuName, 'generated/azure_mgmt_storage/models/sku_name.rb'
52
64
  autoload :SkuTier, 'generated/azure_mgmt_storage/models/sku_tier.rb'
65
+ autoload :KeySource, 'generated/azure_mgmt_storage/models/key_source.rb'
66
+ autoload :Action, 'generated/azure_mgmt_storage/models/action.rb'
67
+ autoload :State, 'generated/azure_mgmt_storage/models/state.rb'
68
+ autoload :Bypass, 'generated/azure_mgmt_storage/models/bypass.rb'
69
+ autoload :DefaultAction, 'generated/azure_mgmt_storage/models/default_action.rb'
53
70
  autoload :AccessTier, 'generated/azure_mgmt_storage/models/access_tier.rb'
54
71
  autoload :Kind, 'generated/azure_mgmt_storage/models/kind.rb'
55
72
  autoload :ProvisioningState, 'generated/azure_mgmt_storage/models/provisioning_state.rb'
56
73
  autoload :AccountStatus, 'generated/azure_mgmt_storage/models/account_status.rb'
57
74
  autoload :KeyPermission, 'generated/azure_mgmt_storage/models/key_permission.rb'
58
75
  autoload :UsageUnit, 'generated/azure_mgmt_storage/models/usage_unit.rb'
76
+ autoload :Services, 'generated/azure_mgmt_storage/models/services.rb'
77
+ autoload :SignedResourceTypes, 'generated/azure_mgmt_storage/models/signed_resource_types.rb'
78
+ autoload :Permissions, 'generated/azure_mgmt_storage/models/permissions.rb'
59
79
  autoload :HttpProtocol, 'generated/azure_mgmt_storage/models/http_protocol.rb'
80
+ autoload :SignedResource, 'generated/azure_mgmt_storage/models/signed_resource.rb'
60
81
  end
61
82
  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
 
@@ -12,22 +12,23 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Enum] The signed services accessible with the account SAS.
15
+ include MsRest::JSONable
16
+ # @return [Services] The signed services accessible with the account SAS.
16
17
  # Possible values include: Blob (b), Queue (q), Table (t), File (f).
17
18
  # Possible values include: 'b', 'q', 't', 'f'
18
19
  attr_accessor :services
19
20
 
20
- # @return [Enum] The signed resource types that are accessible with the
21
- # account SAS. Service (s): Access to service-level APIs; Container (c):
22
- # Access to container-level APIs; Object (o): Access to object-level APIs
23
- # for blobs, queue messages, table entities, and files. Possible values
24
- # include: 's', 'c', 'o'
21
+ # @return [SignedResourceTypes] The signed resource types that are
22
+ # accessible with the account SAS. Service (s): Access to service-level
23
+ # APIs; Container (c): Access to container-level APIs; Object (o): Access
24
+ # to object-level APIs for blobs, queue messages, table entities, and
25
+ # files. Possible values include: 's', 'c', 'o'
25
26
  attr_accessor :resource_types
26
27
 
27
- # @return [Enum] The signed permissions for the account SAS. Possible
28
- # values include: Read (r), Write (w), Delete (d), List (l), Add (a),
29
- # Create (c), Update (u) and Process (p). Possible values include: 'r',
30
- # 'd', 'w', 'l', 'a', 'c', 'u', 'p'
28
+ # @return [Permissions] The signed permissions for the account SAS.
29
+ # Possible values include: Read (r), Write (w), Delete (d), List (l), Add
30
+ # (a), Create (c), Update (u) and Process (p). Possible values include:
31
+ # 'r', 'd', 'w', 'l', 'a', 'c', 'u', 'p'
31
32
  attr_accessor :permissions
32
33
 
33
34
  # @return [String] An IP address or a range of IP addresses from which to
@@ -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,15 @@
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 Action
10
+ #
11
+ module Action
12
+ Allow = "Allow"
13
+ end
14
+ end
15
+ 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 Bypass
10
+ #
11
+ module Bypass
12
+ None = "None"
13
+ Logging = "Logging"
14
+ Metrics = "Metrics"
15
+ AzureServices = "AzureServices"
16
+ end
17
+ end
18
+ 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 [Boolean] Gets a boolean value that indicates whether the name
16
17
  # is available for you to use. If true, the name is available. If false,
17
18
  # the name has already been taken or is invalid and cannot be used.
@@ -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
 
@@ -13,6 +13,7 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [String] Gets or sets the custom domain name assigned to the
17
18
  # storage account. Name is the CNAME source.
18
19
  attr_accessor :name
@@ -0,0 +1,16 @@
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 DefaultAction
10
+ #
11
+ module DefaultAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -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
+ # Dimensions.
10
+ #
11
+ class Dimension
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] Display name of dimension.
17
+ attr_accessor :name
18
+
19
+ # @return [String] Display name of dimension.
20
+ attr_accessor :display_name
21
+
22
+
23
+ #
24
+ # Mapper for Dimension class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'Dimension',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Dimension',
34
+ model_properties: {
35
+ name: {
36
+ required: false,
37
+ serialized_name: 'name',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ display_name: {
43
+ required: false,
44
+ serialized_name: 'displayName',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ 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,14 +12,19 @@ module Azure::ARM::Storage
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [EncryptionServices] List of services which support encryption.
16
17
  attr_accessor :services
17
18
 
18
- # @return [String] The encryption keySource (provider). Possible values
19
- # (case-insensitive): Microsoft.Storage. Default value:
20
- # 'Microsoft.Storage' .
19
+ # @return [KeySource] The encryption keySource (provider). Possible
20
+ # values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
21
+ # Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
22
+ # Default value: 'Microsoft.Storage' .
21
23
  attr_accessor :key_source
22
24
 
25
+ # @return [KeyVaultProperties] Properties provided by key vault.
26
+ attr_accessor :key_vault_properties
27
+
23
28
 
24
29
  #
25
30
  # Mapper for Encryption class as Ruby Hash.
@@ -43,12 +48,19 @@ module Azure::ARM::Storage
43
48
  },
44
49
  key_source: {
45
50
  required: true,
46
- is_constant: true,
47
51
  serialized_name: 'keySource',
48
52
  default_value: 'Microsoft.Storage',
49
53
  type: {
50
54
  name: 'String'
51
55
  }
56
+ },
57
+ key_vault_properties: {
58
+ required: false,
59
+ serialized_name: 'keyvaultproperties',
60
+ type: {
61
+ name: 'Composite',
62
+ class_name: 'KeyVaultProperties'
63
+ }
52
64
  }
53
65
  }
54
66
  }
@@ -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 [Boolean] A boolean indicating whether or not the service
16
17
  # encrypts the data as it is stored.
17
18
  attr_accessor :enabled
@@ -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 [EncryptionService] The encryption function of the blob storage
16
17
  # service.
17
18
  attr_accessor :blob
@@ -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
 
@@ -13,6 +13,7 @@ module Azure::ARM::Storage
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [String] Gets the blob endpoint.
17
18
  attr_accessor :blob
18
19
 
@@ -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,69 @@
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
+ # Identity for the resource.
10
+ #
11
+ class Identity
12
+
13
+ include MsRestAzure
14
+
15
+ include MsRest::JSONable
16
+ # @return [String] The principal ID of resource identity.
17
+ attr_accessor :principal_id
18
+
19
+ # @return [String] The tenant ID of resource.
20
+ attr_accessor :tenant_id
21
+
22
+ # @return [String] The identity type. Default value: 'SystemAssigned' .
23
+ attr_accessor :type
24
+
25
+
26
+ #
27
+ # Mapper for Identity class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'Identity',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'Identity',
37
+ model_properties: {
38
+ principal_id: {
39
+ required: false,
40
+ read_only: true,
41
+ serialized_name: 'principalId',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ tenant_id: {
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'tenantId',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
54
+ type: {
55
+ required: true,
56
+ is_constant: true,
57
+ serialized_name: 'type',
58
+ default_value: 'SystemAssigned',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end