Freigeben über


MachineLearningOnlineEndpointResource.GetKeysAsync(CancellationToken) Methode

Definition

Auflisten von EndpointAuthKeys für einen Endpunkt mithilfe der schlüsselbasierten Authentifizierung.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys
  • Vorgang IdOnlineEndpoints_ListKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys>> GetKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys>>
override this.GetKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthKeys>>
Public Overridable Function GetKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningEndpointAuthKeys))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: