Share via


SupportExtensions.ClassifyServiceProblemAsync 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: ProblemClassifications_classifyProblems
  • Default Api Version: 2023-06-01-preview
  • Resource: ProblemClassificationResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>> ClassifyServiceProblemAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string problemServiceName, Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ClassifyServiceProblemAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>>
<Extension()>
Public Function ClassifyServiceProblemAsync (subscriptionResource As SubscriptionResource, problemServiceName As String, content As ServiceProblemClassificationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceProblemClassificationListResult))

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

problemServiceName
String

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

content
ServiceProblemClassificationContent

Input to check.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

subscriptionResource, problemServiceName or content is null.

Applies to