共用方式為


MachineLearningWorkspaceResource.Diagnose 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 Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult> Diagnose (Azure.WaitUntil waitUntil, Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Diagnose : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult>
override this.Diagnose : Azure.WaitUntil * Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.MachineLearning.Models.MachineLearningWorkspaceDiagnoseResult>
Public Overridable Function Diagnose (waitUntil As WaitUntil, Optional content As MachineLearningWorkspaceDiagnoseContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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