Edit

driveExclusionUnit resource type

Namespace: microsoft.graph

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 a OneDrive drive that is excluded from a OneDrive for work or school protection policy configured for full workload backup.

Inherits from exclusionUnitBase.

Methods

Method Return type Description
List driveExclusionUnit collection Get a list of drive exclusion units associated with a OneDrive for work or school protection policy.
Get driveExclusionUnit Get a drive exclusion unit associated with a OneDrive for work or school protection policy.

Properties

Property Type Description
createdBy identitySet The identity of the person who created the exclusion unit. Inherited from exclusionUnitBase.
createdDateTime DateTimeOffset The date and time when the exclusion unit was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Inherited from exclusionUnitBase.
directoryObjectId String The unique identifier of the directory object (user) associated with the drive.
displayName String The display name of the user associated with the drive.
email String The email address of the user associated with the drive.
error publicError Contains error details if the exclusion unit is in a failed state. Inherited from exclusionUnitBase.
id String The unique identifier of the exclusion unit. Inherited from exclusionUnitBase.
lastModifiedBy identitySet The identity of the person who last modified the exclusion unit. Inherited from exclusionUnitBase.
lastModifiedDateTime DateTimeOffset The date and time when the exclusion unit was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Inherited from exclusionUnitBase.
policyId String The unique identifier of the protection policy that contains this exclusion unit. Inherited from exclusionUnitBase.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.driveExclusionUnit",
  "createdBy": {"@odata.type": "microsoft.graph.identitySet"},
  "createdDateTime": "String (timestamp)",
  "directoryObjectId": "String",
  "displayName": "String",
  "email": "String",
  "error": {"@odata.type": "microsoft.graph.publicError"},
  "id": "String (identifier)",
  "lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
  "lastModifiedDateTime": "String (timestamp)",
  "policyId": "String"
}