StorageAccountCreateParameters Class

The parameters used when creating a storage account.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.storage._serialization.Model
StorageAccountCreateParameters

Constructor

StorageAccountCreateParameters(*, sku: _models.Sku, kind: str | _models.Kind, location: str, tags: Dict[str, str] | None = None, custom_domain: _models.CustomDomain | None = None, encryption: _models.Encryption | None = None, access_tier: str | _models.AccessTier | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
sku
Sku

Required. Gets or sets the sku name. Required.

kind
str or Kind

Required. Indicates the type of storage account. Required. Known values are: "Storage" and "BlobStorage".

location
str

Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Required.

tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.

custom_domain

User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

encryption

Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted.

access_tier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. Known values are: "Hot" and "Cool".

Variables

Name Description
sku
Sku

Required. Gets or sets the sku name. Required.

kind
str or Kind

Required. Indicates the type of storage account. Required. Known values are: "Storage" and "BlobStorage".

location
str

Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. Required.

tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters.

custom_domain

User domain assigned to the storage account. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

encryption

Provides the encryption settings on the account. If left unspecified the account encryption settings will remain the same. The default setting is unencrypted.

access_tier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. Known values are: "Hot" and "Cool".