Share via


NamedValueOperationsExtensions.ListValueAsync Method

Definition

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

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

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