NSX-T Data Center REST API

VirtualMachineDetails (type)

{
  "descriptions": "Virtual Machine details. Currently contains user last login sessions for a virtual machine",
  "extends": {
    "$ref": "Resource"
  },
  "id": "VirtualMachineDetails",
  "module_id": "PolicyRealizedState",
  "properties": {
    "_links": {
      "description": "The server will populate this field when returing the resource. Ignored on PUT and POST.",
      "items": {
        "$ref": "ResourceLink"
      },
      "readonly": true,
      "title": "References related to this resource",
      "type": "array"
    },
    "_schema": {
      "readonly": true,
      "title": "Schema for this resource",
      "type": "string"
    },
    "_self": {
      "$ref": "SelfResourceLink",
      "readonly": true,
      "title": "Link to this resource"
    },
    "active_sessions": {
      "description": "List of active (still logged in) user login/session data (no limit).",
      "items": {
        "$ref": "UserSession"
      },
      "required": false,
      "title": "List of active (still logged in) user login/sessions data (no limit)",
      "type": "array"
    },
    "archived_sessions": {
      "description": "Optional list of up to 5 most recent archived (previously logged in) user login/session data.",
      "items": {
        "$ref": "UserSession"
      },
      "required": false,
      "title": "Optional list of archived (previously logged in) user login/session data (maximum 5)",
      "type": "array"
    }
  },
  "title": "Virtual Machine Details",
  "type": "object"
}