Freigeben über


CognitiveServicesAccountResource.GetKeys(CancellationToken) Methode

Definition

Listet die Kontoschlüssel für das angegebene Cognitive Services-Konto auf.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/listKeys
  • Vorgangs-IdAccounts_ListKeys
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiKeys> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiKeys>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountApiKeys>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceAccountApiKeys)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: