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] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

Create an Eventarc channel connection.

EXAMPLES

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

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.

--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.

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.

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.