Sdílet prostřednictvím


SupportAzureServiceCollection.GetAllAsync(CancellationToken) Method

Definition

Lists all the Azure services available for support ticket creation. For Technical issues, select the Service Id that maps to the Azure service/product as displayed in the Services drop-down list on the Azure portal's New support request page. Always use the service and its corresponding problem classification(s) obtained programmatically for support ticket creation. This practice ensures that you always have the most recent set of service and problem classification Ids.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to