StorageAccount Class
The storage Account.
- Inheritance
-
msrest.serialization.ModelStorageAccount
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
|
The name of the storage account. |
is_default
Required
|
Whether or not the storage account is the default storage account. |
container
Required
|
The container in the storage account, only to be specified for WASB storage accounts. |
file_system
Required
|
The filesystem, only to be specified for Azure Data Lake Storage Gen 2. |
key
Required
|
The storage account access key. |
resource_id
Required
|
The resource ID of storage account, only to be specified for Azure Data Lake Storage Gen 2. |
msi_resource_id
Required
|
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
|
The shared access signature key. |
fileshare
Required
|
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
|
|
Azure SDK for Python