你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BatchVmImageReference interface

指的是 Azure 虚拟机 Marketplace Image 或 Azure Compute Gallery Image。 要获得Azure Batch验证的所有Azure 市场图片引用列表,请参见“List Supported Images”操作。

属性

communityGalleryImageId

社区画廊图片唯一标识符。 此属性与其他属性互斥,可以从社区库映像 GET 调用中提取。

exactVersion

用于创建节点的平台镜像或市场镜像的特定版本。 该只读字段仅在创建池时指定的“版本”值为“最新”时才与“版本”不同。

offer

Azure 虚拟机 Marketplace Image的 offer 类型。 例如,UbuntuServer 或 WindowsServer。

publisher

Azure 虚拟机 Marketplace Image的发布者。 例如,Canonical 或 MicrosoftWindowsServer。

sharedGalleryImageId

共享图库图像的唯一标识符。 此属性与其他属性互斥,可以从共享库映像 GET 调用中提取。

sku

The SKU of the Azure 虚拟机 Marketplace Image. 例如,18.04-LTS 或 2019-Datacenter。

version

Azure 虚拟机 Marketplace Image的版本。 可以指定“最新”值以选择图像的最新版本。 如果省略,则默认值为“latest”。

virtualMachineImageId

Azure 计算库映像的 ARM 资源标识符。 池中的计算节点将使用该图像ID创建。该格式为 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft。Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} 或 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleryery/{galleryName}/images/{imageDefinitionName},总是默认使用最新的图片版本。 该属性与其他 ImageReference 属性互斥。 Azure 计算画廊镜像必须在与 Azure Batch 账户相同区域内有副本,并且订阅方式相同。 如果imageId中未指定镜像版本,则使用最新版本。 有关批处理计算节点代理与批处理服务通信的防火墙设置,请参见 https://learn.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration

属性详细信息

communityGalleryImageId

社区画廊图片唯一标识符。 此属性与其他属性互斥,可以从社区库映像 GET 调用中提取。

communityGalleryImageId?: string

属性值

string

exactVersion

用于创建节点的平台镜像或市场镜像的特定版本。 该只读字段仅在创建池时指定的“版本”值为“最新”时才与“版本”不同。

exactVersion?: string

属性值

string

offer

Azure 虚拟机 Marketplace Image的 offer 类型。 例如,UbuntuServer 或 WindowsServer。

offer?: string

属性值

string

publisher

Azure 虚拟机 Marketplace Image的发布者。 例如,Canonical 或 MicrosoftWindowsServer。

publisher?: string

属性值

string

sharedGalleryImageId

共享图库图像的唯一标识符。 此属性与其他属性互斥,可以从共享库映像 GET 调用中提取。

sharedGalleryImageId?: string

属性值

string

sku

The SKU of the Azure 虚拟机 Marketplace Image. 例如,18.04-LTS 或 2019-Datacenter。

sku?: string

属性值

string

version

Azure 虚拟机 Marketplace Image的版本。 可以指定“最新”值以选择图像的最新版本。 如果省略,则默认值为“latest”。

version?: string

属性值

string

virtualMachineImageId

Azure 计算库映像的 ARM 资源标识符。 池中的计算节点将使用该图像ID创建。该格式为 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft。Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} 或 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleryery/{galleryName}/images/{imageDefinitionName},总是默认使用最新的图片版本。 该属性与其他 ImageReference 属性互斥。 Azure 计算画廊镜像必须在与 Azure Batch 账户相同区域内有副本,并且订阅方式相同。 如果imageId中未指定镜像版本,则使用最新版本。 有关批处理计算节点代理与批处理服务通信的防火墙设置,请参见 https://learn.microsoft.com/azure/batch/nodes-and-pools#virtual-network-vnet-and-firewall-configuration

virtualMachineImageId?: string

属性值

string