Partager via


ApiManagementSubscriptionResource.GetSecretsAsync(CancellationToken) Méthode

Définition

Obtient les clés d’abonnement spécifiées.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}/listSecrets
  • IdSubscription_ListSecrets d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.SubscriptionKeysContract>> GetSecretsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.SubscriptionKeysContract>>
override this.GetSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.SubscriptionKeysContract>>
Public Overridable Function GetSecretsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionKeysContract))

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à