gcloud eventarc channel-connections create - create an Eventarc channel connection
gcloud eventarc channel-connections create (CHANNEL_CONNECTION : --location=LOCATION) --activation-token=ACTIVATION_TOKEN --channel=CHANNEL [--async] [GCLOUD_WIDE_FLAG ...]
Create an Eventarc channel connection.
To create a new channel connection my-channel-connection for channel my-channel with activation token channel-activation-token, run:
$ gcloud eventarc channel-connections create my-channel-connection \ --channel=my-channel --activation-token=channel-activation-token
- Channel connection resource - Channel connection to create. The arguments in
this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument channel_connection 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.
- CHANNEL_CONNECTION
ID of the channel connection or fully qualified identifier for the channel connection. To set the channel-connection attribute:
provide the argument channel_connection on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --location=LOCATION
The location for the Eventarc channel connection, which should be either global or one of the supported regions. Alternatively, set the [eventarc/location] property. To set the location attribute:
provide the argument channel_connection on the command line with a fully specified name;
provide the argument --location on the command line;
set the property eventarc/location.
- --activation-token=ACTIVATION_TOKEN
Activation token for the specified channel.
- --channel=CHANNEL
Subscriber channel for which to create the channel connection. This argument should be the full channel name, including project, location and the channel id.
- --async
Return immediately, without waiting for the operation in progress to complete.
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.