|
| 1 | +--- |
| 2 | +title: "restoreSessionArtifactCount resource type" |
| 3 | +description: "Represents artifact count metadata of a particular restoreSession" |
| 4 | +author: "satpatel1" |
| 5 | +ms.reviewer: "satpatel1" |
| 6 | +ms.localizationpriority: medium |
| 7 | +ms.subservice: "m365-backup-storage" |
| 8 | +doc_type: resourcePageType |
| 9 | +toc.title: RestoreSessionArtifactCount |
| 10 | +--- |
| 11 | + |
| 12 | +# restoreSessionArtifactCount resource type |
| 13 | + |
| 14 | +Namespace: microsoft.graph |
| 15 | + |
| 16 | +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] |
| 17 | + |
| 18 | +Represents Represents artifact count metadata of a particular [Restore Session](../resources/restoreSessionBase.md). Restore session APIs are used by SharePoint, OneDrive and Exchange Online Admins to perform restore-related tasks on artifacts that are protected as part of a protection policy. |
| 19 | + |
| 20 | +## Methods |
| 21 | + |
| 22 | +|Method|Return type|Description| |
| 23 | +|:---|:---|:---| |
| 24 | +|[Create](../api/backuprestoreroot-post-sharepointrestoresessions.md)|[sharePointRestoreSession](../resources/sharepointrestoresession.md)|Create a new [sharePointRestoreSession](../resources/sharepointrestoresession.md).| |
| 25 | +|[Create](../api/backuprestoreroot-post-onedriveforbusinessrestoresessions.md)|[oneDriveForBusinessRestoreSession](../resources/onedriveforbusinessrestoresessions.md)|Create a new [oneDriveForBusinessRestoreSession](../resources/onedriveforbusinessrestoresessions.md).| |
| 26 | +|[Create](../api/backuprestoreroot-post-exchangerestoresessions.md)|[exchangeRestoreSession](../resources/exchangerestoresessions.md)|Create a new [exchangeRestoreSession](../resources/exchangerestoresessions.md).| |
| 27 | +|[List](../api/backuprestoreroot-list-restoresessions.md)|[restoreSessionBase](../resources/restoresessionbase.md) collection|Get a list of [restoreSessionBase](../resources/restoresessionbase.md) objects and their properties.| |
| 28 | +|[Get](../api/restoresessionbase-get.md)|[restoreSessionBase](../resources/restoresessionbase.md)|Read the properties and relationships of a [restoreSessionBase](../resources/restoresessionbase.md) object.| |
| 29 | +|[Activate](../api/restoresessionbase-activate.md)|[restoreSessionBase](../resources/restoresessionbase.md)|Activate a draft restore session.| |
| 30 | + |
| 31 | +## Properties |
| 32 | + |
| 33 | +|Property|Type|Description| |
| 34 | +|:---|:---|:---| |
| 35 | +|total|Int32|Count of artifacts present in the restore session.| |
| 36 | +|inProgress|Int32|Count of artifacts whose restore is in progress.| |
| 37 | +|completed|Int32|Count of artifacts whose restore is completed.| |
| 38 | +|failed|Int32|Count of artifacts whose restore is failed.| |
| 39 | + |
| 40 | +## JSON representation |
| 41 | + |
| 42 | +The following JSON representation shows the resource type. |
| 43 | +<!-- { |
| 44 | + "blockType": "resource", |
| 45 | + "@odata.type": "microsoft.graph.restoreSessionArtifactCount", |
| 46 | + "baseType": "microsoft.graph.complextType", |
| 47 | + "openType": false |
| 48 | +} |
| 49 | +--> |
| 50 | +``` json |
| 51 | +{ |
| 52 | + "@odata.type": "#microsoft.graph.restoreSessionArtifactCount", |
| 53 | + "total": "Int32", |
| 54 | + "inProgress": "Int32", |
| 55 | + "completed": "Int32", |
| 56 | + "failed": "Int32" |
| 57 | +} |
| 58 | +``` |
0 commit comments