class Azure::Storage::Mgmt::V2021_01_01::Models::LegalHoldProperties
The LegalHold
property of a blob container.
Attributes
has_legal_hold[RW]
@return [Boolean] The hasLegalHold public property is set to true by 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.
Private Class Methods
mapper()
click to toggle source
Mapper for LegalHoldProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2021-01-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