code: public ZoneInner getByResourceGroup(String resourceGroupName, String zoneName) {
          return getByResourceGroupWithServiceResponseAsync(resourceGroupName, zoneName).toBlocking().single().body();
      }
docs: Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone.
  
  @param resourceGroupName The name of the resource group.
  @param zoneName The name of the DNS zone (without a terminating dot).
  @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
  @return the ZoneInner object if successful.