Skip to content

CLI Billing

github-actions[bot] edited this page Oct 10, 2026 · 3 revisions

CLI: Billing

create-budget

Kind: Write.

Flag Type Required
--name string yes
--period-type string yes
--type string yes
--limit-amount int64 yes
--status string
vngcloud billing create-budget --name <name> --period-type <period-type> --type <type> --limit-amount <limit-amount>

create-budget-threshold

Kind: Write.

Flag Type Required
--budget-uuid string yes
--threshold-type string yes
--threshold-percentage int yes
--max-alerts-per-period int
--reminder-interval-hours int
vngcloud billing create-budget-threshold --budget-uuid <budget-uuid> --threshold-type <threshold-type> --threshold-percentage <threshold-percentage>

delete-budget

Kind: Write, destructive.

Flag Type Required
--budget-uuid string yes
vngcloud billing delete-budget --budget-uuid <budget-uuid> --yes

delete-budget-threshold

Kind: Write, destructive.

Flag Type Required
--budget-uuid string yes
--threshold-uuid string yes
vngcloud billing delete-budget-threshold --budget-uuid <budget-uuid> --threshold-uuid <threshold-uuid> --yes

get-balances

Kind: Read.

No fields.

vngcloud billing get-balances --query Balances

get-budget

Kind: Read.

Flag Type Required
--budget-uuid string yes
vngcloud billing get-budget --budget-uuid <budget-uuid> --query Budget

get-cost-overview

Kind: Read.

Flag Type Required
--start-date string yes
--end-date string yes
--product string
--resource-type string
--resource-id string
--search string
--group-by string
--interval string
vngcloud billing get-cost-overview --start-date <start-date> --end-date <end-date>

get-current-period-cost

Kind: Read.

No fields.

vngcloud billing get-current-period-cost --query PeriodCost

list-budget-alerts

Kind: Read.

Flag Type Required
--budget-uuid string yes
--period-key string
vngcloud billing list-budget-alerts --budget-uuid <budget-uuid>

list-budget-thresholds

Kind: Read.

Flag Type Required
--budget-uuid string yes
vngcloud billing list-budget-thresholds --budget-uuid <budget-uuid>

list-budgets

Kind: Read.

Flag Type Required
--status string
vngcloud billing list-budgets

list-cost-resources

Kind: Read.

Flag Type Required
--start-date string yes
--end-date string yes
--product string
--resource-type string
--resource-id string
--search string
--page int
--size int
--sort string
--order string
vngcloud billing list-cost-resources --start-date <start-date> --end-date <end-date>

list-resources

Kind: Read.

Lists billing resource renewal state across products without quoting prices. Tables show raw renewal and billing timestamps in epoch milliseconds. Cost has unknown meaning and currency; it is not a price or next charge and is omitted from the table. Use storage get-project-auto-renew for a project's joined state and fresh price estimate.

No fields.

vngcloud billing list-resources

update-budget

Kind: Write.

Flag Type Required
--budget-uuid string yes
--name *string
--period-type *string
--type *string
--limit-amount *int64
--status *string
vngcloud billing update-budget --budget-uuid <budget-uuid>

update-budget-threshold

Kind: Write.

Flag Type Required
--budget-uuid string yes
--threshold-uuid string yes
--threshold-percentage *int
--enabled *bool
--max-alerts-per-period *int
--reminder-interval-hours *int
vngcloud billing update-budget-threshold --budget-uuid <budget-uuid> --threshold-uuid <threshold-uuid>

Clone this wiki locally