CertificateOperations class

Class representing a CertificateOperations.

Constructors

CertificateOperations(AutomationClientContext)

Create a CertificateOperations.

Methods

createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, RequestOptionsBase)

Create a certificate.

createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Certificate>)
createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, ServiceCallback<Certificate>)
deleteMethod(string, string, string, RequestOptionsBase)

Delete the certificate.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Retrieve the certificate identified by certificate name.

get(string, string, string, RequestOptionsBase, ServiceCallback<Certificate>)
get(string, string, string, ServiceCallback<Certificate>)
listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of certificates.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<CertificateListResult>)
listByAutomationAccount(string, string, ServiceCallback<CertificateListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of certificates.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<CertificateListResult>)
listByAutomationAccountNext(string, ServiceCallback<CertificateListResult>)
update(string, string, string, CertificateUpdateParameters, RequestOptionsBase)

Update a certificate.

update(string, string, string, CertificateUpdateParameters, RequestOptionsBase, ServiceCallback<Certificate>)
update(string, string, string, CertificateUpdateParameters, ServiceCallback<Certificate>)

Constructor Details

CertificateOperations(AutomationClientContext)

Create a CertificateOperations.

new CertificateOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, RequestOptionsBase)

Create a certificate.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<CertificateCreateOrUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the create or update certificate operation.

parameters
CertificateCreateOrUpdateParameters

The parameters supplied to the create or update certificate operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CertificateCreateOrUpdateResponse>

createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Certificate>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the create or update certificate operation.

parameters
CertificateCreateOrUpdateParameters

The parameters supplied to the create or update certificate operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Certificate>

The callback

createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, ServiceCallback<Certificate>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateCreateOrUpdateParameters, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the create or update certificate operation.

parameters
CertificateCreateOrUpdateParameters

The parameters supplied to the create or update certificate operation.

callback

ServiceCallback<Certificate>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the certificate.

function deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, certificateName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the certificate identified by certificate name.

function get(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: RequestOptionsBase): Promise<CertificateGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CertificateGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Certificate>)

function get(resourceGroupName: string, automationAccountName: string, certificateName: string, options: RequestOptionsBase, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Certificate>

The callback

get(string, string, string, ServiceCallback<Certificate>)

function get(resourceGroupName: string, automationAccountName: string, certificateName: string, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The name of certificate.

callback

ServiceCallback<Certificate>

The callback

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of certificates.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<CertificateListByAutomationAccountResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CertificateListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<CertificateListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<CertificateListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CertificateListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<CertificateListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<CertificateListResult>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<CertificateListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of certificates.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<CertificateListByAutomationAccountNextResponse>

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CertificateListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<CertificateListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<CertificateListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<CertificateListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<CertificateListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<CertificateListResult>)

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<CertificateListResult>

The callback

update(string, string, string, CertificateUpdateParameters, RequestOptionsBase)

Update a certificate.

function update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateUpdateParameters, options?: RequestOptionsBase): Promise<CertificateUpdateResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the update certificate operation.

parameters
CertificateUpdateParameters

The parameters supplied to the update certificate operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.CertificateUpdateResponse>

update(string, string, string, CertificateUpdateParameters, RequestOptionsBase, ServiceCallback<Certificate>)

function update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the update certificate operation.

parameters
CertificateUpdateParameters

The parameters supplied to the update certificate operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Certificate>

The callback

update(string, string, string, CertificateUpdateParameters, ServiceCallback<Certificate>)

function update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateUpdateParameters, callback: ServiceCallback<Certificate>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

certificateName

string

The parameters supplied to the update certificate operation.

parameters
CertificateUpdateParameters

The parameters supplied to the update certificate operation.

callback

ServiceCallback<Certificate>

The callback