Share via


MachineLearningDatastoreResource.GetSecretsAsync(CancellationToken) Method

Definition

Get datastore secrets.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to