다음을 통해 공유


ArmResourceHealthModelFactory.ResourceHealthEventImpact Method

Definition

Initializes a new instance of ResourceHealthEventImpact.

public static Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpact ResourceHealthEventImpact (string impactedService = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpactedServiceRegion> impactedRegions = default);
static member ResourceHealthEventImpact : string * seq<Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpactedServiceRegion> -> Azure.ResourceManager.ResourceHealth.Models.ResourceHealthEventImpact
Public Shared Function ResourceHealthEventImpact (Optional impactedService As String = Nothing, Optional impactedRegions As IEnumerable(Of ResourceHealthEventImpactedServiceRegion) = Nothing) As ResourceHealthEventImpact

Parameters

impactedService
String

Impacted service name.

impactedRegions
IEnumerable<ResourceHealthEventImpactedServiceRegion>

List regions impacted by the service health event.

Returns

A new ResourceHealthEventImpact instance for mocking.

Applies to