ArmMonitorModelFactory.EventDataInfo Method
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.
Initializes a new instance of EventDataInfo.
public static Azure.ResourceManager.Monitor.Models.EventDataInfo EventDataInfo(Azure.ResourceManager.Monitor.Models.SenderAuthorization authorization = default, System.Collections.Generic.IReadOnlyDictionary<string,string> claims = default, string caller = default, string description = default, string id = default, string eventDataId = default, string correlationId = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString eventName = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString category = default, Azure.ResourceManager.Monitor.Models.EventDataHttpRequestInfo httpRequest = default, Azure.ResourceManager.Monitor.Models.MonitorEventLevel? level = default, string resourceGroupName = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString resourceProviderName = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString resourceType = default, string operationId = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString operationName = default, System.Collections.Generic.IReadOnlyDictionary<string,string> properties = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString status = default, Azure.ResourceManager.Monitor.Models.MonitorLocalizableString subStatus = default, DateTimeOffset? eventTimestamp = default, DateTimeOffset? submissionTimestamp = default, string subscriptionId = default, Guid? tenantId = default);
static member EventDataInfo : Azure.ResourceManager.Monitor.Models.SenderAuthorization * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * string * string * string * string * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * Azure.ResourceManager.Monitor.Models.EventDataHttpRequestInfo * Nullable<Azure.ResourceManager.Monitor.Models.MonitorEventLevel> * string * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * string * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * System.Collections.Generic.IReadOnlyDictionary<string, string> * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * Azure.ResourceManager.Monitor.Models.MonitorLocalizableString * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Guid> -> Azure.ResourceManager.Monitor.Models.EventDataInfo
Public Shared Function EventDataInfo (Optional authorization As SenderAuthorization = Nothing, Optional claims As IReadOnlyDictionary(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 MonitorLocalizableString = Nothing, Optional category As MonitorLocalizableString = Nothing, Optional httpRequest As EventDataHttpRequestInfo = Nothing, Optional level As Nullable(Of MonitorEventLevel) = Nothing, Optional resourceGroupName As String = Nothing, Optional resourceProviderName As MonitorLocalizableString = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional resourceType As MonitorLocalizableString = Nothing, Optional operationId As String = Nothing, Optional operationName As MonitorLocalizableString = Nothing, Optional properties As IReadOnlyDictionary(Of String, String) = Nothing, Optional status As MonitorLocalizableString = Nothing, Optional subStatus As MonitorLocalizableString = Nothing, Optional eventTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional submissionTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional subscriptionId As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing) As EventDataInfo
Parameters
- authorization
- SenderAuthorization
The sender authorization information.
- claims
- IReadOnlyDictionary<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
- MonitorLocalizableString
the event name. This value should not be confused with OperationName. For practical purposes, OperationName might be more appealing to end users.
- category
- MonitorLocalizableString
the event category.
- httpRequest
- EventDataHttpRequestInfo
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<MonitorEventLevel>
the event level.
- resourceGroupName
- String
the resource group name of the impacted resource.
- resourceProviderName
- MonitorLocalizableString
the resource provider name of the impacted resource.
- resourceId
- ResourceIdentifier
the resource uri that uniquely identifies the resource that caused this event.
- resourceType
- MonitorLocalizableString
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
- MonitorLocalizableString
the operation name.
- properties
- IReadOnlyDictionary<String,String>
the set of <Key, Value> pairs (usually a Dictionary<String, String>) that includes details about the event.
- status
- MonitorLocalizableString
a string describing the status of the operation. Some typical values are: Started, In progress, Succeeded, Failed, Resolved.
- subStatus
- MonitorLocalizableString
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).
- eventTimestamp
- Nullable<DateTimeOffset>
the timestamp of when the event was generated by the Azure service processing the request corresponding the event. It in ISO 8601 format.
- submissionTimestamp
- Nullable<DateTimeOffset>
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.
Returns
A new EventDataInfo instance for mocking.