LocationOperationsExtensions.ListSupportedCloudServiceSkusAsync Method

Definition

Gets the list of Batch supported Cloud Service VM sizes available at the given location.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.SupportedSku>> ListSupportedCloudServiceSkusAsync (this Microsoft.Azure.Management.Batch.ILocationOperations operations, string locationName, int? maxresults = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListSupportedCloudServiceSkusAsync : Microsoft.Azure.Management.Batch.ILocationOperations * string * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.SupportedSku>>
<Extension()>
Public Function ListSupportedCloudServiceSkusAsync (operations As ILocationOperations, locationName As String, Optional maxresults As Nullable(Of Integer) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SupportedSku))

Parameters

operations
ILocationOperations

The operations group for this extension method.

locationName
String

The region for which to retrieve Batch service supported SKUs.

maxresults
Nullable<Int32>

The maximum number of items to return in the response.

filter
String

OData filter expression. Valid properties for filtering are "familyName".

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to