gdcloud compute forwarding-rules list

名称

gdcloud compute forwarding-rules list - 列出负载平衡器的转发规则。

摘要

gdcloud compute forwarding-rules list [FORWARDING_RULE_NAME...] [flags]

示例

To list global forwarding rules with load-balancing-scheme EXTERNAL, run:

    gdcloud compute forwarding-rules list \
      --limit=80 \
      --load-balancing-scheme=EXTERNAL \
      --global

    To list zonal forwarding rules with load-balancing-scheme EXTERNAL, run:

    gdcloud compute forwarding-rules list \
      --limit=80 \
      --load-balancing-scheme=EXTERNAL

可选标志

      --global                         If set, global forwarding rules are listed.
      --limit int                      Maximum number of resources to list.
      --load-balancing-scheme string   Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
      --zone string                    Zone to use for this invocation. To preset the zone flag for all commands that require it, run: "gdcloud config set core/zone ZONE". The zone flag is available only in multi-zone environments.

GDCLOUD 全局标志

以下标志适用于所有命令:--configuration--format--help--project--quiet

如需了解详情,请参阅 gdcloud CLI 参考概览页面。