dcloud billing costs compare

The same usage priced at other clouds’ public list prices

IAM billing:GetCostAndUsageRead

A read behind a POST. For the query’s window and filters: instance hours (matched to each provider’s cheapest machine of the same CPU class and architecture with at least the vCPUs and memory, named in `matches`), managed PostgreSQL node hours (matched to the provider’s cheapest managed PostgreSQL server with at least the vCPUs and memory: RDS, Azure Flexible Server, STACKIT Flex; counted at our price and named in `partial` where none is read), block and object storage GB-months, priced at each reference provider’s list price (`providers`: name, region, matched machines), read weekly from their public price lists with `pricesFrom` and `sources`; a provider without a verified price list says so in `missing`. The provider whose servers we resell is priced at its list price (what we bill divided by our markup, ×1 today) and its matches say so; it sells no managed PostgreSQL, so a database node is its bare server there. Usage that is metered and not charged yet is left out (`notChargedEur`); everything else (requests, tokens, traffic, other managed services’ nodes, …) is `notComparedEur`. No free tiers, commitments or discounts are applied anywhere.

Synopsis

dcloud billing costs compare --start start --end end [flags]

Flags

  • --startRequired

    string

    First day of the window, YYYY-MM-DD, UTC, inclusive

    Constraints: /^\d{4}-\d{2}-\d{2}$/

  • --endRequired

    string

    Last day of the window, YYYY-MM-DD, UTC, inclusive; not before start, and the window is at most 400 days

    Constraints: /^\d{4}-\d{2}-\d{2}$/

  • --granularityOptional

    enum

    Width of each bar: hour (windows of at most 14 days), day (default) or month

    One of: hour, day, month

    Default: "day"

  • --group-byOptional

    object

    What the bars are stacked by: {dimension, tagKey}; default {dimension: service}

    Constraints: JSON

    Default: {"dimension":"service"}

  • --filtersOptional

    array of json

    Narrow to rows matching every filter, at most 20: {dimension, values, tagKey, exclude}; default none

    Default: []

  • --max-groupsOptional

    number

    Groups drawn on their own, 1–50 (default 8); the rest are summed into "Other"

    Constraints: integer, 1-50

    Default: 8

Example

dcloud billing costs compare --start example --end example

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