Interface PolicyTrackedResources
-
public interface PolicyTrackedResources
Resource collection API of PolicyTrackedResources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForManagementGroup(String managementGroupName)
Queries policy tracked resources under the management group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForManagementGroup(String managementGroupName, Integer top, String filter, com.azure.core.util.Context context)
Queries policy tracked resources under the management group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForResource(String resourceId)
Queries policy tracked resources under the resource.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForResource(String resourceId, Integer top, String filter, com.azure.core.util.Context context)
Queries policy tracked resources under the resource.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForResourceGroup(String resourceGroupName)
Queries policy tracked resources under the resource group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForResourceGroup(String resourceGroupName, Integer top, String filter, com.azure.core.util.Context context)
Queries policy tracked resources under the resource group.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForSubscription()
Queries policy tracked resources under the subscription.com.azure.core.http.rest.PagedIterable<PolicyTrackedResource>
listQueryResultsForSubscription(Integer top, String filter, com.azure.core.util.Context context)
Queries policy tracked resources under the subscription.
-
-
-
Method Detail
-
listQueryResultsForManagementGroup
com.azure.core.http.rest.PagedIterable<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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<PolicyTrackedResource> 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.
-
-