Interface PolicyTrackedResourcesClient


  • public interface PolicyTrackedResourcesClient
    An instance of this class provides access to all the operations defined in PolicyTrackedResourcesClient.
    • Method Detail

      • listQueryResultsForManagementGroup

        com.azure.core.http.rest.PagedIterable<PolicyTrackedResourceInner> listQueryResultsForManagementGroup​(String managementGroupName)
        Queries policy tracked resources under the management group.
        Parameters:
        managementGroupName - Management group name.
        Returns:
        query results.
        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,
                                                                                                              Integer top,
                                                                                                              String filter,
                                                                                                              com.azure.core.util.Context context)
        Queries policy tracked resources under the management group.
        Parameters:
        managementGroupName - Management group name.
        top - Maximum number of records to return.
        filter - OData filter expression.
        context - The context to associate with this operation.
        Returns:
        query results.
        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()
        Queries policy tracked resources under the subscription.
        Returns:
        query results.
        Throws:
        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​(Integer top,
                                                                                                           String filter,
                                                                                                           com.azure.core.util.Context context)
        Queries policy tracked resources under the subscription.
        Parameters:
        top - Maximum number of records to return.
        filter - OData filter expression.
        context - The context to associate with this operation.
        Returns:
        query results.
        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)
        Queries policy tracked resources under the resource group.
        Parameters:
        resourceGroupName - Resource group name.
        Returns:
        query results.
        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,
                                                                                                            Integer top,
                                                                                                            String filter,
                                                                                                            com.azure.core.util.Context context)
        Queries policy tracked resources under the resource group.
        Parameters:
        resourceGroupName - Resource group name.
        top - Maximum number of records to return.
        filter - OData filter expression.
        context - The context to associate with this operation.
        Returns:
        query results.
        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)
        Queries policy tracked resources under the resource.
        Parameters:
        resourceId - Resource ID.
        Returns:
        query results.
        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,
                                                                                                       Integer top,
                                                                                                       String filter,
                                                                                                       com.azure.core.util.Context context)
        Queries policy tracked resources under the resource.
        Parameters:
        resourceId - Resource ID.
        top - Maximum number of records to return.
        filter - OData filter expression.
        context - The context to associate with this operation.
        Returns:
        query results.
        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.