public void beginOnlineRegion(String resourceGroupName, String accountName, String region) {
        beginOnlineRegionWithServiceResponseAsync(resourceGroupName, accountName, region).toBlocking().single().body();
    }
public void beginOnlineRegion ( String resourceGroupName , String accountName , String region ) { beginOnlineRegionWithServiceResponseAsync ( resourceGroupName , accountName , region ) . toBlocking ( ) . single ( ) . body ( ) ; }
Online the specified region for the specified Azure Cosmos DB database account.

@param resourceGroupName Name of an Azure resource group.
@param accountName Cosmos DB database account name.
@param region Cosmos DB region, with spaces between words and each word capitalized.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws ErrorResponseException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent