# Kingsoft Cloud (金山云) provider — read-only stub, historical data only. # # Per product decision (2026-04-23): PingCAP no longer runs anything # on 金山云 — the only rows under this tenant are the 541 servers + # 13 load-balancers migrated from the legacy CMDB (``vendor_id=1``). # There is deliberately no live API client: any write attempt raises # ``CapabilityNotSupported`` to keep accidental syncs from wiping # or double-counting the archived rows. from app.domains.cmdb.providers.base import ( CloudProvider, ProviderCapability, register_provider, ) @register_provider class KSYunProvider(CloudProvider): @classmethod def provider_type(cls) -> str: return "ksyun" @classmethod def supported_capabilities(cls) -> frozenset[ProviderCapability]: return frozenset()