Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 an async job for bulk-adding drive exclusion units to a OneDrive for work or school protection policy configured for full workload backup.
The initial status upon creation of the job is active. When all the drives are added to the corresponding OneDrive for work or school protection policy as exclusion units, the status of the job is completed. If any failures occur, the status of the job is completedWithErrors.
Inherits from exclusionUnitBulkAdditionJob.
Methods
| Method | Return type | Description |
|---|---|---|
| List | driveExclusionUnitsBulkAdditionJob collection | Get a list of drive exclusion units bulk addition jobs associated with a OneDrive for work or school protection policy. |
| Create | driveExclusionUnitsBulkAdditionJob | Create a drive exclusion units bulk addition job for a OneDrive for work or school protection policy. |
| Get | driveExclusionUnitsBulkAdditionJob | Get a drive exclusion units bulk addition job associated with a OneDrive for work or school protection policy. |
Properties
| Property | Type | Description |
|---|---|---|
| createdBy | identitySet | The identity of the person who created the bulk addition job. Inherited from exclusionUnitBulkAdditionJob. |
| createdDateTime | DateTimeOffset | The date and time when the bulk addition job 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 exclusionUnitBulkAdditionJob. |
| displayName | String | The display name of the bulk addition job. Inherited from exclusionUnitBulkAdditionJob. |
| drives | String collection | The email addresses or user principal names of the users whose OneDrive drives are to be added as exclusion units to the protection policy. |
| error | publicError | Contains error details if the bulk addition job failed. Inherited from exclusionUnitBulkAdditionJob. |
| id | String | The unique identifier of the bulk addition job. Inherited from exclusionUnitBulkAdditionJob. |
| lastModifiedBy | identitySet | The identity of the person who last modified the bulk addition job. Inherited from exclusionUnitBulkAdditionJob. |
| lastModifiedDateTime | DateTimeOffset | The date and time when the bulk addition job 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 exclusionUnitBulkAdditionJob. |
| status | exclusionUnitBulkJobStatus | The status of the bulk addition job. The possible values are: created, active, completed, completedWithErrors, unknownFutureValue. Inherited from exclusionUnitBulkAdditionJob. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.driveExclusionUnitsBulkAdditionJob",
"createdBy": {"@odata.type": "microsoft.graph.identitySet"},
"createdDateTime": "String (timestamp)",
"displayName": "String",
"drives": ["String"],
"error": {"@odata.type": "microsoft.graph.publicError"},
"id": "String (identifier)",
"lastModifiedBy": {"@odata.type": "microsoft.graph.identitySet"},
"lastModifiedDateTime": "String (timestamp)",
"status": "String"
}