EventData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EventData() |
Initializes a new instance of the EventData class. |
EventData(SenderAuthorization, IDictionary<String,String>, String, String, String, String, String, LocalizableString, LocalizableString, HttpRequestInfo, Nullable<EventLevel>, String, LocalizableString, String, LocalizableString, String, LocalizableString, IDictionary<String, String>, LocalizableString, LocalizableString, Nullable<DateTime>, Nullable<DateTime>, String, String) |
Initializes a new instance of the EventData class. |
EventData()
Initializes a new instance of the EventData class.
public EventData ();
Public Sub New ()
Applies to
EventData(SenderAuthorization, IDictionary<String,String>, String, String, String, String, String, LocalizableString, LocalizableString, HttpRequestInfo, Nullable<EventLevel>, String, LocalizableString, String, LocalizableString, String, LocalizableString, IDictionary<String, String>, LocalizableString, LocalizableString, Nullable<DateTime>, Nullable<DateTime>, String, String)
Initializes a new instance of the EventData class.
public EventData (Microsoft.Azure.Management.Monitor.Models.SenderAuthorization authorization = default, System.Collections.Generic.IDictionary<string,string> claims = default, string caller = default, string description = default, string id = default, string eventDataId = default, string correlationId = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString eventName = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString category = default, Microsoft.Azure.Management.Monitor.Models.HttpRequestInfo httpRequest = default, Microsoft.Azure.Management.Monitor.Models.EventLevel? level = default, string resourceGroupName = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString resourceProviderName = default, string resourceId = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString resourceType = default, string operationId = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString operationName = default, System.Collections.Generic.IDictionary<string,string> properties = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString status = default, Microsoft.Azure.Management.Monitor.Models.LocalizableString subStatus = default, DateTime? eventTimestamp = default, DateTime? submissionTimestamp = default, string subscriptionId = default, string tenantId = default);
new Microsoft.Azure.Management.Monitor.Models.EventData : Microsoft.Azure.Management.Monitor.Models.SenderAuthorization * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * Microsoft.Azure.Management.Monitor.Models.LocalizableString * Microsoft.Azure.Management.Monitor.Models.LocalizableString * Microsoft.Azure.Management.Monitor.Models.HttpRequestInfo * Nullable<Microsoft.Azure.Management.Monitor.Models.EventLevel> * string * Microsoft.Azure.Management.Monitor.Models.LocalizableString * string * Microsoft.Azure.Management.Monitor.Models.LocalizableString * string * Microsoft.Azure.Management.Monitor.Models.LocalizableString * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Monitor.Models.LocalizableString * Microsoft.Azure.Management.Monitor.Models.LocalizableString * Nullable<DateTime> * Nullable<DateTime> * string * string -> Microsoft.Azure.Management.Monitor.Models.EventData
Public Sub New (Optional authorization As SenderAuthorization = Nothing, Optional claims As IDictionary(Of String, String) = Nothing, Optional caller As String = Nothing, Optional description As String = Nothing, Optional id As String = Nothing, Optional eventDataId As String = Nothing, Optional correlationId As String = Nothing, Optional eventName As LocalizableString = Nothing, Optional category As LocalizableString = Nothing, Optional httpRequest As HttpRequestInfo = Nothing, Optional level As Nullable(Of EventLevel) = Nothing, Optional resourceGroupName As String = Nothing, Optional resourceProviderName As LocalizableString = Nothing, Optional resourceId As String = Nothing, Optional resourceType As LocalizableString = Nothing, Optional operationId As String = Nothing, Optional operationName As LocalizableString = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional status As LocalizableString = Nothing, Optional subStatus As LocalizableString = Nothing, Optional eventTimestamp As Nullable(Of DateTime) = Nothing, Optional submissionTimestamp As Nullable(Of DateTime) = Nothing, Optional subscriptionId As String = Nothing, Optional tenantId As String = Nothing)
Parameters
- authorization
- SenderAuthorization
The sender authorization information.
- claims
- IDictionary<String,String>
key value pairs to identify ARM permissions.
- caller
- String
the email address of the user who has performed the operation, the UPN claim or SPN claim based on availability.
- description
- String
the description of the event.
- id
- String
the Id of this event as required by ARM for RBAC. It contains the EventDataID and a timestamp information.
- eventDataId
- String
the event data Id. This is a unique identifier for an event.
- correlationId
- String
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.
- eventName
- LocalizableString
the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
- category
- LocalizableString
the event category.
- httpRequest
- 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
- Nullable<EventLevel>
the event level. Possible values include: 'Critical', 'Error', 'Warning', 'Informational', 'Verbose'
- resourceGroupName
- String
the resource group name of the impacted resource.
- resourceProviderName
- LocalizableString
the resource provider name of the impacted resource.
- resourceId
- String
the resource uri that uniquely identifies the resource that caused this event.
- resourceType
- LocalizableString
the resource type
- operationId
- String
It is usually a GUID shared among the events corresponding to single operation. This value should not be confused with EventName.
- operationName
- LocalizableString
the operation name.
- properties
- IDictionary<String,String>
the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
- status
- LocalizableString
a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
- subStatus
- 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)
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 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.
- subscriptionId
- String
the Azure subscription Id usually a GUID.
- tenantId
- String
the Azure tenant Id
Applies to
Azure SDK for .NET