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

ResourceManagerModelFactory.ManagementGroupData 方法

定义

初始化 ManagementGroupData 的新实例。

public static Azure.ResourceManager.ManagementGroups.ManagementGroupData ManagementGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? tenantId = default, string displayName = default, Azure.ResourceManager.ManagementGroups.Models.ManagementGroupInfo details = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> children = default);
static member ManagementGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * string * Azure.ResourceManager.ManagementGroups.Models.ManagementGroupInfo * seq<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> -> Azure.ResourceManager.ManagementGroups.ManagementGroupData
Public Shared Function ManagementGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional details As ManagementGroupInfo = Nothing, Optional children As IEnumerable(Of ManagementGroupChildInfo) = Nothing) As ManagementGroupData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tenantId
Nullable<Guid>

与管理组关联的 AAD 租户 ID。 例如,00000000-0000-0000-0000-00000000000000。

displayName
String

管理组的友好名称。

details
ManagementGroupInfo

管理组的详细信息。

children
IEnumerable<ManagementGroupChildInfo>

子级列表。

返回

用于模拟的新 ManagementGroupData 实例。

适用于