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

ManagedNetworkPeeringPolicyCollection.GetAll 方法

定义

ListByManagedNetwork PeeringPolicies 操作以分页格式检索指定托管网络中的所有托管网络对等互连策略。

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

参数

top
Nullable<Int32>

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

skiptoken
String

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

cancellationToken
CancellationToken

要使用的取消标记。

返回

可能需要多个服务请求来循环访问的 的 ManagedNetworkPeeringPolicyResource 集合。

适用于