Interface PolicyRestrictionValidations


public interface PolicyRestrictionValidations
Resource collection API of PolicyRestrictionValidations.
  • Method Details

    • byService

      OperationResultContract byService(String resourceGroupName, String serviceName)
      Validate 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:
      long Running Git Operation 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.
    • byService

      OperationResultContract byService(String resourceGroupName, String serviceName, com.azure.core.util.Context context)
      Validate 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:
      long Running Git Operation 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.