共用方式為


ServicesOperationsExtensions.ListAsync 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.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Support.Models.Service>> ListAsync (this Microsoft.Azure.Management.Support.IServicesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Support.IServicesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Support.Models.Service>>
<Extension()>
Public Function ListAsync (operations As IServicesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Service))

Parameters

operations
IServicesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to