EventDataInner Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. implementation. EventDataInner
- com.
public class EventDataInner
The Azure event log entries are of type EventData.
Method Summary
Modifier and Type | Method and Description |
---|---|
Sender |
authorization()
Get the sender authorization information. |
String |
caller()
Get the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability. |
Localizable |
category()
Get the event category. |
Map<String, String> |
claims()
Get key value pairs to identify ARM permissions. |
String |
correlationId()
Get 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. |
String |
description()
Get the description of the event. |
String |
eventDataId()
Get the event data Id. This is a unique identifier for an event. |
Localizable |
eventName()
Get the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users. |
DateTime |
eventTimestamp()
Get the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format. |
Http |
httpRequest()
Get 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). |
String |
id()
Get the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information. |
Event |
level()
Get the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'. |
String |
operationId()
Get it is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName. |
Localizable |
operationName()
Get the operation name. |
Map<String, String> |
properties()
Get the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event. |
String |
resourceGroupName()
Get the resource group name of the impacted resource. |
String |
resourceId()
Get the resource uri that uniquely identifies the resource that caused this event. |
Localizable |
resourceProviderName()
Get the resource provider name of the impacted resource. |
Localizable |
resourceType()
Get the resource type. |
Localizable |
status()
Get a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved. |
DateTime |
submissionTimestamp()
Get 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. |
String |
subscriptionId()
Get the Azure subscription Id usually a GUID. |
Localizable |
subStatus()
Get 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). |
String |
tenantId()
Get the Azure tenant Id. |
Method Details
authorization
public SenderAuthorization authorization()
Get the sender authorization information.
Returns:
caller
public String caller()
Get the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
Returns:
category
public LocalizableStringInner category()
Get the event category.
Returns:
claims
public Map
Get key value pairs to identify ARM permissions.
Returns:
correlationId
public String correlationId()
Get 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:
description
public String description()
Get the description of the event.
Returns:
eventDataId
public String eventDataId()
Get the event data Id. This is a unique identifier for an event.
Returns:
eventName
public LocalizableStringInner eventName()
Get the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
Returns:
eventTimestamp
public DateTime eventTimestamp()
Get the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
Returns:
httpRequest
public HttpRequestInfo httpRequest()
Get 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:
id
public String id()
Get the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
Returns:
level
public EventLevel level()
Get the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'.
Returns:
operationId
public String operationId()
Get it is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
Returns:
operationName
public LocalizableStringInner operationName()
Get the operation name.
Returns:
properties
public Map
Get the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
Returns:
resourceGroupName
public String resourceGroupName()
Get the resource group name of the impacted resource.
Returns:
resourceId
public String resourceId()
Get the resource uri that uniquely identifies the resource that caused this event.
Returns:
resourceProviderName
public LocalizableStringInner resourceProviderName()
Get the resource provider name of the impacted resource.
Returns:
resourceType
public LocalizableStringInner resourceType()
Get the resource type.
Returns:
status
public LocalizableStringInner status()
Get a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
Returns:
submissionTimestamp
public DateTime submissionTimestamp()
Get 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:
subscriptionId
public String subscriptionId()
Get the Azure subscription Id usually a GUID.
Returns:
subStatus
public LocalizableStringInner subStatus()
Get 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:
tenantId
public String tenantId()
Get the Azure tenant Id.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for