code: public void deleteHybridConnection(String resourceGroupName, String name, String namespaceName, String relayName) {
          deleteHybridConnectionWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName).toBlocking().single().body();
      }
docs: Delete a Hybrid Connection in use in an App Service plan.
  Delete a Hybrid Connection in use in an App Service plan.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service plan.
  @param namespaceName Name of the Service Bus namespace.
  @param relayName Name of the Service Bus relay.
  @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