Dela via


MachineLearningWorkspaceResource.GetMachineLearningOnlineEndpointAsync Method

Definition

Get Online Endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}
  • Operation Id: OnlineEndpoints_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>> GetMachineLearningOnlineEndpointAsync (string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningOnlineEndpointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>>
override this.GetMachineLearningOnlineEndpointAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>>
Public Overridable Function GetMachineLearningOnlineEndpointAsync (endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningOnlineEndpointResource))

Parameters

endpointName
String

Online Endpoint name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

endpointName is null.

endpointName is an empty string, and was expected to be non-empty.

Applies to