Share via


ResourceSkusOperationsExtensions.ListAsync Method

Definition

Gets the list of Microsoft.Compute SKUs available for your Subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>> ListAsync (this Microsoft.Azure.Management.Compute.IResourceSkusOperations operations, string filter = default, string includeExtendedLocations = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Compute.IResourceSkusOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.ResourceSku>>
<Extension()>
Public Function ListAsync (operations As IResourceSkusOperations, Optional filter As String = Nothing, Optional includeExtendedLocations As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ResourceSku))

Parameters

operations
IResourceSkusOperations

The operations group for this extension method.

filter
String

The filter to apply on the operation. Only location filter is supported currently.

includeExtendedLocations
String

To Include Extended Locations information or not in the response.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to