siteProtectionUnitsBulkAdditionJob 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 the properties of a siteProtectionUnitsBulkAdditionJob associated with a SharePoint protection policy. It contains a list of SharePoint site URLs, and a list of site IDs to be added to the SharePoint protection policy for backup.

Inherits from protectionUnitsBulkJobBase.

Methods

Method Return type Description
List siteProtectionUnitsBulkAdditionJob collection Get a list of siteProtectionUnitsBulkAdditionJob objects and their properties.
Create siteProtectionUnitsBulkAdditionJob Create a new siteProtectionUnitsBulkAdditionJob.
Get siteProtectionUnitsBulkAdditionJob Read the properties and relationships of a siteProtectionUnitsBulkAdditionJob.

Properties

Property Type Description
createdBy identitySet The identity of the person who created the job.
createdDateTime DateTimeOffset The date and time that the job was created.
displayName String The name of the job.
error publicError Contains error details if any site-url resolution fails.
id String The unique identifier of the job associated with the SharePoint protection policy.
lastModifiedBy identitySet Identity of the person who last modified the job.
lastModifiedDateTime DateTimeOffset Timestamp of the last modification to the job.
status protectionUnitsBulkJobStatus Status of the job. The possible values are: unknown, active, completed, completedWithErrors, and unknownFutureValue.
siteWebUrls Collection(String) The list of SharePoint site URLs to add to the SharePoint protection policy.
siteIds Collection(String) The list of SharePoint site IDs to add to the SharePoint protection policy.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.siteProtectionUnitsBulkAdditionJob",
  "id": "String (identifier)",
  "displayName": "String",
  "status": "String",
  "createdDateTime": "String (timestamp)",
  "createdBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "lastModifiedBy": {
    "@odata.type": "microsoft.graph.identitySet"
  },
  "error": {
    "@odata.type": "microsoft.graph.publicError"
  },
  "siteWebUrls": [
    "String"
   ],
  "siteIds": [
    "String"
   ]
}