ArmDevTestLabsModelFactory.DevTestLabVmData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- notes
- String
The notes of the virtual machine.
- ownerObjectId
- String
The object identifier of the owner of the virtual machine.
- ownerUserPrincipalName
- String
The user principal name of the virtual machine owner.
- createdByUserId
- String
The object identifier of the creator of the virtual machine.
- createdByUser
- String
The email address of creator of the virtual machine.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the virtual machine.
- computeId
- ResourceIdentifier
The resource identifier (Microsoft.Compute) of the virtual machine.
- customImageId
- String
The custom image identifier of the virtual machine.
- osType
- String
The OS type of the virtual machine.
- size
- String
The size of the virtual machine.
- userName
- String
The user name of the virtual machine.
- password
- String
The password of the virtual machine administrator.
- sshKey
- String
The SSH key of the virtual machine administrator.
Indicates whether this virtual machine uses an SSH key for authentication.
- fqdn
- String
The fully-qualified domain name of the virtual machine.
- labSubnetName
- String
The lab subnet name of the virtual machine.
- labVirtualNetworkId
- ResourceIdentifier
The lab virtual network identifier of the virtual machine.
Indicates whether the virtual machine is to be created without a public IP address.
- artifacts
- IEnumerable<DevTestLabArtifactInstallInfo>
The artifacts to be installed on the virtual machine.
- artifactDeploymentStatus
- DevTestLabArtifactDeploymentStatus
The artifact deployment status for the virtual machine.
- galleryImageReference
- DevTestLabGalleryImageReference
The Microsoft Azure Marketplace image reference of the virtual machine.
- planId
- String
The id of the plan associated with the virtual machine image.
- computeVm
- ComputeVmProperties
The compute virtual machine properties.
- networkInterface
- DevTestLabNetworkInterface
The network interface properties.
- applicableSchedule
- DevTestLabApplicableSchedule
The applicable schedule for the virtual machine.
- expireOn
- Nullable<DateTimeOffset>
The expiration date for VM.
Indicates whether another user can take ownership of the virtual machine.
- storageType
- String
Storage type to use for virtual machine (i.e. Standard, Premium).
- vmCreationSource
- Nullable<DevTestLabVmCreationSource>
Tells source of creation of lab virtual machine. Output property only.
- environmentId
- ResourceIdentifier
The resource ID of the environment that contains this virtual machine, if any.
- dataDiskParameters
- IEnumerable<DevTestLabDataDiskProperties>
New or existing data disks to attach to the virtual machine after creation.
- scheduleParameters
- IEnumerable<DevTestLabScheduleCreationParameter>
Virtual Machine schedules to be created.
- lastKnownPowerState
- String
Last known compute power state captured in DTL.
- provisioningState
- String
The provisioning status of the resource.
Returns
A new DevTestLabVmData instance for mocking.