Udostępnij za pośrednictwem


ImageReference Constructors

Definition

Overloads

ImageReference()

Initializes a new instance of the ImageReference class.

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

Initializes a new instance of the ImageReference class.

ImageReference()

Source:
ImageReference.cs

Initializes a new instance of the ImageReference class.

public ImageReference ();
Public Sub New ()

Applies to

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

Source:
ImageReference.cs

Initializes a new instance of the ImageReference class.

public ImageReference (string publisher = default, string offer = default, string sku = default, string version = default, string virtualMachineImageId = default, string exactVersion = default, string sharedGalleryImageId = default, string communityGalleryImageId = default);
new Microsoft.Azure.Batch.Protocol.Models.ImageReference : string * string * string * string * string * string * string * string -> Microsoft.Azure.Batch.Protocol.Models.ImageReference
Public Sub New (Optional publisher As String = Nothing, Optional offer As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional virtualMachineImageId As String = Nothing, Optional exactVersion As String = Nothing, Optional sharedGalleryImageId As String = Nothing, Optional communityGalleryImageId As String = Nothing)

Parameters

publisher
String

The publisher of the Azure Virtual Machines Marketplace Image.

offer
String

The offer type of the Azure Virtual Machines Marketplace Image.

sku
String

The SKU of the Azure Virtual Machines Marketplace Image.

version
String

The version of the Azure Virtual Machines Marketplace Image.

virtualMachineImageId
String

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.

exactVersion
String

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

sharedGalleryImageId
String

The shared gallery image unique identifier

communityGalleryImageId
String

The community gallery image unique identifier

Applies to