PolicyRestrictions interface

表示 PolicyRestrictions 的介面。

方法

checkAtResourceGroupScope(string, CheckRestrictionsRequest, PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams)

檢查資源群組內資源Azure 原則會放置哪些限制。 當資源群組在 中建立的資源群組已已知時,請使用此選項。

checkAtSubscriptionScope(CheckRestrictionsRequest, PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams)

檢查訂用帳戶內資源Azure 原則的限制。

方法詳細資料

checkAtResourceGroupScope(string, CheckRestrictionsRequest, PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams)

檢查資源群組內資源Azure 原則會放置哪些限制。 當資源群組在 中建立的資源群組已已知時,請使用此選項。

function checkAtResourceGroupScope(resourceGroupName: string, parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtResourceGroupScopeOptionalParams): Promise<CheckRestrictionsResult>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

parameters
CheckRestrictionsRequest

檢查原則限制參數。

傳回

checkAtSubscriptionScope(CheckRestrictionsRequest, PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams)

檢查訂用帳戶內資源Azure 原則的限制。

function checkAtSubscriptionScope(parameters: CheckRestrictionsRequest, options?: PolicyRestrictionsCheckAtSubscriptionScopeOptionalParams): Promise<CheckRestrictionsResult>

參數

parameters
CheckRestrictionsRequest

檢查原則限制參數。

傳回