MachineLearningWorkspaceResource.GetKeysAsync(CancellationToken) Method

Definition

Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to