Partilhar via


DedicatedHostsOperationsExtensions.ListAvailableSizesAsync Método

Definição

Lista todos os tamanhos de host dedicado disponíveis aos quais o host dedicado especificado pode ser redimensionado. OBSERVAÇÃO: os tamanhos de host dedicados fornecidos podem ser usados para escalar verticalmente apenas o host dedicado existente.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<string>> ListAvailableSizesAsync (this Microsoft.Azure.Management.Compute.IDedicatedHostsOperations operations, string resourceGroupName, string hostGroupName, string hostName, System.Threading.CancellationToken cancellationToken = default);
static member ListAvailableSizesAsync : Microsoft.Azure.Management.Compute.IDedicatedHostsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<string>>
<Extension()>
Public Function ListAvailableSizesAsync (operations As IDedicatedHostsOperations, resourceGroupName As String, hostGroupName As String, hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of String))

Parâmetros

operations
IDedicatedHostsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

hostGroupName
String

O nome do grupo de hosts dedicado.

hostName
String

O nome do host dedicado.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a