Class EventDataInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.EventDataInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EventDataInner>
public final class EventDataInner
extends Object
implements com.azure.json.JsonSerializable<EventDataInner>
The Azure event log entries are of type EventData.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the authorization property: The sender authorization information.caller()
Get the caller property: the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.category()
Get the category property: the event category.claims()
Get the claims property: key value pairs to identify ARM permissions.Get the correlationId property: the correlation Id, usually a GUID in the string format.Get the description property: the description of the event.Get the eventDataId property: the event data Id.Get the eventName property: the event name.Get the eventTimestamp property: the timestamp of when the event was generated by the Azure service processing the request corresponding the event.static EventDataInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of EventDataInner from the JsonReader.Get the httpRequest property: the HTTP request info.id()
Get the id property: the Id of this event as required by ARM for RBAC.level()
Get the level property: the event level.Get the operationId property: It is usually a GUID shared among the events corresponding to single operation.Get the operationName property: the operation name.Get the properties property: the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.Get the resourceGroupName property: the resource group name of the impacted resource.Get the resourceId property: the resource uri that uniquely identifies the resource that caused this event.Get the resourceProviderName property: the resource provider name of the impacted resource.Get the resourceType property: the resource type.status()
Get the status property: a string describing the status of the operation.Get the submissionTimestamp property: the timestamp of when the event became available for querying via this API.Get the subscriptionId property: the Azure subscription Id usually a GUID.Get the subStatus property: the event sub status.tenantId()
Get the tenantId property: the Azure tenant Id.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EventDataInner
public EventDataInner()Creates an instance of EventDataInner class.
-
-
Method Details
-
authorization
Get the authorization property: The sender authorization information.- Returns:
- the authorization value.
-
claims
Get the claims property: key value pairs to identify ARM permissions.- Returns:
- the claims value.
-
caller
Get the caller property: the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.- Returns:
- the caller value.
-
description
Get the description property: the description of the event.- Returns:
- the description value.
-
id
Get the id property: the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.- Returns:
- the id value.
-
eventDataId
Get the eventDataId property: the event data Id. This is a unique identifier for an event.- Returns:
- the eventDataId value.
-
correlationId
Get the correlationId property: the correlation Id, usually a GUID in the string format. The correlation Id is shared among the events that belong to the same uber operation.- Returns:
- the correlationId value.
-
eventName
Get the eventName property: the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.- Returns:
- the eventName value.
-
category
Get the category property: the event category.- Returns:
- the category value.
-
httpRequest
Get the httpRequest property: the HTTP request info. Usually includes the 'clientRequestId', 'clientIpAddress' (IP address of the user who initiated the event) and 'method' (HTTP method e.g. PUT).- Returns:
- the httpRequest value.
-
level
Get the level property: the event level.- Returns:
- the level value.
-
resourceGroupName
Get the resourceGroupName property: the resource group name of the impacted resource.- Returns:
- the resourceGroupName value.
-
resourceProviderName
Get the resourceProviderName property: the resource provider name of the impacted resource.- Returns:
- the resourceProviderName value.
-
resourceId
Get the resourceId property: the resource uri that uniquely identifies the resource that caused this event.- Returns:
- the resourceId value.
-
resourceType
Get the resourceType property: the resource type.- Returns:
- the resourceType value.
-
operationId
Get the operationId property: It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.- Returns:
- the operationId value.
-
operationName
Get the operationName property: the operation name.- Returns:
- the operationName value.
-
properties
Get the properties property: the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.- Returns:
- the properties value.
-
status
Get the status property: a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.- Returns:
- the status value.
-
subStatus
Get the subStatus property: the event sub status. Most of the time, when included, this captures the HTTP status code of the REST call. Common values are: OK (HTTP Status Code: 200), Created (HTTP Status Code: 201), Accepted (HTTP Status Code: 202), No Content (HTTP Status Code: 204), Bad Request(HTTP Status Code: 400), Not Found (HTTP Status Code: 404), Conflict (HTTP Status Code: 409), Internal Server Error (HTTP Status Code: 500), Service Unavailable (HTTP Status Code:503), Gateway Timeout (HTTP Status Code: 504).- Returns:
- the subStatus value.
-
eventTimestamp
Get the eventTimestamp property: the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.- Returns:
- the eventTimestamp value.
-
submissionTimestamp
Get the submissionTimestamp property: the timestamp of when the event became available for querying via this API. It is in ISO 8601 format. This value should not be confused eventTimestamp. As there might be a delay between the occurrence time of the event, and the time that the event is submitted to the Azure logging infrastructure.- Returns:
- the submissionTimestamp value.
-
subscriptionId
Get the subscriptionId property: the Azure subscription Id usually a GUID.- Returns:
- the subscriptionId value.
-
tenantId
Get the tenantId property: the Azure tenant Id.- Returns:
- the tenantId value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<EventDataInner>
- Throws:
IOException
-
fromJson
Reads an instance of EventDataInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of EventDataInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the EventDataInner.
-