EventData Class
The Azure event log entries are of type EventData.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
EventData
Constructor
EventData(**kwargs)
Variables
- authorization
- <xref:$>(<xref:python-base-namespace>)SenderAuthorization
The sender authorization information.
- caller
- str
the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
- description
- str
the description of the event.
- id
- str
the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
- event_data_id
- str
the event data Id. This is a unique identifier for an event.
- correlation_id
- str
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.
- event_name
- <xref:$>(<xref:python-base-namespace>)LocalizableString
the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
- category
- <xref:$>(<xref:python-base-namespace>)LocalizableString
the event category.
- http_request
- <xref:http_request>)<xref: >(<xref:$>(<xref:python-base-namespace>)HttpRequestInfo
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).
- level
- str or <xref:$>(<xref:python-base-namespace>)EventLevel
the event level. Possible values include: "Critical", "Error", "Warning", "Informational", "Verbose".
- resource_group_name
- str
the resource group name of the impacted resource.
- resource_provider_name
- <xref:$>(<xref:python-base-namespace>)LocalizableString
the resource provider name of the impacted resource.
- resource_id
- str
the resource uri that uniquely identifies the resource that caused this event.
- resource_type
- <xref:$>(<xref:python-base-namespace>)LocalizableString
the resource type.
- operation_id
- str
It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
- operation_name
- <xref:$>(<xref:python-base-namespace>)LocalizableString
the operation name.
the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
- status
- <xref:$>(<xref:python-base-namespace>)LocalizableString
a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
- sub_status
- <xref:$>(<xref:python-base-namespace>)LocalizableString
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).
- event_timestamp
- datetime
the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
- submission_timestamp
- datetime
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.
- subscription_id
- str
the Azure subscription Id usually a GUID.
- tenant_id
- str
the Azure tenant Id.
Feedback
Submit and view feedback for