Share via


ArmResourceHealthModelFactory.ResourceHealthEventImpactedServiceRegion Method

Definition

Initializes a new instance of ResourceHealthEventImpactedServiceRegion.

public static Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpactedServiceRegion ResourceHealthEventImpactedServiceRegion (string impactedRegion = default, Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventStatusValue? status = default, System.Collections.Generic.IEnumerable<string> impactedSubscriptions = default, System.Collections.Generic.IEnumerable<string> impactedTenants = default, DateTimeOffset? lastUpdateOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventUpdate> updates = default);
static member ResourceHealthEventImpactedServiceRegion : string * Nullable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventStatusValue> * seq<string> * seq<string> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventUpdate> -> Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpactedServiceRegion
Public Shared Function ResourceHealthEventImpactedServiceRegion (Optional impactedRegion As String = Nothing, Optional status As Nullable(Of ResourceHealthEventStatusValue) = Nothing, Optional impactedSubscriptions As IEnumerable(Of String) = Nothing, Optional impactedTenants As IEnumerable(Of String) = Nothing, Optional lastUpdateOn As Nullable(Of DateTimeOffset) = Nothing, Optional updates As IEnumerable(Of ResourceHealthEventUpdate) = Nothing) As ResourceHealthEventImpactedServiceRegion

Parameters

impactedRegion
String

Impacted region name.

status
Nullable<ResourceHealthEventStatusValue>

Current status of event in the region.

impactedSubscriptions
IEnumerable<String>

List subscription impacted by the service health event.

impactedTenants
IEnumerable<String>

List tenant impacted by the service health event.

lastUpdateOn
Nullable<DateTimeOffset>

It provides the Timestamp for when the last update for the service health event.

updates
IEnumerable<ResourceHealthEventUpdate>

List of updates for given service health event.

Returns

A new ResourceHealthEventImpactedServiceRegion instance for mocking.

Applies to