共用方式為


HierarchySettings Constructors

Definition

Overloads

HierarchySettings()

Initializes a new instance of the HierarchySettings class.

HierarchySettings(String, String, String, String, Nullable<Boolean>, String)

Initializes a new instance of the HierarchySettings class.

HierarchySettings()

Initializes a new instance of the HierarchySettings class.

public HierarchySettings ();
Public Sub New ()

Applies to

HierarchySettings(String, String, String, String, Nullable<Boolean>, String)

Initializes a new instance of the HierarchySettings class.

public HierarchySettings (string id = default, string type = default, string name = default, string tenantId = default, bool? requireAuthorizationForGroupCreation = default, string defaultManagementGroup = default);
new Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettings : string * string * string * string * Nullable<bool> * string -> Microsoft.Azure.Management.ManagementGroups.Models.HierarchySettings
Public Sub New (Optional id As String = Nothing, Optional type As String = Nothing, Optional name As String = Nothing, Optional tenantId As String = Nothing, Optional requireAuthorizationForGroupCreation As Nullable(Of Boolean) = Nothing, Optional defaultManagementGroup As String = Nothing)

Parameters

id
String

The fully qualified ID for the settings object. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000/settings/default.

type
String

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

name
String

The name of the object. In this case, default.

tenantId
String

The AAD Tenant ID associated with the hierarchy settings. For example, 00000000-0000-0000-0000-000000000000

requireAuthorizationForGroupCreation
Nullable<Boolean>

Indicates whether RBAC access is required upon group creation under the root Management Group. If set to true, user will require Microsoft.Management/managementGroups/write action on the root Management Group scope in order to create new Groups directly under the root. This will prevent new users from creating new Management Groups, unless they are given access.

defaultManagementGroup
String

Settings that sets the default Management Group under which new subscriptions get added in this tenant. For example, /providers/Microsoft.Management/managementGroups/defaultGroup

Applies to