ImageReference Class

Definition

A reference to an Azure Virtual Machines Marketplace Image or a custom Azure Virtual Machine Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see ListSupportedImages(DetailLevel, IEnumerable<BatchClientBehavior>).

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 Virtual Machine Image or Shared Image Gallery Image. Computes Compute Nodes of 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}.

Applies to