BlobContainer Class
Properties of the blob container, including Id, resource name, resource type, Etag.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2018_02_01.models._models_py3.AzureEntityResourceBlobContainer
Constructor
BlobContainer(*, public_access: Optional[Union[str, azure.mgmt.storage.v2018_02_01.models._storage_management_client_enums.PublicAccess]] = None, metadata: Optional[Dict[str, str]] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- etag
- str
Resource Etag.
- public_access
- str or PublicAccess
Specifies whether data in the container may be accessed publicly and the level of access. Possible values include: "Container", "Blob", "None".
- last_modified_time
- datetime
Returns the date and time the container was last modified.
- lease_status
- str or LeaseStatus
The lease status of the container. Possible values include: "Locked", "Unlocked".
- lease_state
- str or LeaseState
Lease state of the container. Possible values include: "Available", "Leased", "Expired", "Breaking", "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. Possible values include: "Infinite", "Fixed".
- immutability_policy
- ImmutabilityPolicyProperties
The ImmutabilityPolicy property of the container.
- legal_hold
- LegalHoldProperties
The LegalHold property of the container.
- has_legal_hold
- bool
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
- bool
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.
Feedback
Submit and view feedback for