Parallel Works

pw billing skus create

Create a SKU in a unit

pw billing skus create <unit> [flags]

Examples

  pw billing skus create --code SLURM_CPU_HOUR --name "CPU Hour" --type Compute --subtype NodeHour core-hours
  
  # A GPU SKU that bills 3x per core-hour
  pw billing skus create --code SLURM_GPU_HOUR --name "GPU Hour" --type Compute --subtype NodeHour --rate 3 core-hours

Options

      --code string          SKU code (e.g. SLURM_CPU_HOUR)
      --description string   Optional description
  -h, --help                 help for create
      --name string          Display name
      --org string           Target organization (defaults to current context)
  -o, --output string        Output format (table, json) (default "table")
      --rate float           Initial SKU rate (units consumed per unit of usage quantity) (default 1)
      --subtype string       SKU subtype (e.g. NodeHour)
      --type string          SKU type (e.g. Compute)

Options inherited from parent commands

      --context string         The context to use. Overrides PW_CONTEXT environment variable and current context from config.
      --platform-host string   The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
  -v, --verbose                Enable verbose logging

SEE ALSO