共用方式為


Pool.Certificates 屬性

定義

取得或設定要安裝在集區中每個計算節點上的憑證清單。

[Newtonsoft.Json.JsonProperty(PropertyName="properties.certificates")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> Certificates { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.certificates")>]
member this.Certificates : System.Collections.Generic.IList<Microsoft.Azure.Management.Batch.Models.CertificateReference> with get, set
Public Property Certificates As IList(Of CertificateReference)

屬性值

屬性
Newtonsoft.Json.JsonPropertyAttribute

備註

針對 Windows 計算節點,Batch 服務會將憑證安裝至指定的憑證存放區和位置。 針對 Linux 計算節點,憑證會儲存在工作工作目錄內的目錄中,並將環境變數AZ_BATCH_CERTIFICATES_DIR提供給工作來查詢此位置。 對於可見度為 'remoteUser' 的憑證,會在使用者的主目錄中建立 'certs' 目錄 (,例如 /home/{user-name}/certs) ,且憑證會放在該目錄中。

警告:此屬性已被取代,將在 2024 年 2 月之後移除。 請改用 [Azure KeyVault Extension] (https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) 。

適用於