dcloud billing estimates create

Price an operation before running it (per hour, per month, monthly cap)

IAM billing:EstimateCostRead

A read behind a POST: nothing is created. `operation` is the API operation id (ec2.instances.run, rds.instances.create, cache.clusters.create, vpn.endpoints.create, ec2.volumes.create, autoscaling.groups.create, lb.load-balancers.create, …) and `body` the request body it would get. Returns lines (per hour, per full month with the monthly cap applied, the cap), totals, `summary` ("5,99 €/month max · 0,0096 €/h (excl. VAT)", German number format as in the console; the numeric fields are plain decimals), pay-per-use unit prices, and lines marked `billed: false` for things that are not metered yet. Allowed with billing:EstimateCost or with the operation’s own action. `dcloud <command> --dry-run` prints this for the command it would run.

Synopsis

dcloud billing estimates create --operation operation [flags]

Flags

  • --operationRequired

    string

    API operation id, e.g. ec2.instances.run, rds.instances.create

    Constraints: 3-96 chars, /^[a-z0-9-]+(\.[a-z0-9-]+)+$/

  • --bodyOptional

    map of string

    The request body the operation would be sent

    Constraints: key=<json>

    Default: {}

Example

dcloud billing estimates create --operation example

Generated from the API description, the same one the API checks requests against and the CLI is built from.