tccli 3.0.1099.1__py2.py3-none-any.whl → 3.0.1100.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
  3. tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
  4. tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
  5. tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
  6. tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
  7. tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
  8. tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
  9. tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
  10. tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
  11. tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
  12. tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
  13. tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
  14. tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
  15. tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
  16. tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
  17. tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
  18. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
  19. tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
  20. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
  21. tccli/examples/teo/v20220901/CreatePlan.md +47 -0
  22. tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
  23. tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
  24. tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
  25. tccli/examples/teo/v20220901/RenewPlan.md +23 -0
  26. tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
  27. tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
  28. tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
  29. tccli/examples/tke/v20180525/CreateCluster.md +58 -142
  30. tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
  31. tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
  32. tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
  33. tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
  34. tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
  35. tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
  36. tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
  37. tccli/services/aiart/v20221229/api.json +5 -5
  38. tccli/services/cls/cls_client.py +337 -72
  39. tccli/services/cls/v20201016/api.json +433 -22
  40. tccli/services/cls/v20201016/examples.json +44 -4
  41. tccli/services/dlc/v20210125/api.json +14 -4
  42. tccli/services/dlc/v20210125/examples.json +1 -1
  43. tccli/services/domain/domain_client.py +53 -0
  44. tccli/services/domain/v20180808/api.json +62 -0
  45. tccli/services/domain/v20180808/examples.json +8 -0
  46. tccli/services/dts/v20211206/api.json +1 -1
  47. tccli/services/ess/ess_client.py +57 -4
  48. tccli/services/ess/v20201111/api.json +88 -0
  49. tccli/services/ess/v20201111/examples.json +8 -0
  50. tccli/services/essbasic/v20210526/api.json +1 -1
  51. tccli/services/hunyuan/v20230901/api.json +10 -10
  52. tccli/services/hunyuan/v20230901/examples.json +26 -2
  53. tccli/services/ims/v20201229/api.json +2 -1
  54. tccli/services/iotvideo/v20211125/api.json +15 -0
  55. tccli/services/lke/lke_client.py +114 -8
  56. tccli/services/lke/v20231130/api.json +492 -0
  57. tccli/services/lke/v20231130/examples.json +18 -2
  58. tccli/services/ocr/ocr_client.py +53 -0
  59. tccli/services/ocr/v20181119/api.json +156 -0
  60. tccli/services/ocr/v20181119/examples.json +8 -0
  61. tccli/services/rce/v20201103/api.json +9 -9
  62. tccli/services/rum/v20210622/api.json +35 -33
  63. tccli/services/rum/v20210622/examples.json +7 -7
  64. tccli/services/tdmq/v20200217/api.json +6 -6
  65. tccli/services/teo/teo_client.py +338 -20
  66. tccli/services/teo/v20220901/api.json +375 -1
  67. tccli/services/teo/v20220901/examples.json +60 -0
  68. tccli/services/tione/v20191022/api.json +6 -7
  69. tccli/services/tione/v20191022/examples.json +1 -1
  70. tccli/services/tione/v20211111/api.json +2 -0
  71. tccli/services/tke/v20180525/api.json +77 -93
  72. tccli/services/tke/v20180525/examples.json +7 -7
  73. tccli/services/tms/tms_client.py +53 -0
  74. tccli/services/tms/v20201229/api.json +44 -0
  75. tccli/services/tms/v20201229/examples.json +8 -0
  76. tccli/services/tse/v20201207/api.json +49 -1
  77. tccli/services/vpc/v20170312/api.json +3 -0
  78. tccli/services/vpc/v20170312/examples.json +3 -3
  79. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/METADATA +2 -2
  80. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/RECORD +83 -68
  81. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/WHEEL +0 -0
  82. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/entry_points.txt +0 -0
  83. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,47 @@
