{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/microsoft.graph.deviceActionResult", "title": "deviceActionResult", "required": [ "@odata.type" ], "type": "object", "properties": { "actionName": { "type": "string", "description": "Action name", "nullable": true }, "actionState": { "$ref": "#/components/schemas/microsoft.graph.actionState" }, "lastUpdatedDateTime": { "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": "Time the action state was last updated", "format": "date-time" }, "startDateTime": { "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": "Time the action was initiated", "format": "date-time" }, "@odata.type": { "type": "string" } }, "description": "Device action result", "discriminator": { "propertyName": "@odata.type", "mapping": { "#microsoft.graph.deleteUserFromSharedAppleDeviceActionResult": "#/components/schemas/microsoft.graph.deleteUserFromSharedAppleDeviceActionResult", "#microsoft.graph.locateDeviceActionResult": "#/components/schemas/microsoft.graph.locateDeviceActionResult", "#microsoft.graph.remoteLockActionResult": "#/components/schemas/microsoft.graph.remoteLockActionResult", "#microsoft.graph.resetPasscodeActionResult": "#/components/schemas/microsoft.graph.resetPasscodeActionResult", "#microsoft.graph.rotateBitLockerKeysDeviceActionResult": "#/components/schemas/microsoft.graph.rotateBitLockerKeysDeviceActionResult", "#microsoft.graph.windowsDefenderScanActionResult": "#/components/schemas/microsoft.graph.windowsDefenderScanActionResult" } } }