AutomationCertificateResource.Update Method

Definition

Update a certificate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/certificates/{certificateName}
  • Operation Id: Certificate_Update
public virtual Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource> Update (Azure.ResourceManager.Automation.Models.AutomationCertificatePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Automation.Models.AutomationCertificatePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource>
override this.Update : Azure.ResourceManager.Automation.Models.AutomationCertificatePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Automation.AutomationCertificateResource>
Public Overridable Function Update (patch As AutomationCertificatePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AutomationCertificateResource)

Parameters

patch
AutomationCertificatePatch

The parameters supplied to the update certificate operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to