azure_mgmt_storage 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) 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/storage_management_client.rb +1 -1
  12. data/lib/2019-04-01/generated/azure_mgmt_storage.rb +22 -20
  13. data/lib/2019-04-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  14. data/lib/2019-04-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +13 -1
  15. data/lib/2019-04-01/generated/azure_mgmt_storage/models/directory_service_options.rb +1 -0
  16. data/lib/2019-04-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  17. data/lib/2019-04-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +1 -1
  18. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_accounts.rb +27 -15
  19. data/lib/2019-04-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
  20. data/lib/2019-06-01/generated/azure_mgmt_storage.rb +152 -0
  21. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_containers.rb +2034 -0
  22. data/lib/2019-06-01/generated/azure_mgmt_storage/blob_services.rb +383 -0
  23. data/lib/2019-06-01/generated/azure_mgmt_storage/file_services.rb +377 -0
  24. data/lib/2019-06-01/generated/azure_mgmt_storage/file_shares.rb +798 -0
  25. data/lib/2019-06-01/generated/azure_mgmt_storage/management_policies.rb +361 -0
  26. data/lib/2019-06-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
  27. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
  28. data/lib/2019-06-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
  29. data/lib/2019-06-01/generated/azure_mgmt_storage/models/action.rb +15 -0
  30. data/lib/2019-06-01/generated/azure_mgmt_storage/models/active_directory_properties.rb +103 -0
  31. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
  32. data/lib/2019-06-01/generated/azure_mgmt_storage/models/azure_files_identity_based_authentication.rb +59 -0
  33. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
  34. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_items.rb +57 -0
  35. data/lib/2019-06-01/generated/azure_mgmt_storage/models/blob_service_properties.rb +141 -0
  36. data/lib/2019-06-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
  37. data/lib/2019-06-01/generated/azure_mgmt_storage/models/change_feed.rb +47 -0
  38. data/lib/2019-06-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
  39. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rule.rb +128 -0
  40. data/lib/2019-06-01/generated/azure_mgmt_storage/models/cors_rules.rb +57 -0
  41. data/lib/2019-06-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
  42. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_creation.rb +50 -0
  43. data/lib/2019-06-01/generated/azure_mgmt_storage/models/date_after_modification.rb +51 -0
  44. data/lib/2019-06-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
  45. data/lib/2019-06-01/generated/azure_mgmt_storage/models/delete_retention_policy.rb +64 -0
  46. data/lib/2019-06-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
  47. data/lib/2019-06-01/generated/azure_mgmt_storage/models/directory_service_options.rb +17 -0
  48. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
  49. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
  50. data/lib/2019-06-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
  51. data/lib/2019-06-01/generated/azure_mgmt_storage/models/endpoints.rb +108 -0
  52. data/lib/2019-06-01/generated/azure_mgmt_storage/models/error_response.rb +59 -0
  53. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_items.rb +57 -0
  54. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_service_properties.rb +90 -0
  55. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share.rb +121 -0
  56. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_item.rb +120 -0
  57. data/lib/2019-06-01/generated/azure_mgmt_storage/models/file_share_items.rb +103 -0
  58. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_stats.rb +85 -0
  59. data/lib/2019-06-01/generated/azure_mgmt_storage/models/geo_replication_status.rb +17 -0
  60. data/lib/2019-06-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
  61. data/lib/2019-06-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
  62. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
  63. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
  64. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
  65. data/lib/2019-06-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
  66. data/lib/2019-06-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
  67. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
  68. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
  69. data/lib/2019-06-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
  70. data/lib/2019-06-01/generated/azure_mgmt_storage/models/kind.rb +19 -0
  71. data/lib/2019-06-01/generated/azure_mgmt_storage/models/large_file_shares_state.rb +16 -0
  72. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_request.rb +97 -0
  73. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_container_response.rb +60 -0
  74. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
  75. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
  76. data/lib/2019-06-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
  77. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
  78. data/lib/2019-06-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
  79. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
  80. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
  81. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_container_items.rb +103 -0
  82. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_key_expand.rb +15 -0
  83. data/lib/2019-06-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
  84. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy.rb +89 -0
  85. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_action.rb +62 -0
  86. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb +73 -0
  87. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_definition.rb +60 -0
  88. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_filter.rb +76 -0
  89. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_rule.rb +87 -0
  90. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_schema.rb +58 -0
  91. data/lib/2019-06-01/generated/azure_mgmt_storage/models/management_policy_snap_shot.rb +47 -0
  92. data/lib/2019-06-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
  93. data/lib/2019-06-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
  94. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
  95. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_display.rb +79 -0
  96. data/lib/2019-06-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
  97. data/lib/2019-06-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
  98. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint.rb +47 -0
  99. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection.rb +101 -0
  100. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_connection_provisioning_state.rb +18 -0
  101. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_endpoint_service_connection_status.rb +17 -0
  102. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource.rb +115 -0
  103. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_resource_list_result.rb +55 -0
  104. data/lib/2019-06-01/generated/azure_mgmt_storage/models/private_link_service_connection_state.rb +72 -0
  105. data/lib/2019-06-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
  106. data/lib/2019-06-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
  107. data/lib/2019-06-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
  108. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
  109. data/lib/2019-06-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
  110. data/lib/2019-06-01/generated/azure_mgmt_storage/models/resource.rb +83 -0
  111. data/lib/2019-06-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
  112. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
  113. data/lib/2019-06-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
  114. data/lib/2019-06-01/generated/azure_mgmt_storage/models/services.rb +18 -0
  115. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
  116. data/lib/2019-06-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
  117. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
  118. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_name.rb +22 -0
  119. data/lib/2019-06-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
  120. data/lib/2019-06-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
  121. data/lib/2019-06-01/generated/azure_mgmt_storage/models/state.rb +19 -0
  122. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account.rb +410 -0
  123. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +63 -0
  124. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +215 -0
  125. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_expand.rb +15 -0
  126. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
  127. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
  128. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +103 -0
  129. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
  130. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +192 -0
  131. data/lib/2019-06-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
  132. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
  133. data/lib/2019-06-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
  134. data/lib/2019-06-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
  135. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
  136. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
  137. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
  138. data/lib/2019-06-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
  139. data/lib/2019-06-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
  140. data/lib/2019-06-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
  141. data/lib/2019-06-01/generated/azure_mgmt_storage/operations.rb +110 -0
  142. data/lib/2019-06-01/generated/azure_mgmt_storage/private_endpoint_connections.rb +388 -0
  143. data/lib/2019-06-01/generated/azure_mgmt_storage/private_link_resources.rb +138 -0
  144. data/lib/2019-06-01/generated/azure_mgmt_storage/skus.rb +116 -0
  145. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_accounts.rb +1754 -0
  146. data/lib/2019-06-01/generated/azure_mgmt_storage/storage_management_client.rb +171 -0
  147. data/lib/2019-06-01/generated/azure_mgmt_storage/usages.rb +120 -0
  148. data/lib/azure_mgmt_storage.rb +1 -0
  149. data/lib/profiles/latest/modules/storage_profile_module.rb +305 -261
  150. data/lib/version.rb +1 -1
  151. metadata +132 -2
