1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 01:45:45 +00:00
gcloud-help/gcloud/alpha/service-extensions/wasm-plugin-versions/create
2023-10-11 10:37:28 +00:00

113 lines
4.1 KiB
Text

NAME
gcloud alpha service-extensions wasm-plugin-versions create - create a
WasmPluginVersion
SYNOPSIS
gcloud alpha 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=PLUGIN_CONFIG_FILE
| --plugin-config-uri=PLUGIN_CONFIG_URI] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a new WasmPluginVersion.
EXAMPLES
To create a WasmPluginVersion called 'my-plugin-version', run:
$ gcloud alpha 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 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;
◆ set the property core/project;
◆ provide the argument --project on the command line.
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 WasmPlugin, 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 WasmPlugin, provided to the Proxy-Wasm plugin at
runtime via the proxy_on_configure Proxy-Wasm ABI.
At most one of these can be specified:
--plugin-config=PLUGIN_CONFIG
WasmPlugin configuration in the textual format.
--plugin-config-file=PLUGIN_CONFIG_FILE
Path to a file containg WasmPlugin configuration.
--plugin-config-uri=PLUGIN_CONFIG_URI
URI of the container image containing the plugin 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/v1alpha1 API. The full documentation
for this API can be found at: https://cloud.google.com/networking
NOTES
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist.