共用方式為


CertificateReference interface

警告:此物件已被取代,將在 2024 年 2 月之後移除。 請改用 Azure KeyVault 擴充功能

屬性

id

要安裝在集區上之憑證的完整識別碼。 這必須與集區位於相同的批次帳戶內。

storeLocation

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

storeName

此屬性僅適用于使用 windows 節點設定的集區, (使用 cloudServiceConfiguration 建立,或使用 Windows 映像參考) 搭配 virtualMachineConfiguration 來建立。 常見的市集名稱包括:My、Root、CA、Trust、Disallowed、TrustedPeople、TrustedPublisher、AuthRoot、AddressBook,但也可以使用任何自訂存放區名稱。 預設值為 My。

visibility

計算節點上的哪些使用者帳戶應該可以存取憑證的私人資料。

屬性詳細資料

id

要安裝在集區上之憑證的完整識別碼。 這必須與集區位於相同的批次帳戶內。

id: string

屬性值

string

storeLocation

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

storeLocation?: CertificateStoreLocation

屬性值

storeName

此屬性僅適用于使用 windows 節點設定的集區, (使用 cloudServiceConfiguration 建立,或使用 Windows 映像參考) 搭配 virtualMachineConfiguration 來建立。 常見的市集名稱包括:My、Root、CA、Trust、Disallowed、TrustedPeople、TrustedPublisher、AuthRoot、AddressBook,但也可以使用任何自訂存放區名稱。 預設值為 My。

storeName?: string

屬性值

string

visibility

計算節點上的哪些使用者帳戶應該可以存取憑證的私人資料。

visibility?: CertificateVisibility[]

屬性值