Condividi tramite


CommunityGalleryImage Constructors

Definition

Overloads

CommunityGalleryImage()

Initializes a new instance of the CommunityGalleryImage class.

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

Initializes a new instance of the CommunityGalleryImage class.

CommunityGalleryImage()

Initializes a new instance of the CommunityGalleryImage class.

public CommunityGalleryImage ();
Public Sub New ()

Applies to

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

Initializes a new instance of the CommunityGalleryImage class.

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

Parameters

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'

name
String

Resource name

location
String

Resource location

type
String

Resource type

uniqueId
String

The unique id of this community gallery.

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

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

features
IList<GalleryImageFeature>

A list of gallery image features.

purchasePlan
ImagePurchasePlan
architecture
String

Possible values include: 'x64', 'Arm64'

privacyStatementUri
String

Privacy statement uri for the current community gallery image.

eula
String

End-user license agreement for the current community gallery image.

Applies to