MockableSupportSubscriptionResource.ClassifyProblemsAsync Method

Definition

Classify the right problem classifications (categories) available for a specific Azure service.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Support/services/{problemServiceName}/classifyProblems.
  • Operation Id. : ClassifyProblems_ClassifyProblems.
  • Default Api Version. : 2025-06-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationOutput>> ClassifyProblemsAsync(string problemServiceName, Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationInput content, System.Threading.CancellationToken cancellationToken = default);
abstract member ClassifyProblemsAsync : string * Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationOutput>>
override this.ClassifyProblemsAsync : string * Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationOutput>>
Public Overridable Function ClassifyProblemsAsync (problemServiceName As String, content As ProblemClassificationsClassificationInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProblemClassificationsClassificationOutput))

Parameters

problemServiceName
String

Name of the Azure service for which the problem classifications need to be retrieved.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

problemServiceName or content is null.

problemServiceName is an empty string, and was expected to be non-empty.

Applies to