appliance-cli context¶
Manage the configured appliance contexts
Synopsis¶
Manage the appliance contexts that are configured in the appliance-cli
.
An appliance context allows the appliance-cli
to configure authentication
schemes and connect to remote appliances. If no appliance context is configured,
the appliance-cli
connects by default to the appliance on the local host.
If multiple appliance contexts are configured in the appliance-cli
, you will
need to select a current context. This determines what appliance is currently
targeted by all the commands that are executed by the appliance-cli
.
The appliance-cli
supports targeting multiple appliances with different
versions. The generated commands that are available depend on the version of the
appliance. The appliance-cli
fetches the API specification directly from the
appliance. This API specification is cached locally. After a version upgrade of
the appliance, the appliance-cli
might still have the old API specification
cached. You can use the appliance-cli context sync to force
synchronization of the API specification.
Options¶
-h, --help help for context
SEE ALSO¶
appliance-cli - Manage your Anapaya appliance
appliance-cli context configure - Interactively configure an appliance context
appliance-cli context current - Show the currently selected appliance context
appliance-cli context delete - Delete a configured appliance context
appliance-cli context list - List all the configured appliance contexts
appliance-cli context select - Set the current appliance context
appliance-cli context show - Show the configured appliance context
appliance-cli context sync - Synchronize an appliance context