VirtualMachineScaleSetsOperationsExtensions.ListByLocation Method

Definition

Gets all the VM scale sets under the specified subscription for the specified location.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet> ListByLocation (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string location);
static member ListByLocation : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSet>
<Extension()>
Public Function ListByLocation (operations As IVirtualMachineScaleSetsOperations, location As String) As IPage(Of VirtualMachineScaleSet)

Parameters

operations
IVirtualMachineScaleSetsOperations

The operations group for this extension method.

location
String

The location for which VM scale sets under the subscription are queried.

Returns

Applies to