PolicyTrackedResources interface

Interface representing a PolicyTrackedResources.

Methods

listQueryResultsForManagementGroup(string, string, PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams)

Queries policy tracked resources under the management group.

listQueryResultsForResource(string, string, PolicyTrackedResourcesListQueryResultsForResourceOptionalParams)

Queries policy tracked resources under the resource.

listQueryResultsForResourceGroup(string, string, PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams)

Queries policy tracked resources under the resource group.

listQueryResultsForSubscription(string, PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams)

Queries policy tracked resources under the subscription.

Method Details

listQueryResultsForManagementGroup(string, string, PolicyTrackedResourcesListQueryResultsForManagementGroupOptionalParams)

Queries policy tracked resources under the management group.

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

Parameters

managementGroupName

string

Management group name.

policyTrackedResourcesResource

string

The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.

Returns

listQueryResultsForResource(string, string, PolicyTrackedResourcesListQueryResultsForResourceOptionalParams)

Queries policy tracked resources under the resource.

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

Parameters

resourceId

string

Resource ID.

policyTrackedResourcesResource

string

The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.

Returns

listQueryResultsForResourceGroup(string, string, PolicyTrackedResourcesListQueryResultsForResourceGroupOptionalParams)

Queries policy tracked resources under the resource group.

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

Parameters

resourceGroupName

string

Resource group name.

policyTrackedResourcesResource

string

The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.

Returns

listQueryResultsForSubscription(string, PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams)

Queries policy tracked resources under the subscription.

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

Parameters

policyTrackedResourcesResource

string

The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.

Returns