public AppServiceCertificateOrderInner update(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResource certificateDistinguishedName) {
        return updateWithServiceResponseAsync(resourceGroupName, certificateOrderName, certificateDistinguishedName).toBlocking().single().body();
    }
public AppServiceCertificateOrderInner update ( String resourceGroupName , String certificateOrderName , AppServiceCertificateOrderPatchResource certificateDistinguishedName ) { return updateWithServiceResponseAsync ( resourceGroupName , certificateOrderName , certificateDistinguishedName ) . toBlocking ( ) . single ( ) . body ( ) ; }
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.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws DefaultErrorResponseException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the AppServiceCertificateOrderInner object if successful.