CertificateOperations interface
Interface representing a CertificateOperations.
Methods
create |
Create a certificate. |
delete(string, string, string, Certificate |
Delete the certificate. |
get(string, string, string, Certificate |
Retrieve the certificate identified by certificate name. |
list |
Retrieve a list of certificates. |
update(string, string, string, Certificate |
Update a certificate. |
Method Details
createOrUpdate(string, string, string, CertificateCreateOrUpdateParameters, CertificateCreateOrUpdateOptionalParams)
Create a certificate.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateCreateOrUpdateParameters, options?: CertificateCreateOrUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<Certificate>
delete(string, string, string, CertificateDeleteOptionalParams)
Delete the certificate.
function delete(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: CertificateDeleteOptionalParams): Promise<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
- CertificateDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, CertificateGetOptionalParams)
Retrieve the certificate identified by certificate name.
function get(resourceGroupName: string, automationAccountName: string, certificateName: string, options?: CertificateGetOptionalParams): Promise<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
- CertificateGetOptionalParams
The options parameters.
Returns
Promise<Certificate>
listByAutomationAccount(string, string, CertificateListByAutomationAccountOptionalParams)
Retrieve a list of certificates.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: CertificateListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Certificate, Certificate[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, CertificateUpdateParameters, CertificateUpdateOptionalParams)
Update a certificate.
function update(resourceGroupName: string, automationAccountName: string, certificateName: string, parameters: CertificateUpdateParameters, options?: CertificateUpdateOptionalParams): Promise<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
- CertificateUpdateOptionalParams
The options parameters.
Returns
Promise<Certificate>
Azure SDK for JavaScript