VirtualMachineInner Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
VirtualMachineInner() |
Initialisiert eine neue instance der VirtualMachineInner-Klasse. |
VirtualMachineInner(String, String, String, String, IDictionary<String, String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, VirtualMachinePriorityTypes, VirtualMachineEvictionPolicyTypes, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, IList<VirtualMachineExtensionInner>, VirtualMachineIdentity, IList<String>) |
Initialisiert eine neue instance der VirtualMachineInner-Klasse. |
VirtualMachineInner()
Initialisiert eine neue instance der VirtualMachineInner-Klasse.
public VirtualMachineInner ();
Public Sub New ()
Gilt für:
VirtualMachineInner(String, String, String, String, IDictionary<String, String>, Plan, HardwareProfile, StorageProfile, AdditionalCapabilities, OSProfile, NetworkProfile, SecurityProfile, DiagnosticsProfile, SubResource, SubResource, SubResource, VirtualMachinePriorityTypes, VirtualMachineEvictionPolicyTypes, BillingProfile, SubResource, SubResource, String, VirtualMachineInstanceView, String, String, String, IList<VirtualMachineExtensionInner>, VirtualMachineIdentity, IList<String>)
Initialisiert eine neue instance der VirtualMachineInner-Klasse.
public VirtualMachineInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Fluent.Models.Plan plan = 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.NetworkProfile networkProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile securityProfile = default, Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile diagnosticsProfile = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource availabilitySet = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource virtualMachineScaleSet = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource proximityPlacementGroup = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachinePriorityTypes priority = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes evictionPolicy = default, Microsoft.Azure.Management.Compute.Fluent.Models.BillingProfile billingProfile = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource host = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource hostGroup = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineInstanceView instanceView = default, string licenseType = default, string vmId = default, string extensionsTimeBudget = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> resources = default, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineIdentity identity = default, System.Collections.Generic.IList<string> zones = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Fluent.Models.Plan * 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.NetworkProfile * Microsoft.Azure.Management.Compute.Fluent.Models.SecurityProfile * Microsoft.Azure.Management.Compute.Fluent.Models.DiagnosticsProfile * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachinePriorityTypes * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes * Microsoft.Azure.Management.Compute.Fluent.Models.BillingProfile * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineInstanceView * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineExtensionInner> * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineIdentity * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineInner
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 plan As Plan = Nothing, Optional hardwareProfile As HardwareProfile = Nothing, Optional storageProfile As StorageProfile = Nothing, Optional additionalCapabilities As AdditionalCapabilities = Nothing, Optional osProfile As OSProfile = Nothing, Optional networkProfile As NetworkProfile = Nothing, Optional securityProfile As SecurityProfile = Nothing, Optional diagnosticsProfile As DiagnosticsProfile = Nothing, Optional availabilitySet As SubResource = Nothing, Optional virtualMachineScaleSet As SubResource = Nothing, Optional proximityPlacementGroup As SubResource = Nothing, Optional priority As VirtualMachinePriorityTypes = Nothing, Optional evictionPolicy As VirtualMachineEvictionPolicyTypes = Nothing, Optional billingProfile As BillingProfile = Nothing, Optional host As SubResource = Nothing, Optional hostGroup As SubResource = Nothing, Optional provisioningState As String = Nothing, Optional instanceView As VirtualMachineInstanceView = Nothing, Optional licenseType As String = Nothing, Optional vmId As String = Nothing, Optional extensionsTimeBudget As String = Nothing, Optional resources As IList(Of VirtualMachineExtensionInner) = Nothing, Optional identity As VirtualMachineIdentity = Nothing, Optional zones As IList(Of String) = Nothing)
Parameter
- location
- String
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- 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 aus einer API verwenden können, müssen Sie das Image für die programmgesteuerte Verwendung aktivieren. Suchen Sie im Azure-Portal das 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.
- 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 aktiviert oder deaktiviert sind.
- osProfile
- OSProfile
Gibt die Betriebssystemeinstellungen an, die beim Erstellen des virtuellen Computers verwendet werden. Einige der Einstellungen können nach der Bereitstellung des virtuellen Computers nicht mehr geändert werden.
- networkProfile
- NetworkProfile
Legt die Netzwerkschnittstellen des virtuellen Computers fest.
- securityProfile
- SecurityProfile
Gibt die Sicherheitsbezogenen Profileinstellungen für den virtuellen Computer an.
- diagnosticsProfile
- DiagnosticsProfile
Gibt den Status der Startdiagnoseeinstellungen an. <br><br>Api-Mindestversion: 2015-06-15.
- availabilitySet
- SubResource
Gibt Informationen zu der 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 von virtuellen Computern. <br><br> Weitere Informationen zur geplanten Wartung von Azure finden Sie unter Geplante Wartung für virtuelle Computer in Azure<br><> Derzeit kann eine VM nur zur Verfügbarkeitsgruppe zum Zeitpunkt der Erstellung hinzugefügt werden. Die Verfügbarkeitsgruppe, der die VM hinzugefügt wird, sollte sich unter derselben Ressourcengruppe wie die Verfügbarkeitsgruppenressource befinden. Eine vorhandene VM kann einer Verfügbarkeitsgruppe nicht hinzugefügt werden. <br><br>Diese Eigenschaft kann nicht zusammen mit einem Properties.virtualMachineScaleSet-Verweis ungleich NULL vorhanden sein.
- virtualMachineScaleSet
- SubResource
Gibt Informationen zur VM-Skalierungsgruppe an, der der virtuelle Computer zugewiesen werden soll. Virtuelle Computer, die in derselben VM-Skalierungsgruppe angegeben sind, werden verschiedenen Knoten zugeordnet, um die Verfügbarkeit zu maximieren. Derzeit kann eine VM nur zur Erstellungszeit der VM-Skalierungsgruppe hinzugefügt werden. Eine vorhandene VM kann nicht zu einer VM-Skalierungsgruppe hinzugefügt werden. <br><br>Diese Eigenschaft kann nicht zusammen mit einem Properties.availabilitySet-Verweis ungleich NULL vorhanden sein. <br><br>Mindestens api‐Version: 2019‐03‐01
- proximityPlacementGroup
- SubResource
Gibt Informationen zur Näherungsplatzierungsgruppe an, der der virtuelle Computer zugewiesen werden soll. <br><br>Api-Mindestversion: 2018-04-01.
- priority
- VirtualMachinePriorityTypes
Gibt die Priorität für den virtuellen Computer an. <br><br>Mindestens API-Version: 2019-03-01. Mögliche Werte: "Regular", "Low", "Spot"
- evictionPolicy
- VirtualMachineEvictionPolicyTypes
Gibt die Entfernungsrichtlinie für den virtuellen Azure Spot-Computer und die Azure Spot-Skalierungsgruppe an. <br><br>Für virtuelle Azure Spot-Computer werden sowohl "Deallocate" als auch "Delete" unterstützt, und die API-Mindestversion ist 2019-03-01. <br><br>Für Azure Spot-Skalierungsgruppen werden sowohl "Zuordnung aufheben" als auch "Löschen" unterstützt, und die API-Mindestversion ist 2017-10-30-preview. Mögliche Werte: "Deallocate", "Delete"
- billingProfile
- BillingProfile
Gibt die Abrechnungsdetails eines virtuellen Azure Spot-Computers an. <br><br>Mindestens API-Version: 2019-03-01.
- host
- SubResource
Gibt Informationen zum dedizierten Host an, in dem sich der virtuelle Computer befindet. <br><br>Mindestversion der API: 2018-10-01.
- hostGroup
- SubResource
Gibt Informationen zu der dedizierten Hostgruppe an, in der sich der virtuelle Computer befindet. <br><br>Mindestens API-Version: 2020-06-01. <br><br>HINWEIS: Der Benutzer kann die Eigenschaften host und hostGroup nicht angeben.
- provisioningState
- String
Der Bereitstellungsstatus, der nur in der Antwort angezeigt wird.
- instanceView
- VirtualMachineInstanceView
Der virtuelle Computer instance Ansicht.
- 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
- vmId
- String
Gibt die eindeutige VM-ID an, bei der es sich um einen 128-Bit-Bezeichner handelt, der auf allen Azure IaaS-VMs-SMBIOS codiert und gespeichert ist und mithilfe von Bios-Befehlen der Plattform gelesen werden kann.
- extensionsTimeBudget
- String
Gibt die Zeit an, die für den Start aller Erweiterungen zugewiesen wird. Die Dauer sollte zwischen 15 Minuten und 120 Minuten (einschließlich) liegen und im ISO 8601-Format angegeben werden. Der Standardwert ist 90 Minuten (PT1H30M). <br><br> Mindest-API-Version: 2020-06-01
- resources
- IList<VirtualMachineExtensionInner>
Die ressourcen der untergeordneten Erweiterung des virtuellen Computers.
- identity
- VirtualMachineIdentity
Die Identität des virtuellen Computers, sofern konfiguriert.
Gilt für:
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für