共用方式為


NamedValueOperationsExtensions.RefreshSecretAsync Method

Definition

Refresh the secret of the named value specified by its identifier.

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

Parameters

operations
INamedValueOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

namedValueId
String

Identifier of the NamedValue.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to