Class: Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_02_01::Models::LegalHoldProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb
Overview
The LegalHold property of a blob container.
Instance Attribute Summary collapse
-
#has_legal_hold ⇒ Boolean
SRP if there are at least one existing tag.
-
#tags ⇒ Array<TagProperty>
container.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LegalHoldProperties class as Ruby Hash.
Instance Attribute Details
#has_legal_hold ⇒ Boolean
SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account.
20 21 22 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb', line 20 def has_legal_hold @has_legal_hold end |
#tags ⇒ Array<TagProperty>
container.
24 25 26 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb', line 24 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for LegalHoldProperties class as Ruby Hash. This will be used for serialization/deserialization.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/legal_hold_properties.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LegalHoldProperties', type: { name: 'Composite', class_name: 'LegalHoldProperties', model_properties: { has_legal_hold: { client_side_validation: true, required: false, read_only: true, serialized_name: 'hasLegalHold', type: { name: 'Boolean' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TagPropertyElementType', type: { name: 'Composite', class_name: 'TagProperty' } } } } } } } end |