BatchAccountCreateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. batch. BatchAccountCreateParameters
- com.
public class BatchAccountCreateParameters
Parameters supplied to the Create operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Authentication |
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. |
Auto |
autoStorage()
Get the properties related to the auto-storage account. |
Encryption |
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. |
Batch |
identity()
Get the identity of the Batch account. |
Key |
keyVaultReference()
Get a reference to the Azure key vault associated with the Batch account. |
String |
location()
Get the region in which to create the account. |
Pool |
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'. |
Public |
publicNetworkAccess()
Get if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'. |
Map<String, String> |
tags()
Get the user-specified tags associated with the account. |
Batch |
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. |
Batch |
withAutoStorage(AutoStorageBaseProperties autoStorage)
Set the properties related to the auto-storage account. |
Batch |
withEncryption(EncryptionProperties encryption)
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. |
Batch |
withIdentity(BatchAccountIdentity identity)
Set the identity of the Batch account. |
Batch |
withKeyVaultReference(KeyVaultReference keyVaultReference)
Set a reference to the Azure key vault associated with the Batch account. |
Batch |
withLocation(String location)
Set the region in which to create the account. |
Batch |
withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
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'. |
Batch |
withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'. |
Batch |
withTags(Map<String, String> tags)
Set the user-specified tags associated with the account. |
Method Details
allowedAuthenticationModes
public List
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:
autoStorage
public AutoStorageBaseProperties autoStorage()
Get the properties related to the auto-storage account.
Returns:
encryption
public EncryptionProperties 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:
identity
public BatchAccountIdentity identity()
Get the identity of the Batch account.
Returns:
keyVaultReference
public KeyVaultReference keyVaultReference()
Get a reference to the Azure key vault associated with the Batch account.
Returns:
location
public String location()
Get the region in which to create the account.
Returns:
poolAllocationMode
public PoolAllocationMode 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:
publicNetworkAccess
public PublicNetworkAccessType publicNetworkAccess()
Get if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'.
Returns:
tags
public Map
Get the user-specified tags associated with the account.
Returns:
withAllowedAuthenticationModes
public BatchAccountCreateParameters withAllowedAuthenticationModes(List
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:
Returns:
withAutoStorage
public BatchAccountCreateParameters withAutoStorage(AutoStorageBaseProperties autoStorage)
Set the properties related to the auto-storage account.
Parameters:
Returns:
withEncryption
public BatchAccountCreateParameters withEncryption(EncryptionProperties encryption)
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:
Returns:
withIdentity
public BatchAccountCreateParameters withIdentity(BatchAccountIdentity identity)
Set the identity of the Batch account.
Parameters:
Returns:
withKeyVaultReference
public BatchAccountCreateParameters withKeyVaultReference(KeyVaultReference keyVaultReference)
Set a reference to the Azure key vault associated with the Batch account.
Parameters:
Returns:
withLocation
public BatchAccountCreateParameters withLocation(String location)
Set the region in which to create the account.
Parameters:
Returns:
withPoolAllocationMode
public BatchAccountCreateParameters withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
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:
Returns:
withPublicNetworkAccess
public BatchAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set if not specified, the default value is 'enabled'. Possible values include: 'Enabled', 'Disabled'.
Parameters:
Returns:
withTags
public BatchAccountCreateParameters withTags(Map
Set the user-specified tags associated with the account.
Parameters:
Returns:
Applies to
Azure SDK for Java