Share via


SupportExtensions.ClassifyServiceProblem 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 Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult> ClassifyServiceProblem (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string problemServiceName, Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent content, System.Threading.CancellationToken cancellationToken = default);
static member ClassifyServiceProblem : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>
<Extension()>
Public Function ClassifyServiceProblem (subscriptionResource As SubscriptionResource, problemServiceName As String, content As ServiceProblemClassificationContent, Optional cancellationToken As CancellationToken = Nothing) As 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