Share via


Read (GET) a VirtualMachine [SPFSDK][VMMREF]

 

Applies To: Windows Azure Pack

Gets a VirtualMachine [SPFSDK][VMMREF] entity by using the HTTP GET operation.

Here is a list of examples related to this collection operation.

  • Example: Get all virtual machines

  • Example: Get a specific virtual machine

Request

For more information about returning multiple entities, see Common GET HTTP Info.

Method

Request URI

HTTP Version

GET

https://{server-name}:{auth-port}/{subscription-id}/services/systemcenter/vmm/VirtualMachines(ID=Guid'[value]',StampId=Guid'[value]')

HTTP/1.1

GET

https://{server-name}:{auth-port}/{subscription-id}/services/systemcenter/vmm/VirtualMachines

HTTP/1.1

Request URI Parameters

URI Parameter

Description

ID

[Edm.Guid] The identifier of the entity.

StampId

[Edm.Guid] The identifier of the stamp that restricts the query.

Request Headers

This operation does not use any non-standard request headers.

For more information about the common request headers used by this operation, see Common HTTP request information

Request Body

None

Response

Response Codes

This operation does not return any non-standard OData response codes. If successful, it will return code 200 OK.

Response Headers

This operation does not use any non-standard response headers.

For more information about the common response headers used by this operation, see Common HTTP response information

Response Body

The response body will contain either (depending on the request headers) an XML or JSON encoded VirtualMachine [SPFSDK][VMMREF] entity or entities. Here is the response body of a single entity.

