Microsoft Graph · Schema

microsoft.graph.deviceInstallState

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdeviceinstallstate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.deviceInstallState",
  "title": "microsoft.graph.deviceInstallState",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "deviceInstallState",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "deviceId": {
          "type": "string",
          "description": "Device Id.",
          "nullable": true
        },
        "deviceName": {
          "type": "string",
          "description": "Device name.",
          "nullable": true
        },
        "errorCode": {
          "type": "string",
          "description": "The error code for install failures.",
          "nullable": true
        },
        "installState": {
          "$ref": "#/components/schemas/microsoft.graph.installState"
        },
        "lastSyncDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "Last sync date and time.",
          "format": "date-time"
        },
        "osDescription": {
          "type": "string",
          "description": "OS Description.",
          "nullable": true
        },
        "osVersion": {
          "type": "string",
          "description": "OS Version.",
          "nullable": true
        },
        "userName": {
          "type": "string",
          "description": "Device User Name.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "Contains properties for the installation state for a device."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.deviceInstallState"
}