ImageReference Class

Definition

A reference to an Azure Virtual Machines Marketplace Image or a Azure Compute Gallery Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List Supported Images' operation.

public class ImageReference
type ImageReference = class
Public Class ImageReference
Inheritance
ImageReference

Constructors

ImageReference()

Initializes a new instance of the ImageReference class.

ImageReference(String)

Initializes a new instance of the ImageReference class.

ImageReference(String, String, String, String)

Initializes a new instance of the ImageReference class.

Properties

ExactVersion

Gets the specific version of the platform image or marketplace image used to create the node. This read-only field differs from 'version' only if the value specified for 'version' when the pool was created was 'latest'.

Offer

Gets the offer type of the Azure Virtual Machines Marketplace Image.

Publisher

Gets the publisher of the Azure Virtual Machines Marketplace Image.

Sku

Gets the SKU of the Azure Virtual Machines Marketplace Image.

Version

Gets the version of the Azure Virtual Machines Marketplace Image.

VirtualMachineImageId

Gets the ARM resource identifier of the Azure Compute 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} or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName} for always defaulting to the latest image version.

Applies to