dcloud billing cost-views update

Change a saved view, its sharing or its monthly mail

IAM billing:UpdateCostViewChanges state

Synopsis

dcloud billing cost-views update id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --nameOptional

    string

    1–100 characters, trimmed; unique in the organization (409 when taken)

    Constraints: 1-100 chars

  • --descriptionOptional

    string

    New description, at most 500 characters; omitted: unchanged

    Constraints: max 500 chars

  • --stateOptional

    object

    The explorer question: range (relative preset or fixed dates), granularity, groupBy, filters — the same shapes as cost-explorer/query. Grouping or filtering by provider needs iam:UpdateOrganization (403)

    Constraints: JSON

  • --sharedOptional

    boolean (--shared / --no-shared)

    true: visible to everyone with billing:GetCostAndUsage; false: only to its creator; omitted: unchanged

  • --reportOptional

    object

    Replace the monthly mail settings: {enabled, recipients (at most 20 addresses)}; omitted: unchanged

    Constraints: JSON

Example

dcloud billing cost-views update id

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