gcloud beta service-extensions wasm-plugin-versions create

NAME
gcloud beta service-extensions wasm-plugin-versions create - create a WasmPluginVersion resource
SYNOPSIS
gcloud beta service-extensions wasm-plugin-versions create (WASM_PLUGIN_VERSION : --location=LOCATION --wasm-plugin=WASM_PLUGIN) --image=IMAGE [--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,…]] [--plugin-config=PLUGIN_CONFIG     | --plugin-config-file=PATH_TO_FILE     | --plugin-config-uri=PLUGIN_CONFIG_URI] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a new WasmPluginVersion resource.
EXAMPLES
To create a WasmPluginVersion called my-plugin-version, run:
gcloud beta service-extensions wasm-plugin-versions create my-plugin-version --wasm-plugin=my-plugin --image=…-docker.pkg.dev/my-project/repository/container:tag
POSITIONAL ARGUMENTS
WasmPluginVersion resource - The ID of the WasmPluginVersion resource 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 wasm_plugin_version 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.

WASM_PLUGIN_VERSION
ID of the WasmPluginVersion or fully qualified identifier for the WasmPluginVersion.

To set the wasm_plugin_version attribute:

  • provide the argument wasm_plugin_version 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 ID. To set the location attribute:
  • provide the argument wasm_plugin_version on the command line with a fully specified name;
  • provide the argument --location on the command line;
  • use global location.
--wasm-plugin=WASM_PLUGIN
The ID of the WasmPlugin.

To set the wasm-plugin attribute:

  • provide the argument wasm_plugin_version on the command line with a fully specified name;
  • provide the argument --wasm-plugin on the command line.
REQUIRED FLAGS
--image=IMAGE
URI of the container image containing the plugin's Wasm module, stored in the Artifact Registry.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
A human-readable description of the resource.
--labels=[KEY=VALUE,…]
List of KEY=VALUE labels to attach to this resource.
Configuration for the plugin, provided at runtime by the on_configure function (Rust Proxy-Wasm SDK) or the onConfigure method (C++ Proxy-Wasm SDK). At most one of these can be specified:
--plugin-config=PLUGIN_CONFIG
Plugin configuration in the textual format.
--plugin-config-file=PATH_TO_FILE
Path to a file containing the plugin configuration. Use a full or relative path to a local file containing the value of plugin_config_file.
--plugin-config-uri=PLUGIN_CONFIG_URI
URI of the container image containing the plugin's configuration, stored in the Artifact Registry.
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.

API REFERENCE
This command uses the networkservices/v1beta1 API. The full documentation for this API can be found at: https://cloud.google.com/networking
NOTES
This command is currently in beta and might change without notice. This variant is also available:
gcloud alpha service-extensions wasm-plugin-versions create