你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LocationOperationsExtensions.ListSupportedVirtualMachineSkusAsync 方法

定义

获取给定位置可用的 Batch 支持的虚拟机 VM 大小的列表。

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

参数

operations
ILocationOperations

此扩展方法的操作组。

locationName
String

要为其检索 Batch 服务支持 SKU 的区域。

maxresults
Nullable<Int32>

响应中要返回的最大项数。

filter
String

OData 筛选器表达式。 用于筛选的有效属性为“familyName”。

cancellationToken
CancellationToken

取消标记。

返回

适用于