az account management-group hierarchy-settings

管理グループ レベルで定義された階層設定の操作を提供します。 設定は、階層のルート管理グループでのみ設定できます。

コマンド

名前 説明 Status
az account management-group hierarchy-settings create

管理グループ レベルで定義された階層設定を作成します。

コア GA
az account management-group hierarchy-settings delete

管理グループ レベルで定義されている階層設定を削除します。

コア GA
az account management-group hierarchy-settings list

管理グループ レベルで定義されているすべての階層設定を取得します。

コア GA
az account management-group hierarchy-settings update

管理グループ レベルで定義されている階層設定を更新します。

コア GA

az account management-group hierarchy-settings create

管理グループ レベルで定義された階層設定を作成します。

az account management-group hierarchy-settings create --name
                                                      [--default-management-group]
                                                      [--require-authorization-for-group-creation]

管理グループ レベルで定義された階層設定を作成します。

az account management-group hierarchy-settings create --name GroupName

新しいサブスクリプションが配置される既定の管理グループを設定します。

az account management-group hierarchy-settings create --name GroupName -m /providers/Microsoft.Management/managementGroups/DefaultGroup

ルートの下に新しい管理グループを作成するには、ユーザーがルートに対して Microsoft.Management/managementGroups/write アクセス権を持っている必要があります。

az account management-group hierarchy-settings create --name GroupName -r True

両方の階層設定を更新します。

az account management-group hierarchy-settings create --name GroupName -m /providers/Microsoft.Management/managementGroups/DefaultGroup -r True

必須のパラメーター

--name -n

管理グループの名前。

省略可能のパラメーター

--default-management-group -m

このテナントに新しいサブスクリプションが追加される既定の管理グループを設定します。 既定の設定はルート管理グループです。

--require-authorization-for-group-creation -r

ルート管理グループでのグループの作成時に RBAC アクセスが必要かどうかを示します。 True は、ユーザーがルート管理グループに対して Microsoft.Management/managementGroups/write アクションを必要とすることを意味します。 既定の設定は false です。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。

az account management-group hierarchy-settings delete

管理グループ レベルで定義されている階層設定を削除します。

az account management-group hierarchy-settings delete --name
                                                      [--yes]

管理グループ レベルで定義されているすべての階層設定を削除します。

az account management-group hierarchy-settings delete --name GroupName

必須のパラメーター

--name -n

管理グループの名前。

省略可能のパラメーター

--yes -y

確認のダイアログを表示しません。

既定値: False
グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。

az account management-group hierarchy-settings list

管理グループ レベルで定義されているすべての階層設定を取得します。

az account management-group hierarchy-settings list --name

管理グループ レベルで定義されているすべての階層設定を取得します。

az account management-group hierarchy-settings list --name GroupName

必須のパラメーター

--name -n

管理グループの名前。

グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。

az account management-group hierarchy-settings update

管理グループ レベルで定義されている階層設定を更新します。

az account management-group hierarchy-settings update --name
                                                      [--add]
                                                      [--default-management-group]
                                                      [--force-string]
                                                      [--remove]
                                                      [--require-authorization-for-group-creation]
                                                      [--set]

管理グループ レベルで定義された階層設定を作成します。

az account management-group hierarchy-settings update --name GroupName

新しいサブスクリプションが配置される既定の管理グループを設定します。

az account management-group hierarchy-settings update --name GroupName -m /providers/Microsoft.Management/managementGroups/DefaultGroup

ルートの下に新しい管理グループを作成するには、ユーザーがルートに対して Microsoft.Management/managementGroups/write アクセス権を持っている必要があります。

az account management-group hierarchy-settings update --name GroupName -r True

両方の階層設定を更新します。

az account management-group hierarchy-settings update --name GroupName -m /providers/Microsoft.Management/managementGroups/DefaultGroup -r True

必須のパラメーター

--name -n

管理グループの名前。

省略可能のパラメーター

--add

パスとキー値のペアを指定して、オブジェクトの一覧にオブジェクトを追加します。 例: --add property.listProperty <key=value, string or JSON string>

既定値: []
--default-management-group -m

このテナントに新しいサブスクリプションが追加される既定の管理グループを設定します。 既定の設定はルート管理グループです。

--force-string

'set' または 'add' を使用する場合は、JSON に変換するのではなく、文字列リテラルを保持します。

既定値: False
--remove

リストからプロパティまたは要素を削除します。 例: --remove property.list <indexToRemove> OR --remove propertyToRemove.

既定値: []
--require-authorization-for-group-creation -r

ルート管理グループでのグループの作成時に RBAC アクセスが必要かどうかを示します。 True は、ユーザーがルート管理グループに対して Microsoft.Management/managementGroups/write アクションを必要とすることを意味します。 既定の設定は false です。

--set

設定するプロパティ パスと値を指定して、オブジェクトを更新します。 例: --set property1.property2=<value>

既定値: []
グローバル パラメーター
--debug

すべてのデバッグ ログを表示するようにログの詳細レベルを上げます。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告は抑制します。

--output -o

出力形式。

承認された値: json, jsonc, none, table, tsv, yaml, yamlc
既定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ をご覧ください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_ID を使用して、既定のサブスクリプションを構成できます。

--verbose

ログの詳細レベルを上げます。 詳細なデバッグ ログを表示するには --debug を使います。