1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 20:36:39 +00:00
gcloud-help/gcloud/beta/datastream/routes/create

98 lines
3.4 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud beta datastream routes create - create a Datastream private
connection route
SYNOPSIS
gcloud beta datastream routes create
(ROUTE : --location=LOCATION --private-connection=PRIVATE_CONNECTION)
--destination-address=DESTINATION_ADDRESS --display-name=DISPLAY_NAME
[--destination-port=DESTINATION_PORT] [--labels=[KEY=VALUE,...]]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2022-04-13 08:33:42 +00:00
(BETA) (DEPRECATED) Datastream beta version is deprecated. Please
use`gcloud datastream routes create command instead.
Create a Datastream private connection route
2022-03-01 04:29:52 +00:00
EXAMPLES
To create a route called 'my-route', run:
$ gcloud beta datastream routes create my-route \
--location=us-central1 --private-connection=private-connection \
--display-name=my-display-name \
--destination-address=addr.path.to.somewhere \
--destination-port=33665
POSITIONAL ARGUMENTS
Route resource - The route to create. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
2023-05-04 10:43:54 +00:00
are not given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument route on the command line with a fully specified
name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
ROUTE
2023-05-04 10:43:54 +00:00
ID of the route or fully qualified identifier for the route.
To set the route attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument route on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--location=LOCATION
2023-05-04 10:43:54 +00:00
The Cloud location for the route.
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument route on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--private-connection=PRIVATE_CONNECTION
2023-05-04 10:43:54 +00:00
The private connection of the route.
To set the private-connection attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument route on the command line with a fully
specified name;
▸ provide the argument --private-connection on the command line.
REQUIRED FLAGS
--destination-address=DESTINATION_ADDRESS
Destination address for connection.
--display-name=DISPLAY_NAME
Friendly name for the route.
OPTIONAL FLAGS
--destination-port=DESTINATION_PORT
Destination port for connection.
--labels=[KEY=VALUE,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens
(-), underscores (_), lowercase characters, and numbers. Values must
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud datastream routes create