Edit

siteExclusionUnit 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 SharePoint site that is excluded from a SharePoint protection policy configured for full workload backup.

Inherits from exclusionUnitBase.

Methods

Method Return type Description
List siteExclusionUnit collection Get a list of site exclusion units associated with a SharePoint protection policy.
Get siteExclusionUnit Get a site exclusion unit associated with a SharePoint 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.
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.
siteId String The unique identifier of the SharePoint site.
siteName String The display name of the SharePoint site.
siteWebUrl String The URL of the SharePoint site.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.siteExclusionUnit",
  "createdBy": {"@odata.type": "microsoft.graph.identitySet"},
  "createdDateTime": "String (timestamp)",
  "error": {"@odata.type": "microsoft.graph.publicError"},
  "id": "String (identifier)",
  "lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
  "lastModifiedDateTime": "String (timestamp)",
  "policyId": "String",
  "siteId": "String",
  "siteName": "String",
  "siteWebUrl": "String"
}