次の方法で共有


ArmAdvisorModelFactory.MetadataEntityData メソッド

定義

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

パラメーター

name
String

名前。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

displayName
String

表示名です。

dependsOn
IEnumerable<String>

このエンティティが依存するキーの一覧。

applicableScenarios
IEnumerable<Scenario>

このメタデータ エンティティに適用できるシナリオの一覧。

supportedValues
IEnumerable<MetadataSupportedValueDetail>

サポートされている値の一覧。

戻り値

モック作成用の新しい MetadataEntityData インスタンス。

適用対象