共用方式為


ArmResourceHealthModelFactory.ResourceHealthMetadataEntityData Method

Definition

Initializes a new instance of ResourceHealthMetadataEntityData.

public static Azure.ResourceManager.ResourceHealth.ResourceHealthMetadataEntityData ResourceHealthMetadataEntityData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, System.Collections.Generic.IEnumerable<string> dependsOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.MetadataEntityScenario> applicableScenarios = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceHealth.Models.MetadataSupportedValueDetail> supportedValues = default);
static member ResourceHealthMetadataEntityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * seq<Azure.ResourceManager.ResourceHealth.Models.MetadataEntityScenario> * seq<Azure.ResourceManager.ResourceHealth.Models.MetadataSupportedValueDetail> -> Azure.ResourceManager.ResourceHealth.ResourceHealthMetadataEntityData
Public Shared Function ResourceHealthMetadataEntityData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional dependsOn As IEnumerable(Of String) = Nothing, Optional applicableScenarios As IEnumerable(Of MetadataEntityScenario) = Nothing, Optional supportedValues As IEnumerable(Of MetadataSupportedValueDetail) = Nothing) As ResourceHealthMetadataEntityData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

The display name.

dependsOn
IEnumerable<String>

The list of keys on which this entity depends on.

applicableScenarios
IEnumerable<MetadataEntityScenario>

The list of scenarios applicable to this metadata entity.

supportedValues
IEnumerable<MetadataSupportedValueDetail>

The list of supported values.

Returns

A new ResourceHealthMetadataEntityData instance for mocking.

Applies to