StorageAccount Class

The storage Account.

Constructor

StorageAccount(*, name: str | None = None, is_default: bool | None = None, container: str | None = None, file_system: str | None = None, key: str | None = None, resource_id: str | None = None, msi_resource_id: str | None = None, saskey: str | None = None, fileshare: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the storage account.

Default value: None
is_default

Whether or not the storage account is the default storage account.

Default value: None
container
str

The container in the storage account, only to be specified for WASB storage accounts.

Default value: None
file_system
str

The filesystem, only to be specified for Azure Data Lake Storage Gen 2.

Default value: None
key
str

The storage account access key.

Default value: None
resource_id
str

The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

Default value: None
msi_resource_id
str

The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

Default value: None
saskey
str

The shared access signature key.

Default value: None
fileshare
str

The file share name.

Default value: None

Variables

Name Description
name
str

The name of the storage account.

is_default

Whether or not the storage account is the default storage account.

container
str

The container in the storage account, only to be specified for WASB storage accounts.

file_system
str

The filesystem, only to be specified for Azure Data Lake Storage Gen 2.

key
str

The storage account access key.

resource_id
str

The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2.

msi_resource_id
str

The managed identity (MSI) that is allowed to access the storage account, only to be specified for Azure Data Lake Storage Gen 2.

saskey
str

The shared access signature key.

fileshare
str

The file share name.