共用方式為


CertificateOperationsExtensions.RefreshSecretAsync Method

Definition

From KeyVault, Refresh the certificate being used for authentication with the backend. https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-mutual-certificates/

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.CertificateContract> RefreshSecretAsync (this Microsoft.Azure.Management.ApiManagement.ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId, System.Threading.CancellationToken cancellationToken = default);
static member RefreshSecretAsync : Microsoft.Azure.Management.ApiManagement.ICertificateOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.CertificateContract>
<Extension()>
Public Function RefreshSecretAsync (operations As ICertificateOperations, resourceGroupName As String, serviceName As String, certificateId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateContract)

Parameters

operations
ICertificateOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

certificateId
String

Identifier of the certificate entity. Must be unique in the current API Management service instance.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to