共用方式為


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to