Share via


MachineLearningComputeResource.GetKeys(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 Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets> GetKeys (System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets>
override this.GetKeys : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningComputeSecrets>
Public Overridable Function GetKeys (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningComputeSecrets)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to