Package com.microsoft.graph.models
Class DirectoryAudit
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryAudit
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class DirectoryAudit
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Directory Audit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Activity Date Time.The Activity Display Name.The Additional Details.The Category.The Correlation Id.The Initiated By.The Logged By Service.The Operation Type.The Result.The Result Reason.The Target Resources. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
activityDateTime
@SerializedName(value="activityDateTime", alternate="ActivityDateTime") @Expose @Nullable public OffsetDateTime activityDateTimeThe Activity Date Time. Indicates the date and time the activity was performed. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. -
activityDisplayName
@SerializedName(value="activityDisplayName", alternate="ActivityDisplayName") @Expose @Nullable public String activityDisplayNameThe Activity Display Name. Indicates the activity name or the operation name (examples: 'Create User' and 'Add member to group'). For a list of activities logged, refer to Azure AD audit log categories and activities. -
additionalDetails
@SerializedName(value="additionalDetails", alternate="AdditionalDetails") @Expose @Nullable public List<KeyValue> additionalDetailsThe Additional Details. Indicates additional details on the activity. -
category
The Category. Indicates which resource category that's targeted by the activity. For example: UserManagement, GroupManagement, ApplicationManagement, RoleManagement. For a list of categories for activities logged, refer to Azure AD audit log categories and activities. -
correlationId
@SerializedName(value="correlationId", alternate="CorrelationId") @Expose @Nullable public String correlationIdThe Correlation Id. Indicates a unique ID that helps correlate activities that span across various services. Can be used to trace logs across services. -
initiatedBy
@SerializedName(value="initiatedBy", alternate="InitiatedBy") @Expose @Nullable public AuditActivityInitiator initiatedByThe Initiated By. Indicates information about the user or app initiated the activity. -
loggedByService
@SerializedName(value="loggedByService", alternate="LoggedByService") @Expose @Nullable public String loggedByServiceThe Logged By Service. Indicates information on which service initiated the activity (For example: Self-service Password Management, Core Directory, B2C, Invited Users, Microsoft Identity Manager, Privileged Identity Management. -
operationType
@SerializedName(value="operationType", alternate="OperationType") @Expose @Nullable public String operationTypeThe Operation Type. Indicates the type of operation that was performed. The possible values include but are not limited to the following: Add, Assign, Update, Unassign, and Delete. -
result
The Result. Indicates the result of the activity. Possible values are: success, failure, timeout, unknownFutureValue. -
resultReason
@SerializedName(value="resultReason", alternate="ResultReason") @Expose @Nullable public String resultReasonThe Result Reason. Indicates the reason for failure if the result is failure or timeout. -
targetResources
@SerializedName(value="targetResources", alternate="TargetResources") @Expose @Nullable public List<TargetResource> targetResourcesThe Target Resources. Indicates information on which resource was changed due to the activity. Target Resource Type can be User, Device, Directory, App, Role, Group, Policy or Other.
-
-
Constructor Details
-
DirectoryAudit
public DirectoryAudit()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-