ArmDevTestLabsModelFactory.DevTestLabVmCreationContent 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.
public static Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationContent DevTestLabVmCreationContent(string notes = default, string ownerObjectId = default, string ownerUserPrincipalName = default, DateTimeOffset? createdOn = default, string customImageId = default, string size = default, string userName = default, string password = default, string sshKey = default, bool? isAuthenticationWithSshKey = 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.DevTestLabGalleryImageReference galleryImageReference = default, string planId = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface networkInterface = default, DateTimeOffset? expireOn = default, bool? allowClaim = default, string storageType = default, string environmentId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> dataDiskParameters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> scheduleParameters = default, int? bulkCreationParametersInstanceCount = default, string name = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default);
static member DevTestLabVmCreationContent : string * string * string * Nullable<DateTimeOffset> * string * string * string * string * string * Nullable<bool> * string * Azure.Core.ResourceIdentifier * Nullable<bool> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactInstallInfo> * Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference * string * Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface * Nullable<DateTimeOffset> * Nullable<bool> * string * string * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> * Nullable<int> * string * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationContent
Public Shared Function DevTestLabVmCreationContent (Optional notes As String = Nothing, Optional ownerObjectId As String = Nothing, Optional ownerUserPrincipalName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional customImageId 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 labSubnetName As String = Nothing, Optional labVirtualNetworkId As ResourceIdentifier = Nothing, Optional disallowPublicIPAddress As Nullable(Of Boolean) = Nothing, Optional artifacts As IEnumerable(Of DevTestLabArtifactInstallInfo) = Nothing, Optional galleryImageReference As DevTestLabGalleryImageReference = Nothing, Optional planId As String = Nothing, Optional networkInterface As DevTestLabNetworkInterface = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional allowClaim As Nullable(Of Boolean) = Nothing, Optional storageType As String = Nothing, Optional environmentId As String = Nothing, Optional dataDiskParameters As IEnumerable(Of DevTestLabDataDiskProperties) = Nothing, Optional scheduleParameters As IEnumerable(Of DevTestLabScheduleCreationParameter) = Nothing, Optional bulkCreationParametersInstanceCount As Nullable(Of Integer) = Nothing, Optional name As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing) As DevTestLabVmCreationContent
Parameters
- 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.
- createdOn
- Nullable<DateTimeOffset>
The creation date of the virtual machine.
- customImageId
- String
The custom image identifier 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.
- 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.
- 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.
- networkInterface
- DevTestLabNetworkInterface
The network interface properties.
- 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).
- environmentId
- String
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.
The number of virtual machine instances to create.
- name
- String
The name of the virtual machine or environment.
- location
- Nullable<AzureLocation>
The location of the new virtual machine or environment.
- tags
- IDictionary<String,String>
The tags of the resource.
Returns
A new DevTestLabVmCreationContent instance for mocking.