dcloud billing budgets scope-preview

Count the resources a scope would cover, before saving it

IAM billing:GetBudgetsRead

A read behind a POST: the scope is a nested structure, and encoding it into a query string would mean a second parser for the same shape. Nothing is written. Also requires tags:ListTags — it reads tag membership.

Synopsis

dcloud billing budgets scope-preview --scope scope

Flags

  • --scopeRequired

    object

    The scope to try: {type: organization}, {type: resourceProject, projectId}, {type: project, projectId} or {type: tags, clauses}

    Constraints: JSON

Example

dcloud billing budgets scope-preview --scope '{}'

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