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 activity logs related to backup policy operations. This resource tracks backup policy activities such as policy creation, activation, modification, deactivation, pausing, and renaming.
Inherits from activityLogBase.
Methods
| Method | Return type | Description |
|---|---|---|
| List | activityLogBase collection | Get a list of activityLogBase objects and their properties. |
Properties
| Property | Type | Description |
|---|---|---|
| activityType | activityLogOperationType | The type of activity performed. The possible values are: backupPolicyCreated, backupPolicyActivated, backupPolicyModified, backupPolicyPaused, backupPolicyRenamed, dynamicRuleExecution, dynamicRuleDeletion, protectionUnitLevelOffboarding, policyLevelOffboarding, restoreTaskCreated, restoreTaskCompleted, unknownFutureValue. Inherited from activityLogBase. |
| error | publicError | Contains error details if an error occurred while processing this activity. Inherited from activityLogBase. |
| eventDateTime | DateTimeOffset | Timestamp of activity completion. Inherited from activityLogBase. |
| id | String | The unique identifier of the activityLog. Inherited from entity. |
| oldPolicyName | String | The previous policy name, if applicable. |
| performedBy | String | The identity of the person who performed the activity. Inherited from activityLogBase. |
| policyId | String | The unique identifier of the protection policy associated with the activity log. |
| policyName | String | Name of the protection policy. |
| policyStatus | protectionPolicyStatus | The aggregated status of the protection units associated with the policy. The possible values are: inactive, activeWithErrors, updating, active, unknownFutureValue, dormant. |
| protectionUnitDetails | protectionUnitDetails | Contains Protection unit counts information. |
| resultStatus | activityLogResultStatus | Indicates the outcome status of the activity. The possible values are: succeeded, failed, partiallySucceeded, unknownFutureValue. Inherited from activityLogBase. |
| retentionPeriod | String | The period of time to retain the protected data for a single Microsoft 365 service. |
| serviceType | serviceType | Represents the service type. The possible values are: unknown, sharepoint, exchange, oneDriveForBusiness, unknownFutureValue. Inherited from activityLogBase. |
| severity | activityLogSeverity | Indicates the severity of the activity. The possible values are: high, medium, low, unknownFutureValue. Inherited from activityLogBase. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.backupPolicyActivityLog",
"id": "String (identifier)",
"eventDateTime": "String (timestamp)",
"activityType": "String",
"resultStatus": "String",
"serviceType": "String",
"severity": "String",
"performedBy": "String",
"error": {
"@odata.type": "microsoft.graph.publicError"
},
"policyId": "String",
"policyName": "String",
"policyStatus": "String",
"oldPolicyName": "String",
"protectionUnitDetails": {
"@odata.type": "microsoft.graph.protectionUnitDetails"
},
"retentionPeriod": "String"
}