BatchAccountCreateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. batch. fluent. models. BatchAccountCreateProperties
- com.
Implements
public final class BatchAccountCreateProperties
implements JsonSerializable<BatchAccountCreateProperties>
The properties of a Batch account.
Constructor Summary
| Constructor | Description |
|---|---|
| BatchAccountCreateProperties() |
Creates an instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Authentication |
allowedAuthenticationModes()
Get the allowed |
|
Auto |
autoStorage()
Get the auto |
|
Encryption |
encryption()
Get the encryption property: The encryption configuration for the Batch account. |
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
|
Key |
keyVaultReference()
Get the key |
|
Network |
networkProfile()
Get the network |
|
Pool |
poolAllocationMode()
Get the pool |
|
Public |
publicNetworkAccess()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Batch |
withAllowedAuthenticationModes(List<AuthenticationMode> allowedAuthenticationModes)
Set the allowed |
|
Batch |
withAutoStorage(AutoStorageBaseProperties autoStorage)
Set the auto |
|
Batch |
withEncryption(EncryptionProperties encryption)
Set the encryption property: The encryption configuration for the Batch account. |
|
Batch |
withKeyVaultReference(KeyVaultReference keyVaultReference)
Set the key |
|
Batch |
withNetworkProfile(NetworkProfile networkProfile)
Set the network |
|
Batch |
withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
Set the pool |
|
Batch |
withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
BatchAccountCreateProperties
public BatchAccountCreateProperties()
Creates an instance of BatchAccountCreateProperties class.
Method Details
allowedAuthenticationModes
public List<AuthenticationMode> 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:
autoStorage
public AutoStorageBaseProperties autoStorage()
Get the autoStorage property: The properties related to the auto-storage account.
Returns:
encryption
public EncryptionProperties encryption()
Get the encryption property: The encryption configuration for the Batch account. 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:
fromJson
public static BatchAccountCreateProperties fromJson(JsonReader jsonReader)
Reads an instance of BatchAccountCreateProperties from the JsonReader.
Parameters:
Returns:
Throws:
keyVaultReference
public KeyVaultReference keyVaultReference()
Get the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.
Returns:
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Network profile for Batch account, which contains network rule settings for each endpoint. The network profile only takes effect when publicNetworkAccess is enabled.
Returns:
poolAllocationMode
public PoolAllocationMode poolAllocationMode()
Get the poolAllocationMode property: The allocation mode to use for creating pools in the Batch account. 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 Microsoft Entra ID. If the mode is UserSubscription, clients must use Microsoft Entra ID. The default is BatchService.
Returns:
publicNetworkAccess
public PublicNetworkAccessType publicNetworkAccess()
Get the publicNetworkAccess property: The network access type for accessing Azure Batch account. The network access type for operating on the resources in the Batch account.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withAutoStorage
public BatchAccountCreateProperties withAutoStorage(AutoStorageBaseProperties autoStorage)
Set the autoStorage property: The properties related to the auto-storage account.
Parameters:
Returns:
withEncryption
public BatchAccountCreateProperties withEncryption(EncryptionProperties encryption)
Set the encryption property: The encryption configuration for the Batch account. 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:
withKeyVaultReference
public BatchAccountCreateProperties withKeyVaultReference(KeyVaultReference keyVaultReference)
Set the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.
Parameters:
Returns:
withNetworkProfile
public BatchAccountCreateProperties withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Network profile for Batch account, which contains network rule settings for each endpoint. The network profile only takes effect when publicNetworkAccess is enabled.
Parameters:
Returns:
withPoolAllocationMode
public BatchAccountCreateProperties withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
Set the poolAllocationMode property: The allocation mode to use for creating pools in the Batch account. 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 Microsoft Entra ID. If the mode is UserSubscription, clients must use Microsoft Entra ID. The default is BatchService.
Parameters:
Returns:
withPublicNetworkAccess
public BatchAccountCreateProperties withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
Set the publicNetworkAccess property: The network access type for accessing Azure Batch account. The network access type for operating on the resources in the Batch account.
Parameters:
Returns: