delete-route - Cloud Foundry CLI Reference Guide


名称

delete-route - 删除路径

用法

Delete an HTTP route: cf delete-route DOMAIN [--hostname HOSTNAME] [--path PATH] [-f] Delete a TCP route: cf delete-route DOMAIN --port PORT [-f]

EXAMPLES

cf delete-route example.com # example.com cf delete-route example.com --hostname myhost # myhost.example.com cf delete-route example.com --hostname myhost --path foo # myhost.example.com/foo cf delete-route example.com --port 5000 # example.com:5000

选项

-f

强制删除而不确认

--hostname, -n

Hostname used to identify the HTTP route (required for shared domains)

--path

用于识别 HTTP 路径的路径

--port

用于识别 TCP 路径的端口

另请参阅

delete-orphaned-routes, routes, unmap-route