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,128 @@
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
+ # Specifies a CORS rule for the Blob service.
10
+ #
11
+ class CorsRule
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] Required if CorsRule element is present. A list
16
+ # of origin domains that will be allowed via CORS, or "*" to allow all
17
+ # domains
18
+ attr_accessor :allowed_origins
19
+
20
+ # @return [Array<Enum>] Required if CorsRule element is present. A list
21
+ # of HTTP methods that are allowed to be executed by the origin.
22
+ attr_accessor :allowed_methods
23
+
24
+ # @return [Integer] Required if CorsRule element is present. The number
25
+ # of seconds that the client/browser should cache a preflight response.
26
+ attr_accessor :max_age_in_seconds
27
+
28
+ # @return [Array<String>] Required if CorsRule element is present. A list
29
+ # of response headers to expose to CORS clients.
30
+ attr_accessor :exposed_headers
31
+
32
+ # @return [Array<String>] Required if CorsRule element is present. A list
33
+ # of headers allowed to be part of the cross-origin request.
34
+ attr_accessor :allowed_headers
35
+
36
+
37
+ #
38
+ # Mapper for CorsRule class as Ruby Hash.
39
+ # This will be used for serialization/deserialization.
40
+ #
41
+ def self.mapper()
42
+ {
43
+ client_side_validation: true,
44
+ required: false,
45
+ serialized_name: 'CorsRule',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'CorsRule',
49
+ model_properties: {
50
+ allowed_origins: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'allowedOrigins',
54
+ type: {
55
+ name: 'Sequence',
56
+ element: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'StringElementType',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ },
66
+ allowed_methods: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'allowedMethods',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'enumElementType',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ }
80
+ }
81
+ },
82
+ max_age_in_seconds: {
83
+ client_side_validation: true,
84
+ required: true,
85
+ serialized_name: 'maxAgeInSeconds',
86
+ type: {
87
+ name: 'Number'
88
+ }
89
+ },
90
+ exposed_headers: {
91
+ client_side_validation: true,
92
+ required: true,
93
+ serialized_name: 'exposedHeaders',
94
+ type: {
95
+ name: 'Sequence',
96
+ element: {
97
+ client_side_validation: true,
98
+ required: false,
99
+ serialized_name: 'StringElementType',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ }
104
+ }
105
+ },
106
+ allowed_headers: {
107
+ client_side_validation: true,
108
+ required: true,
109
+ serialized_name: 'allowedHeaders',
110
+ type: {
111
+ name: 'Sequence',
112
+ element: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'StringElementType',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ end
126
+ end
127
+ end
128
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Sets the CORS rules. You can include up to five CorsRule elements in the
10
+ # request.
11
+ #
12
+ class CorsRules
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [Array<CorsRule>] The List of CORS rules. You can include up to
17
+ # five CorsRule elements in the request.
18
+ attr_accessor :cors_rules
19
+
20
+
21
+ #
22
+ # Mapper for CorsRules class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ client_side_validation: true,
28
+ required: false,
29
+ serialized_name: 'CorsRules',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'CorsRules',
33
+ model_properties: {
34
+ cors_rules: {
35
+ client_side_validation: true,
36
+ required: false,
37
+ serialized_name: 'corsRules',
38
+ type: {
39
+ name: 'Sequence',
40
+ element: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'CorsRuleElementType',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'CorsRule'
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,60 @@
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 custom domain assigned to this storage account. This can be set via
10
+ # Update.
11
+ #
12
+ class CustomDomain
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Gets or sets the custom domain name assigned to the
17
+ # storage account. Name is the CNAME source.
18
+ attr_accessor :name
19
+
20
+ # @return [Boolean] Indicates whether indirect CName validation is
21
+ # enabled. Default value is false. This should only be set on updates.
22
+ attr_accessor :use_sub_domain_name
23
+
24
+
25
+ #
26
+ # Mapper for CustomDomain 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: 'CustomDomain',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'CustomDomain',
37
+ model_properties: {
38
+ name: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ use_sub_domain_name: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'useSubDomainName',
50
+ type: {
51
+ name: 'Boolean'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,50 @@
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
+ # Object to define the number of days after creation.
10
+ #
11
+ class DateAfterCreation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Integer value indicating the age in days after
16
+ # creation
17
+ attr_accessor :days_after_creation_greater_than
18
+
19
+
20
+ #
21
+ # Mapper for DateAfterCreation 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: 'DateAfterCreation',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DateAfterCreation',
32
+ model_properties: {
33
+ days_after_creation_greater_than: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'daysAfterCreationGreaterThan',
37
+ constraints: {
38
+ InclusiveMinimum: 0
39
+ },
40
+ type: {
41
+ name: 'Number'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,50 @@
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
+ # Object to define the number of days after last modification.
10
+ #
11
+ class DateAfterModification
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] Integer value indicating the age in days after last
16
+ # modification
17
+ attr_accessor :days_after_modification_greater_than
18
+
19
+
20
+ #
21
+ # Mapper for DateAfterModification 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: 'DateAfterModification',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DateAfterModification',
32
+ model_properties: {
33
+ days_after_modification_greater_than: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'daysAfterModificationGreaterThan',
37
+ constraints: {
38
+ InclusiveMinimum: 0
39
+ },
40
+ type: {
41
+ name: 'Number'
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ end
48
+ end
49
+ end
50
+ 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 DefaultAction
10
+ #
11
+ module DefaultAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,64 @@
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 blob service properties for soft delete.
10
+ #
11
+ class DeleteRetentionPolicy
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] Indicates whether DeleteRetentionPolicy is enabled
16
+ # for the Blob service.
17
+ attr_accessor :enabled
18
+
19
+ # @return [Integer] Indicates the number of days that the deleted blob
20
+ # should be retained. The minimum specified value can be 1 and the
21
+ # maximum value can be 365.
22
+ attr_accessor :days
23
+
24
+
25
+ #
26
+ # Mapper for DeleteRetentionPolicy 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: 'DeleteRetentionPolicy',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'DeleteRetentionPolicy',
37
+ model_properties: {
38
+ enabled: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'enabled',
42
+ type: {
43
+ name: 'Boolean'
44
+ }
45
+ },
46
+ days: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'days',
50
+ constraints: {
51
+ InclusiveMaximum: 365,
52
+ InclusiveMinimum: 1
53
+ },
54
+ type: {
55
+ name: 'Number'
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ end
62
+ end
63
+ end
64
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # Dimension of blobs, possibly be blob type or access tier.
10
+ #
11
+ class Dimension
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Display name of dimension.
16
+ attr_accessor :name
17
+
18
+ # @return [String] Display name of dimension.
19
+ attr_accessor :display_name
20
+
21
+
22
+ #
23
+ # Mapper for Dimension 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: 'Dimension',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Dimension',
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
+ display_name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'displayName',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,74 @@
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 encryption settings on the storage account.
10
+ #
11
+ class Encryption
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionServices] List of services which support encryption.
16
+ attr_accessor :services
17
+
18
+ # @return [KeySource] The encryption keySource (provider). Possible
19
+ # values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault.
20
+ # Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
21
+ # Default value: 'Microsoft.Storage' .
22
+ attr_accessor :key_source
23
+
24
+ # @return [KeyVaultProperties] Properties provided by key vault.
25
+ attr_accessor :key_vault_properties
26
+
27
+
28
+ #
29
+ # Mapper for Encryption class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'Encryption',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'Encryption',
40
+ model_properties: {
41
+ services: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'services',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'EncryptionServices'
48
+ }
49
+ },
50
+ key_source: {
51
+ client_side_validation: true,
52
+ required: true,
53
+ serialized_name: 'keySource',
54
+ default_value: 'Microsoft.Storage',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ key_vault_properties: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'keyvaultproperties',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'KeyVaultProperties'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ 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::Storage::Mgmt::V2018_11_01
7
+ module Models
8
+ #
9
+ # A service that allows server-side encryption to be used.
10
+ #
11
+ class EncryptionService
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] A boolean indicating whether or not the service
16
+ # encrypts the data as it is stored.
17
+ attr_accessor :enabled
18
+
19
+ # @return [DateTime] Gets a rough estimate of the date/time when the
20
+ # encryption was last enabled by the user. Only returned when encryption
21
+ # is enabled. There might be some unencrypted blobs which were written
22
+ # after this time, as it is just a rough estimate.
23
+ attr_accessor :last_enabled_time
24
+
25
+
26
+ #
27
+ # Mapper for EncryptionService 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: 'EncryptionService',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'EncryptionService',
38
+ model_properties: {
39
+ enabled: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'enabled',
43
+ type: {
44
+ name: 'Boolean'
45
+ }
46
+ },
47
+ last_enabled_time: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'lastEnabledTime',
52
+ type: {
53
+ name: 'DateTime'
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end