Dela via


VirtualMachineData Class

Definition

A class representing the VirtualMachine data model. Define the virtualMachine.

public class VirtualMachineData : Azure.ResourceManager.Models.TrackedResourceData
type VirtualMachineData = class
    inherit TrackedResourceData
Public Class VirtualMachineData
Inherits TrackedResourceData
Inheritance

Constructors

VirtualMachineData(AzureLocation)

Initializes a new instance of VirtualMachineData.

Properties

CustomResourceName

Gets the name of the corresponding resource in Kubernetes.

ExtendedLocation

Gets or sets the extended location.

FirmwareType

Firmware type.

FolderPath

Gets or sets the folder path of the vm.

GuestAgentProfile

Guest agent status properties.

HardwareProfile

Hardware properties.

Id

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

(Inherited from ResourceData)
Identity

The identity of the resource. Current supported identity types: None, SystemAssigned.

InstanceUuid

Gets or sets the instance uuid of the vm.

InventoryItemId

Gets or sets the inventory Item ID for the virtual machine.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MoName

Gets or sets the vCenter Managed Object name for the virtual machine.

MoRefId

Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine.

Name

The name of the resource.

(Inherited from ResourceData)
NetworkInterfaces

Gets or sets the list of network interfaces associated with the virtual machine.

OSProfile

OS properties.

PlacementProfile

Placement properties.

PowerState

Gets the power state of the virtual machine.

ProvisioningState

Gets or sets the provisioning state.

ResourcePoolId

Gets or sets the ARM Id of the resourcePool resource on which this virtual machine will deploy.

ResourceType

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

(Inherited from ResourceData)
SmbiosUuid

Gets or sets the SMBIOS UUID of the vm.

Statuses

The resource status information.

StorageProfile

Storage properties.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TemplateId

Gets or sets the ARM Id of the template resource to deploy the virtual machine.

Uuid

Gets or sets a unique identifier for this resource.

VCenterId

Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.

VmId

Gets or sets a unique identifier for the vm resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Applies to