yc application-load-balancer virtual-host prepend-http-route
Prepends http route to the specified virtual host of the http router
Command Usage
Syntax:
yc application-load-balancer virtual-host prepend-http-route <ROUTE-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
ID of the Http router. |
|
|
Name of the Http router. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Specifies the name of the virtual host for the route. |
|
|
Specifies HTTP method matcher for the route. |
|
|
Specifies exact path matcher for the route. |
|
|
Specifies prefix path matcher for the route. |
|
|
Specifies regex path matcher for the route. |
|
|
Specifies target backend group id for the route. |
|
|
Specifies target backend group name for the route. |
|
|
Specifies request timeout for the route. |
|
|
Specifies request idle timeout for the route. |
|
|
Specifies allowed HTTP upgrade types for the route (e.g. websocket). |
|
|
Specifies host rewrite for the route. Authority/host header sent to the backend will be replace with this value |
|
|
Specifies path prefix rewrite for the route. Its value will be prepended to the request path. |
|
|
Specifies direct response http status code for the route. |
|
|
Specifies direct response body for the route. |
|
|
Specifies path to a file containing direct response body. |
|
|
Specifies redirect response http status code for the route, either http code (302, 303) or textual representation (FOUND, SEE_OTHER). Default: 301 (MOVED_PERMANENTLY) |
|
|
Specifies redirect scheme rewrite for the route. If not specified, http scheme remains unchanged |
|
|
Specifies redirect authority/host rewrite for the route. If not specified, header remains unchanged |
|
|
Specifies redirect port rewrite for the route. If not specified, port either is rewritten according to well-known rules (80 -> 443 for http -> https redirect) or remains unchanged. |
|
|
Specifies redirect path rewrite for the route. |
|
|
Specifies path prefix to be appended to the request uri for the redirect. |
|
|
If specified, original request query will be stripped from redirect location for the route. |
|
|
Specifies rate limit configuration to be applied to http route. Possible property names:
|
|
|
Specifies regex rewrite configuration to be applied to http route. Possible property names:
|
|
|
Disables security profile for the route. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |