Interface Pool.DefinitionStages.WithCertificates

All Known Subinterfaces:
Pool.Definition, Pool.DefinitionStages.WithCreate
Enclosing interface:
Pool.DefinitionStages

public static interface Pool.DefinitionStages.WithCertificates
The stage of the Pool definition allowing to specify certificates.
  • Method Details

    • withCertificates

      Specifies the certificates property: The list of certificates to be installed on each compute node in the pool.

      For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

      Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead..

      Parameters:
      certificates - The list of certificates to be installed on each compute node in the pool.

      For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and certificates are placed in that directory.

      Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.

      Returns:
      the next definition stage.