BatchAccountInner Class

public final class BatchAccountInner
extends Resource

Contains information about an Azure Batch account.

Method Summary

Modifier and Type Method and Description
String accountEndpoint()

Get the accountEndpoint property: The account endpoint used to interact with the Batch service.

Integer activeJobAndJobScheduleQuota()

Get the activeJobAndJobScheduleQuota property: The active job and job schedule quota for the Batch account.

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.

AutoStorageProperties autoStorage()

Get the autoStorage property: The properties and status of any auto-storage account associated with the Batch account.

Integer dedicatedCoreQuota()

Get the dedicatedCoreQuota property: The dedicated core quota for the Batch account.

List<VirtualMachineFamilyCoreQuota> dedicatedCoreQuotaPerVMFamily()

Get the dedicatedCoreQuotaPerVMFamily property: A list of the dedicated core quota per Virtual Machine family for the Batch account.

Boolean dedicatedCoreQuotaPerVMFamilyEnforced()

Get the dedicatedCoreQuotaPerVMFamilyEnforced property: A value indicating whether core quotas per Virtual Machine family are enforced for this account If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account.

EncryptionProperties encryption()

Get the encryption property: The encryption configuration for the Batch account.

static BatchAccountInner fromJson(JsonReader jsonReader)

Reads an instance of BatchAccountInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

BatchAccountIdentity identity()

Get the identity property: The identity of the Batch account.

KeyVaultReference keyVaultReference()

Get the keyVaultReference property: A reference to the Azure key vault associated with the Batch account.

Integer lowPriorityCoreQuota()

Get the lowPriorityCoreQuota property: The Spot/low-priority core quota for the Batch account.

String name()

Get the name property: The name of the resource.

NetworkProfile networkProfile()

Get the networkProfile property: Network profile for Batch account, which contains network rule settings for each endpoint.

String nodeManagementEndpoint()

Get the nodeManagementEndpoint property: The endpoint used by compute node to connect to the Batch node management service.

PoolAllocationMode poolAllocationMode()

Get the poolAllocationMode property: The allocation mode to use for creating pools in the Batch account.

Integer poolQuota()

Get the poolQuota property: The pool quota for the Batch account.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections associated with the Batch account.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

PublicNetworkAccessType publicNetworkAccess()

Get the publicNetworkAccess property: The network interface type for accessing Azure Batch service and Batch account operations.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Method Details

accountEndpoint

public String accountEndpoint()

Get the accountEndpoint property: The account endpoint used to interact with the Batch service.

Returns:

the accountEndpoint value.

activeJobAndJobScheduleQuota

public Integer activeJobAndJobScheduleQuota()

Get the activeJobAndJobScheduleQuota property: The active job and job schedule quota for the Batch account.

Returns:

the activeJobAndJobScheduleQuota value.

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:

the allowedAuthenticationModes value.

autoStorage

public AutoStorageProperties autoStorage()

Get the autoStorage property: The properties and status of any auto-storage account associated with the Batch account. Contains information about the auto-storage account associated with a Batch account.

Returns:

the autoStorage value.

dedicatedCoreQuota

public Integer dedicatedCoreQuota()

Get the dedicatedCoreQuota property: The dedicated core quota for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

Returns:

the dedicatedCoreQuota value.

dedicatedCoreQuotaPerVMFamily

public List<VirtualMachineFamilyCoreQuota> dedicatedCoreQuotaPerVMFamily()

Get the dedicatedCoreQuotaPerVMFamily property: A list of the dedicated core quota per Virtual Machine family for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

Returns:

the dedicatedCoreQuotaPerVMFamily value.

dedicatedCoreQuotaPerVMFamilyEnforced

public Boolean dedicatedCoreQuotaPerVMFamilyEnforced()

Get the dedicatedCoreQuotaPerVMFamilyEnforced property: A value indicating whether core quotas per Virtual Machine family are enforced for this account If this flag is true, dedicated core quota is enforced via both the dedicatedCoreQuotaPerVMFamily and dedicatedCoreQuota properties on the account. If this flag is false, dedicated core quota is enforced only via the dedicatedCoreQuota property on the account and does not consider Virtual Machine family.

Returns:

the dedicatedCoreQuotaPerVMFamilyEnforced value.

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:

the encryption value.

fromJson

public static BatchAccountInner fromJson(JsonReader jsonReader)

Reads an instance of BatchAccountInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchAccountInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BatchAccountInner.id()

Returns:

the id value.

identity

public BatchAccountIdentity identity()

Get the identity property: The identity of the Batch account.

Returns:

the identity value.

keyVaultReference

public KeyVaultReference keyVaultReference()

Get the keyVaultReference property: A reference to the Azure key vault associated with the Batch account. Identifies the Azure key vault associated with a Batch account.

Returns:

the keyVaultReference value.

lowPriorityCoreQuota

public Integer lowPriorityCoreQuota()

Get the lowPriorityCoreQuota property: The Spot/low-priority core quota for the Batch account. For accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription so this value is not returned.

Returns:

the lowPriorityCoreQuota value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BatchAccountInner.name()

Returns:

the name value.

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:

the networkProfile value.

nodeManagementEndpoint

public String nodeManagementEndpoint()

Get the nodeManagementEndpoint property: The endpoint used by compute node to connect to the Batch node management service.

Returns:

the nodeManagementEndpoint value.

poolAllocationMode

public PoolAllocationMode poolAllocationMode()

Get the poolAllocationMode property: The allocation mode to use for creating pools in the Batch account. The allocation mode for creating pools in the Batch account.

Returns:

the poolAllocationMode value.

poolQuota

public Integer poolQuota()

Get the poolQuota property: The pool quota for the Batch account.

Returns:

the poolQuota value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections associated with the Batch account.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccessType publicNetworkAccess()

Get the publicNetworkAccess property: The network interface type for accessing Azure Batch service and Batch account operations. The network access type for operating on the resources in the Batch account.

Returns:

the publicNetworkAccess value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BatchAccountInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BatchAccountInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to