Dela via


ResourceManagerModelFactory.ManagementGroupCreateOrUpdateContent Method

Definition

Initializes a new instance of ManagementGroupCreateOrUpdateContent.

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

Parameters

id
String

The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000.

resourceType
Nullable<ResourceType>

The type of the resource. For example, Microsoft.Management/managementGroups.

name
String

The name of the management group. For example, 00000000-0000-0000-0000-000000000000.

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. If no value is passed then this field will be set to the groupId.

details
CreateManagementGroupDetails

The details of a management group used during creation.

children
IEnumerable<ManagementGroupChildOptions>

The list of children.

Returns

A new ManagementGroupCreateOrUpdateContent instance for mocking.

Applies to