Class BatchAccountCreateParameters
java.lang.Object
com.microsoft.azure.management.batch.BatchAccountCreateParameters
Parameters supplied to the Create operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet list of allowed authentication modes for the Batch account that can be used to authenticate with the data plane.Get the properties related to the auto-storage account.Get configures how customer data is encrypted inside the Batch account.identity()
Get the identity of the Batch account.Get a reference to the Azure key vault associated with the Batch account.location()
Get the region in which to create the account.Get the pool allocation mode also affects how clients may authenticate to the Batch Service API.Get if not specified, the default value is 'enabled'.tags()
Get the user-specified tags associated with the account.withAllowedAuthenticationModes
(List<AuthenticationMode> allowedAuthenticationModes) Set list of allowed authentication modes for the Batch account that can be used to authenticate with the data plane.withAutoStorage
(AutoStorageBaseProperties autoStorage) Set the properties related to the auto-storage account.withEncryption
(EncryptionProperties encryption) Set configures how customer data is encrypted inside the Batch account.withIdentity
(BatchAccountIdentity identity) Set the identity of the Batch account.withKeyVaultReference
(KeyVaultReference keyVaultReference) Set a reference to the Azure key vault associated with the Batch account.withLocation
(String location) Set the region in which to create the account.withPoolAllocationMode
(PoolAllocationMode poolAllocationMode) Set the pool allocation mode also affects how clients may authenticate to the Batch Service API.withPublicNetworkAccess
(PublicNetworkAccessType publicNetworkAccess) Set if not specified, the default value is 'enabled'.Set the user-specified tags associated with the account.
-
Constructor Details
-
BatchAccountCreateParameters
public BatchAccountCreateParameters()
-
-
Method Details
-
location
Get the region in which to create the account.- Returns:
- the location value
-
withLocation
Set the region in which to create the account.- Parameters:
location
- the location value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
tags
Get the user-specified tags associated with the account.- Returns:
- the tags value
-
withTags
Set the user-specified tags associated with the account.- Parameters:
tags
- the tags value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
autoStorage
Get the properties related to the auto-storage account.- Returns:
- the autoStorage value
-
withAutoStorage
Set the properties related to the auto-storage account.- Parameters:
autoStorage
- the autoStorage value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
poolAllocationMode
Get 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'.- Returns:
- the poolAllocationMode value
-
withPoolAllocationMode
Set 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'.- Parameters:
poolAllocationMode
- the poolAllocationMode value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
keyVaultReference
Get a reference to the Azure key vault associated with the Batch account.- Returns:
- the keyVaultReference value
-
withKeyVaultReference
Set a reference to the Azure key vault associated with the Batch account.- Parameters:
keyVaultReference
- the keyVaultReference value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
publicNetworkAccess
Get if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'.- Returns:
- the publicNetworkAccess value
-
withPublicNetworkAccess
public BatchAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess) Set if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set- Returns:
- the BatchAccountCreateParameters object itself.
-
encryption
Get 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 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 BatchAccountCreateParameters object itself.
-
allowedAuthenticationModes
Get 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 BatchAccountCreateParameters withAllowedAuthenticationModes(List<AuthenticationMode> allowedAuthenticationModes) Set 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 BatchAccountCreateParameters object itself.
-
identity
Get the identity of the Batch account.- Returns:
- the identity value
-
withIdentity
Set the identity of the Batch account.- Parameters:
identity
- the identity value to set- Returns:
- the BatchAccountCreateParameters object itself.
-