AutomationCertificateResource.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update a certificate.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
- Operation Id: Certificate_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource>> UpdateAsync (Azure.ResourceManager.Automation.Models.AutomationCertificatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource>>
override this.UpdateAsync : Azure.ResourceManager.Automation.Models.AutomationCertificatePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource>>
Public Overridable Function UpdateAsync (patch As AutomationCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AutomationCertificateResource))
Parameters
The parameters supplied to the update certificate operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.