code: public ServiceFuture<AppServiceCertificateOrderInner> beginCreateOrUpdateAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderInner certificateDistinguishedName, final ServiceCallback<AppServiceCertificateOrderInner> serviceCallback) {
          return ServiceFuture.fromResponse(beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, certificateOrderName, certificateDistinguishedName), serviceCallback);
      }
docs: Create or update a certificate purchase order.
  Create or update a certificate purchase order.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param certificateOrderName Name of the certificate order.
  @param certificateDistinguishedName Distinguished name to to use for the certificate order.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object