ImageReference Constructors

Definition

Overloads

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.

ImageReference()

Source:
ImageReference.cs

Initializes a new instance of the ImageReference class.

public ImageReference ();
Public Sub New ()

Applies to

ImageReference(String)

Source:
ImageReference.cs

Initializes a new instance of the ImageReference class.

public ImageReference (string virtualMachineImageId);
new Microsoft.Azure.Batch.ImageReference : string -> Microsoft.Azure.Batch.ImageReference
Public Sub New (virtualMachineImageId As String)

Parameters

virtualMachineImageId
String

The ARM resource identifier of the Shared Image Gallery Image. 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

ImageReference(String, String, String, String)

Source:
ImageReference.cs

Initializes a new instance of the ImageReference class.

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

Parameters

offer
String

The offer type of the Azure Virtual Machines Marketplace image.

publisher
String

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

Applies to