共用方式為


CertificateReference.StoreLocation 屬性

定義

取得或設定要在其中安裝憑證之計算節點上的憑證存放區位置。

[Newtonsoft.Json.JsonProperty(PropertyName="storeLocation")]
public Microsoft.Azure.Management.Batch.Models.CertificateStoreLocation? StoreLocation { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="storeLocation")>]
member this.StoreLocation : Nullable<Microsoft.Azure.Management.Batch.Models.CertificateStoreLocation> with get, set
Public Property StoreLocation As Nullable(Of CertificateStoreLocation)

屬性值

屬性
Newtonsoft.Json.JsonPropertyAttribute

備註

預設值為 currentUser。 此屬性僅適用于使用 windows 節點設定的集區, (使用 cloudServiceConfiguration 建立,或使用 Windows 映像參考) 搭配 virtualMachineConfiguration 來建立。 針對 Linux 計算節點,憑證會儲存在工作工作目錄內的目錄中,並將環境變數AZ_BATCH_CERTIFICATES_DIR提供給工作來查詢此位置。 對於可見度為 'remoteUser' 的憑證,會在使用者的主目錄中建立 'certs' 目錄 (,例如 /home/{user-name}/certs) ,且憑證會放在該目錄中。 可能的值包括:'CurrentUser'、'LocalMachine'

適用於