1
+ **Example 1: 创建个人版计费套餐**
2
+
3
+ 创建个人版计费套餐,套餐时长 1 个月,且设置不自动续费。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo CreatePlan --cli-unfold-argument \
9
+ --PlanType personal \
10
+ --PrepaidPlanParam.Period 1 \
11
+ --PrepaidPlanParam.RenewFlag off \
12
+ --AutoUseVoucher false
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461",
20
+ "PlanId": "edgeone-2unuvzjmmn2q",
21
+ "DealName": "20240312347001004723731"
22
+ }
23
+ }
24
+ ```
25
+
26
+ **Example 2: 创建企业版套餐**
27
+
28
+ 创建企业版套餐。
29
+
30
+ Input:
31
+
32
+ ```
33
+ tccli teo CreatePlan --cli-unfold-argument \
34
+ --PlanType enterprise
35
+ ```
36
+
37
+ Output:
38
+ ```
39
+ {
40
+ "Response": {
41
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461",
42
+ "PlanId": "edgeone-2unuvzjmmn2q",
43
+ "DealName": "20240312347001004723731"
44
+ }
45
+ }
46
+ ```
47
+
@@ -0,0 +1,20 @@
1
+ **Example 1: 销毁计费套餐**
2
+
3
+ 销毁计费套餐 edgeone-2wdo315m2y4c。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo DestroyPlan --cli-unfold-argument \
9
+ --PlanId edgeone-2wdo315m2y4c
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
17
+ }
18
+ }
19
+ ```
20
+
@@ -0,0 +1,46 @@
1
+ **Example 1: 为套餐增购站点数配额**
2
+
3
+ 为套餐 edgeone-2unuvzjmmn2q 增购 10 个站点数配额。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo IncreasePlanQuota --cli-unfold-argument \
9
+ --PlanId edgeone-2unuvzjmmn2q \
10
+ --QuotaType site \
11
+ --QuotaNumber 10
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "DealName": "20240312347001004723731",
19
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
20
+ }
21
+ }
22
+ ```
23
+
24
+ **Example 2: 为套餐增购自定义规则配额**
25
+
26
+ 为套餐 edgeone-2unuvzjmmn2q 增购 10 个 Web 防护 - 自定义规则 - 精准匹配策略的规则配额。
27
+
28
+ Input:
29
+
30
+ ```
31
+ tccli teo IncreasePlanQuota --cli-unfold-argument \
32
+ --PlanId edgeone-2unuvzjmmn2q \
33
+ --QuotaType precise_access_control_rule \
34
+ --QuotaNumber 10
35
+ ```
36
+
37
+ Output:
38
+ ```
39
+ {
40
+ "Response": {
41
+ "DealName": "20240312347001004723731",
42
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
43
+ }
44
+ }
45
+ ```
46
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 修改预付费套餐自动续费标签**
2
+
3
+ 开启预付费套餐 edgeone-2unuvzjmmn2q 的自动续费功能。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo ModifyPlan --cli-unfold-argument \
9
+ --PlanId edgeone-2unuvzjmmn2q \
10
+ --RenewFlag.Switch on
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 续费套餐三个月**
2
+
3
+ 续费套餐 edgeone-2unuvzjmmn2q 时长 3 个月,且不自动使用代金券。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo RenewPlan --cli-unfold-argument \
9
+ --PlanId edgeone-2unuvzjmmn2q \
10
+ --Period 3 \
11
+ --AutoUseVoucher false
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "DealName": "20240312347001004723731",
19
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 将预付费套餐升级至标准版**
2
+
3
+ 将预付费套餐 edgeone-2unuvzjmmn2q 升级至标准版,且不使用代金券。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli teo UpgradePlan --cli-unfold-argument \
9
+ --PlanId edgeone-2unuvzjmmn2q \
10
+ --PlanType standard \
11
+ --AutoUseVoucher false
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "DealName": "20240312347001004723731",
19
+ "RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
20
+ }
21
+ }
22
+ ```
23
+
@@ -1,4 +1,4 @@
1
- **Example 1: 更新存储库秘钥**
1
+ **Example 1: 更新存储库密钥**
2
2
 
3
3
 
