StorageAccount Class
The storage account.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.storage.v2016_12_01.models._models_py3.ResourceStorageAccount
Constructor
StorageAccount(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, enable_https_traffic_only: Optional[bool] = False, **kwargs)
Variables
- id
- str
Resource Id.
- name
- str
Resource name.
- type
- str
Resource type.
- location
- str
Resource location.
A set of tags. Tags assigned to a resource; can be used for viewing and grouping a resource (across resource groups).
- sku
- Sku
Gets the SKU.
- provisioning_state
- str or ProvisioningState
Gets the status of the storage account at the time the operation was called. Possible values include: "Creating", "ResolvingDNS", "Succeeded".
- primary_endpoints
- Endpoints
Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object. Note that Standard_ZRS and Premium_LRS accounts only return the blob endpoint.
- primary_location
- str
Gets the location of the primary data center for the storage account.
- status_of_primary
- str or AccountStatus
Gets the status indicating whether the primary location of the storage account is available or unavailable. Possible values include: "available", "unavailable".
- last_geo_failover_time
- datetime
Gets the timestamp of the most recent instance of a failover to the secondary location. Only the most recent timestamp is retained. This element is not returned if there has never been a failover instance. Only available if the accountType is Standard_GRS or Standard_RAGRS.
- secondary_location
- str
Gets the location of the geo-replicated secondary for the storage account. Only available if the accountType is Standard_GRS or Standard_RAGRS.
- status_of_secondary
- str or AccountStatus
Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible values include: "available", "unavailable".
- creation_time
- datetime
Gets the creation date and time of the storage account in UTC.
- custom_domain
- CustomDomain
Gets the custom domain the user assigned to this storage account.
- secondary_endpoints
- Endpoints
Gets the URLs that are used to perform a retrieval of a public blob, queue, or table object from the secondary location of the storage account. Only available if the SKU name is Standard_RAGRS.
- encryption
- Encryption
Gets the encryption settings on the account. If unspecified, the account is unencrypted.
- access_tier
- str or AccessTier
Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: "Hot", "Cool".
- enable_https_traffic_only
- <xref:enable_https_traffic_only>)<xref: >(bool
Allows https traffic only to storage service if sets to true.
Feedback
Submit and view feedback for