ResourceManagerModelFactory.ManagementGroupChildInfo Method

Definition

Initializes a new instance of ManagementGroupChildInfo.

public static Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo ManagementGroupChildInfo (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? childType = default, string id = default, string name = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> children = default);
static member ManagementGroupChildInfo : Nullable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType> * string * string * string * seq<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo> -> Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildInfo
Public Shared Function ManagementGroupChildInfo (Optional childType As Nullable(Of ManagementGroupChildType) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional displayName As String = Nothing, Optional children As IEnumerable(Of ManagementGroupChildInfo) = Nothing) As ManagementGroupChildInfo

Parameters

childType
Nullable<ManagementGroupChildType>

The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups).

id
String

The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000.

name
String

The name of the child entity.

displayName
String

The friendly name of the child resource.

children
IEnumerable<ManagementGroupChildInfo>

The list of children.

Returns

A new ManagementGroupChildInfo instance for mocking.

Applies to