Share via


MachineLearningServerlessEndpointResource.GetKeys(CancellationToken) Method

Definition

List EndpointAuthKeys for an Endpoint using Key-based authentication.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to