driveProtectionUnitsBulkAdditionJob 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 driveProtectionUnitsBulkAdditionJob associated with a oneDriveForBusinessProtectionPolicy. It contains a list of email addresses, drives, and, directory object IDs to be added to the OneDrive protection policy for backup.
Inherits from protectionUnitsBulkJobBase.
Methods
Method | Return type | Description |
---|---|---|
List | driveProtectionUnitsBulkAdditionJob collection | Get a list of driveProtectionUnitsBulkAdditionJob objects and their properties. |
Create | driveProtectionUnitsBulkAdditionJob | Create a new driveProtectionUnitsBulkAdditionJob. |
Get | driveProtectionUnitsBulkAdditionJob | Read the properties and relationships of a driveProtectionUnitsBulkAdditionJob. |
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. |
directoryObjectIds | Collection(String) | The list of OneDrive directoryObjectIds to add to the OneDrive protection policy. |
displayName | String | The name of the job. |
drives | Collection(String) | The list of email addresses to add to the OneDrive protection policy. |
error | publicError | Contains error details if any email address resolution fails. |
id | String | The unique identifier of the job associated with the OneDrive 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 . |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.driveProtectionUnitsBulkAdditionJob",
"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"
},
"drives": [
"String"
],
"directoryObjectIds": [
"String"
]
}