4
4
 
@@ -18,25 +18,33 @@ Output:
18
18
  "LatestVersion": "1.22.5",
19
19
  "Total": 3,
20
20
  "RequestId": "123",
21
- "UnavailableVersionReason": {
22
- "InstanceId": "ins-mq0fqbso",
23
- "Reason": "instance already the master latest version"
24
- },
21
+ "UnavailableVersionReason": [
22
+ {
23
+ "InstanceId": "ins-mq0fqbso",
24
+ "Reason": "instance already the master latest version"
25
+ }
26
+ ],
25
27
  "UpgradeAbleInstances": [
26
28
  {
27
29
  "InstanceId": "ins-q40fqbso",
28
30
  "LatestVersion": "1.22.5",
29
- "Version": "1.20.6"
31
+ "Version": "1.20.6",
32
+ "RuntimeVersion": "docker-18.9",
33
+ "RuntimeLatestVersion": "docker-18.9"
30
34
  },
31
35
  {
32
36
  "InstanceId": "ins-hvldgo6w",
33
37
  "LatestVersion": "1.22.5",
34
- "Version": "1.20.6"
38
+ "Version": "1.20.6",
39
+ "RuntimeVersion": "docker-18.9",
40
+ "RuntimeLatestVersion": "docker-18.9"
35
41
  },
36
42
  {
37
43
  "InstanceId": "ins-hrtaxazg",
38
44
  "LatestVersion": "1.22.5",
39
- "Version": "1.20.6"
45
+ "Version": "1.20.6",
46
+ "RuntimeVersion": "docker-18.9",
47
+ "RuntimeLatestVersion": "docker-18.9"
40
48
  }
41
49
  ]
42
50
  }
@@ -6,151 +6,67 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli tke CreateCluster --cli-unfold-argument \
9
- --ClusterCIDRSettings.ServiceCIDR xyz \
10
- --ClusterCIDRSettings.ClaimExpiredSeconds 0 \
11
- --ClusterCIDRSettings.MaxClusterServiceNum 1 \
12
- --ClusterCIDRSettings.MaxNodePodNum 1 \
13
- --ClusterCIDRSettings.EniSubnetIds subnet-abcdef \
14
- --ClusterCIDRSettings.ClusterCIDR xyz \
15
- --ClusterCIDRSettings.IgnoreServiceCIDRConflict True \
16
- --ClusterCIDRSettings.IgnoreClusterCIDRConflict True \
17
- --ClusterAdvancedSettings.AuditEnabled True \
18
- --ClusterAdvancedSettings.DeletionProtection True \
19
- --ClusterAdvancedSettings.RuntimeVersion xyz \
20
- --ClusterAdvancedSettings.IsDualStack True \
21
- --ClusterAdvancedSettings.IsNonStaticIpMode True \
22
- --ClusterAdvancedSettings.KubeProxyMode xyz \
23
- --ClusterAdvancedSettings.AuditLogTopicId xyz \
24
- --ClusterAdvancedSettings.ExtraArgs.KubeAPIServer xyz \
25
- --ClusterAdvancedSettings.ExtraArgs.KubeScheduler xyz \
26
- --ClusterAdvancedSettings.ExtraArgs.KubeControllerManager xyz \
27
- --ClusterAdvancedSettings.ExtraArgs.Etcd xyz \
28
- --ClusterAdvancedSettings.AuditLogsetId xyz \
29
- --ClusterAdvancedSettings.EnableCustomizedPodCIDR True \
30
- --ClusterAdvancedSettings.CiliumMode xyz \
31
- --ClusterAdvancedSettings.AsEnabled True \
32
- --ClusterAdvancedSettings.ContainerRuntime xyz \
33
- --ClusterAdvancedSettings.VpcCniType xyz \
34
- --ClusterAdvancedSettings.NetworkType xyz \
35
- --ClusterAdvancedSettings.NodeNameType xyz \
36
- --ClusterAdvancedSettings.IPVS True \
37
- --ClusterAdvancedSettings.BasePodNumber 0 \
38
- --ClusterBasicSettings.AutoUpgradeClusterLevel.IsAutoUpgrade True \
39
- --ClusterBasicSettings.VpcId xyz \
40
- --ClusterBasicSettings.ClusterVersion xyz \
41
- --ClusterBasicSettings.TagSpecification.0.ResourceType xyz \
42
- --ClusterBasicSettings.TagSpecification.0.Tags.0.Value xyz \
43
- --ClusterBasicSettings.TagSpecification.0.Tags.0.Key xyz \
44
- --ClusterBasicSettings.ClusterName xyz \
9
+ --ClusterType MANAGED_CLUSTER \
10
+ --ClusterBasicSettings.ClusterOs centos8.0x86_64 \
11
+ --ClusterBasicSettings.OsCustomizeType GENERAL \
12
+ --ClusterBasicSettings.ClusterVersion 1.26.1 \
13
+ --ClusterBasicSettings.ClusterName test \
14
+ --ClusterBasicSettings.ClusterDescription 测试集群 \
15
+ --ClusterBasicSettings.VpcId vpc-135qxjgs \
45
16
  --ClusterBasicSettings.ProjectId 0 \
