共用方式為


MachineLearningOnlineDeploymentResource.GetLogsAsync Method

Definition

Polls an Endpoint operation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs
  • Operation Id: OnlineDeployments_GetLogs
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningOnlineDeploymentResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs>> GetLogsAsync (Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogsAsync : Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs>>
override this.GetLogsAsync : Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs>>
Public Overridable Function GetLogsAsync (content As MachineLearningDeploymentLogsContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningDeploymentLogs))

Parameters

content
MachineLearningDeploymentLogsContent

The request containing parameters for retrieving logs.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to