Interface ResourceProviders


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

    • mitigateWithResponse

      com.azure.core.http.rest.Response<Void> mitigateWithResponse(String jobName, String resourceGroupName, MitigateJobRequest mitigateJobRequest, com.azure.core.util.Context context)
      Request to mitigate for a given job.
      Parameters:
      jobName - The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only.
      resourceGroupName - The Resource Group Name.
      mitigateJobRequest - Mitigation Request.
      context - The context to associate with this operation.
      Returns:
      the Response.
      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.
    • mitigate

      void mitigate(String jobName, String resourceGroupName, MitigateJobRequest mitigateJobRequest)
      Request to mitigate for a given job.
      Parameters:
      jobName - The name of the job Resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only.
      resourceGroupName - The Resource Group Name.
      mitigateJobRequest - Mitigation Request.
      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.