Udostępnij za pośrednictwem


BlobContainer Class

Definition

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

[Microsoft.Rest.Serialization.JsonTransformation]
public class BlobContainer : Microsoft.Azure.Management.Storage.Models.AzureEntityResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type BlobContainer = class
    inherit AzureEntityResource
Public Class BlobContainer
Inherits AzureEntityResource
Inheritance
Attributes

Constructors

BlobContainer()

Initializes a new instance of the BlobContainer class.

BlobContainer(String, String, String, String, String, Nullable<Boolean>, Nullable<DateTime>, Nullable<Int32>, String, Nullable<Boolean>, Nullable<PublicAccess>, Nullable<DateTime>, String, String, String, IDictionary<String,String>, ImmutabilityPolicyProperties, LegalHoldProperties, Nullable<Boolean>, Nullable<Boolean>, ImmutableStorageWithVersioning, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the BlobContainer class.

Properties

DefaultEncryptionScope

Gets or sets default the container to use specified encryption scope for all writes.

Deleted

Gets indicates whether the blob container was deleted.

DeletedTime

Gets blob container deletion time.

DenyEncryptionScopeOverride

Gets or sets block override of encryption scope from the container default.

EnableNfsV3AllSquash

Gets or sets enable NFSv3 all squash on blob container.

EnableNfsV3RootSquash

Gets or sets enable NFSv3 root squash on blob container.

Etag

Gets resource Etag.

(Inherited from AzureEntityResource)
HasImmutabilityPolicy

Gets 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.

HasLegalHold

Gets 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.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
ImmutabilityPolicy

Gets the ImmutabilityPolicy property of the container.

ImmutableStorageWithVersioning

Gets or sets 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

Gets returns the date and time the container was last modified.

LeaseDuration

Gets specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Possible values include: 'Infinite', 'Fixed'

LeaseState

Gets lease state of the container. Possible values include: 'Available', 'Leased', 'Expired', 'Breaking', 'Broken'

LeaseStatus

Gets the lease status of the container. Possible values include: 'Locked', 'Unlocked'

LegalHold

Gets the LegalHold property of the container.

Metadata

Gets or sets a name-value pair to associate with the container as metadata.

Name

Gets the name of the resource

(Inherited from Resource)
PublicAccess

Gets or sets specifies whether data in the container may be accessed publicly and the level of access. Possible values include: 'Container', 'Blob', 'None'

RemainingRetentionDays

Gets remaining retention days for soft deleted blob container.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
Version

Gets the version of the deleted blob container.

Applies to