/// <summary> /// Get problem classification details for a specific Azure service. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='serviceName'> /// Name of the Azure service available for support. /// </param> /// <param name='problemClassificationName'> /// Name of problem classification. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ProblemClassification> GetAsync(this IProblemClassificationsOperations operations, string serviceName, string problemClassificationName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(serviceName, problemClassificationName, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }