Interface ResourceProvidersClient
public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
mitigate
(String jobName, String resourceGroupName, MitigateJobRequest mitigateJobRequest) Request to mitigate for a given job.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.
-
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
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.
-