共用方式為


GalleryImageUpdate Constructors

Definition

Overloads

GalleryImageUpdate()

Initializes a new instance of the GalleryImageUpdate class.

GalleryImageUpdate(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, HyperVGeneration, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, ProvisioningState)

Initializes a new instance of the GalleryImageUpdate class.

GalleryImageUpdate()

Initializes a new instance of the GalleryImageUpdate class.

public GalleryImageUpdate ();
Public Sub New ()

Applies to

GalleryImageUpdate(OperatingSystemTypes, OperatingSystemStateTypes, GalleryImageIdentifier, String, String, String, IDictionary<String, String>, String, String, String, String, HyperVGeneration, Nullable<DateTime>, RecommendedMachineConfiguration, Disallowed, ImagePurchasePlan, ProvisioningState)

Initializes a new instance of the GalleryImageUpdate class.

public GalleryImageUpdate (Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes osType, Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes osState, Microsoft.Azure.Management.Compute.Fluent.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, Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration hyperVGeneration = default, DateTime? endOfLifeDate = default, Microsoft.Azure.Management.Compute.Fluent.Models.RecommendedMachineConfiguration recommended = default, Microsoft.Azure.Management.Compute.Fluent.Models.Disallowed disallowed = default, Microsoft.Azure.Management.Compute.Fluent.Models.ImagePurchasePlan purchasePlan = default, Microsoft.Azure.Management.Compute.Fluent.Models.ProvisioningState provisioningState = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageUpdate : Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Fluent.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageIdentifier * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGeneration * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Fluent.Models.RecommendedMachineConfiguration * Microsoft.Azure.Management.Compute.Fluent.Models.Disallowed * Microsoft.Azure.Management.Compute.Fluent.Models.ImagePurchasePlan * Microsoft.Azure.Management.Compute.Fluent.Models.ProvisioningState -> Microsoft.Azure.Management.Compute.Fluent.Models.GalleryImageUpdate
Public Sub New (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 HyperVGeneration = 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 ProvisioningState = 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'

id
String
name
String
type
String
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
HyperVGeneration

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
ProvisioningState

The current state of the gallery Image Definition.

Applies to