Image 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
Image() |
Initialisiert eine neue Instanz der Image-Klasse. |
Image(String, String, String, String, IDictionary<String,String>, SubResource, ImageStorageProfile, String, String, ExtendedLocation) |
Initialisiert eine neue Instanz der Image-Klasse. |
Image()
Initialisiert eine neue Instanz der Image-Klasse.
public Image ();
Public Sub New ()
Gilt für:
Image(String, String, String, String, IDictionary<String,String>, SubResource, ImageStorageProfile, String, String, ExtendedLocation)
Initialisiert eine neue Instanz der Image-Klasse.
public Image (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.SubResource sourceVirtualMachine = default, Microsoft.Azure.Management.Compute.Models.ImageStorageProfile storageProfile = default, string provisioningState = default, string hyperVGeneration = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default);
new Microsoft.Azure.Management.Compute.Models.Image : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.SubResource * Microsoft.Azure.Management.Compute.Models.ImageStorageProfile * string * string * Microsoft.Azure.Management.Compute.Models.ExtendedLocation -> Microsoft.Azure.Management.Compute.Models.Image
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 sourceVirtualMachine As SubResource = Nothing, Optional storageProfile As ImageStorageProfile = Nothing, Optional provisioningState As String = Nothing, Optional hyperVGeneration As String = Nothing, Optional extendedLocation As ExtendedLocation = Nothing)
Parameter
- location
- String
Ressourcenspeicherort
- id
- String
Ressourcen-ID
- name
- String
Ressourcenname
- type
- String
Ressourcentyp
- tags
- IDictionary<String,String>
Ressourcentags
- sourceVirtualMachine
- SubResource
Der virtuelle Quellcomputer, auf dem das Image erstellt wird.
- storageProfile
- ImageStorageProfile
Legt die Speichereinstellungen für die Datenträger des virtuellen Computers fest.
- provisioningState
- String
Der Bereitstellungsstatus.
- hyperVGeneration
- String
Gibt den HyperVGenerationType der VirtualMachine an, die aus dem Image erstellt wurde. Ab API-Version 2019-03-01, wenn die Imagequelle ein Blob ist, muss der Benutzer den Wert angeben. Wenn es sich bei der Quelle um eine verwaltete Ressource wie Datenträger oder Momentaufnahme handelt, kann der Benutzer die -Eigenschaft angeben, wenn wir sie nicht von der verwalteten Quellressource ableiten können. Mögliche Werte: "V1", "V2"
- extendedLocation
- ExtendedLocation
Die erweiterte Position des Bilds.
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