Partilhar via


PolicyTrackedResources interface

Interface representing a PolicyTrackedResources.

Methods

listQueryResultsForManagementGroup(string, PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams)

Queries policy tracked resources under the management group.

listQueryResultsForResource(string, PolicyTrackedResourcesListQueryResultsForResourceOptionalParams)

Queries policy tracked resources under the resource.

listQueryResultsForResourceGroup(string, PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams)

Queries policy tracked resources under the resource group.

listQueryResultsForSubscription(PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams)

Queries policy tracked resources under the subscription.

Method Details

listQueryResultsForManagementGroup(string, PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams)

Queries policy tracked resources under the management group.

function listQueryResultsForManagementGroup(managementGroupName: string, options?: PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource, PolicyTrackedResource[], PageSettings>

Parameters

managementGroupName

string

Management group name.

Returns

listQueryResultsForResource(string, PolicyTrackedResourcesListQueryResultsForResourceOptionalParams)

Queries policy tracked resources under the resource.

function listQueryResultsForResource(resourceId: string, options?: PolicyTrackedResourcesListQueryResultsForResourceOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource, PolicyTrackedResource[], PageSettings>

Parameters

resourceId

string

Resource ID.

Returns

listQueryResultsForResourceGroup(string, PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams)

Queries policy tracked resources under the resource group.

function listQueryResultsForResourceGroup(resourceGroupName: string, options?: PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource, PolicyTrackedResource[], PageSettings>

Parameters

resourceGroupName

string

Resource group name.

Returns

listQueryResultsForSubscription(PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams)

Queries policy tracked resources under the subscription.

function listQueryResultsForSubscription(options?: PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource, PolicyTrackedResource[], PageSettings>

Parameters

Returns