ImageReference.VirtualMachineImageId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets custom VM image resource ID.
[Newtonsoft.Json.JsonProperty(PropertyName="virtualMachineImageId")]
public string VirtualMachineImageId { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="virtualMachineImageId")>]
member this.VirtualMachineImageId : string with get, set
Public Property VirtualMachineImageId As String
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
The ARM resource identifier of the virtual machine image for the compute nodes. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}. The virtual machine image must be in the same region and subscription as the cluster. 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. Note, you need to provide publisher, offer and sku of the base OS image of which the custom image has been derived from.
Applies to
Azure SDK for .NET