共用方式為


ComponentPolicyStates interface

表示 ComponentPolicyStates 的介面。

方法

listQueryResultsForPolicyDefinition(string, string, string, ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams)

查詢訂用帳戶層級原則定義的元件原則狀態。

listQueryResultsForResource(string, string, ComponentPolicyStatesListQueryResultsForResourceOptionalParams)

查詢資源的元件原則狀態。

listQueryResultsForResourceGroup(string, string, string, ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams)

查詢資源群組範圍下的元件原則狀態。

listQueryResultsForResourceGroupLevelPolicyAssignment(string, string, string, string, ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams)

查詢資源群組層級原則指派的元件原則狀態。

listQueryResultsForSubscription(string, string, ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams)

查詢訂用帳戶範圍下的元件原則狀態。

listQueryResultsForSubscriptionLevelPolicyAssignment(string, string, string, ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams)

查詢訂用帳戶層級原則指派的元件原則狀態。

方法詳細資料

listQueryResultsForPolicyDefinition(string, string, string, ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams)

查詢訂用帳戶層級原則定義的元件原則狀態。

function listQueryResultsForPolicyDefinition(subscriptionId: string, policyDefinitionName: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForPolicyDefinitionOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

subscriptionId

string

Microsoft Azure 訂用帳戶標識碼。

policyDefinitionName

string

原則定義名稱。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回

listQueryResultsForResource(string, string, ComponentPolicyStatesListQueryResultsForResourceOptionalParams)

查詢資源的元件原則狀態。

function listQueryResultsForResource(resourceId: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForResourceOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

resourceId

string

資源標識碼。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回

listQueryResultsForResourceGroup(string, string, string, ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams)

查詢資源群組範圍下的元件原則狀態。

function listQueryResultsForResourceGroup(subscriptionId: string, resourceGroupName: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForResourceGroupOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

subscriptionId

string

Microsoft Azure 訂用帳戶標識碼。

resourceGroupName

string

資源組名。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回

listQueryResultsForResourceGroupLevelPolicyAssignment(string, string, string, string, ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams)

查詢資源群組層級原則指派的元件原則狀態。

function listQueryResultsForResourceGroupLevelPolicyAssignment(subscriptionId: string, resourceGroupName: string, policyAssignmentName: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForResourceGroupLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

subscriptionId

string

Microsoft Azure 訂用帳戶標識碼。

resourceGroupName

string

資源組名。

policyAssignmentName

string

原則指派名稱。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回

listQueryResultsForSubscription(string, string, ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams)

查詢訂用帳戶範圍下的元件原則狀態。

function listQueryResultsForSubscription(subscriptionId: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForSubscriptionOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

subscriptionId

string

Microsoft Azure 訂用帳戶標識碼。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回

listQueryResultsForSubscriptionLevelPolicyAssignment(string, string, string, ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams)

查詢訂用帳戶層級原則指派的元件原則狀態。

function listQueryResultsForSubscriptionLevelPolicyAssignment(subscriptionId: string, policyAssignmentName: string, componentPolicyStatesResource: string, options?: ComponentPolicyStatesListQueryResultsForSubscriptionLevelPolicyAssignmentOptionalParams): Promise<ComponentPolicyStatesQueryResults>

參數

subscriptionId

string

Microsoft Azure 訂用帳戶標識碼。

policyAssignmentName

string

原則指派名稱。

componentPolicyStatesResource

string

ComponentPolicyStates 資源類型下的虛擬資源。 在指定的時間範圍內,'latest' 代表最新的元件原則狀態。

傳回