Share via


VirtualMachineInstance Class

Definition

Define the virtualMachineInstance.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualMachineInstanceTypeConverter))]
public class VirtualMachineInstance : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualMachineInstance, Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.VirtualMachineInstanceTypeConverter))>]
type VirtualMachineInstance = class
    interface IVirtualMachineInstance
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class VirtualMachineInstance
Implements IValidates, IVirtualMachineInstance
Inheritance
VirtualMachineInstance
Attributes
Implements

Constructors

VirtualMachineInstance()

Creates an new VirtualMachineInstance instance.

Properties

ExtendedLocationName

The extended location name.

ExtendedLocationType

The extended location type.

HardwareProfileCpuHotAddEnabled

Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.

HardwareProfileCpuHotRemoveEnabled

Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.

HardwareProfileMemoryHotAddEnabled

Gets or sets a value indicating whether memory can be added while this virtual machine is running.

HardwareProfileMemorySizeMb

Gets or sets memory size in MBs for the vm.

HardwareProfileNumCoresPerSocket

Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified.

HardwareProfileNumCpUs

Gets or sets the number of vCPUs for the vm.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

InfrastructureProfileCustomResourceName

Gets the name of the corresponding resource in Kubernetes.

InfrastructureProfileFirmwareType

Firmware type

InfrastructureProfileFolderPath

Gets or sets the folder path of the vm.

InfrastructureProfileInstanceUuid

Gets or sets the instance uuid of the vm.

InfrastructureProfileInventoryItemId

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

InfrastructureProfileMoName

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

InfrastructureProfileMoRefId

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

InfrastructureProfileSmbiosUuid

Gets or sets the SMBIOS UUID of the vm.

InfrastructureProfileTemplateId

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

InfrastructureProfileVCenterId

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

Name

The name of the resource

NetworkProfileNetworkInterface

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

OSProfileAdminPassword

Sets administrator password.

OSProfileAdminUsername

Gets or sets administrator username.

OSProfileComputerName

Gets or sets computer name.

OSProfileGuestId

Gets or sets the guestId.

OSProfileOssku

Gets or sets os sku.

OSProfileOstype

Gets or sets the type of the os.

OSProfileToolsRunningStatus

Gets or sets the current running status of VMware Tools running in the guest operating system.

OSProfileToolsVersion

Gets or sets the current version of VMware Tools.

OSProfileToolsVersionStatus

Gets or sets the current version status of VMware Tools installed in the guest operating system.

PlacementProfileClusterId

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

PlacementProfileDatastoreId

Gets or sets the ARM Id of the datastore resource on which the data for the virtual machine will be kept.

PlacementProfileHostId

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

PlacementProfileResourcePoolId

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

PowerState

Gets the power state of the virtual machine.

ProvisioningState

Gets the provisioning state.

ResourceGroupName

Gets the resource group name

ResourceUid

Gets or sets a unique identifier for the vm resource.

Statuses

The resource status information.

StorageProfileDisk

Gets or sets the list of virtual disks associated with the virtual machine.

StorageProfileScsiController

Gets or sets the list of virtual SCSI controllers associated with the virtual machine.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

UefiSettingSecureBootEnabled

Specifies whether secure boot should be enabled on the virtual machine.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineInstance.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineInstance.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IVirtualMachineInstance.

FromJsonString(String)

Creates a new instance of VirtualMachineInstance, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineInstance into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to