Interface AllPolicies


public interface AllPolicies
Resource collection API of AllPolicies.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<AllPoliciesContract>
    listByService(String resourceGroupName, String serviceName)
    Status of all policies of API Management services.
    com.azure.core.http.rest.PagedIterable<AllPoliciesContract>
    listByService(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
    Status of all policies of API Management services.
  • Method Details

    • listByService

      com.azure.core.http.rest.PagedIterable<AllPoliciesContract> listByService(String resourceGroupName, String serviceName)
      Status of all policies of API Management services.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serviceName - The name of the API Management service.
      Returns:
      the response of All Policies 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.
    • listByService

      com.azure.core.http.rest.PagedIterable<AllPoliciesContract> listByService(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
      Status of all policies of API Management services.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      serviceName - The name of the API Management service.
      context - The context to associate with this operation.
      Returns:
      the response of All Policies 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.