Поделиться через


LocationOperationsExtensions.ListSupportedCloudServiceSkusAsync Метод

Определение

Возвращает список поддерживаемых пакетной службой размеров виртуальных машин облачной службы, доступных в заданном расположении.

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

Параметры

operations
ILocationOperations

Группа операций для этого метода расширения.

locationName
String

Регион, для которого требуется получить номера SKU, поддерживаемые пакетной службой.

maxresults
Nullable<Int32>

Максимальное количество элементов, возвращаемых в ответе.

filter
String

Выражение фильтра OData. Допустимые свойства для фильтрации : familyName.

cancellationToken
CancellationToken

Токен отмены.

Возвращаемое значение

Применяется к