46
- --ClusterBasicSettings.ClusterDescription xyz \
47
- --ClusterBasicSettings.NeedWorkSecurityGroup True \
48
- --ClusterBasicSettings.SubnetId xyz \
49
- --ClusterBasicSettings.OsCustomizeType xyz \
50
- --ClusterBasicSettings.ClusterLevel xyz \
51
- --ClusterBasicSettings.ClusterOs xyz \
52
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.PreStartUserScript xyz \
53
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DockerGraphPath xyz \
54
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Labels.0.Name xyz \
55
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Labels.0.Value xyz \
56
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.ExtraArgs.Kubelet xyz \
57
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Taints.0.Value xyz \
58
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Taints.0.Key xyz \
59
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Taints.0.Effect xyz \
60
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Unschedulable 0 \
61
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.UserScript xyz \
62
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DesiredPodNumber 0 \
63
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.MIGEnable True \
64
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CustomDriver.Address xyz \
65
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.Driver.Version xyz \
66
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.Driver.Name xyz \
67
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDA.Version xyz \
68
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDA.Name xyz \
69
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.DocName xyz \
70
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.Version xyz \
71
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.Name xyz \
72
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.DevName xyz \
73
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.MountTarget xyz \
74
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.DiskPartition xyz \
75
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.DiskType xyz \
76
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.DiskSize 0 \
77
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.FileSystem xyz \
78
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.AutoFormatAndMount True \
79
- --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DataDisks.0.MountTarget xyz \
80
- --RunInstancesForNode.0.NodeRole xyz \
81
- --RunInstancesForNode.0.RunInstancesPara {"VirtualPrivateCloud":{"SubnetId":"subnet-xyzx","VpcId":"vpc-xyzx"},"Placement":{"Zone":"ap-region-1","ProjectId":1032509},"InstanceType":"S3.LARGE8","SystemDisk":{"DiskType":"CLOUD_PREMIUM"},"DataDisks":[{"DiskType":"CLOUD_PREMIUM","DiskSize":50}],"InstanceCount":1,"InternetAccessible":{"PublicIpAssigned":true,"InternetMaxBandwidthOut":1},"LoginSettings":{"Password":"YourPassword"},"UserData":"IyEvYmluL3NoCgplY2hvIGFhYQo="} \
82
- --ExtensionAddons.0.AddonName xyz \
83
- --ExtensionAddons.0.AddonParam xyz \
84
- --ClusterType xyz \
85
- --InstanceAdvancedSettings.PreStartUserScript xyz \
86
- --InstanceAdvancedSettings.DockerGraphPath xyz \
87
- --InstanceAdvancedSettings.Labels.0.Name xyz \
88
- --InstanceAdvancedSettings.Labels.0.Value xyz \
89
- --InstanceAdvancedSettings.ExtraArgs.Kubelet xyz \
90
- --InstanceAdvancedSettings.Taints.0.Value xyz \
91
- --InstanceAdvancedSettings.Taints.0.Key xyz \
92
- --InstanceAdvancedSettings.Taints.0.Effect xyz \
17
+ --ClusterBasicSettings.NeedWorkSecurityGroup False \
18
+ --ClusterBasicSettings.TagSpecification.0.ResourceType cluster \
19
+ --ClusterBasicSettings.TagSpecification.0.Tags.0.Key aa \
20
+ --ClusterBasicSettings.TagSpecification.0.Tags.0.Value cc \
21
+ --ClusterBasicSettings.ClusterLevel L5 \
22
+ --ClusterBasicSettings.AutoUpgradeClusterLevel.IsAutoUpgrade True \
23
+ --ClusterCIDRSettings.ClusterCIDR 172.24.0.0/16 \
24
+ --ClusterCIDRSettings.IgnoreClusterCIDRConflict False \
25
+ --ClusterCIDRSettings.MaxNodePodNum 64 \
26
+ --ClusterCIDRSettings.MaxClusterServiceNum 1024 \
27
+ --ClusterAdvancedSettings.AsEnabled False \
28
+ --ClusterAdvancedSettings.IPVS True \
29
+ --ClusterAdvancedSettings.ContainerRuntime containerd \
30
+ --ClusterAdvancedSettings.RuntimeVersion 1.6.9 \
31
+ --ClusterAdvancedSettings.NodeNameType lan-ip \
32
+ --ClusterAdvancedSettings.NetworkType GR \
33
+ --ClusterAdvancedSettings.DeletionProtection True \
34
+ --ClusterAdvancedSettings.AuditEnabled True \
35
+ --ClusterAdvancedSettings.AuditLogsetId \
36
+ --ClusterAdvancedSettings.AuditLogTopicId \
37
+ --ClusterAdvancedSettings.EnableCustomizedPodCIDR False \
38
+ --ClusterAdvancedSettings.IsDualStack False \
39
+ --ClusterAdvancedSettings.QGPUShareEnable True \
40
+ --InstanceAdvancedSettings.DockerGraphPath /var/lib/containerd \
93
41
  --InstanceAdvancedSettings.Unschedulable 0 \
