- NAME
-
- gcloud eventarc channel-connections create - create an Eventarc channel connection
- SYNOPSIS
-
-
gcloud eventarc channel-connections create
(CHANNEL_CONNECTION
:--location
=LOCATION
)--activation-token
=ACTIVATION_TOKEN
--channel
=CHANNEL
[--async
] [--labels
=[KEY
=VALUE
,…]] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
- Create an Eventarc channel connection.
- EXAMPLES
-
To create a new channel connection
for channelmy-channel-connection
with activation tokenmy-channel
, run:channel-activation-token
gcloud eventarc channel-connections create my-channel-connection --channel=my-channel --activation-token=channel-activation-token
- POSITIONAL ARGUMENTS
-
-
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.
-
provide the argument
--location
=LOCATION
-
The location for the Eventarc channel connection, which should be either
or one of the supported regions. Alternatively, set the [eventarc/location] property.global
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
.
-
provide the argument
-
provide the argument
-
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.
- REQUIRED FLAGS
-
--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.
- OPTIONAL FLAGS
-
--async
- Return immediately, without waiting for the operation in progress to complete.
--labels
=[KEY
=VALUE
,…]- Labels to apply to the channel connection.
- 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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-10 UTC.