Udostępnij za pośrednictwem


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

Initializes a new instance of the ImageReference class.

ImageReference(String)

Initializes a new instance of the ImageReference class.

Properties

CommunityGalleryImageId

Gets or sets gets or sets the community gallery image unique identifier

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

SharedGalleryImageId

Gets or sets gets or sets the shared gallery image unique identifier

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.

VirtualMachineImageId

Gets or sets 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