GalleryImage Constructors

Definition

Overloads

GalleryImage()

Initializes a new instance of the GalleryImage class.

GalleryImage(String, OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, String, IList<GalleryImageFeature>, String)

Initializes a new instance of the GalleryImage class.

GalleryImage()

Initializes a new instance of the GalleryImage class.

public GalleryImage ();
Public Sub New ()

Applies to

GalleryImage(String, OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, String, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, String, IList<GalleryImageFeature>, String)

Initializes a new instance of the GalleryImage class.

public GalleryImage (string location, Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier identifier, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, string eula = default, string privacyStatementUri = default, string releaseNoteUri = default, string hyperVGeneration = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Models.Disallowed disallowed = default, Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan purchasePlan = default, string provisioningState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> features = default, string architecture = default);
new Microsoft.Azure.Management.Compute.Models.GalleryImage : string * Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Models.Disallowed * Microsoft.Azure.Management.Compute.Models.ImagePurchasePlan * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.GalleryImageFeature> * string -> Microsoft.Azure.Management.Compute.Models.GalleryImage
Public Sub New (location As String, osType As OperatingSystemTypes, osState As OperatingSystemStateTypes, identifier As GalleryImageIdentifier, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional eula As String = Nothing, Optional privacyStatementUri As String = Nothing, Optional releaseNoteUri As String = Nothing, Optional hyperVGeneration As String = Nothing, Optional endOfLifeDate As Nullable(Of DateTime) = Nothing, Optional recommended As RecommendedMachineConfiguration = Nothing, Optional disallowed As Disallowed = Nothing, Optional purchasePlan As ImagePurchasePlan = Nothing, Optional provisioningState As String = Nothing, Optional features As IList(Of GalleryImageFeature) = Nothing, Optional architecture As String = Nothing)

Parameters

location
String

Resource location

osType
OperatingSystemTypes

This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> Windows <br><br> Linux. Possible values include: 'Windows', 'Linux'

osState
OperatingSystemStateTypes

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

description
String

The description of this gallery image definition resource. This property is updatable.

eula
String

The Eula agreement for the gallery image definition.

privacyStatementUri
String

The privacy statement uri.

releaseNoteUri
String

The release note uri.

hyperVGeneration
String

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

endOfLifeDate
Nullable<DateTime>

The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

disallowed
Disallowed
purchasePlan
ImagePurchasePlan
provisioningState
String

Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

features
IList<GalleryImageFeature>

A list of gallery image features.

architecture
String

Possible values include: 'x64', 'Arm64'

Applies to