Package version:

Interface representing a Certificates.

interface Certificates {
    createOrUpdate(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesCreateOrUpdateOptionalParams): Promise<Certificate>;
    delete(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesDeleteOptionalParams): Promise<void>;
    get(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesGetOptionalParams): Promise<Certificate>;
    list(resourceGroupName: string, environmentName: string, options?: CertificatesListOptionalParams): PagedAsyncIterableIterator<Certificate>;
    update(resourceGroupName: string, environmentName: string, certificateName: string, certificateEnvelope: CertificatePatch, options?: CertificatesUpdateOptionalParams): Promise<Certificate>;
}

Methods

  • Deletes the specified Certificate.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • environmentName: string

      Name of the Managed Environment.

    • certificateName: string

      Name of the Certificate.

    • Optionaloptions: CertificatesDeleteOptionalParams

      The options parameters.

    Returns Promise<void>

  • Get the specified Certificate.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • environmentName: string

      Name of the Managed Environment.

    • certificateName: string

      Name of the Certificate.

    • Optionaloptions: CertificatesGetOptionalParams

      The options parameters.

    Returns Promise<Certificate>

  • Get the Certificates in a given managed environment.

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • environmentName: string

      Name of the Managed Environment.

    • Optionaloptions: CertificatesListOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<Certificate>

  • Patches a certificate. Currently only patching of tags is supported

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • environmentName: string

      Name of the Managed Environment.

    • certificateName: string

      Name of the Certificate.

    • certificateEnvelope: CertificatePatch

      Properties of a certificate that need to be updated

    • Optionaloptions: CertificatesUpdateOptionalParams

      The options parameters.

    Returns Promise<Certificate>