Edit

activityLogBase 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 an activity log record that contains information about any admin activity on backup and restore resources.

Base type for backupPolicyActivityLog, dynamicRuleActivityLog, offboardingActivityLog, and restoreTaskActivityLog.

Inherits from entity.

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.
error publicError Contains error details if an error occurred while processing this activity.
eventDateTime DateTimeOffset Timestamp of activity completion.
id String The unique identifier of the activityLog.
performedBy String The identity of the person who performed the activity.
resultStatus activityLogResultStatus Indicates the outcome status of the activity. The possible values are: succeeded, failed, partiallySucceeded, unknownFutureValue.
serviceType serviceType Represents the service type. The possible values are: unknown, sharepoint, exchange, oneDriveForBusiness, unknownFutureValue.
severity activityLogSeverity Indicates the severity of the activity. The possible values are: high, medium, low, unknownFutureValue.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.activityLogBase",
  "id": "String (identifier)",
  "eventDateTime": "String (timestamp)",
  "activityType": "String",
  "resultStatus": "String",
  "serviceType": "String",
  "severity": "String",
  "performedBy": "String",
  "error": {
    "@odata.type": "microsoft.graph.publicError"
  }
}