Huawei Cloud Cost Estimation and Provisioning
Community edition, not an official Huawei Cloud skill. Treat the current hcloud response as
authoritative.
Prices come only from the current response: never guess, analogize, or recall them. Provisioning is
the only permitted write path; unsubscribe is console guidance only.
Route
- Quote, budget, or comparison → Pricing.
- Provision, purchase, or create → Lifecycle Create, limited to
references/lifecycle/commands.md.
- Unsubscribe or stop using → console-only Unsubscribe Guidance.
- Historical bills, balance, or reconciliation → Cost Center or read-only BSS billing; other clouds
→ refuse; non-allowlisted writes → console guidance.
Execution Pace
Complete chains of at most three hcloud commands directly to the next safety gate. For longer
chains, run only two or three commands per round, report progress and the next step, then ask
whether to continue. A user may request uninterrupted execution, but clarification, unknown-cost
approval, --dryrun, and write confirmation remain mandatory.
Pricing
- Parse
cloud_service_type / resource_type / region / resource_spec plus period or usage;
route through references/pricing/semantic/catalog.yml.
- Clarify missing region, quantity, duration/usage, linear size, ambiguous categories, or
unresolved variants in one question with two to four candidates. Disclose and apply only safe
defaults: OS=linux, empty AZ, and
fee_installment_mode=NA.
- Query using
references/pricing/commands.md: ListServiceResources → ListResourceSpecs →
on-demand ListUsageTypes(--resource_type_code) → measure resolution → quotation. Ask on
multiple matches; a spec match may still fail. Never invent duration or mix capacity and usage
slots.
- Verify and present that line items sum to the total and currency, period, and quantity align.
Present
[service] [spec] [region] [quantity × period] = amount, total, and “not a final bill.”
Show discounts only when returned.
Lifecycle Create
Read references/lifecycle/concepts.md, then perform every gate in order:
- Allowlist — Map intent to an operation in
references/lifecycle/commands.md; refuse misses.
- Help — Run
hcloud <Service> <Operation> --help for required and conditional fields. Stop on
[APIE_ERROR] or missing schema; never guess.
- Resolve — Run required read-only dependencies such as VPC, subnet, AZ, image, and flavor. Let
the user choose among multiple matches.
- Cost — Use Pricing when possible. Otherwise disclose “price unknown and may incur charges”
and obtain separate approval.
- Dry — Add global
--dryrun to the complete command. Fix and rerun failures; never promote a
failed dry run.
- Confirm — Show resource, region, spec, quantity, billing, known or unknown price, and batch
order; wait for explicit confirmation.
- Execute — Remove only
--dryrun. Run multiple commands in order, stop on failure, never
auto-rollback, and report succeeded, failed, and unexecuted items.
Any parameter, region, quantity, or operation change invalidates the dry run and confirmation and
returns to Help.
Unsubscribe Guidance
Never run or generate unsubscribe CLI/API operations, and never use --dryrun as a substitute for
console preview.
- Subscription resources: direct the user to Huawei Cloud Console → Cost Center → Orders →
Unsubscriptions. Ask them to back up or migrate data and verify the account, resource, related
resources, refund, fees, and refund destination before submission.
- Pay-per-use resources: unsubscribe does not apply. Direct the user to the service console to
delete the resource after backup; do not delete it for them.
If automation is requested, preserve this boundary and provide the
official unsubscribe rules.
Critical Rules
- Prices come from the current response; parameters come from current help.
- No real create call without a successful
--dryrun and explicit confirmation.
- Never automate or emit unsubscribe operations.
- Refuse AK, SK, and tokens in chat; point to
references/cli-installation.md for
self-configuration.
- Every BSS call uses
--cli-region=cn-north-1; product_infos.N.region remains the deployment
region.
- Route out-of-scope work to Cost Center, the appropriate console, or read-only billing.
Use bullets or numbered items, not GFM tables, in user-facing responses. For command-level traps,
read references/pricing/commands.md.
Reference Index
| Domain |
Concepts |
Commands |
| Pricing |
references/pricing/semantic/catalog.yml and rfq-*.yml |
references/pricing/commands.md |
| Lifecycle |
references/lifecycle/concepts.md |
references/lifecycle/commands.md |
For 403 or permission failures, read references/iam-policies.md. If hcloud is unavailable, relay
references/cli-installation.md; never install it for the user.
1---2name: huawei-cloud-cost-estimation3description: Generates Huawei Cloud pre-order estimates, provisions allowlisted resources through hcloud, and routes unsubscribe requests to console guidance. Use for Huawei Cloud pricing, budgets, creation, provisioning, or unsubscribe. Creates require runtime help, --dryrun, fee review, and confirmation. Never emits or runs unsubscribe operations, accepts credentials, or performs non-allowlisted writes.4---56# Huawei Cloud Cost Estimation and Provisioning78> Community edition, not an official Huawei Cloud skill. Treat the current hcloud response as9> authoritative.1011Prices come only from the current response: never guess, analogize, or recall them. Provisioning is12the only permitted write path; unsubscribe is console guidance only.1314## Route1516- Quote, budget, or comparison → Pricing.17- Provision, purchase, or create → Lifecycle Create, limited to `references/lifecycle/commands.md`.18- Unsubscribe or stop using → console-only Unsubscribe Guidance.19- Historical bills, balance, or reconciliation → Cost Center or read-only BSS billing; other clouds20 → refuse; non-allowlisted writes → console guidance.2122## Execution Pace2324Complete chains of at most three hcloud commands directly to the next safety gate. For longer25chains, run only two or three commands per round, report progress and the next step, then ask26whether to continue. A user may request uninterrupted execution, but clarification, unknown-cost27approval, `--dryrun`, and write confirmation remain mandatory.2829## Pricing30311. **Parse** `cloud_service_type / resource_type / region / resource_spec` plus period or usage;32 route through `references/pricing/semantic/catalog.yml`.332. **Clarify** missing region, quantity, duration/usage, linear size, ambiguous categories, or34 unresolved variants in one question with two to four candidates. Disclose and apply only safe35 defaults: OS=linux, empty AZ, and `fee_installment_mode=NA`.363. **Query** using `references/pricing/commands.md`: `ListServiceResources` → `ListResourceSpecs` →37 on-demand `ListUsageTypes(--resource_type_code)` → measure resolution → quotation. Ask on38 multiple matches; a spec match may still fail. Never invent duration or mix capacity and usage39 slots.404. **Verify and present** that line items sum to the total and currency, period, and quantity align.41 Present `[service] [spec] [region] [quantity × period] = amount`, total, and “not a final bill.”42 Show discounts only when returned.4344## Lifecycle Create4546Read `references/lifecycle/concepts.md`, then perform every gate in order:47481. **Allowlist** — Map intent to an operation in `references/lifecycle/commands.md`; refuse misses.492. **Help** — Run `hcloud <Service> <Operation> --help` for required and conditional fields. Stop on50 `[APIE_ERROR]` or missing schema; never guess.513. **Resolve** — Run required read-only dependencies such as VPC, subnet, AZ, image, and flavor. Let52 the user choose among multiple matches.534. **Cost** — Use Pricing when possible. Otherwise disclose “price unknown and may incur charges”54 and obtain separate approval.555. **Dry** — Add global `--dryrun` to the complete command. Fix and rerun failures; never promote a56 failed dry run.576. **Confirm** — Show resource, region, spec, quantity, billing, known or unknown price, and batch58 order; wait for explicit confirmation.597. **Execute** — Remove only `--dryrun`. Run multiple commands in order, stop on failure, never60 auto-rollback, and report succeeded, failed, and unexecuted items.6162Any parameter, region, quantity, or operation change invalidates the dry run and confirmation and63returns to Help.6465## Unsubscribe Guidance6667Never run or generate unsubscribe CLI/API operations, and never use `--dryrun` as a substitute for68console preview.6970- **Subscription resources:** direct the user to Huawei Cloud Console → Cost Center → Orders →71 Unsubscriptions. Ask them to back up or migrate data and verify the account, resource, related72 resources, refund, fees, and refund destination before submission.73- **Pay-per-use resources:** unsubscribe does not apply. Direct the user to the service console to74 delete the resource after backup; do not delete it for them.7576If automation is requested, preserve this boundary and provide the77[official unsubscribe rules](https://support.huaweicloud.com/usermanual-billing/unsubscription_topic_2000010.html).7879## Critical Rules80811. Prices come from the current response; parameters come from current help.822. No real create call without a successful `--dryrun` and explicit confirmation.833. Never automate or emit unsubscribe operations.844. Refuse AK, SK, and tokens in chat; point to `references/cli-installation.md` for85 self-configuration.865. Every BSS call uses `--cli-region=cn-north-1`; `product_infos.N.region` remains the deployment87 region.886. Route out-of-scope work to Cost Center, the appropriate console, or read-only billing.8990Use bullets or numbered items, not GFM tables, in user-facing responses. For command-level traps,91read `references/pricing/commands.md`.9293## Reference Index9495| Domain | Concepts | Commands |96| --------- | --------------------------------------------------------- | ---------------------------------- |97| Pricing | `references/pricing/semantic/catalog.yml` and `rfq-*.yml` | `references/pricing/commands.md` |98| Lifecycle | `references/lifecycle/concepts.md` | `references/lifecycle/commands.md` |99100For 403 or permission failures, read `references/iam-policies.md`. If hcloud is unavailable, relay101`references/cli-installation.md`; never install it for the user.