Freigeben über


LocationOperationsExtensions.ListSupportedVirtualMachineSkusAsync Methode

Definition

Ruft die Liste der vom Batch unterstützten VM-Größen ab, die am angegebenen Speicherort verfügbar sind.

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))

Parameter

operations
ILocationOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

locationName
String

Die Region, für die vom Batch-Dienst unterstützte SKUs abgerufen werden sollen.

maxresults
Nullable<Int32>

Die maximale Anzahl von Elementen, die in der Antwort zurückgegeben werden sollen.

filter
String

OData-Filterausdruck. Gültige Eigenschaften für das Filtern sind "familyName".

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: