Share via


ImageReference Class

Definition

A reference to an Azure Virtual Machines Marketplace image or the Azure Image resource of a custom Virtual Machine. To get the list of all imageReferences verified by Azure Batch, see the 'List supported node agent SKUs' operation.

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

Constructors

ImageReference()

Initializes a new instance of the ImageReference class.

ImageReference(String, String, String, String, String)

Initializes a new instance of the ImageReference class.

Properties

Id

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}.

Offer

Gets or sets the offer type of the Azure Virtual Machines Marketplace image.

Publisher

Gets or sets the publisher of the Azure Virtual Machines Marketplace image.

Sku

Gets or sets the SKU of the Azure Virtual Machines Marketplace image.

Version

Gets or sets the version of the Azure Virtual Machines Marketplace image.

Applies to