updatePolicy resource type

Namespace: microsoft.graph.windowsUpdates

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents an entity that governs the deployment of content to an associated deploymentAudience.

Methods

Method Return type Description
List updatePolicies microsoft.graph.windowsUpdates.updatePolicy collection Get a list of the microsoft.graph.windowsUpdates.updatePolicy objects and their properties.
Create updatePolicy microsoft.graph.windowsUpdates.updatePolicy Create a new microsoft.graph.windowsUpdates.updatePolicy object.
Get updatePolicy microsoft.graph.windowsUpdates.updatePolicy Read the properties and relationships of an microsoft.graph.windowsUpdates.updatePolicy object.
Update updatePolicy microsoft.graph.windowsUpdates.updatePolicy Update the properties of an microsoft.graph.windowsUpdates.updatePolicy object.
Delete updatePolicy None Delete an microsoft.graph.windowsUpdates.updatePolicy object.
List complianceChanges microsoft.graph.windowsUpdates.complianceChange collection Get the complianceChange resources from the complianceChanges navigation property.
Create contentApproval microsoft.graph.windowsUpdates.contentApproval Create a new complianceChange object.

Properties

Property Type Description
complianceChangeRules microsoft.graph.windowsUpdates.complianceChangeRule collection Rules for governing the automatic creation of compliance changes.
createdDateTime DateTimeOffset The date and time when the update policy was created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
deploymentSettings microsoft.graph.windowsUpdates.deploymentSettings Settings for governing how to deploy content.
id String Unique identifier for the update policy.

Relationships

Relationship Type Description
audience microsoft.graph.windowsUpdates.deploymentAudience Specifies the audience to target.
complianceChanges microsoft.graph.windowsUpdates.complianceChange collection Compliance changes like content approvals which result in the automatic creation of deployments using the audience and deploymentSettings of the policy.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.windowsUpdates.updatePolicy",
  "complianceChangeRules": [{"@odata.type": "microsoft.graph.windowsUpdates.contentApprovalRule"}],
  "createdDateTime": "String (timestamp)",
  "deploymentSettings": {"@odata.type": "microsoft.graph.windowsUpdates.deploymentSettings"},
  "id": "String (identifier)"
}