共用方式為


DevTestLabVmData Class

Definition

A class representing the DevTestLabVm data model. A virtual machine.

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

Constructors

DevTestLabVmData(AzureLocation)

Initializes a new instance of DevTestLabVmData.

Properties

AllowClaim

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

ApplicableSchedule

The applicable schedule for the virtual machine.

ArtifactDeploymentStatus

The artifact deployment status for the virtual machine.

Artifacts

The artifacts to be installed on the virtual machine.

ComputeId

The resource identifier (Microsoft.Compute) of the virtual machine.

ComputeVm

The compute virtual machine properties.

CreatedByUser

The email address of creator of the virtual machine.

CreatedByUserId

The object identifier of the creator of the virtual machine.

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.

Fqdn

The fully-qualified domain name of the virtual machine.

GalleryImageReference

The Microsoft Azure Marketplace image reference of the virtual machine.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
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.

LastKnownPowerState

Last known compute power state captured in DTL.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
NetworkInterface

The network interface properties.

Notes

The notes of the virtual machine.

OSType

The OS type 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.

ProvisioningState

The provisioning status of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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).

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UniqueIdentifier

The unique immutable identifier of a resource (Guid).

UserName

The user name of the virtual machine.

VmCreationSource

Tells source of creation of lab virtual machine. Output property only.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<DevTestLabVmData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabVmData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabVmData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabVmData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabVmData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to