public void delete(String resourceGroupName, String jobName) {
        deleteWithServiceResponseAsync(resourceGroupName, jobName).toBlocking().last().body();
    }
public void delete ( String resourceGroupName , String jobName ) { deleteWithServiceResponseAsync ( resourceGroupName , jobName ) . toBlocking ( ) . last ( ) . body ( ) ; }
Deletes the specified Batch AI job.

@param resourceGroupName Name of the resource group to which the resource belongs.
@param jobName The name of the job within the specified resource group. Job names can only contain a combination of alphanumeric characters along with dash (-) and underscore (_). The name must be from 1 through 64 characters long.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent