ApiManagementCertificateResource.RefreshSecretAsync(CancellationToken) Method

Definition

From KeyVault, Refresh the certificate being used for authentication with the backend.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}/refreshSecret
  • Operation Id: Certificate_RefreshSecret
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementCertificateResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementCertificateResource>> RefreshSecretAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RefreshSecretAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementCertificateResource>>
override this.RefreshSecretAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiManagementCertificateResource>>
Public Overridable Function RefreshSecretAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiManagementCertificateResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to