Share via


ImageReference.Id Property

Definition

Gets or sets the ARM resource identifier of the Shared Image Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

This property is mutually exclusive with other properties. The Shared Image Gallery image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.

Applies to