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

ImageReference.Id 属性

定义

获取或设置共享映像库映像的 ARM 资源标识符。 池中的计算节点将使用此映像 ID 创建。其格式为 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId}。

[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="id")>]
member this.Id : string with get, set
Public Property Id As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

此属性与其他属性互斥。 共享映像库映像的副本必须与 Azure Batch 帐户位于同一区域。 有关 Batch 节点代理与 Batch 服务通信的防火墙设置的信息,请参阅 https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.

适用于