class Azure::Storage::Mgmt::V2018_07_01::Models::BlobContainer
Properties of the blob container, including Id, resource name, resource type, Etag.
Attributes
@return [Boolean] The hasImmutabilityPolicy public property is set to true by SRP if ImmutabilityPolicy
has been created for this container. The hasImmutabilityPolicy public property is set to false by SRP if ImmutabilityPolicy
has not been created for this container.
@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.
@return [ImmutabilityPolicyProperties] The ImmutabilityPolicy
property of the container.
@return [DateTime] Returns the date and time the container was last modified.
@return [LeaseDuration] Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed'
@return [LeaseState] Lease state of the container. Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'
@return [LeaseStatus] The lease status of the container. Possible values include: 'Locked', 'Unlocked'
@return [LegalHoldProperties] The LegalHold
property of the container.
@return [Hash{String => String}] A name-value pair to associate with the container as metadata.
@return [PublicAccess] Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'Container', 'Blob', 'None'
Public Class Methods
Mapper for BlobContainer
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-07-01/generated/azure_mgmt_storage/models/blob_container.rb, line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BlobContainer', type: { name: 'Composite', class_name: 'BlobContainer', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } }, public_access: { client_side_validation: true, required: false, serialized_name: 'properties.publicAccess', type: { name: 'Enum', module: 'PublicAccess' } }, last_modified_time: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTime', type: { name: 'DateTime' } }, lease_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseStatus', type: { name: 'String' } }, lease_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseState', type: { name: 'String' } }, lease_duration: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.leaseDuration', type: { name: 'String' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, immutability_policy: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.immutabilityPolicy', type: { name: 'Composite', class_name: 'ImmutabilityPolicyProperties' } }, legal_hold: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.legalHold', type: { name: 'Composite', class_name: 'LegalHoldProperties' } }, has_legal_hold: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasLegalHold', type: { name: 'Boolean' } }, has_immutability_policy: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hasImmutabilityPolicy', type: { name: 'Boolean' } } } } } end