Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

huawei-cloud-cc-gcb-query

БесплатноБез исполняемых скриптовНе проверен

Queries Huawei Cloud Cloud Connect (CC) Global Connection Bandwidth (GCB) resources via hcloud CLI. Covers single GCB detail query (including bound instance…

huaweicloudskillот huaweicloudskill385 установок в других каталогах

Об этом скилле

Overview

Huawei Cloud Cloud Connect (CC) provides Global Connection Bandwidth (GCB) — a bandwidth resource that can be bound to various service instances (cloud connections, central networks, branch networks, global EIPs) to enable cross-region or cross-cloud connectivity.

This skill provides read-only query capabilities for four GCB-related operations:

Operation Description
Show GCB Query a single GCB by ID — response includes bound instance information
List GCBs Paginated list with rich filters (status, charge mode, binding service, instance, type, name, enterprise project)
GCB Tenant Configs Query tenant-level configuration: size ranges, quotas, supported charge modes, supported services, bind limit, SLA levels
Support Binding GCBs List GCBs eligible for binding to a specific service type (CC / GEIP / GCN / GSN), filtered by local/remote area

All operations are query-only (GET). No create, update, or delete operations are performed.

Out of Scope

本 skill 不覆盖以下 GCB 查询能力:

未覆盖能力 对应 API / CLI 命令 说明
标签管理 ListGcbResourceTags, ListGcbTenantTags, BatchCreateGcbResourceTags 等 请使用 hcloud CC ListGcbResourceTags 等
线路级别 ListGlobalConnectionBandwidthLineLevels 请使用 hcloud CC ListGlobalConnectionBandwidthLineLevels
站点 ListGlobalConnectionBandwidthSites 请使用 hcloud CC ListGlobalConnectionBandwidthSites
规格代码 ListGlobalConnectionBandwidthSpecCodes 请使用 hcloud CC ListGlobalConnectionBandwidthSpecCodes
所有写操作 Create/Delete/Update/Associate/Disassociate 等 本 skill 仅提供查询(GET)能力

Prerequisites

  1. hcloud CLI installed and authenticated. See references/cli-installation-guide.md for details.
  2. Huawei Cloud AK/SK configured via environment variables or CLI profile:
    # Set AK/SK via secure prompt — never hardcode secrets in scripts
    read -rsp "Access Key ID: "     HUAWEI_ACCESS_KEY; echo
    read -rsp "Secret Access Key: " HUAWEI_SECRET_KEY; echo
    export HUAWEI_ACCESS_KEY HUAWEI_SECRET_KEY
    export HUAWEI_REGION="cn-north-4"
    
  3. IAM permissions — The caller needs CC ReadOnlyAccess or equivalent. See references/iam-policies.md for least-privilege policy.
  4. Domain ID — All CC GCB APIs require --domain_id (account ID). Obtain it from the console: IAM → My Credentials → Account ID.

Workflow

1. Identify the query type (single GCB / list / tenant configs / support binding)
2. Obtain the domain_id (account ID from IAM → My Credentials)
3. For single query: provide --domain_id and --id (GCB instance ID)
4. For list query: provide --domain_id, optionally add filters
5. For tenant configs: provide --domain_id only
6. For support binding: provide --domain_id and --binding_service (required)
7. Execute the hcloud command and review the output

Core Commands

All commands use the format:

hcloud CC <Operation> --cli-region=<region> --domain_id=<account_id> [additional params]

1. Query a Single Global Connection Bandwidth

Query GCB details by ID. The response includes the GCB's configuration and bound instance information (which cloud connections, central networks, or other service instances are bound to this GCB).

hcloud CC ShowGlobalConnectionBandwidth --cli-region=cn-north-4 --domain_id=<account_id> --id=<gcb_id>
Parameter Required Description
--domain_id Yes Account ID
--id Yes GCB instance ID (32–36 characters)

Key response fields:

Field Meaning
id GCB instance ID
name GCB name
size Bandwidth size (Mbit/s)
type Bandwidth type: TrsArea (跨区), Area (大区), SubArea (区域), Region (城域)
charge_mode Charge mode: bwd (按带宽), 95 (传统95), 95avr (日95)
admin_state Status: NORMAL or FREEZED
binding_service Bound service type: CC, GEIP, GCN, GSN
instances List of bound instances (cloud connections, central networks, etc.)
local_area Local access point
remote_area Remote access point
enterprise_project_id Enterprise project ID

2. List Global Connection Bandwidths

Paginated list with rich filtering options.

hcloud CC ListGlobalConnectionBandwidths --cli-region=cn-north-4 --domain_id=<account_id> \
  [--limit=10] [--marker=<marker>] \
  [--admin_state.1=NORMAL] \
  [--binding_service.1=CC] \
  [--charge_mode.1=bwd] \
  [--id.1=<gcb_id>] \
  [--instance_id.1=<instance_id>] \
  [--instance_type.1=CC] \
  [--name.1=<name>] \
  [--type.1=TrsArea] \
  [--enterprise_project_id.1=<ep_id>]
Parameter Required Description
--domain_id Yes Account ID
--limit No Records per page (1–2000)
--marker No Pagination marker (use with limit)
--admin_state.[N] No Filter by status: `
Полный SKILL.md на ClawHub

Установить huawei-cloud-cc-gcb-query в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл huawei-cloud-cc-gcb-query?

Queries Huawei Cloud Cloud Connect (CC) Global Connection Bandwidth (GCB) resources via hcloud CLI. Covers single GCB detail query (including bound instance info), GCB list query with filters, GCB tenant configuration query (size ranges, quotas, charge modes, supported services), and list of GCBs eligible for binding to a specific service type. No write operations. Use this skill when the user needs to inspect global connection bandwidth details, check GCB-bound instances, review GCB tenant configs and quotas, or find GCBs available for binding. Triggers include: 全域互联带宽, GCB, Global Connection Bandwidth, global-connection-bandwidth, 云连接带宽, CC带宽, bandwidth config, 绑定带宽, support binding bandwidth, gcb-query.

Как установить скилл huawei-cloud-cc-gcb-query?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл huawei-cloud-cc-gcb-query запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить huawei-cloud-cc-gcb-query с