Microsoft Graph · Schema

microsoft.graph.cloudPcDeviceImage

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphcloudpcdeviceimage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.cloudPcDeviceImage",
  "title": "microsoft.graph.cloudPcDeviceImage",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "cloudPcDeviceImage",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "The display name of the associated device image. The device image display name and the version are used to uniquely identify the Cloud PC device image. Read-only.",
          "nullable": true
        },
        "errorCode": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.cloudPcDeviceImageErrorCode"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The error code of the status of the image that indicates why the upload failed, if applicable. The possible values are: internalServerError, sourceImageNotFound, osVersionNotSupported, sourceImageInvalid, sourceImageNotGeneralized, unknownFutureValue, vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: vmAlreadyAzureAdJoined, paidSourceImageNotSupport, sourceImageNotSupportCustomizeVMName, sourceImageSizeExceedsLimitation. Read-only."
        },
        "expirationDate": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$",
          "type": "string",
          "description": "The date when the image became unavailable. Read-only.",
          "format": "date",
          "nullable": true
        },
        "lastModifiedDateTime": {
          "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": "The data and time when the image was last modified. The timestamp represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.",
          "format": "date-time",
          "nullable": true
        },
        "operatingSystem": {
          "type": "string",
          "description": "The operating system (OS) of the image. For example, Windows 11 Enterprise. Read-only.",
          "nullable": true
        },
        "osBuildNumber": {
          "type": "string",
          "description": "The OS build version of the image. For example, 1909. Read-only.",
          "nullable": true
        },
        "osStatus": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.cloudPcDeviceImageOsStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The OS status of this image. The possible values are: supported, supportedWithWarning, unknown, unknownFutureValue. The default value is unknown. Read-only."
        },
        "sourceImageResourceId": {
          "type": "string",
          "description": "The unique identifier (ID) of the source image resource on Azure. The required ID format is: '/subscriptions/{subscription-id}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}'. Read-only.",
          "nullable": true
        },
        "status": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.cloudPcDeviceImageStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The status of the image on the Cloud PC. The possible values are: pending, ready, failed, unknownFutureValue. Read-only."
        },
        "version": {
          "type": "string",
          "description": "The image version. For example, 0.0.1 and 1.5.13. Read-only.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.cloudPcDeviceImage"
}