94
- --InstanceAdvancedSettings.UserScript xyz \
42
+ --InstanceAdvancedSettings.PreStartUserScript \
43
+ --InstanceAdvancedSettings.UserScript \
95
44
  --InstanceAdvancedSettings.DesiredPodNumber 0 \
96
- --InstanceAdvancedSettings.GPUArgs.MIGEnable True \
97
- --InstanceAdvancedSettings.GPUArgs.CustomDriver.Address xyz \
98
- --InstanceAdvancedSettings.GPUArgs.Driver.Version xyz \
99
- --InstanceAdvancedSettings.GPUArgs.Driver.Name xyz \
100
- --InstanceAdvancedSettings.GPUArgs.CUDNN.DocName xyz \
101
- --InstanceAdvancedSettings.GPUArgs.CUDNN.Version xyz \
102
- --InstanceAdvancedSettings.GPUArgs.CUDNN.Name xyz \
103
- --InstanceAdvancedSettings.GPUArgs.CUDNN.DevName xyz \
104
- --InstanceAdvancedSettings.MountTarget xyz \
105
- --InstanceAdvancedSettings.DataDisks.0.DiskPartition xyz \
106
- --InstanceAdvancedSettings.DataDisks.0.DiskType xyz \
107
- --InstanceAdvancedSettings.DataDisks.0.DiskSize 0 \
108
- --InstanceAdvancedSettings.DataDisks.0.FileSystem xyz \
109
- --InstanceAdvancedSettings.DataDisks.0.AutoFormatAndMount True \
110
- --InstanceAdvancedSettings.DataDisks.0.MountTarget xyz \
111
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.PreStartUserScript xyz \
112
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DockerGraphPath xyz \
113
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Labels.0.Name xyz \
114
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Labels.0.Value xyz \
115
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.ExtraArgs.Kubelet xyz \
116
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Taints.0.Value xyz \
117
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Taints.0.Key xyz \
118
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Taints.0.Effect xyz \
119
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.Unschedulable 0 \
120
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.UserScript xyz \
121
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DesiredPodNumber 0 \
122
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.MIGEnable True \
123
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.CustomDriver.Address xyz \
124
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.CUDNN.DocName xyz \
125
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.CUDNN.Version xyz \
126
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.CUDNN.Name xyz \
127
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.GPUArgs.CUDNN.DevName xyz \
128
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.MountTarget xyz \
129
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.DiskPartition xyz \
130
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.DiskType xyz \
131
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.DiskSize 0 \
132
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.FileSystem xyz \
133
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.AutoFormatAndMount True \
134
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceAdvancedSettings.DataDisks.0.MountTarget xyz \
135
- --ExistedInstancesForNode.0.ExistedInstancesPara.HostName xyz \
136
- --ExistedInstancesForNode.0.ExistedInstancesPara.LoginSettings.Password xyz \
137
- --ExistedInstancesForNode.0.ExistedInstancesPara.LoginSettings.KeepImageLogin xyz \
138
- --ExistedInstancesForNode.0.ExistedInstancesPara.LoginSettings.KeyIds xyz \
139
- --ExistedInstancesForNode.0.ExistedInstancesPara.SecurityGroupIds xyz \
140
- --ExistedInstancesForNode.0.ExistedInstancesPara.EnhancedService.SecurityService.Enabled True \
141
- --ExistedInstancesForNode.0.ExistedInstancesPara.EnhancedService.MonitorService.Enabled True \
142
- --ExistedInstancesForNode.0.ExistedInstancesPara.EnhancedService.AutomationService.Enabled True \
143
- --ExistedInstancesForNode.0.ExistedInstancesPara.InstanceIds xyz \
144
- --ExistedInstancesForNode.0.DesiredPodNumbers 0 \
145
- --ExistedInstancesForNode.0.NodeRole xyz \
146
- --InstanceDataDiskMountSettings.0.InstanceType xyz \
147
- --InstanceDataDiskMountSettings.0.Zone xyz \
148
- --InstanceDataDiskMountSettings.0.DataDisks.0.DiskPartition xyz \
149
- --InstanceDataDiskMountSettings.0.DataDisks.0.DiskType xyz \
150
- --InstanceDataDiskMountSettings.0.DataDisks.0.DiskSize 0 \
151
- --InstanceDataDiskMountSettings.0.DataDisks.0.FileSystem xyz \
152
- --InstanceDataDiskMountSettings.0.DataDisks.0.AutoFormatAndMount True \
153
- --InstanceDataDiskMountSettings.0.DataDisks.0.MountTarget xyz
45
+ --ExtensionAddons.0.AddonName CBS \
46
+ --ExtensionAddons.0.AddonParam {"kind":"App","spec":{"chart":{"chartName":"cbs","chartVersion":"1.1.3"},"values":{"values":[],"rawValues":"e30=","rawValuesType":"json"}}} \
47
+ --ExtensionAddons.1.AddonName APP \
48
+ --ExtensionAddons.1.AddonParam {"kind":"App","spec":{"chart":{"chartName":"user-group-access-control","chartVersion":"1.0.0"}}} \
49
+ --ExtensionAddons.2.AddonName QGPU \
50
+ --ExtensionAddons.2.AddonParam {"kind":"App","spec":{"chart":{"chartName":"qgpu","chartVersion":"1.0.19"},"values":{"values":["config.priority=binpack","config.nodepriority=spread","config.rootdir=/var/lib/kubelet"]}}} \
51
+ --ExtensionAddons.3.AddonName KMS \
52
+ --ExtensionAddons.3.AddonParam {"kind":"App","spec":{"chart":{"chartName":"tke-kms-plugin","chartVersion":"1.0.0"},"name":"tke-kms-plugin","values":{"values":["keyId=7d90e454-8458-11ee-b601-525400741137","region=ap-guangzhou","resource=secrets"]}}} \
53
+ --RunInstancesForNode.0.NodeRole WORKER \
54
+ --RunInstancesForNode.0.RunInstancesPara {"Version":"2017-03-12","InstanceChargeType":"POSTPAID_BY_HOUR","Placement":{"Zone":"ap-shanghai-1","ProjectId":0},"TagSpecification":[{"ResourceType":"instance","Tags":[{"Key":"aa","Value":"cc"}]}],"InstanceType":"S2.MEDIUM2","ImageId":"img-25szkc8t","SystemDisk":{"DiskType":"CLOUD_BSSD","DiskSize":50},"VirtualPrivateCloud":{"VpcId":"vpc-135qxjgs","SubnetId":"subnet-rtp4p7q3","Ipv6AddressCount":0},"InternetAccessible":{"InternetChargeType":"TRAFFIC_POSTPAID_BY_HOUR","InternetMaxBandwidthOut":1,"PublicIpAssigned":true},"InstanceCount":1,"InstanceName":"","LoginSettings":{"KeyIds":["skey-4h43fuxj"]},"SecurityGroupIds":["sg-hjsb4ai4"],"EnhancedService":{"SecurityService":{"Enabled":true},"MonitorService":{"Enabled":true}},"PurchaseSource":"docker_dashboard","UserData":""} \
55
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.MountTarget \
56
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DockerGraphPath /var/lib/containerd \
57
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.Unschedulable 0 \
58
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.PreStartUserScript \
59
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.UserScript \
60
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.DesiredPodNumber 0 \
61
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.MIGEnable False \
62
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.Driver.Version \
63
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.Driver.Name \
64
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDA.Version \
65
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDA.Name \
66
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.Version \
67
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.Name \
68
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.DocName \
69
+ --RunInstancesForNode.0.InstanceAdvancedSettingsOverrides.0.GPUArgs.CUDNN.DevName
154
70
  ```
155
71
 
156
72
  Output:
@@ -48,6 +48,7 @@ Output:
48
48
  },
49
49
  "ImageId": "",
50
50
  "Labels": [],
51
+ "Annotations": [],
51
52
  "LaunchConfigurationId": "asc-xxx",
52
53
  "LifeState": "normal",
53
54
  "MaxNodesNum": 3,
@@ -13,26 +13,27 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "ClusterStatus": {
17
- "PodTotal": 0,
18
- "NotReadyPod": 0
19
- },
16
+ "Total": 0,
20
17
  "Done": 0,
18
+ "LifeState": "abc",
21
19
  "Instances": [
22
20
  {
21
+ "InstanceID": "ins-wggphft5",
22
+ "LifeState": "paused",
23
+ "StartAt": "2021-02-08T16:29:46+08:00",
24
+ "EndAt": "2021-02-08T16:39:46+08:00",
23
25
  "CheckResult": {
24
26
  "CheckPass": false,
25
27
  "Items": [
26
28
  {
27
- "After": 0,
28
- "Before": 2,
29
29
  "Namespace": "default",
30
- "Pods": [
31
- "kubernetes-proxy-67fd23cf4d-2tcxw",
32
- "kubernetes-proxy-67fd23cf4d-qd99j"
33
- ],
34
30
  "WorkLoadKind": "ReplicaSet",
35
- "WorkLoadName": "kubernetes-proxy-67fd23cf4d"
31
+ "WorkLoadName": "kubernetes-proxy-67fd23cf4d",
32
+ "Before": 1,
33
+ "After": 0,
34
+ "Pods": [
35
+ "kubernetes-proxy-67fd23cf4d-2tcxw"
36
+ ]
36
37
  }
37
38
  ],
38
39
  "SinglePods": []
@@ -73,16 +74,14 @@ Output:
73
74
  "StartAt": null,
74
75
  "Step": "postCheck"
75
76
  }
76
- ],
77
- "EndAt": null,
78
- "InstanceID": "ins-wggphft5",
79
- "LifeState": "paused",
80
- "StartAt": "2023-02-08T16:29:46+08:00"
77
+ ]
81
78
  }
82
79
  ],
83
- "LifeState": "aborted",
84
- "RequestId": "b224fa4b-fedf-4061-baa9-d547ew858df",
85
- "Total": 1
80
+ "ClusterStatus": {
81
+ "PodTotal": 10,
82
+ "NotReadyPod": 0
83
+ },
84
+ "RequestId": "b224fa4b-fedf-4061-baa9-d547ew858df"
86
85
  }
87
86
  }
88
87
  ```
