MockableSupportSubscriptionResource.ClassifyServiceProblemAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>> ClassifyServiceProblemAsync (string problemServiceName, Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ClassifyServiceProblemAsync : string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>>
override this.ClassifyServiceProblemAsync : string * Azure.ResourceManager.Support.Models.ServiceProblemClassificationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ServiceProblemClassificationListResult>>
Public Overridable Function ClassifyServiceProblemAsync (problemServiceName As String, content As ServiceProblemClassificationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ServiceProblemClassificationListResult))
Parameters
- problemServiceName
- String
Name of the Azure service for which the problem classifications need to be retrieved.
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.