public Observable<AppServiceCertificateResourceInner> updateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResource keyVaultCertificate) {
        return updateCertificateWithServiceResponseAsync(resourceGroupName, certificateOrderName, name, keyVaultCertificate).map(new Func1<ServiceResponse<AppServiceCertificateResourceInner>, AppServiceCertificateResourceInner>() {
            @Override
            public AppServiceCertificateResourceInner call(ServiceResponse<AppServiceCertificateResourceInner> response) {
                return response.body();
            }
        });
    }
public Observable < AppServiceCertificateResourceInner > updateCertificateAsync ( String resourceGroupName , String certificateOrderName , String name , AppServiceCertificatePatchResource keyVaultCertificate ) { return updateCertificateWithServiceResponseAsync ( resourceGroupName , certificateOrderName , name , keyVaultCertificate ) . map ( new Func1 < ServiceResponse < AppServiceCertificateResourceInner > , AppServiceCertificateResourceInner > ( ) { @ Override public AppServiceCertificateResourceInner call ( ServiceResponse < AppServiceCertificateResourceInner > response ) { return response . body ( ) ; } } ) ; }
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