Share via


MockableSupportSubscriptionResource.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 virtual Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult> ClassifyServiceProblem (string problemServiceName, Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ClassifyServiceProblem : string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>
override this.ClassifyServiceProblem : string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>
Public Overridable Function ClassifyServiceProblem (problemServiceName As String, content As ServiceProblemClassificationContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ServiceProblemClassificationListResult)

Parameters

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.

problemServiceName or content is null.

Applies to