Class BatchAccountProperties

java.lang.Object
com.azure.resourcemanager.batch.fluent.models.BatchAccountProperties

public final class BatchAccountProperties extends Object
Account specific properties.
  • Constructor Details

    • BatchAccountProperties

      public BatchAccountProperties()
      Creates an instance of BatchAccountProperties class.
  • Method Details

    • accountEndpoint

      public String accountEndpoint()
      Get the accountEndpoint property: The account endpoint used to interact with the Batch service.
      Returns:
      the accountEndpoint 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.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioned state of the resource.
      Returns:
      the provisioningState value.
    • poolAllocationMode

      public PoolAllocationMode poolAllocationMode()
      Get the poolAllocationMode property: The allocation mode for creating pools in the Batch account.
      Returns:
      the poolAllocationMode value.
    • keyVaultReference

      public KeyVaultReference keyVaultReference()
      Get the keyVaultReference property: Identifies the Azure key vault associated with a Batch account.
      Returns:
      the keyVaultReference value.
    • publicNetworkAccess

      public PublicNetworkAccessType publicNetworkAccess()
      Get the publicNetworkAccess property: If not specified, the default value is 'enabled'.
      Returns:
      the publicNetworkAccess value.
    • withPublicNetworkAccess

      public BatchAccountProperties withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
      Set the publicNetworkAccess property: If not specified, the default value is 'enabled'.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the BatchAccountProperties object itself.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public BatchAccountProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: The network profile only takes effect when publicNetworkAccess is enabled.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the BatchAccountProperties object itself.
    • privateEndpointConnections

      public List<PrivateEndpointConnectionInner> privateEndpointConnections()
      Get the privateEndpointConnections property: List of private endpoint connections associated with the Batch account.
      Returns:
      the privateEndpointConnections value.
    • autoStorage

      public AutoStorageProperties autoStorage()
      Get the autoStorage property: Contains information about the auto-storage account associated with a Batch account.
      Returns:
      the autoStorage value.
    • encryption

      public EncryptionProperties 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.
    • 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.
    • 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.
    • 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.
    • poolQuota

      public Integer poolQuota()
      Get the poolQuota property: The pool quota for the Batch account.
      Returns:
      the poolQuota 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.