Freigeben über


VirtualMachineScaleSetVMInner Konstruktoren

Definition

Überlädt

VirtualMachineScaleSetVMInner()

Initialisiert eine neue instance der VirtualMachineScaleSetVMInner-Klasse.

VirtualMachineScaleSetVMInner(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineScaleSetVMInstanceView, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, SecurityProfile, NetworkProfile, VirtualMachineScaleSetVMNetworkProfileConfiguration, DiagnosticsProfile, SubResource, String, String, String, VirtualMachineScaleSetVMProtectionPolicy, Plan, IList<VirtualMachineExtensionInner>, IList<String>)

Initialisiert eine neue instance der VirtualMachineScaleSetVMInner-Klasse.

VirtualMachineScaleSetVMInner()

Initialisiert eine neue instance der VirtualMachineScaleSetVMInner-Klasse.

public VirtualMachineScaleSetVMInner ();
Public Sub New ()

Gilt für:

VirtualMachineScaleSetVMInner(String, String, String, String, IDictionary<String,String>, String, Sku, Nullable<Boolean>, String, VirtualMachineScaleSetVMInstanceView, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, SecurityProfile, NetworkProfile, VirtualMachineScaleSetVMNetworkProfileConfiguration, DiagnosticsProfile, SubResource, String, String, String, VirtualMachineScaleSetVMProtectionPolicy, Plan, IList<VirtualMachineExtensionInner>, IList<String>)

Initialisiert eine neue instance der VirtualMachineScaleSetVMInner-Klasse.

public VirtualMachineScaleSetVMInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string instanceId = default, Microsoft.Azure.Management.Compute.Fluent.Models.Sku sku = default, bool? latestModelApplied = default, string vmId = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInstanceView instanceView = default, Microsoft.Azure.Management.Compute.Fluent.Models.HardwareProfile hardwareProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile storageProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities additionalCapabilities = default, Microsoft.Azure.Management.Compute.Fluent.Models.OSProfile osProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.NetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMNetworkProfileConfiguration networkProfileConfiguration = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource availabilitySet = default, string provisioningState = default, string licenseType = default, string modelDefinitionApplied = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProtectionPolicy protectionPolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.Plan plan = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> resources = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Fluent.Models.Sku * Nullable<bool> * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInstanceView * Microsoft.Azure.Management.Compute.Fluent.Models.HardwareProfile * Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile * Microsoft.Azure.Management.Compute.Fluent.Models.AdditionalCapabilities * Microsoft.Azure.Management.Compute.Fluent.Models.OSProfile * Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile * Microsoft.Azure.Management.Compute.Fluent.Models.NetworkProfile * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMNetworkProfileConfiguration * Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMProtectionPolicy * Microsoft.Azure.Management.Compute.Fluent.Models.Plan * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional instanceId As String = Nothing, Optional sku As Sku = Nothing, Optional latestModelApplied As Nullable(Of Boolean) = Nothing, Optional vmId As String = Nothing, Optional instanceView As VirtualMachineScaleSetVMInstanceView = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional additionalCapabilities As AdditionalCapabilities = Nothing, Optional osProfile As OSProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional networkProfileConfiguration As VirtualMachineScaleSetVMNetworkProfileConfiguration = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional availabilitySet As SubResource = Nothing, Optional provisioningState As String = Nothing, Optional licenseType As String = Nothing, Optional modelDefinitionApplied As String = Nothing, Optional protectionPolicy As VirtualMachineScaleSetVMProtectionPolicy = Nothing, Optional plan As Plan = Nothing, Optional resources As IList(Of VirtualMachineExtensionInner) = Nothing, Optional zones As IList(Of String) = Nothing)

Parameter

location
String
id
String
name
String
type
String
instanceId
String

Der virtuelle Computer instance ID.

sku
Sku

Die SKU des virtuellen Computers.

latestModelApplied
Nullable<Boolean>

Gibt an, ob das neueste Modell auf den virtuellen Computer angewendet wurde.

vmId
String

Eindeutige AZURE-VM-ID.

instanceView
VirtualMachineScaleSetVMInstanceView

