policySet 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.
A class containing the properties used for PolicySet.
Methods
Method | Return Type | Description |
---|---|---|
List policySets | policySet collection | List properties and relationships of the policySet objects. |
Get policySet | policySet | Read properties and relationships of the policySet object. |
Create policySet | policySet | Create a new policySet object. |
Delete policySet | None | Deletes a policySet. |
Update policySet | policySet | Update the properties of a policySet object. |
update action | None | |
getPolicySets action | policySet collection |
Properties
Property | Type | Description |
---|---|---|
id | String | Key of the PolicySet. |
createdDateTime | DateTimeOffset | Creation time of the PolicySet. |
lastModifiedDateTime | DateTimeOffset | Last modified time of the PolicySet. |
displayName | String | DisplayName of the PolicySet. |
description | String | Description of the PolicySet. |
status | policySetStatus | Validation/assignment status of the PolicySet. Possible values are: unknown , validating , partialSuccess , success , error , notAssigned . |
errorCode | errorCode | Error code if any occured. Possible values are: noError , unauthorized , notFound , deleted . |
guidedDeploymentTags | String collection | Tags of the guided deployment |
roleScopeTags | String collection | RoleScopeTags of the PolicySet |
Relationships
Relationship | Type | Description |
---|---|---|
assignments | policySetAssignment collection | Assignments of the PolicySet. |
items | policySetItem collection | Items of the PolicySet with maximum count 100. |
JSON Representation
Here is a JSON representation of the resource.
{
"@odata.type": "#microsoft.graph.policySet",
"id": "String (identifier)",
"createdDateTime": "String (timestamp)",
"lastModifiedDateTime": "String (timestamp)",
"displayName": "String",
"description": "String",
"status": "String",
"errorCode": "String",
"guidedDeploymentTags": [
"String"
],
"roleScopeTags": [
"String"
]
}