Freigeben über


ArmDevTestLabsModelFactory.DevTestLabVmData Methode

Definition

Initialisiert eine neue instance von DevTestLabVmData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabVmData DevTestLabVmData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string notes = default, string ownerObjectId = default, string ownerUserPrincipalName = default, string createdByUserId = default, string createdByUser = default, DateTimeOffset? createdOn = default, Azure.Core.ResourceIdentifier computeId = default, string customImageId = default, string osType = default, string size = default, string userName = default, string password = default, string sshKey = default, bool? isAuthenticationWithSshKey = default, string fqdn = default, string labSubnetName = default, Azure.Core.ResourceIdentifier labVirtualNetworkId = default, bool? disallowPublicIPAddress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactInstallInfo> artifacts = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactDeploymentStatus artifactDeploymentStatus = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference galleryImageReference = default, string planId = default, Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties computeVm = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface networkInterface = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule applicableSchedule = default, DateTimeOffset? expireOn = default, bool? allowClaim = default, string storageType = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationSource? vmCreationSource = default, Azure.Core.ResourceIdentifier environmentId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> dataDiskParameters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> scheduleParameters = default, string lastKnownPowerState = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabVmData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * string * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * string * string * string * string * string * Nullable<bool> * string * string * Azure.Core.ResourceIdentifier * Nullable<bool> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactInstallInfo> * Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactDeploymentStatus * Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference * string * Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties * Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface * Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationSource> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> * string * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabVmData
Public Shared Function DevTestLabVmData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional notes As String = Nothing, Optional ownerObjectId As String = Nothing, Optional ownerUserPrincipalName As String = Nothing, Optional createdByUserId As String = Nothing, Optional createdByUser As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional computeId As ResourceIdentifier = Nothing, Optional customImageId As String = Nothing, Optional osType As String = Nothing, Optional size As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional sshKey As String = Nothing, Optional isAuthenticationWithSshKey As Nullable(Of Boolean) = Nothing, Optional fqdn As String = Nothing, Optional labSubnetName As String = Nothing, Optional labVirtualNetworkId As ResourceIdentifier = Nothing, Optional disallowPublicIPAddress As Nullable(Of Boolean) = Nothing, Optional artifacts As IEnumerable(Of DevTestLabArtifactInstallInfo) = Nothing, Optional artifactDeploymentStatus As DevTestLabArtifactDeploymentStatus = Nothing, Optional galleryImageReference As DevTestLabGalleryImageReference = Nothing, Optional planId As String = Nothing, Optional computeVm As ComputeVmProperties = Nothing, Optional networkInterface As DevTestLabNetworkInterface = Nothing, Optional applicableSchedule As DevTestLabApplicableSchedule = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional allowClaim As Nullable(Of Boolean) = Nothing, Optional storageType As String = Nothing, Optional vmCreationSource As Nullable(Of DevTestLabVmCreationSource) = Nothing, Optional environmentId As ResourceIdentifier = Nothing, Optional dataDiskParameters As IEnumerable(Of DevTestLabDataDiskProperties) = Nothing, Optional scheduleParameters As IEnumerable(Of DevTestLabScheduleCreationParameter) = Nothing, Optional lastKnownPowerState As String = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabVmData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

notes
String

Die Notizen des virtuellen Computers.

ownerObjectId
String

Der Objektbezeichner des Besitzers des virtuellen Computers.

ownerUserPrincipalName
String

Der Benutzerprinzipalname des Besitzers des virtuellen Computers.

createdByUserId
String

Der Objektbezeichner des Erstellers des virtuellen Computers.

createdByUser
String

Die E-Mail-Adresse des Erstellers des virtuellen Computers.

createdOn
Nullable<DateTimeOffset>

Das Erstellungsdatum des virtuellen Computers.

computeId
ResourceIdentifier

Der Ressourcenbezeichner (Microsoft.Compute) des virtuellen Computers.

customImageId
String

Der benutzerdefinierte Imagebezeichner des virtuellen Computers.

osType
String

Der Betriebssystemtyp des virtuellen Computers.

size
String

Die Größe des virtuellen Computers.

userName
String

Der Benutzername des virtuellen Computers.

password
String

Das Kennwort des VM-Administrators.

sshKey
String

Der SSH-Schlüssel des VM-Administrators.

isAuthenticationWithSshKey
Nullable<Boolean>

Gibt an, ob dieser virtuelle Computer einen SSH-Schlüssel für die Authentifizierung verwendet.

fqdn
String

Der vollqualifizierte Domänenname des virtuellen Computers.

labSubnetName
String

Der Name des Lab-Subnetzes des virtuellen Computers.

labVirtualNetworkId
ResourceIdentifier

Der Lab-VNET-Bezeichner des virtuellen Computers.

disallowPublicIPAddress
Nullable<Boolean>

Gibt an, ob der virtuelle Computer ohne öffentliche IP-Adresse erstellt werden soll.

artifacts
IEnumerable<DevTestLabArtifactInstallInfo>

Die Artefakte, die auf dem virtuellen Computer installiert werden sollen.

artifactDeploymentStatus
DevTestLabArtifactDeploymentStatus

Die Artefaktbereitstellung status für den virtuellen Computer.

galleryImageReference
DevTestLabGalleryImageReference

Die Microsoft Azure Marketplace Imagereferenz des virtuellen Computers.

planId
String

Die ID des Plans, der dem Vm-Image zugeordnet ist.

computeVm
ComputeVmProperties

Die Eigenschaften des virtuellen Computecomputers.

networkInterface
DevTestLabNetworkInterface

Die Netzwerkschnittstelleneigenschaften.

applicableSchedule
DevTestLabApplicableSchedule

Der anwendbare Zeitplan für den virtuellen Computer.

expireOn
Nullable<DateTimeOffset>

Das Ablaufdatum für den virtuellen Computer.

allowClaim
Nullable<Boolean>

Gibt an, ob ein anderer Benutzer den Besitz des virtuellen Computers übernehmen kann.

storageType
String

Speichertyp, der für virtuelle Computer verwendet werden soll (d. h. Standard, Premium).

vmCreationSource
Nullable<DevTestLabVmCreationSource>

Gibt die Quelle der Erstellung des virtuellen Labcomputers an. Nur Ausgabeeigenschaft.

environmentId
ResourceIdentifier

Die Ressourcen-ID der Umgebung, die diesen virtuellen Computer enthält, sofern vorhanden.

dataDiskParameters
IEnumerable<DevTestLabDataDiskProperties>

Neue oder vorhandene Datenträger, die nach der Erstellung an den virtuellen Computer angefügt werden sollen.

scheduleParameters
IEnumerable<DevTestLabScheduleCreationParameter>

Zu erstellende VM-Zeitpläne.

lastKnownPowerState
String

Letzter bekannter Computeleistungsstatus, der in DTL erfasst wurde.

provisioningState
String

Der bereitstellungs-status der Ressource.

uniqueIdentifier
Nullable<Guid>

Der eindeutige unveränderliche Bezeichner einer Ressource (Guid).

Gibt zurück

Eine neue DevTestLabVmData instance zum Simulieren.

Gilt für: