次の方法で共有


DenySettings interface

デプロイ スタックによってデプロイされたリソースをロックする方法を定義します。

プロパティ

applyToChildScopes

DenySettings は、拒否割り当てを持つすべてのマネージド リソースの子リソース スコープに適用されます。

excludedActions

denySettings から除外されるロールベースの管理操作の一覧。 最大 200 個のアクションが許可されます。 denySetting モードが 'denyWriteAndDelete' に設定されている場合、'excludedActions' と '*/read' と 'Microsoft.Authorization/locks/delete' に次のアクションが自動的に追加されます。 denySetting モードが 'denyDelete' に設定されている場合、次のアクションが自動的に 'excludedActions' に追加されます: 'Microsoft.Authorization/locks/delete'。 重複するアクションは削除されます。

excludedPrincipals

ロックから除外された AAD プリンシパル ID の一覧。 最大 5 つのプリンシパルが許可されます。

mode

拒否されたアクションを定義する denySettings モード。

プロパティの詳細

applyToChildScopes

DenySettings は、拒否割り当てを持つすべてのマネージド リソースの子リソース スコープに適用されます。

applyToChildScopes?: boolean

プロパティ値

boolean

excludedActions

denySettings から除外されるロールベースの管理操作の一覧。 最大 200 個のアクションが許可されます。 denySetting モードが 'denyWriteAndDelete' に設定されている場合、'excludedActions' と '*/read' と 'Microsoft.Authorization/locks/delete' に次のアクションが自動的に追加されます。 denySetting モードが 'denyDelete' に設定されている場合、次のアクションが自動的に 'excludedActions' に追加されます: 'Microsoft.Authorization/locks/delete'。 重複するアクションは削除されます。

excludedActions?: string[]

プロパティ値

string[]

excludedPrincipals

ロックから除外された AAD プリンシパル ID の一覧。 最大 5 つのプリンシパルが許可されます。

excludedPrincipals?: string[]

プロパティ値

string[]

mode

拒否されたアクションを定義する denySettings モード。

mode: string

プロパティ値

string