code: public PrivateZoneInner createOrUpdate(String resourceGroupName, String privateZoneName, PrivateZoneInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, privateZoneName, parameters).toBlocking().last().body();
      }
docs: Creates or updates a Private DNS zone. Does not modify Links to virtual networks or DNS records within the zone.
  
  @param resourceGroupName The name of the resource group.
  @param privateZoneName The name of the Private DNS zone (without a terminating dot).
  @param parameters Parameters supplied to the CreateOrUpdate operation.
  @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 PrivateZoneInner object if successful.