CollectionOperationsExtensions.ListVmsAsync Method

Definition

Gets the list of all virtual machines in the collection.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionVmsListResult> ListVmsAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName);
static member ListVmsAsync : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionVmsListResult>
<Extension()>
Public Function ListVmsAsync (operations As ICollectionOperations, collectionName As String) As Task(Of CollectionVmsListResult)

Parameters

operations
ICollectionOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations.

collectionName
String

Required. The RemoteApp collection name where vms exist.

Returns

List of virtual machines in a given collection.

Applies to