CertificateOperations class
Class representing a CertificateOperations.
Constructors
Certificate |
Create a CertificateOperations. |
Methods
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<CertificateCreateOrUpdateResponse>
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
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
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<CertificateGetResponse>
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
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
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
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
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
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
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<CertificateUpdateResponse>
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
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
The callback