{
  "odata.metadata": "https://contoso.com:30005/ae122d5f-3aab-4d75-ad48-d6593246a49e/services/systemcenter/vmm/$metadata#VirtualMachines/@Element",
  "AddedTime": "2014-09-03T14:45:26.463-07:00",
  "Agent": null,
  "AllocatedGPU": null,
  "BackupEnabled": true,
  "BlockLiveMigrationIfHostBusy": null,
  "CanVMConnect": true,
  "CheckpointLocation": null,
  "CloudId": "10f8e459-e7c3-4c40-b47c-b8f758ef4dc1",
  "ComputerName": "K745QI8RMGA1G1C",
  "ComputerTierId": null,
  "CostCenter": null,
  "CPUCount": 1,
  "CPUMax": 100,
  "CPUReserve": 0,
  "CPUType": "3.60 GHz Xeon (2 MB L2 cache)",
  "CPUUtilization": 0,
  "CreationSource": "Temporary Template01de314a-beb0-4380-8272-5f855a2c0462",
  "CreationTime": "2014-09-03T14:45:26.463-07:00",
  "DataExchangeEnabled": true,
  "DelayStart": 0,
  "DeployPath": null,
  "Description": "",
  "DiskIO": 0,
  "Dismiss": null,
  "DynamicMemoryDemandMB": 0,
  "Enabled": true,
  "ExcludeFromPRO": false,
  "ExpectedCPUUtilization": 20,
  "FailedJobID": null,
  "HasPassthroughDisk": false,
  "HasSavedState": false,
  "HasVMAdditions": false,
  "HeartbeatEnabled": true,
  "HighlyAvailable": null,
  "ID": "c6cd770c-ae05-46bc-868a-c83af9363cd9",
  "IsFaultTolerant": false,
  "IsHighlyAvailable": false,
  "IsUndergoingLiveMigration": false,
  "LastRestoredCheckpointId": null,
  "LibraryGroup": "",
  "LimitCPUForMigration": false,
  "LimitCPUFunctionality": false,
  "VMNetworkAssignments": [],
  "Location": "",
  "MarkedAsTemplate": false,
  "Memory": 512,
  "MemoryAssignedMB": 0,
  "MemoryAvailablePercentage": null,
  "ModifiedTime": "2014-09-03T14:51:59.673-07:00",
  "MostRecentTaskId": "fdf3ddf8-7bab-4187-8bc0-4007f561675b",
  "Name": "Tenent Test Virtual Machine #3",
  "NetworkUtilization": 0,
  "NumLock": null,
  "OperatingSystem": "CentOS Linux 6 (64 bit)",
  "OperatingSystemInstance": {
    "Name": "CentOS Linux 6 (64 bit)",
    "Description": "CentOS Linux 6 (64 bit)",
    "Version": null,
    "Architecture": "amd64",
    "Edition": null,
    "OSType": "Linux",
    "ProductType": null
  },
  "OperatingSystemShutdownEnabled": true,
  "Operation": null,
  "Owner": {
    "UserName": "tenant@fabrikam.com",
    "RoleName": "tenant@fabrikam.com_ae122d5f-3aab-4d75-ad48-d6593246a49e",
    "RoleID": "ae122d5f-3aab-4d75-ad48-d6593246a49e"
  },
  "GrantedToList": [],
  "Path": null,
  "PerfCPUUtilization": 0,
  "PerfDiskBytesRead": "0",
  "PerfDiskBytesWrite": "0",
  "PerfNetworkBytesRead": "0",
  "PerfNetworkBytesWrite": "0",
  "CPURelativeWeight": null,
  "Retry": null,
  "RunGuestAccount": null,
  "ServiceDeploymentErrorMessage": null,
  "ServiceId": null,
  "SharePath": null,
  "SourceObjectType": "VM Template",
  "StartAction": "NeverAutoTurnOnVM",
  "StartVM": null,
  "Status": "PowerOff",
  "StatusString": "Stopped",
  "StopAction": "SaveVM",
  "Tag": "(none)",
  "TimeSynchronizationEnabled": true,
  "TotalSize": "1772601856",
  "Undo": null,
  "UndoDisksEnabled": false,
  "UpgradeDomain": null,
  "UseCluster": null,
  "UseLAN": null,
  "VirtualHardDiskId": null,
  "VirtualizationPlatform": "HyperV",
  "CapabilityProfile": null,
  "VMBaseConfigurationId": null,
  "VMConnection@odata.mediaContentType": "application/x-rdp",
  "VMConfigResource": null,
  "VMCPath": null,
  "VMHostName": null,
  "VMId": "24089301-fe61-4f87-932c-4e78c3b0f1cb",
  "StampId": "d70c1a9b-c241-48f5-880a-b6c36071e653",
  "VMResource": null,
  "VMResourceGroup": null,
  "VirtualMachineState": "PowerOff",
  "VMTemplateId": null,
  "HardwareProfileId": null,
  "BlockDynamicOptimization": null,
  "CPULimitForMigration": null,
  "CPULimitFunctionality": null,
  "Domain": null,
  "DynamicMemoryBufferPercentage": null,
  "DynamicMemoryEnabled": false,
  "DynamicMemoryMaximumMB": null,
  "FullName": null,
  "MemoryWeight": null,
  "OrganizationName": null,
  "DelayStartSeconds": null,
  "ProductKey": null,
  "WorkGroup": null,
  "TimeZone": null,
  "RunAsAccountUserName": null,
  "UserName": null,
  "Password": null,
  "LocalAdminRunAsAccountName": null,
  "LocalAdminUserName": null,
  "LocalAdminPassword": null,
  "LinuxDomainName": null,
  "LinuxAdministratorSSHKey": null,
  "LinuxAdministratorSSHKeyString": null,
  "CloudVMRoleName": null,
  "Generation": 1,
  "DeploymentErrorInfo": {
    "CloudProblem": null,
    "Code": null,
    "DetailedCode": null,
    "DetailedErrorCode": null,
    "DetailedSource": null,
    "DisplayableErrorCode": null,
    "ErrorCodeString": null,
    "ErrorType": null,
    "ExceptionDetails": null,
    "IsConditionallyTerminating": null,
    "IsDeploymentBlocker": null,
    "IsMomAlert": null,
    "IsSuccess": null,
    "IsTerminating": null,
    "MessageParameters": null,
    "MomAlertSeverity": null,
    "Problem": null,
    "RecommendedAction": null,
    "RecommendedActionCLI": null,
    "ShowDetailedError": null
  },
  "NewVirtualNetworkAdapterInput": [],
  "IsRecoveryVM": false
}

