Dela via


ResourceManagerModelFactory.ManagementGroupChildOptions Method

Definition

Initializes a new instance of ManagementGroupChildOptions.

public static Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildOptions ManagementGroupChildOptions (Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType? childType = default, string id = default, string name = default, string displayName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildOptions> children = default);
static member ManagementGroupChildOptions : Nullable<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildType> * string * string * string * seq<Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildOptions> -> Azure.ResourceManager.ManagementGroups.Models.ManagementGroupChildOptions
Public Shared Function ManagementGroupChildOptions (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 ManagementGroupChildOptions) = Nothing) As ManagementGroupChildOptions

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<ManagementGroupChildOptions>

The list of children.

Returns

A new ManagementGroupChildOptions instance for mocking.

Applies to