mailboxRestoreArtifact 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 restore point and destination details that can be used to restore a mailbox protection unit.
Inherits from restoreArtifactBase.
Methods
Method | Return type | Description |
---|---|---|
List | mailboxRestoreArtifact collection | Get a list of the mailboxRestoreArtifact objects and their properties. |
Properties
Property | Type | Description |
---|---|---|
id | String | The unique identifier of the restore artifact. |
completionDateTime | DateTimeOffset | The time when the restoration of the artifact is completed. Inherited from restoreArtifactBase. |
destinationType | destinationType | Indicates the restoration destination. Inherited from restoreArtifactBase. The possible values are: new , inPlace , unknownFutureValue . |
error | publicError | Contains error details if the restoration of the artifact fails. Inherited from restoreArtifactBase. |
restoredFolderId | String | The new restored folder identifier for the user. |
restoredFolderName | String | The new restored folder name. |
startDateTime | DateTimeOffset | The time when the restoration of the artifact started. Inherited from restoreArtifactBase. |
status | artifactRestoreStatus | The restoration status of the artifact. Inherited from restoreArtifactBase.T he possible values are: added , scheduling , scheduled , inProgress , succeeded , failed , unknownFutureValue . |
artifactRestoreStatus values
Member | Description |
---|---|
added | The restore artifact was added to the restore session. |
scheduling | The activate action was called on the restore session. |
scheduled | The activate action call was successful on the restore session. |
inProgress | The restore artifact was picked for restoration. |
succeeded | The restore artifact was successfully restored. |
failed | The restoration of the artifact failed. |
unknownFutureValue | Evolvable enumeration sentinel value. Do not use. |
destinationType values
Member | Description |
---|---|
new | Restoration will occur at a new location. For SharePoint and OneDrive, a new site will be created and content will be restored in the new site. For Exchange, a restored folder is created and content will be restored there. |
inPlace | Restoration will occur in the same location. For SharePoint, it will be on the same site, for OneDrive, on the same drive, and for Exchange, the artifact will be restored in the same mailbox. |
unknownFutureValue | Evolvable enumeration sentinel value. Do not use. |
Relationships
Relationship | Type | Description |
---|---|---|
restorePoint | restorePoint | Represents the date and time when an artifact is protected by a protection policy and can be restored. Inherited from restoreArtifactBase |
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.mailboxRestoreArtifact",
"id": "String (identifier)",
"destinationType": "String",
"status": "String",
"startDateTime": "String (timestamp)",
"completionDateTime": "String (timestamp)",
"error": {
"@odata.type": "microsoft.graph.publicError"
},
"restoredFolderId": "String",
"restoredFolderName": "String"
}