Example: Get all virtual machines

For more information about how to get started with using the code examples provided in this programming guide, see Programming in Visual Studio with Service Provider Foundation Services.

Guid stampId = new Guid("d70c1a9b-c241-48f5-880a-b6c36071e653");

var virtualMachines = vmmService.VirtualMachines.ToList();

HTTP Request

GET https://contoso.com:30005/ae122d5f-3aab-4d75-ad48-d6593246a49e/services/systemcenter/vmm/VirtualMachines HTTP/1.1
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 3.0;NetFx
Accept: application/json;odata=minimalmetadata
Accept-Charset: UTF-8
DataServiceUrlConventions: KeyAsSegment
User-Agent: Microsoft ADO.NET Data Services
Authorization: Bearer {ENCODED AUTHENTICATION TOKEN}
x-ms-principal-id: tenant@fabrikam.com
Host: contoso.com:30005

HTTP Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 16455
Content-Type: application/json; odata=minimalmetadata; streaming=true; charset=utf-8
Server: Microsoft-IIS/8.5
X-Content-Type-Options: nosniff
request-id: d3df681c-b278-0000-21bf-e1d378b2cf01
DataServiceVersion: 3.0;
Server: Microsoft-IIS/8.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Date: Wed, 03 Sep 2014 23:21:21 GMT

