MachineLearningWorkspaceResource.DiagnoseAsync Method

Definition

Diagnose workspace setup issue.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose
  • Operation Id: Workspaces_Diagnose
  • Default Api Version: 2024-04-01
  • Resource: MachineLearningWorkspaceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult>> DiagnoseAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DiagnoseAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult>>
override this.DiagnoseAsync : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult>>
Public Overridable Function DiagnoseAsync (waitUntil As WaitUntil, Optional content As MachineLearningWorkspaceDiagnoseContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of MachineLearningWorkspaceDiagnoseResult))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
MachineLearningWorkspaceDiagnoseContent

The parameter of diagnosing workspace health.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to