PolicyTrackedResources interface
Interface representing a PolicyTrackedResources.
Methods
list |
Queries policy tracked resources under the management group. |
list |
Queries policy tracked resources under the resource. |
list |
Queries policy tracked resources under the resource group. |
list |
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
Returns
listQueryResultsForSubscription(PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams)
Queries policy tracked resources under the subscription.
function listQueryResultsForSubscription(options?: PolicyTrackedResourcesListQueryResultsForSubscriptionOptionalParams): PagedAsyncIterableIterator<PolicyTrackedResource, PolicyTrackedResource[], PageSettings>
Parameters
The options parameters.