Share via


HcxEnterpriseSitesOperationsExtensions.ListAsync Method

Definition

List HCX Enterprise Sites in a private cloud

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

Parameters

operations
IHcxEnterpriseSitesOperations

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