共用方式為


DevTestLabVmCreationContent Class

Definition

Properties for creating a virtual machine.

public class DevTestLabVmCreationContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationContent>
public class DevTestLabVmCreationContent
type DevTestLabVmCreationContent = class
    interface IJsonModel<DevTestLabVmCreationContent>
    interface IPersistableModel<DevTestLabVmCreationContent>
type DevTestLabVmCreationContent = class
Public Class DevTestLabVmCreationContent
Implements IJsonModel(Of DevTestLabVmCreationContent), IPersistableModel(Of DevTestLabVmCreationContent)
Public Class DevTestLabVmCreationContent
Inheritance
DevTestLabVmCreationContent
Implements

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabVmCreationContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DevTestLabVmCreationContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabVmCreationContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabVmCreationContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DevTestLabVmCreationContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to