VirtualMachinesOperationsExtensions.ListByLabAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get all virtual machines for a lab.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.VirtualMachine>> ListByLabAsync (this Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations operations, string resourceGroupName, string labName, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByLabAsync : Microsoft.Azure.Management.LabServices.IVirtualMachinesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.LabServices.Models.VirtualMachine>>
<Extension()>
Public Function ListByLabAsync (operations As IVirtualMachinesOperations, resourceGroupName As String, labName As String, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Returns a list of all virtual machines for a lab.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET