Partilhar via


SharedGalleryImage Construtores

Definição

Sobrecargas

SharedGalleryImage()

Inicializa uma nova instância da classe SharedGalleryImage.

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

Inicializa uma nova instância da classe SharedGalleryImage.

SharedGalleryImage()

Inicializa uma nova instância da classe SharedGalleryImage.

public SharedGalleryImage ();
Public Sub New ()

Aplica-se a

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

Inicializa uma nova instância da classe SharedGalleryImage.

public SharedGalleryImage (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 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.SharedGalleryImage : Microsoft.Azure.Management.Compute.Models.OperatingSystemTypes * Microsoft.Azure.Management.Compute.Models.OperatingSystemStateTypes * Microsoft.Azure.Management.Compute.Models.GalleryImageIdentifier * 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.SharedGalleryImage
Public Sub New (osType As OperatingSystemTypes, osState As OperatingSystemStateTypes, identifier As GalleryImageIdentifier, Optional name As String = Nothing, Optional location 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)

Parâmetros

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 sob essa imagem são "Generalizadas" ou "Especializadas". Os valores possíveis incluem: 'Generalizado', 'Especializado'

name
String

Nome do recurso

location
String

Localização do recurso

uniqueId
String

A ID exclusiva desta galeria compartilhada.

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
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'

features
IList<GalleryImageFeature>

Uma lista de recursos de imagem da galeria.

purchasePlan
ImagePurchasePlan
architecture
String

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

privacyStatementUri
String

URI de política de privacidade para a imagem atual da galeria da comunidade.

eula
String

Contrato de licença do usuário final para a imagem atual da galeria da comunidade.

Aplica-se a