code: public Observable<AppServiceCertificateResourceInner> beginCreateOrUpdateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificateResourceInner keyVaultCertificate) {
          return beginCreateOrUpdateCertificateWithServiceResponseAsync(resourceGroupName, certificateOrderName, name, keyVaultCertificate).map(new Func1<ServiceResponse<AppServiceCertificateResourceInner>, AppServiceCertificateResourceInner>() {
              @Override
              public AppServiceCertificateResourceInner call(ServiceResponse<AppServiceCertificateResourceInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates a certificate and associates with key vault secret.
  Creates or updates a certificate and associates with key vault secret.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param certificateOrderName Name of the certificate order.
  @param name Name of the certificate.
  @param keyVaultCertificate Key vault certificate resource Id.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the AppServiceCertificateResourceInner object