Share via


WorkloadNetworksOperationsExtensions.ListVMGroupsAsync Method

Definition

List of vm groups in a private cloud workload network.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkVMGroup>> ListVMGroupsAsync (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, System.Threading.CancellationToken cancellationToken = default);
static member ListVMGroupsAsync : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkVMGroup>>
<Extension()>
Public Function ListVMGroupsAsync (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of WorkloadNetworkVMGroup))

Parameters

operations
IWorkloadNetworksOperations

The operations group for this extension method.

resourceGroupName
String

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

privateCloudName
String

Name of the private cloud

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to