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

118 lines
4.3 KiB
Text
Raw Normal View History

2023-10-11 10:37:28 +00:00
NAME
gcloud alpha service-extensions wasm-plugin-versions create - create a
2023-10-23 11:10:09 +00:00
WasmPluginVersion resource
2023-10-11 10:37:28 +00:00
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,...]]
2024-07-31 09:35:16 +00:00
[--plugin-config=PLUGIN_CONFIG | --plugin-config-file=PATH_TO_FILE
2023-10-11 10:37:28 +00:00
| --plugin-config-uri=PLUGIN_CONFIG_URI] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2023-10-23 11:10:09 +00:00
(ALPHA) Create a new WasmPluginVersion resource.
2023-10-11 10:37:28 +00:00
EXAMPLES
2023-10-23 11:10:09 +00:00
To create a WasmPluginVersion called my-plugin-version, run:
2023-10-11 10:37:28 +00:00
$ 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
2023-10-23 11:10:09 +00:00
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.
2023-10-11 10:37:28 +00:00
To set the project attribute:
◆ provide the argument wasm_plugin_version on the command line with a
fully specified name;
2024-07-31 09:35:16 +00:00
◆ provide the argument --project on the command line;
◆ set the property core/project.
2023-10-11 10:37:28 +00:00
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
2023-10-23 11:10:09 +00:00
The location ID.
2023-10-11 10:37:28 +00:00
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
2023-10-23 11:10:09 +00:00
URI of the container image containing the plugin's Wasm module, stored
in the Artifact Registry.
2023-10-11 10:37:28 +00:00
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.
2023-10-23 11:10:09 +00:00
Configuration for the plugin, provided at runtime by the on_configure
function (Rust Proxy-Wasm SDK) or the onConfigure method (C++ Proxy-Wasm
SDK).
2023-10-11 10:37:28 +00:00
At most one of these can be specified:
--plugin-config=PLUGIN_CONFIG
2023-10-23 11:10:09 +00:00
Plugin configuration in the textual format.
2023-10-11 10:37:28 +00:00
2024-07-31 09:35:16 +00:00
--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.
2023-10-11 10:37:28 +00:00
--plugin-config-uri=PLUGIN_CONFIG_URI
2023-10-23 11:10:09 +00:00
URI of the container image containing the plugin's configuration,
2023-10-11 10:37:28 +00:00
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
2024-10-09 09:55:07 +00:00
access allowlist. This variant is also available:
$ gcloud beta service-extensions wasm-plugin-versions create
2023-10-11 10:37:28 +00:00