stratumctl admin custom-shape-policy
Read / write custom-shape policy rows (bootstrap-admin for install + region)
stratumctl admin custom-shape-policy [flags]Aliases: custom-shape-policies, csp
Subcommands
Section titled “Subcommands”stratumctl admin custom-shape-policy get: Show the explicit policy row at a scope (404 if inherited)stratumctl admin custom-shape-policy set: Upsert the custom-shape policy at a scope
stratumctl admin custom-shape-policy get
Section titled “stratumctl admin custom-shape-policy get”Show the explicit policy row at a scope (404 if inherited)
stratumctl admin custom-shape-policy get <install | region <name> | project <id>> [flags]Examples
Section titled “Examples”stratumctl admin custom-shape-policy get installstratumctl admin custom-shape-policy get region lab-1stratumctl admin custom-shape-policy get project p-team-a --output jsonstratumctl admin custom-shape-policy set
Section titled “stratumctl admin custom-shape-policy set”Upsert the custom-shape policy at a scope
stratumctl admin custom-shape-policy set <install | region <name> | project <id>> [flags]Each flag is independent. Setting –foo=N overrides at this scope; –clear-foo clears the override and inherits from the parent scope.
Bounds:
--enabled / --clear-enabled--min-vcpus N / --clear-min-vcpus (and --max-vcpus / --clear-max-vcpus)--min-memory-mib N / --clear-min-memory-mib (and --max-memory-mib / --clear-max-memory-mib)--alignment-mib N / --clear-alignment-mib--standard-min-mib-per-vcpu N / --clear-standard-min-mib-per-vcpu--standard-max-mib-per-vcpu N / --clear-standard-max-mib-per-vcpu--extended-enabled / --clear-extended-enabled--extended-max-mib-per-vcpu N / --clear-extended-max-mib-per-vcpuExamples
Section titled “Examples”stratumctl admin custom-shape-policy set install --enabled --max-vcpus 64 --max-memory-mib 262144stratumctl admin custom-shape-policy set region lab-1 --extended-enabled --extended-max-mib-per-vcpu 16384stratumctl admin custom-shape-policy set project p-team-a --clear-max-vcpus| Flag | Type | Default | Description |
|---|---|---|---|
--alignment-mib |
int | 0 |
|
--clear-alignment-mib |
bool | false |
|
--clear-enabled |
bool | false |
Clear the enabled override |
--clear-extended-enabled |
bool | false |
|
--clear-extended-max-mib-per-vcpu |
bool | false |
|
--clear-max-memory-mib |
bool | false |
|
--clear-max-vcpus |
bool | false |
|
--clear-min-memory-mib |
bool | false |
|
--clear-min-vcpus |
bool | false |
|
--clear-standard-max-mib-per-vcpu |
bool | false |
|
--clear-standard-min-mib-per-vcpu |
bool | false |
|
--enabled |
bool | false |
Enable custom shapes at this scope |
--extended-enabled |
bool | false |
Enable the extended tier |
--extended-max-mib-per-vcpu |
int | 0 |
|
--max-memory-mib |
int | 0 |
|
--max-vcpus |
int | 0 |
|
--min-memory-mib |
int | 0 |
|
--min-vcpus |
int | 0 |
|
--standard-max-mib-per-vcpu |
int | 0 |
|
--standard-min-mib-per-vcpu |
int | 0 |
