다음을 통해 공유


ArmResourceHealthModelFactory.ServiceImpactingEvent Method

Definition

Initializes a new instance of ServiceImpactingEvent.

public static Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEvent ServiceImpactingEvent (DateTimeOffset? eventStartOn = default, DateTimeOffset? eventStatusLastModifiedOn = default, string correlationId = default, string statusValue = default, Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEventIncidentProperties incidentProperties = default);
static member ServiceImpactingEvent : Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEventIncidentProperties -> Azure.ResourceManager.ResourceHealth.Models.ServiceImpactingEvent
Public Shared Function ServiceImpactingEvent (Optional eventStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional eventStatusLastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional correlationId As String = Nothing, Optional statusValue As String = Nothing, Optional incidentProperties As ServiceImpactingEventIncidentProperties = Nothing) As ServiceImpactingEvent

Parameters

eventStartOn
Nullable<DateTimeOffset>

Timestamp for when the event started.

eventStatusLastModifiedOn
Nullable<DateTimeOffset>

Timestamp for when event was submitted/detected.

correlationId
String

Correlation id for the event.

statusValue
String

Status of the service impacting event.

incidentProperties
ServiceImpactingEventIncidentProperties

Properties of the service impacting event.

Returns

A new ServiceImpactingEvent instance for mocking.

Applies to