Udostępnij za pośrednictwem


ArmAdvisorModelFactory.MetadataEntityData Method

Definition

Initializes a new instance of MetadataEntityData.

public static Azure.ResourceManager.Advisor.MetadataEntityData MetadataEntityData (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.Advisor.Models.Scenario> applicableScenarios = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> supportedValues = default);
static member MetadataEntityData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * seq<Azure.ResourceManager.Advisor.Models.Scenario> * seq<Azure.ResourceManager.Advisor.Models.MetadataSupportedValueDetail> -> Azure.ResourceManager.Advisor.MetadataEntityData
Public Shared Function MetadataEntityData (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 Scenario) = Nothing, Optional supportedValues As IEnumerable(Of MetadataSupportedValueDetail) = Nothing) As MetadataEntityData

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<Scenario>

The list of scenarios applicable to this metadata entity.

supportedValues
IEnumerable<MetadataSupportedValueDetail>

The list of supported values.

Returns

A new MetadataEntityData instance for mocking.

Applies to