ApiManagementCertificateResource.RefreshSecretAsync(CancellationToken) 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.
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.