Sdílet prostřednictvím


VirtualMachinesOperationsExtensions.ListByLab Method

Definition

Get all virtual machines for a lab.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.VirtualMachine> ListByLab (this Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations operations, string resourceGroupName, string labName, string filter = default);
static member ListByLab : Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations * string * string * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.VirtualMachine>
<Extension()>
Public Function ListByLab (operations As IVirtualMachinesOperations, resourceGroupName As String, labName As String, Optional filter As String = Nothing) As IPage(Of VirtualMachine)

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

labName
String

The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.

filter
String

The filter to apply to the operation.

Returns

Remarks

Returns a list of all virtual machines for a lab.

Applies to