InvVmWithUser
Properties
Agent status
Possible values are: AVAILABLE , DOMAIN_ERR , ERROR , INIT , UNAVAILABLE , UNKNOWN
Agent version
VM ID from cloud provider
Reason for error status
VM ID
Image used to create the VM
VM lifecycle status
Possible values are: CUSTOMIZING , DELETING , ERROR , MAINTENANCE , PROVISIONED , PROVISIONING
Indicates maximum number of sessions supported by the VM
Power state
Possible values are: PoweredOff , PoweredOn , PoweringOff , PoweringOn , Unknown
Indicates the availability of the vm for session placement
Possible values are: AVAILABLE , DRAINING , QUIESCING , REPRISTINING , UNAVAILABLE
VM snapshot ID
Agent status code
Agent message timestamp. The inventory will only store the the latest record ever seen, and discard stale ones if received later
Indicates the number of free sessions on the VM
JSON Example
{
"agentStatus": "AVAILABLE",
"agentVersion": "string",
"cloudId": "string",
"createdAt": "string",
"error": "string",
"id": "string",
"image": "string",
"lifecycleStatus": "CUSTOMIZING",
"maxSessions": 0,
"powerState": "PoweredOff",
"privateIp": "string",
"publicKey": "string",
"sessionPlacementStatus": "AVAILABLE",
"snapshotId": "string",
"statusCode": 0,
"timestamp": 0,
"updatedAt": "string",
"users": [
{
"active": true,
"avatar": "url",
"azureAdDomain": "string",
"department": "Finance",
"displayName": "John Smith",
"distinguishedName": "CN=JSMITH,DC=vmware,DC=com",
"domain": "horizonv2.local",
"familyName": "Smith",
"givenName": "John",
"id": "1223234",
"ipaddr": "0.0.0.0",
"onPremisesUserPrincipalName": "john.smith@horizonv2.local",
"orgIds": [
"string"
],
"tid": "1223234",
"userDomain": "string",
"userGroups": [
"string"
],
"userName": "john.smith",
"userPrincipalName": "john.smith@horizonv2.onmicrosof.com",
"userSid": "S-1-5-21-2502306595"
}
],
"vmFreeSessions": 0
}