azure_mgmt_storage 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-05-01-preview/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-01-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2016-12-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-06-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2017-10-01/generated/azure_mgmt_storage/storage_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_storage.rb +107 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/blob_containers.rb +1721 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/access_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_sas_parameters.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/account_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/action.rb +15 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/azure_entity_resource.rb +75 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/blob_container.rb +217 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/bypass.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/check_name_availability_result.rb +77 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/custom_domain.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/default_action.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/dimension.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_service.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/encryption_services.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/endpoints.rb +84 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/http_protocol.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/identity.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy.rb +98 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_properties.rb +95 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_state.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/immutability_policy_update_type.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/iprule.rb +61 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_permission.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_source.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/key_vault_properties.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/kind.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_duration.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/lease_status.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb +72 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_account_sas_response.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_item.rb +216 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_container_items.rb +55 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/list_service_sas_response.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/metric_specification.rb +145 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/network_rule_set.rb +106 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_display.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/operation_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/permissions.rb +22 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/provisioning_state.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/proxy_resource.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/public_access.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/reason_code.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/resource.rb +74 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/restriction.rb +85 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_sas_parameters.rb +247 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/service_specification.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/services.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/signed_resource_types.rb +17 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku.rb +157 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_name.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/sku_tier.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb +63 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/state.rb +19 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account.rb +326 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb +62 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb +179 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_key.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_keys_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_regenerate_key_parameters.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb +167 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/storage_sku_list_result.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/tag_property.rb +97 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/tracked_resource.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/update_history_property.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage.rb +89 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_list_result.rb +56 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_name.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/usage_unit.rb +20 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/models/virtual_network_rule.rb +75 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/operations.rb +108 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/skus.rb +114 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_accounts.rb +1340 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/storage_management_client.rb +146 -0
- data/lib/2018-02-01/generated/azure_mgmt_storage/usage_operations.rb +207 -0
- data/lib/azure_mgmt_storage.rb +1 -0
- data/lib/profiles/latest/modules/storage_profile_module.rb +222 -148
- data/lib/version.rb +1 -1
- metadata +86 -3
@@ -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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeyPermission
|
10
|
+
#
|
11
|
+
module KeyPermission
|
12
|
+
Read = "Read"
|
13
|
+
Full = "Full"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeySource
|
10
|
+
#
|
11
|
+
module KeySource
|
12
|
+
MicrosoftStorage = "Microsoft.Storage"
|
13
|
+
MicrosoftKeyvault = "Microsoft.Keyvault"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,68 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of key vault.
|
10
|
+
#
|
11
|
+
class KeyVaultProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of KeyVault key.
|
16
|
+
attr_accessor :key_name
|
17
|
+
|
18
|
+
# @return [String] The version of KeyVault key.
|
19
|
+
attr_accessor :key_version
|
20
|
+
|
21
|
+
# @return [String] The Uri of KeyVault.
|
22
|
+
attr_accessor :key_vault_uri
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for KeyVaultProperties 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: 'KeyVaultProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'KeyVaultProperties',
|
37
|
+
model_properties: {
|
38
|
+
key_name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'keyname',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
key_version: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'keyversion',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
key_vault_uri: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'keyvaulturi',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Kind
|
10
|
+
#
|
11
|
+
module Kind
|
12
|
+
Storage = "Storage"
|
13
|
+
StorageV2 = "StorageV2"
|
14
|
+
BlobStorage = "BlobStorage"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for LeaseDuration
|
10
|
+
#
|
11
|
+
module LeaseDuration
|
12
|
+
Infinite = "Infinite"
|
13
|
+
Fixed = "Fixed"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::Storage::Mgmt::V2018_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for LeaseState
|
10
|
+
#
|
11
|
+
module LeaseState
|
12
|
+
Available = "Available"
|
13
|
+
Leased = "Leased"
|
14
|
+
Expired = "Expired"
|
15
|
+
Breaking = "Breaking"
|
16
|
+
Broken = "Broken"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for LeaseStatus
|
10
|
+
#
|
11
|
+
module LeaseStatus
|
12
|
+
Locked = "Locked"
|
13
|
+
Unlocked = "Unlocked"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The LegalHold property of a blob container.
|
10
|
+
#
|
11
|
+
class LegalHold
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] The hasLegalHold public property is set to true by
|
16
|
+
# SRP if there are at least one existing tag. The hasLegalHold public
|
17
|
+
# property is set to false by SRP if all existing legal hold tags are
|
18
|
+
# cleared out. There can be a maximum of 1000 blob containers with
|
19
|
+
# hasLegalHold=true for a given account.
|
20
|
+
attr_accessor :has_legal_hold
|
21
|
+
|
22
|
+
# @return [Array<String>] Each tag should be 3 to 23 alphanumeric
|
23
|
+
# characters and is normalized to lower case at SRP.
|
24
|
+
attr_accessor :tags
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for LegalHold class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'LegalHold',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'LegalHold',
|
39
|
+
model_properties: {
|
40
|
+
has_legal_hold: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'hasLegalHold',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
tags: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'tags',
|
53
|
+
type: {
|
54
|
+
name: 'Sequence',
|
55
|
+
element: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'StringElementType',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The LegalHold property of a blob container.
|
10
|
+
#
|
11
|
+
class LegalHoldProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] The hasLegalHold public property is set to true by
|
16
|
+
# SRP if there are at least one existing tag. The hasLegalHold public
|
17
|
+
# property is set to false by SRP if all existing legal hold tags are
|
18
|
+
# cleared out. There can be a maximum of 1000 blob containers with
|
19
|
+
# hasLegalHold=true for a given account.
|
20
|
+
attr_accessor :has_legal_hold
|
21
|
+
|
22
|
+
# @return [Array<TagProperty>] The list of LegalHold tags of a blob
|
23
|
+
# container.
|
24
|
+
attr_accessor :tags
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for LegalHoldProperties class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'LegalHoldProperties',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'LegalHoldProperties',
|
39
|
+
model_properties: {
|
40
|
+
has_legal_hold: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
read_only: true,
|
44
|
+
serialized_name: 'hasLegalHold',
|
45
|
+
type: {
|
46
|
+
name: 'Boolean'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
tags: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'tags',
|
53
|
+
type: {
|
54
|
+
name: 'Sequence',
|
55
|
+
element: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'TagPropertyElementType',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'TagProperty'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The List SAS credentials operation response.
|
10
|
+
#
|
11
|
+
class ListAccountSasResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] List SAS credentials of storage account.
|
16
|
+
attr_accessor :account_sas_token
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for ListAccountSasResponse class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ListAccountSasResponse',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ListAccountSasResponse',
|
31
|
+
model_properties: {
|
32
|
+
account_sas_token: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
read_only: true,
|
36
|
+
serialized_name: 'accountSasToken',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,216 @@
|
|
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_02_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The blob container properties be listed out.
|
10
|
+
#
|
11
|
+
class ListContainerItem < AzureEntityResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [PublicAccess] Specifies whether data in the container may be
|
16
|
+
# accessed publicly and the level of access. Possible values include:
|
17
|
+
# 'Container', 'Blob', 'None'
|
18
|
+
attr_accessor :public_access
|
19
|
+
|
20
|
+
# @return [DateTime] Returns the date and time the container was last
|
21
|
+
# modified.
|
22
|
+
attr_accessor :last_modified_time
|
23
|
+
|
24
|
+
# @return [LeaseStatus] The lease status of the container. Possible
|
25
|
+
# values include: 'Locked', 'Unlocked'
|
26
|
+
attr_accessor :lease_status
|
27
|
+
|
28
|
+
# @return [LeaseState] Lease state of the container. Possible values
|
29
|
+
# include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
|
30
|
+
attr_accessor :lease_state
|
31
|
+
|
32
|
+
# @return [LeaseDuration] Specifies whether the lease on a container is
|
33
|
+
# of infinite or fixed duration, only when the container is leased.
|
34
|
+
# Possible values include: 'Infinite', 'Fixed'
|
35
|
+
attr_accessor :lease_duration
|
36
|
+
|
37
|
+
# @return [Hash{String => String}] A name-value pair to associate with
|
38
|
+
# the container as metadata.
|
39
|
+
attr_accessor :metadata
|
40
|
+
|
41
|
+
# @return [ImmutabilityPolicyProperties] The ImmutabilityPolicy property
|
42
|
+
# of the container.
|
43
|
+
attr_accessor :immutability_policy
|
44
|
+
|
45
|
+
# @return [LegalHoldProperties] The LegalHold property of the container.
|
46
|
+
attr_accessor :legal_hold
|
47
|
+
|
48
|
+
# @return [Boolean] The hasLegalHold public property is set to true by
|
49
|
+
# SRP if there are at least one existing tag. The hasLegalHold public
|
50
|
+
# property is set to false by SRP if all existing legal hold tags are
|
51
|
+
# cleared out. There can be a maximum of 1000 blob containers with
|
52
|
+
# hasLegalHold=true for a given account.
|
53
|
+
attr_accessor :has_legal_hold
|
54
|
+
|
55
|
+
# @return [Boolean] The hasImmutabilityPolicy public property is set to
|
56
|
+
# true by SRP if ImmutabilityPolicy has been created for this container.
|
57
|
+
# The hasImmutabilityPolicy public property is set to false by SRP if
|
58
|
+
# ImmutabilityPolicy has not been created for this container.
|
59
|
+
attr_accessor :has_immutability_policy
|
60
|
+
|
61
|
+
|
62
|
+
#
|
63
|
+
# Mapper for ListContainerItem class as Ruby Hash.
|
64
|
+
# This will be used for serialization/deserialization.
|
65
|
+
#
|
66
|
+
def self.mapper()
|
67
|
+
{
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'ListContainerItem',
|
71
|
+
type: {
|
72
|
+
name: 'Composite',
|
73
|
+
class_name: 'ListContainerItem',
|
74
|
+
model_properties: {
|
75
|
+
id: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'id',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
name: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
read_only: true,
|
88
|
+
serialized_name: 'name',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
type: {
|
94
|
+
client_side_validation: true,
|
95
|
+
required: false,
|
96
|
+
read_only: true,
|
97
|
+
serialized_name: 'type',
|
98
|
+
type: {
|
99
|
+
name: 'String'
|
100
|
+
}
|
101
|
+
},
|
102
|
+
etag: {
|
103
|
+
client_side_validation: true,
|
104
|
+
required: false,
|
105
|
+
read_only: true,
|
106
|
+
serialized_name: 'etag',
|
107
|
+
type: {
|
108
|
+
name: 'String'
|
109
|
+
}
|
110
|
+
},
|
111
|
+
public_access: {
|
112
|
+
client_side_validation: true,
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'properties.publicAccess',
|
115
|
+
type: {
|
116
|
+
name: 'Enum',
|
117
|
+
module: 'PublicAccess'
|
118
|
+
}
|
119
|
+
},
|
120
|
+
last_modified_time: {
|
121
|
+
client_side_validation: true,
|
122
|
+
required: false,
|
123
|
+
read_only: true,
|
124
|
+
serialized_name: 'properties.lastModifiedTime',
|
125
|
+
type: {
|
126
|
+
name: 'DateTime'
|
127
|
+
}
|
128
|
+
},
|
129
|
+
lease_status: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: false,
|
132
|
+
read_only: true,
|
133
|
+
serialized_name: 'properties.leaseStatus',
|
134
|
+
type: {
|
135
|
+
name: 'String'
|
136
|
+
}
|
137
|
+
},
|
138
|
+
lease_state: {
|
139
|
+
client_side_validation: true,
|
140
|
+
required: false,
|
141
|
+
read_only: true,
|
142
|
+
serialized_name: 'properties.leaseState',
|
143
|
+
type: {
|
144
|
+
name: 'String'
|
145
|
+
}
|
146
|
+
},
|
147
|
+
lease_duration: {
|
148
|
+
client_side_validation: true,
|
149
|
+
required: false,
|
150
|
+
read_only: true,
|
151
|
+
serialized_name: 'properties.leaseDuration',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
metadata: {
|
157
|
+
client_side_validation: true,
|
158
|
+
required: false,
|
159
|
+
serialized_name: 'properties.metadata',
|
160
|
+
type: {
|
161
|
+
name: 'Dictionary',
|
162
|
+
value: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'StringElementType',
|
166
|
+
type: {
|
167
|
+
name: 'String'
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
},
|
172
|
+
immutability_policy: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
read_only: true,
|
176
|
+
serialized_name: 'properties.immutabilityPolicy',
|
177
|
+
type: {
|
178
|
+
name: 'Composite',
|
179
|
+
class_name: 'ImmutabilityPolicyProperties'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
legal_hold: {
|
183
|
+
client_side_validation: true,
|
184
|
+
required: false,
|
185
|
+
read_only: true,
|
186
|
+
serialized_name: 'properties.legalHold',
|
187
|
+
type: {
|
188
|
+
name: 'Composite',
|
189
|
+
class_name: 'LegalHoldProperties'
|
190
|
+
}
|
191
|
+
},
|
192
|
+
has_legal_hold: {
|
193
|
+
client_side_validation: true,
|
194
|
+
required: false,
|
195
|
+
read_only: true,
|
196
|
+
serialized_name: 'properties.hasLegalHold',
|
197
|
+
type: {
|
198
|
+
name: 'Boolean'
|
199
|
+
}
|
200
|
+
},
|
201
|
+
has_immutability_policy: {
|
202
|
+
client_side_validation: true,
|
203
|
+
required: false,
|
204
|
+
read_only: true,
|
205
|
+
serialized_name: 'properties.hasImmutabilityPolicy',
|
206
|
+
type: {
|
207
|
+
name: 'Boolean'
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
}
|
213
|
+
end
|
214
|
+
end
|
215
|
+
end
|
216
|
+
end
|