{"odata.metadata":"https://contoso.com:30005/ae122d5f-3aab-4d75-ad48-d6593246a49e/services/systemcenter/vmm/$metadata#VirtualMachines","value":[{"AddedTime":"2014-09-03T14:39:37.6364868-07:00","Agent":null,"AllocatedGPU":null,"BackupEnabled":true,"BlockLiveMigrationIfHostBusy":null,"CanVMConnect":true,"CheckpointLocation":null,"CloudId":"10f8e459-e7c3-4c40-b47c-b8f758ef4dc1","ComputerName":"SV8GAQ8Z2E48UEB","ComputerTierId":null,"CostCenter":null,"CPUCount":1,"CPUMax":100,"CPUReserve":0,"CPUType":"3.60 GHz Xeon (2 MB L2 cache)","CPUUtilization":0,"CreationSource":"Temporary Templatea34cad51-1d34-4f47-96fa-18915a1b2fe1","CreationTime":"2014-09-03T14:39:37.6364868-07:00","DataExchangeEnabled":true,"DelayStart":0,"DeployPath":null,"Description":"","DiskIO":0,"Dismiss":null,"DynamicMemoryDemandMB":0,"Enabled":true,"ExcludeFromPRO":false,"ExpectedCPUUtilization":20,"FailedJobID":null,"HasPassthroughDisk":false,"HasSavedState":false,"HasVMAdditions":false,"HeartbeatEnabled":true,"HighlyAvailable":null,"ID":"38c9c3b9-9288-4d7a-82fa-501cd4eb9ecb","IsFaultTolerant":false,"IsHighlyAvailable":false,"IsUndergoingLiveMigration":false,"LastRestoredCheckpointId":null,"LibraryGroup":"","LimitCPUForMigration":false,"LimitCPUFunctionality":false,"VMNetworkAssignments":[],"Location":"","MarkedAsTemplate":false,"Memory":512,"MemoryAssignedMB":0,"MemoryAvailablePercentage":null,"ModifiedTime":"2014-09-03T14:48:02.3305553-07:00","MostRecentTaskId":"bfd9357a-46f0-4010-9072-3c6decc6b1ad","Name":"Tenent Test Virtual Machine #3","NetworkUtilization":0,"NumLock":null,"OperatingSystem":"CentOS Linux 6 (64 bit)","OperatingSystemInstance":{"Name":"CentOS Linux 6 (64 bit)","Description":"CentOS Linux 6 (64 bit)","Version":null,"Architecture":"amd64","Edition":null,"OSType":"Linux","ProductType":null},"OperatingSystemShutdownEnabled":true,"Operation":null,"Owner":{"UserName":"tenant@fabrikam.com","RoleName":"tenant@fabrikam.com_ae122d5f-3aab-4d75-ad48-d6593246a49e","RoleID":"ae122d5f-3aab-4d75-ad48-d6593246a49e"},"GrantedToList":[],"Path":null,"PerfCPUUtilization":0,"PerfDiskBytesRead":"0","PerfDiskBytesWrite":"0","PerfNetworkBytesRead":"0","PerfNetworkBytesWrite":"0","CPURelativeWeight":null,"Retry":null,"RunGuestAccount":null,"ServiceDeploymentErrorMessage":null,"ServiceId":null,"SharePath":null,"SourceObjectType":"VM Template","StartAction":"NeverAutoTurnOnVM","StartVM":null,"Status":"PowerOff","StatusString":"Stopped","StopAction":"SaveVM","Tag":"(none)","TimeSynchronizationEnabled":true,"TotalSize":"1772601856","Undo":null,"UndoDisksEnabled":false,"UpgradeDomain":null,"UseCluster":null,"UseLAN":null,"VirtualHardDiskId":null,"VirtualizationPlatform":"HyperV","CapabilityProfile":null,"VMBaseConfigurationId":null,"VMConnection@odata.mediaContentType":"application/x-rdp","VMConfigResource":null,"VMCPath":null,"VMHostName":null,"VMId":"3e524555-8902-4a33-b9d5-933a01e2e638","StampId":"d70c1a9b-c241-48f5-880a-b6c36071e653","VMResource":null,"VMResourceGroup":null,"VirtualMachineState":"PowerOff","VMTemplateId":null,"HardwareProfileId":null,"BlockDynamicOptimization":null,"CPULimitForMigration":null,"CPULimitFunctionality":null,"Domain":null,"DynamicMemoryBufferPercentage":null,"DynamicMemoryEnabled":false,"DynamicMemoryMaximumMB":null,"FullName":null,"MemoryWeight":null,"OrganizationName":null,"DelayStartSeconds":null,"ProductKey":null,"WorkGroup":null,"TimeZone":null,"RunAsAccountUserName":null,"UserName":null,"Password":null,"LocalAdminRunAsAccountName":null,"LocalAdminUserName":null,"LocalAdminPassword":null,"LinuxDomainName":null,"LinuxAdministratorSSHKey":null,"LinuxAdministratorSSHKeyString":null,"CloudVMRoleName":null,"Generation":1,"DeploymentErrorInfo":{"CloudProblem":null,"Code":null,"DetailedCode":null,"DetailedErrorCode":null,"DetailedSource":null,"DisplayableErrorCode":null,"ErrorCodeString":null,"ErrorType":null,"ExceptionDetails":null,"IsConditionallyTerminating":null,"IsDeploymentBlocker":null,"IsMomAlert":null,"IsSuccess":null,"IsTerminating":null,"MessageParameters":null,"MomAlertSeverity":null,"Problem":null,"RecommendedAction":null,"RecommendedActionCLI":null,"ShowDetailedError":null},"NewVirtualNetworkAdapterInput":[],"IsRecoveryVM":false},{"AddedTime":"2014-09-03T14:45:26.4643913-07:00","Agent":null,"AllocatedGPU":null,"BackupEnabled":true,"BlockLiveMigrationIfHostBusy":null,"CanVMConnect":true,"CheckpointLocation":null,"CloudId":"10f8e459-e7c3-4c40-b47c-b8f758ef4dc1","ComputerName":"K745QI8RMGA1G1C","ComputerTierId":null,"CostCenter":null,"CPUCount":1,"CPUMax":100,"CPUReserve":0,"CPUType":"3.60 GHz Xeon (2 MB L2 cache)","CPUUtilization":0,"CreationSource":"Temporary Template01de314a-beb0-4380-8272-5f855a2c0462","CreationTime":"2014-09-03T14:45:26.4643913-07:00","DataExchangeEnabled":true,"DelayStart":0,"DeployPath":null,"Description":"","DiskIO":0,"Dismiss":null,"DynamicMemoryDemandMB":0,"Enabled":true,"ExcludeFromPRO":false,"ExpectedCPUUtilization":20,"FailedJobID":null,"HasPassthroughDisk":false,"HasSavedState":false,"HasVMAdditions":false,"HeartbeatEnabled":true,"HighlyAvailable":null,"ID":"c6cd770c-ae05-46bc-868a-c83af9363cd9","IsFaultTolerant":false,"IsHighlyAvailable":false,"IsUndergoingLiveMigration":false,"LastRestoredCheckpointId":null,"LibraryGroup":"","LimitCPUForMigration":false,"LimitCPUFunctionality":false,"VMNetworkAssignments":[],"Location":"","MarkedAsTemplate":false,"Memory":512,"MemoryAssignedMB":0,"MemoryAvailablePercentage":null,"ModifiedTime":"2014-09-03T14:51:59.6728458-07:00","MostRecentTaskId":"fdf3ddf8-7bab-4187-8bc0-4007f561675b","Name":"Tenent Test Virtual Machine #3","NetworkUtilization":0,"NumLock":null,"OperatingSystem":"CentOS Linux 6 (64 bit)","OperatingSystemInstance":{"Name":"CentOS Linux 6 (64 bit)","Description":"CentOS Linux 6 (64 bit)","Version":null,"Architecture":"amd64","Edition":null,"OSType":"Linux","ProductType":null},"OperatingSystemShutdownEnabled":true,"Operation":null,"Owner":{"UserName":"tenant@fabrikam.com","RoleName":"tenant@fabrikam.com_ae122d5f-3aab-4d75-ad48-d6593246a49e","RoleID":"ae122d5f-3aab-4d75-ad48-d6593246a49e"},"GrantedToList":[],"Path":null,"PerfCPUUtilization":0,"PerfDiskBytesRead":"0","PerfDiskBytesWrite":"0","PerfNetworkBytesRead":"0","PerfNetworkBytesWrite":"0","CPURelativeWeight":null,"Retry":null,"RunGuestAccount":null,"ServiceDeploymentErrorMessage":null,"ServiceId":null,"SharePath":null,"SourceObjectType":"VM Template","StartAction":"NeverAutoTurnOnVM","StartVM":null,"Status":"PowerOff","StatusString":"Stopped","StopAction":"SaveVM","Tag":"(none)","TimeSynchronizationEnabled":true,"TotalSize":"1772601856","Undo":null,"UndoDisksEnabled":false,"UpgradeDomain":null,"UseCluster":null,"UseLAN":null,"VirtualHardDiskId":null,"VirtualizationPlatform":"HyperV","CapabilityProfile":null,"VMBaseConfigurationId":null,"VMConnection@odata.mediaContentType":"application/x-rdp","VMConfigResource":null,"VMCPath":null,"VMHostName":null,"VMId":"24089301-fe61-4f87-932c-4e78c3b0f1cb","StampId":"d70c1a9b-c241-48f5-880a-b6c36071e653","VMResource":null,"VMResourceGroup":null,"VirtualMachineState":"PowerOff","VMTemplateId":null,"HardwareProfileId":null,"BlockDynamicOptimization":null,"CPULimitForMigration":null,"CPULimitFunctionality":null,"Domain":null,"DynamicMemoryBufferPercentage":null,"DynamicMemoryEnabled":false,"DynamicMemoryMaximumMB":null,"FullName":null,"MemoryWeight":null,"OrganizationName":null,"DelayStartSeconds":null,"ProductKey":null,"WorkGroup":null,"TimeZone":null,"RunAsAccountUserName":null,"UserName":null,"Password":null,"LocalAdminRunAsAccountName":null,"LocalAdminUserName":null,"LocalAdminPassword":null,"LinuxDomainName":null,"LinuxAdministratorSSHKey":null,"LinuxAdministratorSSHKeyString":null,"CloudVMRoleName":null,"Generation":1,"DeploymentErrorInfo":{"CloudProblem":null,"Code":null,"DetailedCode":null,"DetailedErrorCode":null,"DetailedSource":null,"DisplayableErrorCode":null,"ErrorCodeString":null,"ErrorType":null,"ExceptionDetails":null,"IsConditionallyTerminating":null,"IsDeploymentBlocker":null,"IsMomAlert":null,"IsSuccess":null,"IsTerminating":null,"MessageParameters":null,"MomAlertSeverity":null,"Problem":null,"RecommendedAction":null,"RecommendedActionCLI":null,"ShowDetailedError":null},"NewVirtualNetworkAdapterInput":[],"IsRecoveryVM":false}]}

