你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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