共用方式為


DevTestLabVmCreationContent Class

Definition

Properties for creating a virtual machine.

public class DevTestLabVmCreationContent
type DevTestLabVmCreationContent = class
Public Class DevTestLabVmCreationContent
Inheritance
DevTestLabVmCreationContent

Constructors

DevTestLabVmCreationContent()

Initializes a new instance of DevTestLabVmCreationContent.

Properties

AllowClaim

Indicates whether another user can take ownership of the virtual machine.

Artifacts

The artifacts to be installed on the virtual machine.

BulkCreationParametersInstanceCount

The number of virtual machine instances to create.

CreatedOn

The creation date of the virtual machine.

CustomImageId

The custom image identifier of the virtual machine.

DataDiskParameters

New or existing data disks to attach to the virtual machine after creation.

DisallowPublicIPAddress

Indicates whether the virtual machine is to be created without a public IP address.

EnvironmentId

The resource ID of the environment that contains this virtual machine, if any.

ExpireOn

The expiration date for VM.

GalleryImageReference

The Microsoft Azure Marketplace image reference of the virtual machine.

IsAuthenticationWithSshKey

Indicates whether this virtual machine uses an SSH key for authentication.

LabSubnetName

The lab subnet name of the virtual machine.

LabVirtualNetworkId

The lab virtual network identifier of the virtual machine.

Location

The location of the new virtual machine or environment.

Name

The name of the virtual machine or environment.

NetworkInterface

The network interface properties.

Notes

The notes of the virtual machine.

OwnerObjectId

The object identifier of the owner of the virtual machine.

OwnerUserPrincipalName

The user principal name of the virtual machine owner.

Password

The password of the virtual machine administrator.

PlanId

The id of the plan associated with the virtual machine image.

ScheduleParameters

Virtual Machine schedules to be created.

Size

The size of the virtual machine.

SshKey

The SSH key of the virtual machine administrator.

StorageType

Storage type to use for virtual machine (i.e. Standard, Premium).

Tags

The tags of the resource.

UserName

The user name of the virtual machine.

Applies to