@@ -9,6 +9,9 @@ tccli tke ModifyClusterAuthenticationOptions --cli-unfold-argument \
9
9
  --ServiceAccounts.JWKSURI https://cls-7ph3twqe.ccs.tencent-cloud.com/openid/v1/jwks \
10
10
  --ServiceAccounts.Issuer https://cls-7ph3twqe.ccs.tencent-cloud.com \
11
11
  --ServiceAccounts.AutoCreateDiscoveryAnonymousAuth True \
12
+ --OIDCConfig.AutoCreateOIDCConfig True \
13
+ --OIDCConfig.AutoCreateClientId sts \
14
+ --OIDCConfig.AutoInstallPodIdentityWebhookAddon True \
12
15
  --ClusterId cls-7ph3twqe
13
16
  ```
14
17
 
@@ -1,6 +1,6 @@
1
1
  **Example 1: 修改节点池机型**
2
2
 
3
-
3
+ 修改节点池机型
4
4
 
5
5
  Input:
6
6
 
@@ -0,0 +1,21 @@
1
+ **Example 1: AIGC代答示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tms AnswerQuestion --cli-unfold-argument \
9
+ --Question 社会主义
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Answer": "社会主义是包括社会主义思想、社会主义运动和社会主义制度的总称。它主张通过推翻资产阶级统治、建立公有制经济和实现社会平等来改变资本主义生产方式带来的阶级对立。",
17
+ "RequestId": "a4963536-8eba-46a3-a5e3-127117ec07f9"
18
+ }
19
+ }
20
+ ```
21
+
@@ -7,7 +7,8 @@ Input:
7
7
  ```
8
8
  tccli vpc DescribeVpnGatewayRoutes --cli-unfold-argument \
9
9
  --VpnGatewayId vpngw-7lhl5331 \
10
- --Offset 0
10
+ --Offset 0 \
11
+ --Limit 20
11
12
  ```