@@ -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::V2019_06_01
7
+ module Models
8
+ #
9
+ # Defines values for AccountStatus
10
+ #
11
+ module AccountStatus
12
+ Available = "available"
13
+ Unavailable = "unavailable"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,15 @@
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::V2019_06_01
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,103 @@
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::V2019_06_01
7
+ module Models
8
+ #
9
+ # Settings properties for Active Directory (AD).
10
+ #
11
+ class ActiveDirectoryProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Specifies the primary domain that the AD DNS server is
16
+ # authoritative for.
17
+ attr_accessor :domain_name
18
+
19
+ # @return [String] Specifies the NetBIOS domain name.
20
+ attr_accessor :net_bios_domain_name
21
+
22
+ # @return [String] Specifies the Active Directory forest to get.
23
+ attr_accessor :forest_name
24
+
25
+ # @return [String] Specifies the domain GUID.
26
+ attr_accessor :domain_guid
27
+
28
+ # @return [String] Specifies the security identifier (SID).
29
+ attr_accessor :domain_sid
30
+
31
+ # @return [String] Specifies the security identifier (SID) for Azure
32
+ # Storage.
33
+ attr_accessor :azure_storage_sid
34
+
35
+
36
+ #
37
+ # Mapper for ActiveDirectoryProperties class as Ruby Hash.
38
+ # This will be used for serialization/deserialization.
39
+ #
40
+ def self.mapper()
41
+ {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'ActiveDirectoryProperties',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'ActiveDirectoryProperties',
48
+ model_properties: {
49
+ domain_name: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'domainName',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ net_bios_domain_name: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'netBiosDomainName',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ forest_name: {
66
+ client_side_validation: true,
67
+ required: true,
68
+ serialized_name: 'forestName',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ domain_guid: {
74
+ client_side_validation: true,
75
+ required: true,
76
+ serialized_name: 'domainGuid',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ domain_sid: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'domainSid',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ azure_storage_sid: {
90
+ client_side_validation: true,
91
+ required: true,
92
+ serialized_name: 'azureStorageSid',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ }
97
+ }
98
+ }
99
+ }
100
+ end
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,75 @@
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::V2019_06_01
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource 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: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,59 @@
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::V2019_06_01
7
+ module Models
8
+ #
9
+ # Settings for Azure Files identity based authentication.
10
+ #
11
+ class AzureFilesIdentityBasedAuthentication
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DirectoryServiceOptions] Indicates the directory service used.
16
+ # Possible values include: 'None', 'AADDS', 'AD'
17
+ attr_accessor :directory_service_options
18
+
19
+ # @return [ActiveDirectoryProperties] Required if choose AD.
20
+ attr_accessor :active_directory_properties
21
+
22
+
23
+ #
24
+ # Mapper for AzureFilesIdentityBasedAuthentication class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ client_side_validation: true,
30
+ required: false,
31
+ serialized_name: 'AzureFilesIdentityBasedAuthentication',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AzureFilesIdentityBasedAuthentication',
35
+ model_properties: {
36
+ directory_service_options: {
37
+ client_side_validation: true,
38
+ required: true,
39
+ serialized_name: 'directoryServiceOptions',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ active_directory_properties: {
45
+ client_side_validation: true,
46
+ required: false,
47
+ serialized_name: 'activeDirectoryProperties',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'ActiveDirectoryProperties'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,217 @@
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::V2019_06_01
7
+ module Models
8
+ #
9
+ # Properties of the blob container, including Id, resource name, resource
10
+ # type, Etag.
11
+ #
12
+ class BlobContainer < AzureEntityResource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [PublicAccess] Specifies whether data in the container may be
17
+ # accessed publicly and the level of access. Possible values include:
18
+ # 'Container', 'Blob', 'None'
19
+ attr_accessor :public_access
20
+
21
+ # @return [DateTime] Returns the date and time the container was last
22
+ # modified.
23
+ attr_accessor :last_modified_time
24
+
25
+ # @return [LeaseStatus] The lease status of the container. Possible
26
+ # values include: 'Locked', 'Unlocked'
27
+ attr_accessor :lease_status
28
+
29
+ # @return [LeaseState] Lease state of the container. Possible values
30
+ # include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
31
+ attr_accessor :lease_state
32
+
33
+ # @return [LeaseDuration] Specifies whether the lease on a container is
34
+ # of infinite or fixed duration, only when the container is leased.
35
+ # Possible values include: 'Infinite', 'Fixed'
36
+ attr_accessor :lease_duration
37
+
38
+ # @return [Hash{String => String}] A name-value pair to associate with
39
+ # the container as metadata.
40
+ attr_accessor :metadata
41
+
42
+ # @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
43
+ # of the container.
44
+ attr_accessor :immutability_policy
45
+
46
+ # @return [LegalHoldProperties] The LegalHold property of the container.
47
+ attr_accessor :legal_hold
48
+
49
+ # @return [Boolean] The hasLegalHold public property is set to true by
50
+ # SRP if there are at least one existing tag. The hasLegalHold public
51
+ # property is set to false by SRP if all existing legal hold tags are
52
+ # cleared out. There can be a maximum of 1000 blob containers with
53
+ # hasLegalHold=true for a given account.
54
+ attr_accessor :has_legal_hold
55
+
56
+ # @return [Boolean] The hasImmutabilityPolicy public property is set to
57
+ # true by SRP if ImmutabilityPolicy has been created for this container.
58
+ # The hasImmutabilityPolicy public property is set to false by SRP if
59
+ # ImmutabilityPolicy has not been created for this container.
60
+ attr_accessor :has_immutability_policy
61
+
62
+
63
+ #
64
+ # Mapper for BlobContainer class as Ruby Hash.
65
+ # This will be used for serialization/deserialization.
66
+ #
67
+ def self.mapper()
68
+ {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'BlobContainer',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'BlobContainer',
75
+ model_properties: {
76
+ id: {
77
+ client_side_validation: true,
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'id',
81
+ type: {
82
+ name: 'String'
83
+ }
84
+ },
85
+ name: {
86
+ client_side_validation: true,
87
+ required: false,
88
+ read_only: true,
89
+ serialized_name: 'name',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ type: {
95
+ client_side_validation: true,
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'type',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ },
103
+ etag: {
104
+ client_side_validation: true,
105
+ required: false,
106
+ read_only: true,
107
+ serialized_name: 'etag',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ public_access: {
113
+ client_side_validation: true,
114
+ required: false,
115
+ serialized_name: 'properties.publicAccess',
116
+ type: {
117
+ name: 'Enum',
118
+ module: 'PublicAccess'
119
+ }
120
+ },
121
+ last_modified_time: {
122
+ client_side_validation: true,
123
+ required: false,
124
+ read_only: true,
125
+ serialized_name: 'properties.lastModifiedTime',
126
+ type: {
127
+ name: 'DateTime'
128
+ }
129
+ },
130
+ lease_status: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ read_only: true,
134
+ serialized_name: 'properties.leaseStatus',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ },
139
+ lease_state: {
140
+ client_side_validation: true,
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'properties.leaseState',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ },
148
+ lease_duration: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ read_only: true,
152
+ serialized_name: 'properties.leaseDuration',
153
+ type: {
154
+ name: 'String'
155
+ }
156
+ },
157
+ metadata: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ serialized_name: 'properties.metadata',
161
+ type: {
162
+ name: 'Dictionary',
163
+ value: {
164
+ client_side_validation: true,
165
+ required: false,
166
+ serialized_name: 'StringElementType',
167
+ type: {
168
+ name: 'String'
169
+ }
170
+ }
171
+ }
172
+ },
173
+ immutability_policy: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ read_only: true,
177
+ serialized_name: 'properties.immutabilityPolicy',
178
+ type: {
179
+ name: 'Composite',
180
+ class_name: 'ImmutabilityPolicyProperties'
181
+ }
182
+ },
183
+ legal_hold: {
184
+ client_side_validation: true,
185
+ required: false,
186
+ read_only: true,
187
+ serialized_name: 'properties.legalHold',
188
+ type: {
189
+ name: 'Composite',
190
+ class_name: 'LegalHoldProperties'
191
+ }
192
+ },
193
+ has_legal_hold: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ read_only: true,
197
+ serialized_name: 'properties.hasLegalHold',
198
+ type: {
199
+ name: 'Boolean'
200
+ }
201
+ },
202
+ has_immutability_policy: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ read_only: true,
206
+ serialized_name: 'properties.hasImmutabilityPolicy',
207
+ type: {
208
+ name: 'Boolean'
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ end
215
+ end
216
+ end
217
+ end