名稱
gdcloud compute forwarding-rules describe - 說明負載平衡器的轉送規則。
概要
gdcloud compute forwarding-rules describe FORWARDING_RULE_NAME [flags]
範例
To describe the global forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules describe fr-elb \
--load-balancing-scheme=EXTERNAL \
--global
To describe the zonal forwarding rule "fr-elb" for a load balancer, run:
gdcloud compute forwarding-rules describe fr-elb \
--load-balancing-scheme=EXTERNAL
必要標記
--load-balancing-scheme string Load balancing scheme of the forwarding rule. Available values are INTERNAL or EXTERNAL.
選用旗標
--global If set, the global forwarding rule is described.
--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
。
詳情請參閱 gcloud CLI 參考資料總覽頁面。