你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedNetworkGroupCollection.GetAllAsync 方法

定义

ListByManagedNetwork ManagedNetworkGroup 操作以分页格式检索指定托管网络中的所有托管网络组。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups
  • 操作IdManagedNetworkGroups_ListByManagedNetwork
public virtual Azure.AsyncPageable<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource> GetAllAsync (int? top = default, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource>
override this.GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ManagedNetwork.ManagedNetworkGroupResource>
Public Overridable Function GetAllAsync (Optional top As Nullable(Of Integer) = Nothing, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedNetworkGroupResource)

参数

top
Nullable<Int32>

可用于限制列表查询页面中的结果数。

skiptoken
String

仅当上一个操作返回了部分结果时,才使用 Skiptoken。 如果以前的响应包含 nextLink 元素,则 nextLink 元素的值将包含一个 skiptoken 参数,该参数指定要用于后续调用的起点。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 ManagedNetworkGroupResource ,可能需要多个服务请求进行迭代。

适用于