ProblemClassificationCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the problem classifications (categories) available for a specific Azure service. Always use the service and problem classifications obtained programmatically. This practice ensures that you always have the most recent set of service and problem classification Ids.

  • Request Path: /providers/Microsoft.Support/services/{serviceName}/problemClassifications
  • Operation Id: ProblemClassifications_List
  • Default Api Version: 2024-04-01
  • Resource: ProblemClassificationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Support.ProblemClassificationResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.ProblemClassificationResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Support.ProblemClassificationResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ProblemClassificationResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ProblemClassificationResource that may take multiple service requests to iterate over.

Applies to