Share via


ImageReference Constructors

Definition

Overloads

ImageReference()

Initializes a new instance of the ImageReference class.

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

Initializes a new instance of the ImageReference class.

ImageReference()

Initializes a new instance of the ImageReference class.

public ImageReference ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ImageReference class.

public ImageReference (string publisher = default, string offer = default, string sku = default, string version = default, string id = default);
new Microsoft.Azure.Management.Batch.Models.ImageReference : string * string * string * string * string -> Microsoft.Azure.Management.Batch.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 id 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.

id
String

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

Applies to