Dela via


ResourceManagerModelFactory.ManagementGroupData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tenantId
Nullable<Guid>

The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000.

displayName
String

The friendly name of the management group.

details
ManagementGroupInfo

The details of a management group.

children
IEnumerable<ManagementGroupChildInfo>

The list of children.

Returns

A new ManagementGroupData instance for mocking.

Applies to