ck update extension
Updates an existing Service Extension node in the current measurement setup.
Synopsis
ck update extension
<EXTENSION_NAME_OR_ID>
[--url <String>]
[--api-key <String>]
[--language <en|zh|ja>]
[-n|--name <NODE_NAME>]
[-c|--config <EXTENSION_CONFIGURATION_JSON>]
ck update extension -h|--help
Arguments
EXTENSION_NAME_OR_ID
The name or identifier of the Service Extension node to update.
Options
--url
Specify the URL of the CanKingService if connecting to a remote host. Falls back to the CANKING_REMOTE_URL environment variable. If not specified, the command will connect to a local CanKingService instance.--api-key
API key required when connecting to a remote CanKingService instance. Falls back to the CANKING_REMOTE_API_KEY environment variable.--language
Specify the preferred language to be used in all output strings. Default value is English (en). Supported languages are English (en), Chinese (zh), and Japanese (ja).-n|--name
New name for the node.-c|--config
The extension configuration. A valid JSON formatted string to configure the extension node.
Examples
ck update extension "my-extension" --config '{"key":"new-value"}'
ck update extension 2073f340-b9d7-a55c-cc18-b4e1c43dfc2f --name "Updated Extension"
ck update extension "Ext1" --name "Ext1 Updated" --config '{"key":"value"}'