Example: Get a specific virtual machine

For more information about how to get started with using the code examples provided in this programming guide, see Programming in Visual Studio with Service Provider Foundation Services.

Guid stampId = new Guid("d70c1a9b-c241-48f5-880a-b6c36071e653");
Guid vmId = new Guid("c6cd770c-ae05-46bc-868a-c83af9363cd9");

var virtualMachine = vmmService.VirtualMachines.Where(s => s.StampId == stampId && s.ID == vmId).First();

HTTP Request

GET https://contoso.com:30005/ae122d5f-3aab-4d75-ad48-d6593246a49e/services/systemcenter/vmm/VirtualMachines(StampId=guid'd70c1a9b-c241-48f5-880a-b6c36071e653',ID=guid'c6cd770c-ae05-46bc-868a-c83af9363cd9') HTTP/1.1
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 3.0;NetFx
Accept: application/json;odata=minimalmetadata
Accept-Charset: UTF-8
DataServiceUrlConventions: KeyAsSegment
User-Agent: Microsoft ADO.NET Data Services
Authorization: Bearer {ENCODED AUTHENTICATION TOKEN}
x-ms-principal-id: tenant@fabrikam.com
Host: contoso.com:30005

HTTP Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Length: 4193
Content-Type: application/json; odata=minimalmetadata; streaming=true; charset=utf-8
Server: Microsoft-IIS/8.5
X-Content-Type-Options: nosniff
request-id: d3df681c-b278-0000-58bf-e1d378b2cf01
DataServiceVersion: 3.0;
Server: Microsoft-IIS/8.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-Powered-By: ASP.NET
Date: Wed, 03 Sep 2014 23:22:31 GMT

