Partilhar via


GalleryImage Construtores

Definição

Sobrecargas

GalleryImage()

Inicializa uma nova instância da classe GalleryImage.

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)

Inicializa uma nova instância da classe GalleryImage.

GalleryImage()

Inicializa uma nova instância da classe GalleryImage.

public GalleryImage ();
Public Sub New ()

Aplica-se a

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)

Inicializa uma nova instância da classe GalleryImage.

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)

Parâmetros

location
String

Localização do recurso

osType
OperatingSystemTypes

Essa propriedade permite que você especifique o tipo do sistema operacional incluído no disco ao criar uma VM de uma imagem gerenciada. <br><br> Os valores possíveis são: <br br><>Windows<br><br>Linux. Os valores possíveis incluem: 'Windows', 'Linux'

osState
OperatingSystemStateTypes

Essa propriedade permite que o usuário especifique se as máquinas virtuais criadas nessa imagem são "Generalizadas" ou "Especializadas". Os valores possíveis incluem: 'Generalizado', 'Especializado'

id
String

ID do recurso

name
String

Nome do recurso

type
String

Tipo de recurso

tags
IDictionary<String,String>

Marcações de recursos

description
String

A descrição deste recurso de definição de imagem da galeria. Essa propriedade é atualizável.

eula
String

O contrato Eula para a definição de imagem da galeria.

privacyStatementUri
String

O URI da política de privacidade.

releaseNoteUri
String

O URI da nota de versão.

hyperVGeneration
String

A geração de hipervisor da Máquina Virtual. Aplicável somente a discos do sistema operacional. Os valores possíveis incluem: 'V1', 'V2'

endOfLifeDate
Nullable<DateTime>

A data de fim da vida útil da definição de imagem da galeria. Essa propriedade pode ser usada para fins de descomissionamento. Essa propriedade é atualizável.

disallowed
Disallowed
purchasePlan
ImagePurchasePlan
provisioningState
String

Os valores possíveis incluem: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

features
IList<GalleryImageFeature>

Uma lista de recursos de imagem da galeria.

architecture
String

Os valores possíveis incluem: 'x64', 'Arm64'

Aplica-se a