StorageAccount Class

The storage Account.

Inheritance
msrest.serialization.Model
StorageAccount

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)

Parameters

Name Description
name
Required
str

The name of the storage account.

is_default
Required

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

container
Required
str

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

file_system
Required
str

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

key
Required
str

The storage account access key.

resource_id
Required
str

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

msi_resource_id
Required
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
Required
str

The shared access signature key.

fileshare
Required
str

The file share name.

Keyword-Only Parameters

Name Description
name
Required
is_default
Required
container
Required
file_system
Required
key
Required
resource_id
Required
msi_resource_id
Required
saskey
Required
fileshare
Required