Interface PolicyTrackedResourcesClient
public interface PolicyTrackedResourcesClient
An instance of this class provides access to all the operations defined in PolicyTrackedResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForManagementGroup
(String managementGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the management group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForManagementGroup
(String managementGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the management group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForResource
(String resourceId, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the resource.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForResource
(String resourceId, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the resource.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForResourceGroup
(String resourceGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the resource group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForResourceGroup
(String resourceGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the resource group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForSubscription
(PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the subscription.com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner>
listQueryResultsForSubscription
(PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the subscription.
-
Method Details
-
listQueryResultsForManagementGroup
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForManagementGroup(String managementGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the management group.- Parameters:
managementGroupName
- Management group name.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForManagementGroup
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForManagementGroup(String managementGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the management group.- Parameters:
managementGroupName
- Management group name.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForSubscription
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForSubscription(PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the subscription.- Parameters:
policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForSubscription
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForSubscription(PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the subscription.- Parameters:
policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForResourceGroup
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForResourceGroup(String resourceGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the resource group.- Parameters:
resourceGroupName
- Resource group name.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForResourceGroup
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForResourceGroup(String resourceGroupName, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the resource group.- Parameters:
resourceGroupName
- Resource group name.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForResource
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForResource(String resourceId, PolicyTrackedResourcesResourceType policyTrackedResourcesResource) Queries policy tracked resources under the resource.- Parameters:
resourceId
- Resource ID.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listQueryResultsForResource
com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForResource(String resourceId, PolicyTrackedResourcesResourceType policyTrackedResourcesResource, Integer top, String filter, com.azure.core.util.Context context) Queries policy tracked resources under the resource.- Parameters:
resourceId
- Resource ID.policyTrackedResourcesResource
- The name of the virtual resource under PolicyTrackedResources resource type; only "default" is allowed.top
- Maximum number of records to return.filter
- OData filter expression.context
- The context to associate with this operation.- Returns:
- query results as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-