次の方法で共有


MachineLearningOnlineEndpointResource.GetTokenAsync(CancellationToken) メソッド

定義

AMLToken ベースの認証を使用して、エンドポイントの有効な AML トークンを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token
  • 操作IdOnlineEndpoints_GetToken
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken>> GetTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken>>
override this.GetTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningEndpointAuthToken>>
Public Overridable Function GetTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningEndpointAuthToken))

パラメーター

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象