PoolUpdatePropertiesParameter.withCertificateReferences(List<CertificateReference> certificateReferences) 方法

定义

Set this list replaces any existing certificate references configured on the pool. If you specify an empty collection, any existing certificate references are removed from 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.

public PoolUpdatePropertiesParameter withCertificateReferences(List<CertificateReference> certificateReferences)

参数

certificateReferences
List<CertificateReference>

the certificateReferences value to set

返回

the PoolUpdatePropertiesParameter object itself.

适用于