BatchAccountCreateParameters Class

Parameters supplied to the Create operation.

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

Inheritance
BatchAccountCreateParameters

Constructor

BatchAccountCreateParameters(*, location: str, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.batch.models._models_py3.BatchAccountIdentity] = None, auto_storage: Optional[azure.mgmt.batch.models._models_py3.AutoStorageBaseProperties] = None, pool_allocation_mode: Optional[Union[str, azure.mgmt.batch.models._batch_management_client_enums.PoolAllocationMode]] = None, key_vault_reference: Optional[azure.mgmt.batch.models._models_py3.KeyVaultReference] = None, public_network_access: Optional[Union[str, azure.mgmt.batch.models._batch_management_client_enums.PublicNetworkAccessType]] = 'Enabled', network_profile: Optional[azure.mgmt.batch.models._models_py3.NetworkProfile] = None, encryption: Optional[azure.mgmt.batch.models._models_py3.EncryptionProperties] = None, allowed_authentication_modes: Optional[List[Union[str, azure.mgmt.batch.models._batch_management_client_enums.AuthenticationMode]]] = None, **kwargs)

Variables

location
str

Required. The region in which to create the account.

tags
dict[str, str]

A set of tags. The user-specified tags associated with the account.

identity
BatchAccountIdentity

The identity of the Batch account.

auto_storage
AutoStorageBaseProperties

The properties related to the auto-storage account.

pool_allocation_mode
str or PoolAllocationMode

The pool allocation mode also affects how clients may authenticate to the Batch Service API. If the mode is BatchService, clients may authenticate using access keys or Azure Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory. The default is BatchService. Possible values include: "BatchService", "UserSubscription".

key_vault_reference
KeyVaultReference

A reference to the Azure key vault associated with the Batch account.

public_network_access
str or PublicNetworkAccessType

If not specified, the default value is 'enabled'. Possible values include: "Enabled", "Disabled". Default value: "Enabled".

network_profile
NetworkProfile

The network profile only takes effect when publicNetworkAccess is enabled.

encryption
EncryptionProperties

Configures how customer data is encrypted inside the Batch account. By default, accounts are encrypted using a Microsoft managed key. For additional control, a customer-managed key can be used instead.

allowed_authentication_modes
list[str or AuthenticationMode]

List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane. This does not affect authentication with the control plane.