你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmResourceHealthModelFactory.MetadataSupportedValueDetail 方法

定义

初始化 MetadataSupportedValueDetail 的新实例。

public static Azure.ResourceManager.ResourceHealth.Models.MetadataSupportedValueDetail MetadataSupportedValueDetail (string id = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceType> resourceTypes = default);
static member MetadataSupportedValueDetail : string * string * seq<Azure.Core.ResourceType> -> Azure.ResourceManager.ResourceHealth.Models.MetadataSupportedValueDetail
Public Shared Function MetadataSupportedValueDetail (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional resourceTypes As IEnumerable(Of ResourceType) = Nothing) As MetadataSupportedValueDetail

参数

id
String

ID。

displayName
String

显示名称。

resourceTypes
IEnumerable<ResourceType>

关联的资源类型的列表。

返回

用于模拟的新 MetadataSupportedValueDetail 实例。

适用于