{"odata.metadata":"https://contoso.com:30005/ae122d5f-3aab-4d75-ad48-d6593246a49e/services/systemcenter/vmm/$metadata#VirtualMachines/@Element","AddedTime":"2014-09-03T14:45:26.463-07:00","Agent":null,"AllocatedGPU":null,"BackupEnabled":true,"BlockLiveMigrationIfHostBusy":null,"CanVMConnect":true,"CheckpointLocation":null,"CloudId":"10f8e459-e7c3-4c40-b47c-b8f758ef4dc1","ComputerName":"K745QI8RMGA1G1C","ComputerTierId":null,"CostCenter":null,"CPUCount":1,"CPUMax":100,"CPUReserve":0,"CPUType":"3.60 GHz Xeon (2 MB L2 cache)","CPUUtilization":0,"CreationSource":"Temporary Template01de314a-beb0-4380-8272-5f855a2c0462","CreationTime":"2014-09-03T14:45:26.463-07:00","DataExchangeEnabled":true,"DelayStart":0,"DeployPath":null,"Description":"","DiskIO":0,"Dismiss":null,"DynamicMemoryDemandMB":0,"Enabled":true,"ExcludeFromPRO":false,"ExpectedCPUUtilization":20,"FailedJobID":null,"HasPassthroughDisk":false,"HasSavedState":false,"HasVMAdditions":false,"HeartbeatEnabled":true,"HighlyAvailable":null,"ID":"c6cd770c-ae05-46bc-868a-c83af9363cd9","IsFaultTolerant":false,"IsHighlyAvailable":false,"IsUndergoingLiveMigration":false,"LastRestoredCheckpointId":null,"LibraryGroup":"","LimitCPUForMigration":false,"LimitCPUFunctionality":false,"VMNetworkAssignments":[],"Location":"","MarkedAsTemplate":false,"Memory":512,"MemoryAssignedMB":0,"MemoryAvailablePercentage":null,"ModifiedTime":"2014-09-03T14:51:59.673-07:00","MostRecentTaskId":"fdf3ddf8-7bab-4187-8bc0-4007f561675b","Name":"Tenent Test Virtual Machine #3","NetworkUtilization":0,"NumLock":null,"OperatingSystem":"CentOS Linux 6 (64 bit)","OperatingSystemInstance":{"Name":"CentOS Linux 6 (64 bit)","Description":"CentOS Linux 6 (64 bit)","Version":null,"Architecture":"amd64","Edition":null,"OSType":"Linux","ProductType":null},"OperatingSystemShutdownEnabled":true,"Operation":null,"Owner":{"UserName":"tenant@fabrikam.com","RoleName":"tenant@fabrikam.com_ae122d5f-3aab-4d75-ad48-d6593246a49e","RoleID":"ae122d5f-3aab-4d75-ad48-d6593246a49e"},"GrantedToList":[],"Path":null,"PerfCPUUtilization":0,"PerfDiskBytesRead":"0","PerfDiskBytesWrite":"0","PerfNetworkBytesRead":"0","PerfNetworkBytesWrite":"0","CPURelativeWeight":null,"Retry":null,"RunGuestAccount":null,"ServiceDeploymentErrorMessage":null,"ServiceId":null,"SharePath":null,"SourceObjectType":"VM Template","StartAction":"NeverAutoTurnOnVM","StartVM":null,"Status":"PowerOff","StatusString":"Stopped","StopAction":"SaveVM","Tag":"(none)","TimeSynchronizationEnabled":true,"TotalSize":"1772601856","Undo":null,"UndoDisksEnabled":false,"UpgradeDomain":null,"UseCluster":null,"UseLAN":null,"VirtualHardDiskId":null,"VirtualizationPlatform":"HyperV","CapabilityProfile":null,"VMBaseConfigurationId":null,"VMConnection@odata.mediaContentType":"application/x-rdp","VMConfigResource":null,"VMCPath":null,"VMHostName":null,"VMId":"24089301-fe61-4f87-932c-4e78c3b0f1cb","StampId":"d70c1a9b-c241-48f5-880a-b6c36071e653","VMResource":null,"VMResourceGroup":null,"VirtualMachineState":"PowerOff","VMTemplateId":null,"HardwareProfileId":null,"BlockDynamicOptimization":null,"CPULimitForMigration":null,"CPULimitFunctionality":null,"Domain":null,"DynamicMemoryBufferPercentage":null,"DynamicMemoryEnabled":false,"DynamicMemoryMaximumMB":null,"FullName":null,"MemoryWeight":null,"OrganizationName":null,"DelayStartSeconds":null,"ProductKey":null,"WorkGroup":null,"TimeZone":null,"RunAsAccountUserName":null,"UserName":null,"Password":null,"LocalAdminRunAsAccountName":null,"LocalAdminUserName":null,"LocalAdminPassword":null,"LinuxDomainName":null,"LinuxAdministratorSSHKey":null,"LinuxAdministratorSSHKeyString":null,"CloudVMRoleName":null,"Generation":1,"DeploymentErrorInfo":{"CloudProblem":null,"Code":null,"DetailedCode":null,"DetailedErrorCode":null,"DetailedSource":null,"DisplayableErrorCode":null,"ErrorCodeString":null,"ErrorType":null,"ExceptionDetails":null,"IsConditionallyTerminating":null,"IsDeploymentBlocker":null,"IsMomAlert":null,"IsSuccess":null,"IsTerminating":null,"MessageParameters":null,"MomAlertSeverity":null,"Problem":null,"RecommendedAction":null,"RecommendedActionCLI":null,"ShowDetailedError":null},"NewVirtualNetworkAdapterInput":[],"IsRecoveryVM":false}

See Also

VirtualMachines Collection [SPFSDK][VMMREF]
VirtualMachine [SPFSDK][VMMREF]