12
13
 
13
14
  Output:
@@ -6,7 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli vpc ModifyVpnGatewayRoutes --cli-unfold-argument \
9
- --VpnGatewayId vpn-ngenl4az \
9
+ --VpnGatewayId vpngw-ngenl4az \
10
10
  --Routes.0.RouteId vpnr-7t3tknmg \
11
11
  --Routes.0.Status DISABLE
12
12
  ```
@@ -17,11 +17,15 @@ Output:
17
17
  "Response": {
18
18
  "Routes": [
19
19
  {
20
- "DestinationCidrBlock": "192.241.0.0/24",
21
- "Status": "ENABLE",
20
+ "RouteId": "vpnr-7t3tknmg",
21
+ "DestinationCidrBlock": "10.11.0.0/16",
22
+ "Status": "DISABLE",
22
23
  "InstanceId": "vpnx-ng2asdew",
23
24
  "InstanceType": "VPNCONN",
24
- "Priority": 100
25
+ "Priority": 0,
26
+ "Type": "Static",
27
+ "CreateTime": "2023-03-21 07:08:13",
28
+ "UpdateTime": "2023-04-28 17:02:43"
25
29
  }
26
30
  ],
27
31
  "RequestId": "6e446c86-d8c9-4981-9b33-d10956585058"