lbcli update trusted-host

AI Tools

Updates trusted host properties.

Synopsis

This command is used to update labels of a trusted host.

lbcli update trusted-host [options] [flags]

Examples:

# Update a trusted host with name "host56", belonging to project 'default' with updated labels. lbcli -J $JWT update trusted-host --project-name="default" --name="host56" --labels="team=validation,location=us-west-1"

Flag

Short

Type

Default

Description

--help

-h

bool


Help for trusted-host.

--auth-required


string


Authentication is required: 'true'/'false'. Optional Default - unchanged.

--labels


string


Specifies labels for Host. The labels argument format is key0=val0,key1=val1,...keyN=valN, when the number of labels is limited to 16. Label-key and label-value length must be between 1 and 253 characters and can contain any of: alphanumeric characters (a-z, A-Z, 0-9), hyphen (-), underscore (_), and dot (.)

--name


string


Host name (required).

--project-name


string


The project this host belongs to (required).