code: public void beginOfflineRegion(String resourceGroupName, String accountName, String region) {
          beginOfflineRegionWithServiceResponseAsync(resourceGroupName, accountName, region).toBlocking().single().body();
      }
docs: Offline 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