你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HierarchySettingsInfo Class

The hierarchy settings resource.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

HierarchySettingsInfo(*, tenant_id: str | None = None, require_authorization_for_group_creation: bool | None = None, default_management_group: str | None = None, **kwargs)

Parameters

Name Description
tenant_id
Required
str

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

require_authorization_for_group_creation
Required

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.

default_management_group
Required
str

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

Keyword-Only Parameters

Name Description
tenant_id
Required
require_authorization_for_group_creation
Required
default_management_group
Required

Variables

Name Description
id
str

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

type
str

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

name
str

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