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(String)

Initializes a new instance of the ImageReference class.

ImageReference(String, String, String, String)

Initializes a new instance of the ImageReference class.

Properties

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 either the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName} for Virtual Machine Image or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId} for SIG image.

Applies to