Der virtuelle Computer instance Ansicht.

hardwareProfile
HardwareProfile

Legt die Hardwareeinstellungen für den virtuellen Computer fest.

storageProfile
StorageProfile

Legt die Speichereinstellungen für die Datenträger des virtuellen Computers fest.

additionalCapabilities
AdditionalCapabilities

Gibt zusätzliche Funktionen an, die auf dem virtuellen Computer in der Skalierungsgruppe aktiviert oder deaktiviert sind. Für instance: Gibt an, ob der virtuelle Computer das Anfügen von verwalteten Datenträgern mit UltraSSD_LRS Speicherkontotyp unterstützt.

osProfile
OSProfile

Legt die Einstellungen des Betriebssystems für den virtuellen Computer fest.

securityProfile
SecurityProfile

Gibt die Sicherheitsprofileinstellungen für den virtuellen Computer an.

networkProfile
NetworkProfile

Legt die Netzwerkschnittstellen des virtuellen Computers fest.

networkProfileConfiguration
VirtualMachineScaleSetVMNetworkProfileConfiguration

Gibt die Netzwerkprofilkonfiguration des virtuellen Computers an.

diagnosticsProfile
DiagnosticsProfile

Gibt den Status der Startdiagnoseeinstellungen an. <br><br>Api-Mindestversion: 2015-06-15.

availabilitySet
SubResource

Gibt Informationen über die Verfügbarkeitsgruppe an, der der virtuelle Computer zugewiesen werden soll. Die virtuellen Computern, die in derselben Verfügbarkeitsgruppe angegeben werden, sind verschiedenen Knoten zugeordnet, um die Verfügbarkeit zu maximieren. Weitere Informationen zu Verfügbarkeitsgruppen finden Sie unter Verwalten der Verfügbarkeit virtueller Computer. <br><br> Weitere Informationen zur geplanten Azure-Wartung finden Sie unter Geplante Wartung für virtuelle Computer in Azure<br><> Derzeit kann eine VM nur zur Erstellungszeit der Verfügbarkeitsgruppe hinzugefügt werden. Eine vorhandene VM kann nicht zu einer Verfügbarkeitsgruppe hinzugefügt werden.

provisioningState
String

Der Bereitstellungsstatus, der nur in der Antwort angezeigt wird.

licenseType
String

Gibt an, dass das verwendete Image oder der verwendete Datenträger lokal lizenziert wurde. Dieses Element wird nur für Images verwendet, die das Windows Server-Betriebssystem enthalten. <br><br> Mögliche Werte sind: <br><br> Windows_Client <br><br> Windows_Server <br><br Br> Wenn dieses Element in einer Anforderung für eine Aktualisierung enthalten ist, muss der Wert mit dem Anfangswert übereinstimmen. Dieser Wert kann nicht aktualisiert werden. <br><br> Weitere Informationen finden Sie unter Azure Hybrid Use Benefit for Windows Server<br><br> Minimum API-version: 2015-06-15

modelDefinitionApplied
String

Gibt an, ob das auf den virtuellen Computer angewendete Modell das Modell der VM-Skalierungsgruppe oder das angepasste Modell für den virtuellen Computer ist.

protectionPolicy
VirtualMachineScaleSetVMProtectionPolicy

Gibt die Schutzrichtlinie des virtuellen Computers an.

plan
Plan

Gibt Informationen zum Marketplace-Image an, das zum Erstellen des virtuellen Computers verwendet wird. Dieses Element wird nur für Marketplace-Images verwendet. Bevor Sie ein Marketplace-Image über eine API verwenden können, müssen Sie das Image für die programmgesteuerte Verwendung aktivieren. Suchen Sie im Azure-Portal nach dem Marketplace-Image, das Sie verwenden möchten, und klicken Sie dann auf Programmgesteuerte Bereitstellung, Erste Schritte ->. Geben Sie alle erforderlichen Informationen ein, und klicken Sie dann auf Speichern.

resources
IList<VirtualMachineExtensionInner>

Die ressourcen der untergeordneten VM-Erweiterung.

zones
IList<String>

Die Zonen des virtuellen Computers.

Gilt für: