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, 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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
Returns
Azure SDK for JavaScript