VirtualMachinesOperationsExtensions.ListAvailableSizes(IVirtualMachinesOperations, String, String) Method

Definition

Lists all available virtual machine sizes to which the specified virtual machine can be resized.

public static System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Compute.Models.VirtualMachineSize> ListAvailableSizes (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName);
static member ListAvailableSizes : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string -> seq<Microsoft.Azure.Management.Compute.Models.VirtualMachineSize>
<Extension()>
Public Function ListAvailableSizes (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String) As IEnumerable(Of VirtualMachineSize)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine.

Returns

Applies to