StorageAccountCredential Class

The storage account credential.

Variables are only populated by the server, and will be ignored when sending a request.

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

Constructor

StorageAccountCredential(*, alias: str, ssl_status: str | _models.SSLStatus, account_type: str | _models.AccountType, user_name: str | None = None, account_key: _models.AsymmetricEncryptedSecret | None = None, connection_string: str | None = None, blob_domain_name: str | None = None, storage_account_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
alias
str

Alias for the storage account. Required.

user_name
str

Username for the storage account.

Default value: None
account_key

Encrypted storage key.

Default value: None
connection_string
str

Connection string for the storage account. Use this string if username and account key are not specified.

Default value: None
ssl_status

Signifies whether SSL needs to be enabled or not. Required. Known values are: "Enabled" and "Disabled".

blob_domain_name
str

Blob end point for private clouds.

Default value: None
account_type

Type of storage accessed on the storage account. Required. Known values are: "GeneralPurposeStorage" and "BlobStorage".

storage_account_id
str

Id of the storage account.

Default value: None

Variables

Name Description
id
str

The path ID that uniquely identifies the object.

name
str

The object name.

type
str

The hierarchical type of the object.

alias
str

Alias for the storage account. Required.

user_name
str

Username for the storage account.

account_key

Encrypted storage key.

connection_string
str

Connection string for the storage account. Use this string if username and account key are not specified.

ssl_status

Signifies whether SSL needs to be enabled or not. Required. Known values are: "Enabled" and "Disabled".

blob_domain_name
str

Blob end point for private clouds.

account_type

Type of storage accessed on the storage account. Required. Known values are: "GeneralPurposeStorage" and "BlobStorage".

storage_account_id
str

Id of the storage account.