ImageReference interface
表示 ImageReference 的介面。
屬性
| offer | Azure 虛擬機 Marketplace 映像的供應項目類型。 例如,UbuntuServer 或 WindowsServer。 |
| publisher | Azure 虛擬機 Marketplace 映像的發行者。 例如,Canonical 或 MicrosoftWindowsServer。 |
| sku | Azure 虛擬機 Marketplace 映像的 SKU。 例如,18.04-LTS 或 2019-Datacenter。 |
| version | Azure 虛擬機 Marketplace 映像的版本。 您可以指定 'latest' 的值來選取最新版的映像。 如果省略,預設值為 'latest'。 |
| virtual |
共用映像庫映像的ARM資源標識碼。 將會使用此映像標識碼來建立集區中的計算節點。這是 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} 的格式 或 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{imageDefinitionName} ,一律預設為最新的映射版本。 這個屬性與其他 ImageReference 屬性互斥。 共用映像庫映像必須有相同區域中的複本,且必須與 Azure Batch 帳戶位於相同的訂用帳戶中。 如果未在 imageId 中指定映像版本,則會使用最新版本。 如需 Batch 計算節點代理程式與 Batch 服務通訊之防火牆設定的相關信息,請參閱 https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration。 |
屬性詳細資料
offer
Azure 虛擬機 Marketplace 映像的供應項目類型。 例如,UbuntuServer 或 WindowsServer。
offer?: string
屬性值
string
publisher
Azure 虛擬機 Marketplace 映像的發行者。 例如,Canonical 或 MicrosoftWindowsServer。
publisher?: string
屬性值
string
sku
Azure 虛擬機 Marketplace 映像的 SKU。 例如,18.04-LTS 或 2019-Datacenter。
sku?: string
屬性值
string
version
Azure 虛擬機 Marketplace 映像的版本。 您可以指定 'latest' 的值來選取最新版的映像。 如果省略,預設值為 'latest'。
version?: string
屬性值
string
virtualMachineImageId
共用映像庫映像的ARM資源標識碼。 將會使用此映像標識碼來建立集區中的計算節點。這是 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} 的格式 或 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/gallerys/{galleryName}/images/{imageDefinitionName} ,一律預設為最新的映射版本。 這個屬性與其他 ImageReference 屬性互斥。 共用映像庫映像必須有相同區域中的複本,且必須與 Azure Batch 帳戶位於相同的訂用帳戶中。 如果未在 imageId 中指定映像版本,則會使用最新版本。 如需 Batch 計算節點代理程式與 Batch 服務通訊之防火牆設定的相關信息,請參閱 https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration。
virtualMachineImageId?: string
屬性值
string