Share via


MachineLearningWorkspaceResource.GetNotebookAccessTokenAsync Method

Definition

return notebook access token and refresh token

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken
  • Operation Id: Workspaces_ListNotebookAccessToken
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceNotebookAccessTokenResult>> GetNotebookAccessTokenAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetNotebookAccessTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceNotebookAccessTokenResult>>
override this.GetNotebookAccessTokenAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceNotebookAccessTokenResult>>
Public Overridable Function GetNotebookAccessTokenAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningWorkspaceNotebookAccessTokenResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to