共用方式為


BlobContainerData Class

Definition

A class representing the BlobContainer data model. Properties of the blob container, including Id, resource name, resource type, Etag.

public class BlobContainerData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.BlobContainerData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.BlobContainerData>
public class BlobContainerData : Azure.ResourceManager.Models.ResourceData
type BlobContainerData = class
    inherit ResourceData
    interface IJsonModel<BlobContainerData>
    interface IPersistableModel<BlobContainerData>
type BlobContainerData = class
    inherit ResourceData
Public Class BlobContainerData
Inherits ResourceData
Implements IJsonModel(Of BlobContainerData), IPersistableModel(Of BlobContainerData)
Public Class BlobContainerData
Inherits ResourceData
Inheritance
BlobContainerData
Implements

Constructors

BlobContainerData()

Initializes a new instance of BlobContainerData.

Properties

DefaultEncryptionScope

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

DeletedOn

Blob container deletion time.

EnableNfsV3AllSquash

Enable NFSv3 all squash on blob container.

EnableNfsV3RootSquash

Enable NFSv3 root squash on blob container.

ETag

Resource Etag.

HasImmutabilityPolicy

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

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

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

(Inherited from ResourceData)
ImmutabilityPolicy

The ImmutabilityPolicy property of the container.

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.

IsDeleted

Indicates whether the blob container was deleted.

LastModifiedOn

Returns the date and time the container was last modified.

LeaseDuration

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

LeaseState

Lease state of the container.

LeaseStatus

The lease status of the container.

LegalHold

The LegalHold property of the container.

Metadata

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

Name

The name of the resource.

(Inherited from ResourceData)
PreventEncryptionScopeOverride

Block override of encryption scope from the container default.

PublicAccess

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

RemainingRetentionDays

Remaining retention days for soft deleted blob container.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Version

The version of the deleted blob container.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<BlobContainerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BlobContainerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BlobContainerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BlobContainerData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BlobContainerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to