code: public void beginStop(String resourceGroupName, String applicationGatewayName) {
          beginStopWithServiceResponseAsync(resourceGroupName, applicationGatewayName).toBlocking().single().body();
      }
docs: Stops the specified application gateway in a resource group.
  
  @param resourceGroupName The name of the resource group.
  @param applicationGatewayName The name of the application gateway.
  @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