MockableSupportSubscriptionResource.ClassifyServiceProblem 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 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET