Command Palette

Search for a command to run...

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

huawei-cloud-cc-instance-query

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

Queries Huawei Cloud Cloud Connect (CC) resources via hcloud CLI. Covers cloud connection instances (single + list), bandwidth packages (single + list)…

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

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

Overview

Huawei Cloud Cloud Connect (CC) is a service that enables cross-region and cross-cloud network connectivity. This skill provides read-only query capabilities for seven core CC resource types:

Resource Type Description
Cloud Connection The top-level container that links VPCs across regions or clouds
Bandwidth Package Purchased bandwidth resource bound to a cloud connection
Inter-Region Bandwidth Bandwidth allocated between two specific regions within a bandwidth package
Network Instance A VPC or VPC subnet attached to a cloud connection
Cloud Connection Route Routing entries that direct traffic through the cloud connection
Authorisation (granted) Cross-account authorisations this account has granted to others — "which of my network instances did I authorise other accounts to load?"
Permission (received) Cross-account authorisations other accounts have granted to this account — "which foreign network instances can I load into my cloud connections?"

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

Out of Scope

This skill does not cover the following CC resource types and operations. If the user asks about these, inform them clearly and suggest the corresponding hcloud CLI command.

Out-of-Scope Resource / Operation Suggested Command
Central Network(中心网络) hcloud CC ListCentralNetworks / hcloud CC ShowCentralNetwork
Global Connection Bandwidth(全局互联带宽/GCB) hcloud CC ListGlobalConnectionBandwidths / hcloud CC ShowGlobalConnectionBandwidth
Site Network(站点网络) hcloud CC ListSiteNetworks / hcloud CC ShowSiteNetwork
Tag management(标签管理: Tag/Untag/ListTags) hcloud CC ListTags / hcloud CC ListCloudConnectionTags
All write operations(Create/Update/Delete/Apply/Associate/Disassociate) Not supported — this skill is read-only

Prerequisites

  1. hcloud CLI installed and authenticated. See references/cli-installation-guide.md for details.
  2. Huawei Cloud AK/SK configured via hcloud configure (interactive, recommended) or environment variables:
    # Recommended: interactive configuration
    hcloud configure
    # Or set env vars: HUAWEI_ACCESS_KEY, HUAWEI_SECRET_KEY, HUAWEI_REGION
    
  3. IAM permissions — The caller needs CC ReadOnlyAccess or equivalent. See references/iam-policies.md for least-privilege policy.
  4. Domain ID — All CC APIs require --domain_id (account ID). Obtain it from the console: IAM → My Credentials → Account ID.

Workflow

1. Identify the resource type to query (cloud connection / bandwidth package / inter-region bandwidth / network instance / route / authorisation / permission)
2. Determine whether a single instance or a list is needed
3. For single queries: provide --domain_id and --id
4. For list queries: provide --domain_id, optionally add filters (--limit, --marker, --status, --name, etc.)
5. Execute the hcloud command and review the output
6. **domain_id validation**: If `--domain_id` is not explicitly provided, the CLI will silently use the default domain_id from the auth config (not an error). Always recommend the user specify `--domain_id` explicitly to avoid querying the wrong account.

Core Commands

All commands use the format:

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

1. Cloud Connection Instances

Query a single cloud connection:

hcloud CC ShowCloudConnection --cli-region=cn-north-4 --domain_id=<account_id> --id=<cloud_connection_id>

List cloud connections:

hcloud CC ListCloudConnections --cli-region=cn-north-4 --domain_id=<account_id> [--limit=10] [--marker=<marker>] [--status.1=ACTIVE] [--name.1=<name>]
Parameter Required Description
--domain_id Yes Account ID
--id Yes (Show) Cloud connection instance ID
--limit No Records per page (1–2000)
--marker No Pagination marker (use with limit)
--status.[N] No Filter by status (e.g., ACTIVE)
--name.[N] No Filter by resource name
--id.[N] No Filter by resource ID (list only)
--enterprise_project_id.[N] No Filter by enterprise project ID

2. Bandwidth Package Instances

Query a single bandwidth package:

hcloud CC ShowBandwidthPackage --cli-region=cn-north-4 --domain_id=<account_id> --id=<bandwidth_package_id>

List bandwidth packages:

hcloud CC ListBandwidthPackages --cli-region=cn-north-4 --domain_id=<account_id> [--limit=10] [--status.1=ACTIVE] [--cloud_connection_id.1=<cc_id>]
Parameter Required Description
--domain_id Yes Account ID
--id Yes (Show) Bandwidth package instance ID
--limit No Records per page
Полный SKILL.md на ClawHub

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

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

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

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

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

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

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

FAQ

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

Queries Huawei Cloud Cloud Connect (CC) resources via hcloud CLI. Covers cloud connection instances (single + list), bandwidth packages (single + list), inter-region bandwidths (single + list), network instances (single + list), cloud connection routes (single + list), and cross-account authorisations (granted + received). No write operations. Use this skill when the user needs to inspect cross-cloud connectivity topology, check bandwidth package status, review inter-region bandwidth allocation, query network instances attached to a cloud connection, troubleshoot routing in Cloud Connect, or audit cross-account authorisation relationships (who authorised whom). Triggers: 云连接, CC, Cloud Connect, 带宽包, bandwidth package, 域间带宽, inter-region bandwidth, 网络实例, network instance, 路由查询, cloud connection route, 跨云网络, cross-cloud connectivity, 授权, authorisation, 被授权, permission, 跨账号, cross-account.

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

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

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

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

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

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