Certificates interface

Interface representing a Certificates.

Methods

createOrUpdate(string, string, string, CertificatesCreateOrUpdateOptionalParams)

Create or Update a Certificate.

delete(string, string, string, CertificatesDeleteOptionalParams)

Deletes the specified Certificate.

get(string, string, string, CertificatesGetOptionalParams)

Get the specified Certificate.

list(string, string, CertificatesListOptionalParams)

Get the Certificates in a given managed environment.

update(string, string, string, CertificatePatch, CertificatesUpdateOptionalParams)

Patches a certificate. Currently only patching of tags is supported

Method Details

createOrUpdate(string, string, string, CertificatesCreateOrUpdateOptionalParams)

Create or Update a Certificate.

function createOrUpdate(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesCreateOrUpdateOptionalParams): Promise<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.

options
CertificatesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Certificate>

delete(string, string, string, CertificatesDeleteOptionalParams)

Deletes the specified Certificate.

function delete(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesDeleteOptionalParams): Promise<void>

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.

options
CertificatesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, CertificatesGetOptionalParams)

Get the specified Certificate.

function get(resourceGroupName: string, environmentName: string, certificateName: string, options?: CertificatesGetOptionalParams): Promise<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.

options
CertificatesGetOptionalParams

The options parameters.

Returns

Promise<Certificate>

list(string, string, CertificatesListOptionalParams)

Get the Certificates in a given managed environment.

function list(resourceGroupName: string, environmentName: string, options?: CertificatesListOptionalParams): PagedAsyncIterableIterator<Certificate, Certificate[], PageSettings>

Parameters

resourceGroupName

string

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

environmentName

string

Name of the Managed Environment.

options
CertificatesListOptionalParams

The options parameters.

Returns

update(string, string, string, CertificatePatch, CertificatesUpdateOptionalParams)

Patches a certificate. Currently only patching of tags is supported

function update(resourceGroupName: string, environmentName: string, certificateName: string, certificateEnvelope: CertificatePatch, options?: CertificatesUpdateOptionalParams): Promise<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.

certificateEnvelope
CertificatePatch

Properties of a certificate that need to be updated

options
CertificatesUpdateOptionalParams

The options parameters.

Returns

Promise<Certificate>