Share via


MachineLearningComputeResource.GetKeysAsync(CancellationToken) Method

Definition

Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to