ImageReference interface 
对 Azure 虚拟机市场映像或自定义虚拟机的 Azure 映像资源的引用。 若要获取 Azure Batch 验证的所有 imageReference 的列表,请参阅“列出支持的节点代理 SKU”作。
属性
| community | 
	此属性与其他属性互斥,可以从社区库映像 GET 调用中提取。  | 
| id | 此属性与其他属性互斥。 Azure 计算库映像必须与 Azure Batch 帐户位于同一区域中的副本。 有关 Batch 节点代理与 Batch 服务通信的防火墙设置的信息,请参阅 https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration。  | 
| offer | 例如,UbuntuServer 或 WindowsServer。  | 
| publisher | 例如,Canonical 或 MicrosoftWindowsServer。  | 
| shared | 
	此属性与其他属性互斥,可以从共享库映像 GET 调用中提取。  | 
| sku | 例如,18.04-LTS 或 2022 数据中心。  | 
| version | 可以指定值“latest”以选择映像的最新版本。 如果省略,则默认值为“latest”。  | 
属性详细信息
		communityGalleryImageId
	   
	此属性与其他属性互斥,可以从社区库映像 GET 调用中提取。
communityGalleryImageId?: string
				属性值
string
id
此属性与其他属性互斥。 Azure 计算库映像必须与 Azure Batch 帐户位于同一区域中的副本。 有关 Batch 节点代理与 Batch 服务通信的防火墙设置的信息,请参阅 https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration。
id?: string
				属性值
string
offer
例如,UbuntuServer 或 WindowsServer。
offer?: string
				属性值
string
publisher
例如,Canonical 或 MicrosoftWindowsServer。
publisher?: string
				属性值
string
		sharedGalleryImageId
	   
	此属性与其他属性互斥,可以从共享库映像 GET 调用中提取。
sharedGalleryImageId?: string
				属性值
string
sku
例如,18.04-LTS 或 2022 数据中心。
sku?: string
				属性值
string
version
可以指定值“latest”以选择映像的最新版本。 如果省略,则默认值为“latest”。
version?: string
				属性值
string