Share via


Pool.UpdateStages.WithCertificates Interface

public static interface Pool.UpdateStages.WithCertificates

The stage of the Pool update allowing to specify certificates.

Method Summary

Modifier and Type Method and Description
abstract Update withCertificates(List<CertificateReference> certificates)

Specifies the certificates property: For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location.

Method Details

withCertificates

public abstract Pool.Update withCertificates(List<CertificateReference> certificates)

Specifies the certificates property: 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 - 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 instead.

Returns:

the next definition stage.

Applies to