DedicatedHostsOperationsExtensions.ListAvailableSizesAsync Method

Definition

Lists all available dedicated host sizes to which the specified dedicated host can be resized. NOTE: The dedicated host sizes provided can be used to only scale up the existing dedicated host.

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

Parameters

operations
IDedicatedHostsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

hostGroupName
String

The name of the dedicated host group.

hostName
String

The name of the dedicated host.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to