你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BaseAdminRuleCollection.GetAllAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
列出所有网络管理器安全配置管理规则。
- 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules
- 操作IdAdminRules_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.BaseAdminRuleResource> 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.Network.BaseAdminRuleResource>
override this.GetAllAsync : Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.BaseAdminRuleResource>
Public Overridable Function GetAllAsync (Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BaseAdminRuleResource)
参数
- skipToken
- String
仅当上一个操作返回部分结果时,才使用 SkipToken。 如果以前的响应包含 nextLink 元素,则 nextLink 元素的值将包含 skipToken 参数,该参数指定要用于后续调用的起点。
- cancellationToken
- CancellationToken
要使用的取消标记。
返回
的异步集合 BaseAdminRuleResource ,可能需要多个服务请求进行迭代。