dcloud billing cost-views updateChange a saved view, its sharing or its monthly mail
Synopsis
dcloud billing cost-views update id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--nameOptionalstring
1–100 characters, trimmed; unique in the organization (409 when taken)
Constraints: 1-100 chars
--descriptionOptionalstring
New description, at most 500 characters; omitted: unchanged
Constraints: max 500 chars
--stateOptionalobject
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
--sharedOptionalboolean (--shared / --no-shared)
true: visible to everyone with billing:GetCostAndUsage; false: only to its creator; omitted: unchanged
--reportOptionalobject
Replace the monthly mail settings: {enabled, recipients (at most 20 addresses)}; omitted: unchanged
Constraints: JSON
Example
dcloud billing cost-views update idGenerated from the API description, the same one the API checks requests against and the CLI is built from.