Dela via


LocationOperationsExtensions.ListSupportedVirtualMachineSkusAsync Metod

Definition

Hämtar listan över vm-storlekar som stöds av Batch på den angivna platsen.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.SupportedSku>> ListSupportedVirtualMachineSkusAsync (this Microsoft.Azure.Management.Batch.ILocationOperations operations, string locationName, int? maxresults = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListSupportedVirtualMachineSkusAsync : 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 ListSupportedVirtualMachineSkusAsync (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))

Parametrar

operations
ILocationOperations

Åtgärdsgruppen för den här tilläggsmetoden.

locationName
String

Den region där SKU:er som stöds av Batch-tjänsten ska hämtas.

maxresults
Nullable<Int32>

Det maximala antalet objekt som ska returneras i svaret.

filter
String

OData-filteruttryck. Giltiga egenskaper för filtrering är "familyName".

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för