Package version:

Interface BlobContainer

Properties of the blob container, including Id, resource name, resource type, Etag.

interface BlobContainer {
    defaultEncryptionScope?: string;
    deleted?: boolean;
    deletedTime?: any;
    denyEncryptionScopeOverride?: boolean;
    enableNfsV3AllSquash?: boolean;
    enableNfsV3RootSquash?: boolean;
    etag?: string;
    hasImmutabilityPolicy?: boolean;
    hasLegalHold?: boolean;
    id?: string;
    immutabilityPolicy?: ImmutabilityPolicyProperties;
    immutableStorageWithVersioning?: ImmutableStorageWithVersioning;
    lastModifiedTime?: any;
    leaseDuration?: string;
    leaseState?: string;
    leaseStatus?: string;
    legalHold?: LegalHoldProperties;
    metadata?: {
        [propertyName: string]: string;
    };
    name?: string;
    publicAccess?: PublicAccess;
    remainingRetentionDays?: number;
    type?: string;
    version?: string;
}

Hierarchy (view full)

Properties

defaultEncryptionScope?: string

Default the container to use specified encryption scope for all writes.

deleted?: boolean

Indicates whether the blob container was deleted. NOTE: This property will not be serialized. It can only be populated by the server.

deletedTime?: any

Blob container deletion time. NOTE: This property will not be serialized. It can only be populated by the server.

denyEncryptionScopeOverride?: boolean

Block override of encryption scope from the container default.

enableNfsV3AllSquash?: boolean

Enable NFSv3 all squash on blob container.

enableNfsV3RootSquash?: boolean

Enable NFSv3 root squash on blob container.

etag?: string

Resource Etag. NOTE: This property will not be serialized. It can only be populated by the server.

hasImmutabilityPolicy?: 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. NOTE: This property will not be serialized. It can only be populated by the server.

hasLegalHold?: 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. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

immutabilityPolicy?: ImmutabilityPolicyProperties

The ImmutabilityPolicy property of the container. NOTE: This property will not be serialized. It can only be populated by the server.

immutableStorageWithVersioning?: ImmutableStorageWithVersioning

The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process.

lastModifiedTime?: any

Returns the date and time the container was last modified. NOTE: This property will not be serialized. It can only be populated by the server.

leaseDuration?: string

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. NOTE: This property will not be serialized. It can only be populated by the server.

leaseState?: string

Lease state of the container. NOTE: This property will not be serialized. It can only be populated by the server.

leaseStatus?: string

The lease status of the container. NOTE: This property will not be serialized. It can only be populated by the server.

The LegalHold property of the container. NOTE: This property will not be serialized. It can only be populated by the server.

metadata?: {
    [propertyName: string]: string;
}

A name-value pair to associate with the container as metadata.

name?: string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

publicAccess?: PublicAccess

Specifies whether data in the container may be accessed publicly and the level of access.

remainingRetentionDays?: number

Remaining retention days for soft deleted blob container. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

version?: string

The version of the deleted blob container. NOTE: This property will not be serialized. It can only be populated by the server.