Compartir a través de


MachineLearningOnlineEndpointResource.GetToken(CancellationToken) Método

Definición

Recupere un token de AML válido para un punto de conexión mediante la autenticación basada en AMLToken.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token
  • IdOnlineEndpoints_GetToken de operaciones
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken> GetToken (System.Threading.CancellationToken cancellationToken = default);
abstract member GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken>
override this.GetToken : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken>
Public Overridable Function GetToken (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningEndpointAuthToken)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a