gdcloud compute forwarding-rules delete

NAME

gdcloud compute forwarding-rules delete - 删除负载均衡器的转发规则。

SYNOPSIS

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

示例

To delete the global forwarding rule "fr-elb" for a load balancer, run:

    gdcloud compute forwarding-rules delete fr-ilb \
      --load-balancing-scheme=INTERNAL \
      --global

    To delete the zonal forwarding rule "fr-elb" for a load balancer, run:

    gdcloud compute forwarding-rules delete 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 deleted.
      --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 参考文档概览页面。