bind-route-service - Cloud Foundry CLI Reference Guide


NAME

bind-route-service - Bind a service instance to an HTTP route

USAGE

cf bind-route-service DOMAIN [--hostname HOSTNAME] [--path PATH] SERVICE_INSTANCE [-c PARAMETERS_AS_JSON]

EXAMPLES

cf bind-route-service example.com --hostname myapp --path foo myratelimiter cf bind-route-service example.com myratelimiter -c file.json cf bind-route-service example.com myratelimiter -c '{"valid":"json"}' In Windows PowerShell use double-quoted, escaped JSON: "{\"valid\":\"json\"}" In Windows Command Line use single-quoted, escaped JSON: '{\"valid\":\"json\"}'

ALIAS

brs

OPTIONS

-c

Valid JSON object containing service-specific configuration parameters, provided inline or in a file. For a list of supported configuration parameters, see documentation for the particular service offering.

--hostname, -n

Hostname used in combination with DOMAIN to specify the route to bind

--path

Path used in combination with HOSTNAME and DOMAIN to specify the route to bind

SEE ALSO

routes, services