共用方式為


HcxEnterpriseSitesOperationsExtensions.ListAsync 方法

定義

列出私人雲端中的 HCX 企業網站

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))

參數

operations
IHcxEnterpriseSitesOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源群組的名稱。 名稱不區分大小寫。

privateCloudName
String

私人雲端的名稱

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於