Updates a Load Balancer
Updates a load balancer. The payload can be provided as a JSON string or a file path prefixed with "@". See https://docs.api.stackit.cloud/documentation/load-balancer/version/v1#tag/Load-Balancer/operation/APIService_UpdateLoadBalancer for information regarding the payload structure.
stackit load-balancer update LOAD_BALANCER_NAME [flags]
Update a load balancer with name "xxx", using an API payload sourced from the file "./payload.json"
$ stackit load-balancer update xxx --payload @./payload.json
Update a load balancer with name "xxx", using an API payload provided as a JSON string
$ stackit load-balancer update xxx --payload "{...}"
Generate a payload with the current values of an existing load balancer xxx, and adapt it with custom values for the different configuration options
$ stackit load-balancer generate-payload --lb-name xxx > ./payload.json
<Modify payload in file>
$ stackit load-balancer update xxx --payload @./payload.json
-h, --help Help for "stackit load-balancer update"
--payload string Request payload (JSON). Can be a string or a file path, if prefixed with "@". Example: @./payload.json
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
- stackit load-balancer - Provides functionality for Load Balancer