{"id":23230,"library":"alibabacloud-cs20151215","title":"Alibaba Cloud Container Service for Kubernetes (ACK) SDK","description":"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.","status":"active","version":"6.6.0","language":"python","source_language":"en","source_url":"https://github.com/aliyun/alibabacloud-python-sdk","tags":["alibaba-cloud","containers","kubernetes","ack","sdk"],"install":[{"cmd":"pip install alibabacloud-cs20151215","lang":"bash","label":"default"}],"dependencies":[{"reason":"Required for credential configuration (AK/SK, STS, etc.)","package":"alibabacloud_credentials","optional":true},{"reason":"Core OpenAPI client infrastructure","package":"alibabacloud_tea_openapi","optional":false}],"imports":[{"note":"Client class is in the client submodule, not top-level","wrong":"from alibabacloud_cs20151215 import Client","symbol":"Client","correct":"from alibabacloud_cs20151215.client import Client"},{"note":"Models are nested in the models submodule","wrong":"from alibabacloud_cs20151215 import CreateClusterRequest","symbol":"CreateClusterRequest","correct":"from alibabacloud_cs20151215.models import CreateClusterRequest"},{"note":"Top-level models import works but submodule import is safer for type hinting","wrong":null,"symbol":"models","correct":"from alibabacloud_cs20151215 import models"}],"quickstart":{"code":"import os\nfrom alibabacloud_cs20151215.client import Client\nfrom alibabacloud_cs20151215 import models\nfrom alibabacloud_tea_openapi import models as open_api_models\n\n# Configure credentials (use environment variables for security)\nconfig = open_api_models.Config(\n    access_key_id=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_ID'),\n    access_key_secret=os.environ.get('ALIBABA_CLOUD_ACCESS_KEY_SECRET'),\n    region_id='cn-hangzhou'\n)\nclient = Client(config)\n\n# Describe clusters (list)\nreq = models.DescribeClustersV1Request()\nresp = client.describe_clusters_v1(req)\nprint(resp.body.clusters)","lang":"python","description":"Initialize client and list clusters. Replace region_id and set env vars ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET."},"warnings":[{"fix":"Use alibabacloud_tea_openapi.models.Config to create config object.","message":"Version 6.x uses a new client initialization pattern. Old pattern with AccessKeyId parameter directly is removed.","severity":"breaking","affected_versions":">=6.0.0"},{"fix":"Use client.describe_cluster_v2(request) instead.","message":"Method 'describe_cluster_detail' is deprecated in favor of 'describe_cluster_v2'.","severity":"deprecated","affected_versions":">=6.0.0"},{"fix":"Always set region_id in the config, even for global services.","message":"Region ID must be set in the Config object; omitting it causes region-related 400 errors.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the SDK's builder or thoroughly populate all required nested model attributes.","message":"Cluster creation requests (CreateClusterRequest) have many required nested fields; missing sub-fields cause unclear validation errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run: pip install alibabacloud-cs20151215","cause":"Package not installed or incorrect environment.","error":"ModuleNotFoundError: No module named 'alibabacloud_cs20151215'"},{"fix":"Use: from alibabacloud_cs20151215.client import Client","cause":"Importing from wrong module; Client is in .client submodule.","error":"AttributeError: module 'alibabacloud_cs20151215' has no attribute 'Client'"},{"fix":"Ensure all required fields are set on the model instance before passing to client.","cause":"Missing required field in a request model (e.g., CreateClusterRequest).","error":"UnboundRequiredParameterError: Required parameter 'name' is not bound"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}