MachineLearningOnlineDeploymentResource.GetLogsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The request containing parameters for retrieving logs.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET