deviceManagementScriptPolicySetItem 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 device management script PolicySetItem.

Inherits from policySetItem

Methods

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

Properties

Property Type Description
id String Key of the PolicySetItem. Inherited from policySetItem
createdDateTime DateTimeOffset Creation time of the PolicySetItem. Inherited from policySetItem
lastModifiedDateTime DateTimeOffset Last modified time of the PolicySetItem. Inherited from policySetItem
payloadId String PayloadId of the PolicySetItem. Inherited from policySetItem
itemType String policySetType of the PolicySetItem. Inherited from policySetItem
displayName String DisplayName of the PolicySetItem. Inherited from policySetItem
status policySetStatus Status of the PolicySetItem. Inherited from policySetItem. Possible values are: unknown, validating, partialSuccess, success, error, notAssigned.
errorCode errorCode Error code if any occured. Inherited from policySetItem. Possible values are: noError, unauthorized, notFound, deleted.
guidedDeploymentTags String collection Tags of the guided deployment Inherited from policySetItem

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceManagementScriptPolicySetItem",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "payloadId": "String",
  "itemType": "String",
  "displayName": "String",
  "status": "String",
  "errorCode": "String",
  "guidedDeploymentTags": [
    "String"
  ]
}