Skip to content
Shortcut: /, ⌘K or Ctrl+K

polymorfa billing

Polymorfa CLI · CLI API requests

View as Markdown

polymorfa billing controls get

Read one resource limit and priority.

Usage

polymorfa billing controls get ID [flags]

Arguments

  • IDrequired

    Resource UUID.

Flags

  • --scope <value>takes a valuerequired
    Allowed valuesprojectcustomernumber

Also accepts the global flags.

polymorfa billing controls set

Atomically save one resource limit and priority.

Usage

polymorfa billing controls set ID [flags]

Arguments

  • IDrequired

    Resource UUID.

Flags

  • --credits <value>takes a value
  • --expected-budget-revision <value>takes a valuerequired
  • --expected-priority-revision <value>takes a valuerequired
  • --priority <value>takes a valuerequired
  • --scope <value>takes a valuerequired
    Allowed valuesprojectcustomernumber
  • --unlimitedboolean

Also accepts the global flags.

polymorfa billing limits list

Read monthly project and number spending limits.

Requires a team key with billing:read. Use --project to include its number limits. Months reset on the first day at 00:00 UTC.

Usage

polymorfa billing limits list [flags]

Flags

Also accepts the global flags.

polymorfa billing limits set

Set or remove a monthly spending limit.

Requires Pay-As-You-Go and a team key with billing:manage. Zero blocks new charges; already-paid service continues. A stale observed revision fails without overwriting newer settings.

Usage

polymorfa billing limits set ID [flags]

Arguments

  • IDrequired

    Project or number UUID.

Flags

  • --credits <value>takes a value

    Monthly Polymorfa credits, up to six decimal places.

  • --expected-revision <value>takes a valuerequired

    Revision from billing limits list.

  • --scope <value>takes a valuerequired
    Allowed valuesprojectcustomernumber
  • --unlimitedboolean

    Remove the limit.

Also accepts the global flags.

polymorfa billing priority list

Read project, customer and number funding priorities.

Requires a team key with billing:read. Project priority takes precedence. Numbers inherit customer priority; a higher number priority overrides it. Use --project for its funding controls. Includes the revision used for changes.

Usage

polymorfa billing priority list [flags]

Flags

Also accepts the global flags.

polymorfa billing priority reorder

Save a complete funding order atomically.

Requires Pay-As-You-Go and a team key with billing:manage. Pass every active project, customer or real number for its scope. Resource scope mixes all customers and numbers in --project, highest first. Incomplete or stale orders fail without partial changes.

Usage

polymorfa billing priority reorder [flags]

Flags

  • --expected-revision <value>takes a valuerequired
  • --ids <value>takes a value

    UUIDs, highest first. For resource scope use customer:UUID or number:UUID.

  • --ids-file <value>takes a value

    JSON array of ordered IDs; supports large lists.

  • --scope <value>takes a valuerequired
    Allowed valuesprojectcustomernumberresource

Also accepts the global flags.

polymorfa billing priority set

Set a project or number funding priority.

Requires Pay-As-You-Go and a team key with billing:manage. Changes future renewal protection and recovery; paid windows keep their expiry.

Usage

polymorfa billing priority set ID [flags]

Arguments

  • IDrequired

    Project or number UUID.

Flags

  • --expected-revision <value>takes a valuerequired
  • --priority <value>takes a valuerequired
  • --scope <value>takes a valuerequired
    Allowed valuesprojectcustomernumber

Also accepts the global flags.