共用方式為


WorkloadNetworksOperationsExtensions.ListSegmentsAsync 方法

定義

私人雲端工作負載網路中區段的清單。

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

參數

operations
IWorkloadNetworksOperations

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

resourceGroupName
String

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

privateCloudName
String

私人雲端的名稱

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於