Compartilhar via


VirtualMachineImage Construtores

Definição

Sobrecargas

VirtualMachineImage()

Inicializa uma nova instância da classe VirtualMachineImage.

VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan)
VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage)
VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>)
VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties)
VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String)
VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration)

Inicializa uma nova instância da classe VirtualMachineImage.

VirtualMachineImage(String, String, String, IDictionary<String, String>, ExtendedLocation, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration, IList<VirtualMachineImageFeature>, String, ImageDeprecationStatus)

Inicializa uma nova instância da classe VirtualMachineImage.

VirtualMachineImage()

Inicializa uma nova instância da classe VirtualMachineImage.

public VirtualMachineImage ();
Public Sub New ()

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan)

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan)

Parâmetros

name
String
location
String
id
String

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage)

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan, osDiskImage As OSDiskImage)

Parâmetros

name
String
location
String
id
String
osDiskImage
OSDiskImage

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String,String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>)

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> dataDiskImages);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan, osDiskImage As OSDiskImage, dataDiskImages As IList(Of DataDiskImage))

Parâmetros

name
String
location
String
id
String
osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties)

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> dataDiskImages, Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties automaticOSUpgradeProperties);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> * Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan, osDiskImage As OSDiskImage, dataDiskImages As IList(Of DataDiskImage), automaticOSUpgradeProperties As AutomaticOSUpgradeProperties)

Parâmetros

name
String
location
String
id
String
osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>
automaticOSUpgradeProperties
AutomaticOSUpgradeProperties

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String)

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> dataDiskImages, Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties automaticOSUpgradeProperties, string hyperVGeneration);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> * Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan, osDiskImage As OSDiskImage, dataDiskImages As IList(Of DataDiskImage), automaticOSUpgradeProperties As AutomaticOSUpgradeProperties, hyperVGeneration As String)

Parâmetros

name
String
location
String
id
String
osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>
automaticOSUpgradeProperties
AutomaticOSUpgradeProperties
hyperVGeneration
String

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration)

Inicializa uma nova instância da classe VirtualMachineImage.

public VirtualMachineImage (string name, string location, string id, System.Collections.Generic.IDictionary<string,string> tags, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> dataDiskImages, Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties automaticOSUpgradeProperties, string hyperVGeneration, Microsoft.Azure.Management.Compute.Models.DisallowedConfiguration disallowed);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> * Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties * string * Microsoft.Azure.Management.Compute.Models.DisallowedConfiguration -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, id As String, tags As IDictionary(Of String, String), plan As PurchasePlan, osDiskImage As OSDiskImage, dataDiskImages As IList(Of DataDiskImage), automaticOSUpgradeProperties As AutomaticOSUpgradeProperties, hyperVGeneration As String, disallowed As DisallowedConfiguration)

Parâmetros

name
String

O nome do recurso.

location
String

O local do Azure com suporte do recurso.

id
String

ID do recurso

tags
IDictionary<String,String>

Especifica as marcas atribuídas à máquina virtual. Para obter mais informações sobre como usar marcas, consulte Usando marcas para organizar seus recursos do Azure.

osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>
automaticOSUpgradeProperties
AutomaticOSUpgradeProperties
hyperVGeneration
String

Os valores possíveis incluem: 'V1', 'V2'

disallowed
DisallowedConfiguration

Especifica a configuração não permitida para o VirtualMachine criado a partir da imagem

Aplica-se a

VirtualMachineImage(String, String, String, IDictionary<String, String>, ExtendedLocation, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, String, DisallowedConfiguration, IList<VirtualMachineImageFeature>, String, ImageDeprecationStatus)

Inicializa uma nova instância da classe VirtualMachineImage.

public VirtualMachineImage (string name, string location, string id = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default, Microsoft.Azure.Management.Compute.Models.PurchasePlan plan = default, Microsoft.Azure.Management.Compute.Models.OSDiskImage osDiskImage = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> dataDiskImages = default, Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties automaticOSUpgradeProperties = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.DisallowedConfiguration disallowed = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageFeature> features = default, string architecture = default, Microsoft.Azure.Management.Compute.Models.ImageDeprecationStatus imageDeprecationStatus = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImage : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation * Microsoft.Azure.Management.Compute.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.DataDiskImage> * Microsoft.Azure.Management.Compute.Models.AutomaticOSUpgradeProperties * string * Microsoft.Azure.Management.Compute.Models.DisallowedConfiguration * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineImageFeature> * string * Microsoft.Azure.Management.Compute.Models.ImageDeprecationStatus -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImage
Public Sub New (name As String, location As String, Optional id As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional plan As PurchasePlan = Nothing, Optional osDiskImage As OSDiskImage = Nothing, Optional dataDiskImages As IList(Of DataDiskImage) = Nothing, Optional automaticOSUpgradeProperties As AutomaticOSUpgradeProperties = Nothing, Optional hyperVGeneration As String = Nothing, Optional disallowed As DisallowedConfiguration = Nothing, Optional features As IList(Of VirtualMachineImageFeature) = Nothing, Optional architecture As String = Nothing, Optional imageDeprecationStatus As ImageDeprecationStatus = Nothing)

Parâmetros

name
String

O nome do recurso.

location
String

O local do Azure com suporte do recurso.

id
String

ID do recurso

tags
IDictionary<String,String>

Especifica as marcas atribuídas à máquina virtual. Para obter mais informações sobre como usar marcas, consulte Usando marcas para organizar seus recursos do Azure.

extendedLocation
ExtendedLocation

O local estendido da Máquina Virtual.

osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>
automaticOSUpgradeProperties
AutomaticOSUpgradeProperties
hyperVGeneration
String

Os valores possíveis incluem: 'V1', 'V2'

disallowed
DisallowedConfiguration

Especifica a configuração não permitida para o VirtualMachine criado a partir da imagem

architecture
String

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

imageDeprecationStatus
ImageDeprecationStatus

Aplica-se a