AutoStorageProperties Class

Contains information about the auto-storage account associated with a Batch account.

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

Inheritance
azure.mgmt.batch.models._models_py3.AutoStorageBaseProperties
AutoStorageProperties

Constructor

AutoStorageProperties(*, storage_account_id: str, last_key_sync: datetime, authentication_mode: str | _models.AutoStorageAuthenticationMode = 'StorageKeys', node_identity_reference: _models.ComputeNodeIdentityReference | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
storage_account_id
str

The resource ID of the storage account to be used for auto-storage account. Required.

authentication_mode

The authentication mode which the Batch service will use to manage the auto-storage account. Known values are: "StorageKeys" and "BatchAccountManagedIdentity".

Default value: StorageKeys
node_identity_reference

The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.

last_key_sync

The UTC time at which storage keys were last synchronized with the Batch account. Required.

Variables

Name Description
storage_account_id
str

The resource ID of the storage account to be used for auto-storage account. Required.

authentication_mode

The authentication mode which the Batch service will use to manage the auto-storage account. Known values are: "StorageKeys" and "BatchAccountManagedIdentity".

node_identity_reference

The identity referenced here must be assigned to pools which have compute nodes that need access to auto-storage.

last_key_sync

The UTC time at which storage keys were last synchronized with the Batch account. Required.