public void beginStop(String resourceGroupName, String jobName) {
        beginStopWithServiceResponseAsync(resourceGroupName, jobName).toBlocking().single().body();
    }
public void beginStop ( String resourceGroupName , String jobName ) { beginStopWithServiceResponseAsync ( resourceGroupName , jobName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Stops a running streaming job. This will cause a running streaming job to stop processing input events and producing output.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param jobName The name of the streaming job.
@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