你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ListContainerItem Class
The blob container properties be listed out.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2023_05_01.models._models_py3.AzureEntityResourceListContainerItem
Constructor
ListContainerItem(*, default_encryption_scope: str | None = None, deny_encryption_scope_override: bool | None = None, public_access: str | _models.PublicAccess | None = None, metadata: Dict[str, str] | None = None, immutable_storage_with_versioning: _models.ImmutableStorageWithVersioning | None = None, enable_nfs_v3_root_squash: bool | None = None, enable_nfs_v3_all_squash: bool | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
default_encryption_scope
|
Default the container to use specified encryption scope for all writes. |
deny_encryption_scope_override
|
Block override of encryption scope from the container default. |
public_access
|
str or
PublicAccess
Specifies whether data in the container may be accessed publicly and the level of access. Known values are: "Container", "Blob", and "None". |
metadata
|
A name-value pair to associate with the container as metadata. |
immutable_storage_with_versioning
|
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. |
enable_nfs_v3_root_squash
|
Enable NFSv3 root squash on blob container. |
enable_nfs_v3_all_squash
|
Enable NFSv3 all squash on blob container. |
Variables
Name | Description |
---|---|
id
|
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name
|
The name of the resource. |
type
|
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
etag
|
Resource Etag. |
version
|
The version of the deleted blob container. |
deleted
|
Indicates whether the blob container was deleted. |
deleted_time
|
Blob container deletion time. |
remaining_retention_days
|
Remaining retention days for soft deleted blob container. |
default_encryption_scope
|
Default the container to use specified encryption scope for all writes. |
deny_encryption_scope_override
|
Block override of encryption scope from the container default. |
public_access
|
str or
PublicAccess
Specifies whether data in the container may be accessed publicly and the level of access. Known values are: "Container", "Blob", and "None". |
last_modified_time
|
Returns the date and time the container was last modified. |
lease_status
|
str or
LeaseStatus
The lease status of the container. Known values are: "Locked" and "Unlocked". |
lease_state
|
str or
LeaseState
Lease state of the container. Known values are: "Available", "Leased", "Expired", "Breaking", and "Broken". |
lease_duration
|
str or
LeaseDuration
Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased. Known values are: "Infinite" and "Fixed". |
metadata
|
A name-value pair to associate with the container as metadata. |
immutability_policy
|
The ImmutabilityPolicy property of the container. |
legal_hold
|
The LegalHold property of the container. |
has_legal_hold
|
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. |
has_immutability_policy
|
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. |
immutable_storage_with_versioning
|
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. |
enable_nfs_v3_root_squash
|
Enable NFSv3 root squash on blob container. |
enable_nfs_v3_all_squash
|
Enable NFSv3 all squash on blob container. |