Freigeben über


ResourceManagerModelFactory.ManagementGroupData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tenantId
Nullable<Guid>

Die der Verwaltungsgruppe zugeordnete AAD-Mandanten-ID. Beispiel: 000000000-0000-0000-0000-000000000000.

displayName
String

Der Anzeigename der Verwaltungsgruppe.

details
ManagementGroupInfo

Die Details einer Verwaltungsgruppe.

children
IEnumerable<ManagementGroupChildInfo>

Die Liste der untergeordneten Elemente.

Gibt zurück

Eine neue ManagementGroupData instance zum Mocking.

Gilt für: