windowsUpdateState resource type

Namespace: microsoft.graph

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

Methods

Method Return Type Description
List windowsUpdateStates windowsUpdateState collection List properties and relationships of the windowsUpdateState objects.
Get windowsUpdateState windowsUpdateState Read properties and relationships of the windowsUpdateState object.
Create windowsUpdateState windowsUpdateState Create a new windowsUpdateState object.
Delete windowsUpdateState None Deletes a windowsUpdateState.
Update windowsUpdateState windowsUpdateState Update the properties of a windowsUpdateState object.

Properties

Property Type Description
id String This is Id of the entity.
deviceId String The id of the device.
userId String The id of the user.
deviceDisplayName String Device display name.
userPrincipalName String User principal name.
status windowsUpdateStatus Windows udpate status. Possible values are: upToDate, pendingInstallation, pendingReboot, failed.
qualityUpdateVersion String The Quality Update Version of the device.
featureUpdateVersion String The current feature update version of the device.
lastScanDateTime DateTimeOffset The date time that the Windows Update Agent did a successful scan.
lastSyncDateTime DateTimeOffset Last date time that the device sync with with Microsoft Intune.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.windowsUpdateState",
  "id": "String (identifier)",
  "deviceId": "String",
  "userId": "String",
  "deviceDisplayName": "String",
  "userPrincipalName": "String",
  "status": "String",
  "qualityUpdateVersion": "String",
  "featureUpdateVersion": "String",
  "lastScanDateTime": "String (timestamp)",
  "lastSyncDateTime": "String (timestamp)"
}