Skip to main content

ims orchestration allocation

Commands to manage allocations.

Examples

ims orchestration allocation create --project-id alpha-beta-123456 --file ./CreateAllocationV0Body.json
cat ./CreateAllocationV0Body.json | ims orchestration allocation create --project-id alpha-beta-123456

ims orchestration allocation delete --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f

ims orchestration allocation list --project-id alpha-beta-123456 --limit 10

ims orchestration allocation reserve --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f --file ./CreateReservationV0Body.json
cat ./CreateReservationV0Body.json | ims orchestration allocation reserve --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f

ims orchestration allocation set-enabled --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f false

ims orchestration allocation update --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f --file ./UpdateAllocationV0Body.json
cat ./UpdateAllocationV0Body.json | ims orchestration allocation update --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f

ims orchestration allocation update-image --project-id alpha-beta-123456 --allocation-id 1a2b3c4d-1a2b-3c4d-5e6f-1a2b3c4d5e6f --image gir.improbable.io/alpha-beta-123456/server:1.0.0

Options

  -h, --help   help for allocation

Options inherited from parent commands

      --ci                   include this when running in a CI environment, this switches to the IMS service account authentication flow
--config string config file location, defaults to $HOME/.ims
--output-type string command output type (human/json) (default "human")

SEE ALSO