Class BatchAccountUpdateProperties

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

public final class BatchAccountUpdateProperties extends Object
The properties of a Batch account.
  • Constructor Details

    • BatchAccountUpdateProperties

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

    • autoStorage

      public AutoStorageBaseProperties autoStorage()
      Get the autoStorage property: The properties related to the auto-storage account.
      Returns:
      the autoStorage value.
    • withAutoStorage

      public BatchAccountUpdateProperties withAutoStorage(AutoStorageBaseProperties autoStorage)
      Set the autoStorage property: The properties related to the auto-storage account.
      Parameters:
      autoStorage - the autoStorage value to set.
      Returns:
      the BatchAccountUpdateProperties object itself.
    • 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.
    • withEncryption

      public BatchAccountUpdateProperties withEncryption(EncryptionProperties encryption)
      Set 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.
      Parameters:
      encryption - the encryption value to set.
      Returns:
      the BatchAccountUpdateProperties object itself.
    • 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.
    • withAllowedAuthenticationModes

      public BatchAccountUpdateProperties 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:
      allowedAuthenticationModes - the allowedAuthenticationModes value to set.
      Returns:
      the BatchAccountUpdateProperties object itself.
    • publicNetworkAccess

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

      public BatchAccountUpdateProperties withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
      Set the publicNetworkAccess property: If not specified, the default value is 'enabled'.
      Parameters:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the BatchAccountUpdateProperties 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 BatchAccountUpdateProperties 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 BatchAccountUpdateProperties object itself.
    • validate

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