Sdílet prostřednictvím


MachineLearningOnlineDeploymentResource.GetLogs 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 Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs> GetLogs (Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogs : Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs>
override this.GetLogs : Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogsContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentLogs>
Public Overridable Function GetLogs (content As MachineLearningDeploymentLogsContent, Optional cancellationToken As CancellationToken = Nothing) As 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