Registry / devops / alibabacloud-cs20151215

alibabacloud-cs20151215

JSON →
library6.7.0pypypi✓ verified 84d ago

Official Alibaba Cloud SDK for managing Container Service for Kubernetes (ACK) clusters. Version 6.6.0, updated frequently. Supports cluster creation, scaling, node management, and credential retrieval.

pip install alibabacloud-cs20151215
INSTALL
IMPORT
SIG · ALIBABACLOUD-CS201
A
alibabacloud-cs20151215
devopspythonv6.7.0
Install
8.5s avg
Import
1567ms
Disk
54MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v6.7.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 1.674s · 53.7MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 8.5s · import 1.460s · 56MB
54MB installed
● package 54MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
from alibabacloud_cs20151215.client import Client
from alibabacloud_cs20151215 import Client
Client class is in the client submodule, not top-level
CreateClusterRequest
from alibabacloud_cs20151215.models import CreateClusterRequest
from alibabacloud_cs20151215 import CreateClusterRequest
Models are nested in the models submodule
models
from alibabacloud_cs20151215 import models
Top-level models import works but submodule import is safer for type hinting

Initialize client and list clusters. Replace region_id and set env vars ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET.

import os from alibabacloud_cs20151215.client import Client from alibabacloud_cs20151215 import models from alibabacloud_tea_openapi import models as open_api_models # Configure credentials (use environment variables for security) config = open_api_models.Config( access_key_id=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_ID'), access_key_secret=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_SECRET'), region_id='cn-hangzhou' ) client = Client(config) # Describe clusters (list) req = models.DescribeClustersV1Request() resp = client.describe_clusters_v1(req) print(resp.body.clusters)
Debug
Known issues
breakingVersion 6.x uses a new client initialization pattern. Old pattern with AccessKeyId parameter directly is removed.
fix
Use alibabacloud_tea_openapi.models.Config to create config object.
affects: >=6.0.0
deprecatedMethod 'describe_cluster_detail' is deprecated in favor of 'describe_cluster_v2'.
fix
Use client.describe_cluster_v2(request) instead.
affects: >=6.0.0
gotchaRegion ID must be set in the Config object; omitting it causes region-related 400 errors.
fix
Always set region_id in the config, even for global services.
affects: all
gotchaCluster creation requests (CreateClusterRequest) have many required nested fields; missing sub-fields cause unclear validation errors.
fix
Use the SDK's builder or thoroughly populate all required nested model attributes.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'alibabacloud_cs20151215'
Package not installed or incorrect environment.
fix
Run: pip install alibabacloud-cs20151215
AttributeError: module 'alibabacloud_cs20151215' has no attribute 'Client'
Importing from wrong module; Client is in .client submodule.
fix
Use: from alibabacloud_cs20151215.client import Client
UnboundRequiredParameterError: Required parameter 'name' is not bound
Missing required field in a request model (e.g., CreateClusterRequest).
fix
Ensure all required fields are set on the model instance before passing to client.
Upgrade
Version history
6.7.0latest on PyPI · released Jun 11, 2026
Audit
Dependencies
alibabacloud_credentialsoptionalRequired for credential configuration (AK/SK, STS, etc.)
alibabacloud_tea_openapirequiredCore OpenAPI client infrastructure
Agent activity
36 hits · last 30 days
node
28
Perplexity
1
OpenAI (training)
1
Resources