SupportExtensions.ClassifyProblemsAsync 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. <item> Mocking. To mock this method, please mock ClassifyProblemsAsync(String, ProblemClassificationsClassificationInput, CancellationToken) instead. </item>
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationOutput>> ClassifyProblemsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string problemServiceName, Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationInput content, System.Threading.CancellationToken cancellationToken = default);
static member ClassifyProblemsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Support.Models.ProblemClassificationsClassificationOutput>>
<Extension()>
Public Function ClassifyProblemsAsync (subscriptionResource As SubscriptionResource, problemServiceName As String, content As ProblemClassificationsClassificationInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProblemClassificationsClassificationOutput))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- 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
subscriptionResource is null.