Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 2.54 KB

File metadata and controls

48 lines (36 loc) · 2.54 KB

metalctlv2 tenant update

updates the tenant

metalctlv2 tenant update <id> [flags]

Options

      --bulk-output             when used with --file (bulk operation): prints results at the end as a list. default is printing results intermediately during the operation, which causes single entities to be printed in a row.
      --description string      the description of the tenant to update
  -f, --file string             filename of the create or update request in yaml format, or - for stdin.
                                
                                Example:
                                $ metalctlv2 tenant describe tenant-1 -o yaml > tenant.yaml
                                $ vi tenant.yaml
                                $ # either via stdin
                                $ cat tenant.yaml | metalctlv2 tenant update <id> -f -
                                $ # or via file
                                $ metalctlv2 tenant update <id> -f tenant.yaml
                                
                                the file can also contain multiple documents and perform a bulk operation.
                                	
  -h, --help                    help for update
      --name string             the name of the tenant to update
      --skip-security-prompts   skips security prompt for bulk operations
      --timestamps              when used with --file (bulk operation): prints timestamps in-between the operations

Options inherited from parent commands

      --api-token string       the token used for api requests
      --api-url string         the url to the metal-stack.io api (default "https://api.metal-stack.io")
  -c, --config string          alternative config file path, (default is ~/.metal-stack/config.yaml)
      --debug                  debug output
      --force-color            force colored output even without tty
  -o, --output-format string   output format (table|wide|markdown|json|yaml|template|jsonraw|yamlraw), wide is a table with more columns, jsonraw and yamlraw do not translate proto enums into string types but leave the original int32 values intact (for apply, create, update, delete commands from file the raw output formatters must be used). (default "table")
      --template string        output template for template output-format, go template format. For property names inspect the output of -o json or -o yaml for reference.
      --timeout duration       request timeout used for api requests

SEE ALSO