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 路徑 (route) 的路徑 (path)

--port

用來識別 TCP 路徑 (route) 的埠

另請參閱

delete-orphaned-routes, routes, unmap-route