Share via


ImageReferenceInner Constructors

Definition

Overloads

ImageReferenceInner()

Initializes a new instance of the ImageReferenceInner class.

ImageReferenceInner(String, String, String, String, String, String)

Initializes a new instance of the ImageReferenceInner class.

ImageReferenceInner()

Initializes a new instance of the ImageReferenceInner class.

public ImageReferenceInner ();
Public Sub New ()

Applies to

ImageReferenceInner(String, String, String, String, String, String)

Initializes a new instance of the ImageReferenceInner class.

public ImageReferenceInner (string id = default, string publisher = default, string offer = default, string sku = default, string version = default, string exactVersion = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner : string * string * string * string * string * string -> Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner
Public Sub New (Optional id As String = Nothing, Optional publisher As String = Nothing, Optional offer As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional exactVersion As String = Nothing)

Parameters

id
String
publisher
String

The image publisher.

offer
String

Specifies the offer of the platform image or marketplace image used to create the virtual machine.

sku
String

The image SKU.

version
String

Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

exactVersion
String

Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.

Applies to