Udostępnij za pośrednictwem


MachineLearningOnlineEndpointResource.GetKeys(CancellationToken) Method

Definition

List EndpointAuthKeys for an Endpoint using Key-based authentication.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys
  • Operation Id: OnlineEndpoints_ListKeys
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningOnlineEndpointResource
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