共用方式為


ArmResourceHealthModelFactory.ServiceEmergingIssueData Method

Definition

Initializes a new instance of ServiceEmergingIssueData.

public static Azure.ResourceManager.ResourceHealth.ServiceEmergingIssueData ServiceEmergingIssueData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? refreshedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.EmergingIssueBannerType> statusBanners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.EmergingIssueActiveEventType> statusActiveEvents = default);
static member ServiceEmergingIssueData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.ResourceHealth.Models.EmergingIssueBannerType> * seq<Azure.ResourceManager.ResourceHealth.Models.EmergingIssueActiveEventType> -> Azure.ResourceManager.ResourceHealth.ServiceEmergingIssueData
Public Shared Function ServiceEmergingIssueData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional refreshedOn As Nullable(Of DateTimeOffset) = Nothing, Optional statusBanners As IEnumerable(Of EmergingIssueBannerType) = Nothing, Optional statusActiveEvents As IEnumerable(Of EmergingIssueActiveEventType) = Nothing) As ServiceEmergingIssueData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

refreshedOn
Nullable<DateTimeOffset>

Timestamp for when last time refreshed for ongoing emerging issue.

statusBanners
IEnumerable<EmergingIssueBannerType>

The list of emerging issues of banner type.

statusActiveEvents
IEnumerable<EmergingIssueActiveEventType>

The list of emerging issues of active event type.

Returns

A new ServiceEmergingIssueData instance for mocking.

Applies to