Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.monitor.implementation; import com.microsoft.azure.management.monitor.SenderAuthorization; import java.util.Map; import com.microsoft.azure.management.monitor.HttpRequestInfo; import com.microsoft.azure.management.monitor.EventLevel; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonProperty;
The Azure event log entries are of type EventData.
/** * The Azure event log entries are of type EventData. */
public class EventDataInner {
The sender authorization information.
/** * The sender authorization information. */
@JsonProperty(value = "authorization", access = JsonProperty.Access.WRITE_ONLY) private SenderAuthorization authorization;
key value pairs to identify ARM permissions.
/** * key value pairs to identify ARM permissions. */
@JsonProperty(value = "claims", access = JsonProperty.Access.WRITE_ONLY) private Map<String, String> claims;
the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
/** * the email address of the user who has performed the operation, the UPN * claim or SPN claim based on availability. */
@JsonProperty(value = "caller", access = JsonProperty.Access.WRITE_ONLY) private String caller;
the description of the event.
/** * the description of the event. */
@JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY) private String description;
the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
/** * the Id of this event as required by ARM for RBAC. It contains the * EventDataID and a timestamp information. */
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) private String id;
the event data Id. This is a unique identifier for an event.
/** * the event data Id. This is a unique identifier for an event. */
@JsonProperty(value = "eventDataId", access = JsonProperty.Access.WRITE_ONLY) private String eventDataId;
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.
/** * 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. */
@JsonProperty(value = "correlationId", access = JsonProperty.Access.WRITE_ONLY) private String correlationId;
the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
/** * the event name. This value should not be confused with OperationName. * For practical purposes, OperationName might be more appealing to end * users. */
@JsonProperty(value = "eventName", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner eventName;
the event category.
/** * the event category. */
@JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner category;
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).
/** * 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). */
@JsonProperty(value = "httpRequest", access = JsonProperty.Access.WRITE_ONLY) private HttpRequestInfo httpRequest;
the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'.
/** * the event level. Possible values include: 'Critical', 'Error', * 'Warning', 'Informational', 'Verbose'. */
@JsonProperty(value = "level", access = JsonProperty.Access.WRITE_ONLY) private EventLevel level;
the resource group name of the impacted resource.
/** * the resource group name of the impacted resource. */
@JsonProperty(value = "resourceGroupName", access = JsonProperty.Access.WRITE_ONLY) private String resourceGroupName;
the resource provider name of the impacted resource.
/** * the resource provider name of the impacted resource. */
@JsonProperty(value = "resourceProviderName", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner resourceProviderName;
the resource uri that uniquely identifies the resource that caused this event.
/** * the resource uri that uniquely identifies the resource that caused this * event. */
@JsonProperty(value = "resourceId", access = JsonProperty.Access.WRITE_ONLY) private String resourceId;
the resource type.
/** * the resource type. */
@JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner resourceType;
It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
/** * It is usually a GUID shared among the events corresponding to single * operation. This value should not be confused with EventName. */
@JsonProperty(value = "operationId", access = JsonProperty.Access.WRITE_ONLY) private String operationId;
the operation name.
/** * the operation name. */
@JsonProperty(value = "operationName", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner operationName;
the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
/** * the set of &lt;Key, Value&gt; pairs (usually a Dictionary&lt;String, * String&gt;) that includes details about the event. */
@JsonProperty(value = "properties", access = JsonProperty.Access.WRITE_ONLY) private Map<String, String> properties;
a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
/** * a string describing the status of the operation. Some typical values * are: Started, In progress, Succeeded, Failed, Resolved. */
@JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner status;
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).
/** * 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). */
@JsonProperty(value = "subStatus", access = JsonProperty.Access.WRITE_ONLY) private LocalizableStringInner subStatus;
the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
/** * the timestamp of when the event was generated by the Azure service * processing the request corresponding the event. It in ISO 8601 format. */
@JsonProperty(value = "eventTimestamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime eventTimestamp;
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.
/** * 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. */
@JsonProperty(value = "submissionTimestamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime submissionTimestamp;
the Azure subscription Id usually a GUID.
/** * the Azure subscription Id usually a GUID. */
@JsonProperty(value = "subscriptionId", access = JsonProperty.Access.WRITE_ONLY) private String subscriptionId;
the Azure tenant Id.
/** * the Azure tenant Id. */
@JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY) private String tenantId;
Get the sender authorization information.
Returns:the authorization value
/** * Get the sender authorization information. * * @return the authorization value */
public SenderAuthorization authorization() { return this.authorization; }
Get key value pairs to identify ARM permissions.
Returns:the claims value
/** * Get key value pairs to identify ARM permissions. * * @return the claims value */
public Map<String, String> claims() { return this.claims; }
Get the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
Returns:the caller value
/** * Get the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability. * * @return the caller value */
public String caller() { return this.caller; }
Get the description of the event.
Returns:the description value
/** * Get the description of the event. * * @return the description value */
public String description() { return this.description; }
Get the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
Returns:the id value
/** * Get the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information. * * @return the id value */
public String id() { return this.id; }
Get the event data Id. This is a unique identifier for an event.
Returns:the eventDataId value
/** * Get the event data Id. This is a unique identifier for an event. * * @return the eventDataId value */
public String eventDataId() { return this.eventDataId; }
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:the correlationId value
/** * 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. * * @return the correlationId value */
public String correlationId() { return this.correlationId; }
Get 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
/** * Get the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users. * * @return the eventName value */
public LocalizableStringInner eventName() { return this.eventName; }
Get the event category.
Returns:the category value
/** * Get the event category. * * @return the category value */
public LocalizableStringInner category() { return this.category; }
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:the httpRequest value
/** * 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). * * @return the httpRequest value */
public HttpRequestInfo httpRequest() { return this.httpRequest; }
Get the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'.
Returns:the level value
/** * Get the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'. * * @return the level value */
public EventLevel level() { return this.level; }
Get the resource group name of the impacted resource.
Returns:the resourceGroupName value
/** * Get the resource group name of the impacted resource. * * @return the resourceGroupName value */
public String resourceGroupName() { return this.resourceGroupName; }
Get the resource provider name of the impacted resource.
Returns:the resourceProviderName value
/** * Get the resource provider name of the impacted resource. * * @return the resourceProviderName value */
public LocalizableStringInner resourceProviderName() { return this.resourceProviderName; }
Get the resource uri that uniquely identifies the resource that caused this event.
Returns:the resourceId value
/** * Get the resource uri that uniquely identifies the resource that caused this event. * * @return the resourceId value */
public String resourceId() { return this.resourceId; }
Get the resource type.
Returns:the resourceType value
/** * Get the resource type. * * @return the resourceType value */
public LocalizableStringInner resourceType() { return this.resourceType; }
Get 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
/** * Get it is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName. * * @return the operationId value */
public String operationId() { return this.operationId; }
Get the operation name.
Returns:the operationName value
/** * Get the operation name. * * @return the operationName value */
public LocalizableStringInner operationName() { return this.operationName; }
Get the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
Returns:the properties value
/** * Get the set of &lt;Key, Value&gt; pairs (usually a Dictionary&lt;String, String&gt;) that includes details about the event. * * @return the properties value */
public Map<String, String> properties() { return this.properties; }
Get a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
Returns:the status value
/** * Get a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved. * * @return the status value */
public LocalizableStringInner status() { return this.status; }
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:the subStatus value
/** * 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). * * @return the subStatus value */
public LocalizableStringInner subStatus() { return this.subStatus; }
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:the eventTimestamp value
/** * Get the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format. * * @return the eventTimestamp value */
public DateTime eventTimestamp() { return this.eventTimestamp; }
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:the submissionTimestamp value
/** * 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. * * @return the submissionTimestamp value */
public DateTime submissionTimestamp() { return this.submissionTimestamp; }
Get the Azure subscription Id usually a GUID.
Returns:the subscriptionId value
/** * Get the Azure subscription Id usually a GUID. * * @return the subscriptionId value */
public String subscriptionId() { return this.subscriptionId; }
Get the Azure tenant Id.
Returns:the tenantId value
/** * Get the Azure tenant Id. * * @return the tenantId value */
public String tenantId() { return this.tenantId; } }