ImageReference ImageReference ImageReference Constructors

Definition

Overloads

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

Initializes a new instance of the ImageReference class.

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

Initializes a new instance of the ImageReference class.

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

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

The ARM resource identifier of the virtual machine image. Computes nodes of the pool will be created using this custom image. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}

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

Initializes a new instance of the ImageReference class.

public ImageReference (string offer, string publisher, string sku, string version = null);
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 = null)
Parameters
offer
String String String

The offer type of the Azure Virtual Machines Marketplace image.

publisher
String String String

The publisher of the Azure Virtual Machines Marketplace image.

sku
String String String

The SKU of the Azure Virtual Machines Marketplace image.

version
String String String

The version of the Azure Virtual Machines Marketplace image.

Applies to