Class BatchAccountCreateProperties
java.lang.Object
com.azure.resourcemanager.batch.fluent.models.BatchAccountCreateProperties
The properties of a Batch account.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BatchAccountCreateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowedAuthenticationModes property: List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane.Get the autoStorage property: The properties related to the auto-storage account.Get the encryption property: Configures how customer data is encrypted inside the Batch account.Get the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.Get the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.Get the poolAllocationMode property: The pool allocation mode also affects how clients may authenticate to the Batch Service API.Get the publicNetworkAccess property: If not specified, the default value is 'enabled'.void
validate()
Validates the instance.withAllowedAuthenticationModes
(List<AuthenticationMode> allowedAuthenticationModes) Set the allowedAuthenticationModes property: List of allowed authentication modes for the Batch account that can be used to authenticate with the data plane.withAutoStorage
(AutoStorageBaseProperties autoStorage) Set the autoStorage property: The properties related to the auto-storage account.withEncryption
(EncryptionProperties encryption) Set the encryption property: Configures how customer data is encrypted inside the Batch account.withKeyVaultReference
(KeyVaultReference keyVaultReference) Set the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.withNetworkProfile
(NetworkProfile networkProfile) Set the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.withPoolAllocationMode
(PoolAllocationMode poolAllocationMode) Set the poolAllocationMode property: The pool allocation mode also affects how clients may authenticate to the Batch Service API.withPublicNetworkAccess
(PublicNetworkAccessType publicNetworkAccess) Set the publicNetworkAccess property: If not specified, the default value is 'enabled'.
-
Constructor Details
-
BatchAccountCreateProperties
public BatchAccountCreateProperties()Creates an instance of BatchAccountCreateProperties class.
-
-
Method Details
-
autoStorage
Get the autoStorage property: The properties related to the auto-storage account.- Returns:
- the autoStorage value.
-
withAutoStorage
Set the autoStorage property: The properties related to the auto-storage account.- Parameters:
autoStorage
- the autoStorage value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
poolAllocationMode
Get the poolAllocationMode property: 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.- Returns:
- the poolAllocationMode value.
-
withPoolAllocationMode
Set the poolAllocationMode property: 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.- Parameters:
poolAllocationMode
- the poolAllocationMode value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
keyVaultReference
Get the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.- Returns:
- the keyVaultReference value.
-
withKeyVaultReference
Set the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.- Parameters:
keyVaultReference
- the keyVaultReference value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: If not specified, the default value is 'enabled'.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public BatchAccountCreateProperties withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess) Set the publicNetworkAccess property: If not specified, the default value is 'enabled'.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
networkProfile
Get the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
encryption
Get the encryption property: 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.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: 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.- Parameters:
encryption
- the encryption value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
allowedAuthenticationModes
Get the allowedAuthenticationModes property: 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.- Returns:
- the allowedAuthenticationModes value.
-
withAllowedAuthenticationModes
public BatchAccountCreateProperties withAllowedAuthenticationModes(List<AuthenticationMode> allowedAuthenticationModes) Set the allowedAuthenticationModes property: 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.- Parameters:
allowedAuthenticationModes
- the allowedAuthenticationModes value to set.- Returns:
- the BatchAccountCreateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-