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.
- tccli/__init__.py +1 -1
- tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
- tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
- tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
- tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
- tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
- tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
- tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
- tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
- tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
- tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
- tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
- tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
- tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
- tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
- tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
- tccli/examples/teo/v20220901/CreatePlan.md +47 -0
- tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
- tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
- tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
- tccli/examples/teo/v20220901/RenewPlan.md +23 -0
- tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
- tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
- tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
- tccli/examples/tke/v20180525/CreateCluster.md +58 -142
- tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
- tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
- tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
- tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
- tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
- tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
- tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
- tccli/services/aiart/v20221229/api.json +5 -5
- tccli/services/cls/cls_client.py +337 -72
- tccli/services/cls/v20201016/api.json +433 -22
- tccli/services/cls/v20201016/examples.json +44 -4
- tccli/services/dlc/v20210125/api.json +14 -4
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/domain_client.py +53 -0
- tccli/services/domain/v20180808/api.json +62 -0
- tccli/services/domain/v20180808/examples.json +8 -0
- tccli/services/dts/v20211206/api.json +1 -1
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +88 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +10 -10
- tccli/services/hunyuan/v20230901/examples.json +26 -2
- tccli/services/ims/v20201229/api.json +2 -1
- tccli/services/iotvideo/v20211125/api.json +15 -0
- tccli/services/lke/lke_client.py +114 -8
- tccli/services/lke/v20231130/api.json +492 -0
- tccli/services/lke/v20231130/examples.json +18 -2
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +156 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/rce/v20201103/api.json +9 -9
- tccli/services/rum/v20210622/api.json +35 -33
- tccli/services/rum/v20210622/examples.json +7 -7
- tccli/services/tdmq/v20200217/api.json +6 -6
- tccli/services/teo/teo_client.py +338 -20
- tccli/services/teo/v20220901/api.json +375 -1
- tccli/services/teo/v20220901/examples.json +60 -0
- tccli/services/tione/v20191022/api.json +6 -7
- tccli/services/tione/v20191022/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +2 -0
- tccli/services/tke/v20180525/api.json +77 -93
- tccli/services/tke/v20180525/examples.json +7 -7
- tccli/services/tms/tms_client.py +53 -0
- tccli/services/tms/v20201229/api.json +44 -0
- tccli/services/tms/v20201229/examples.json +8 -0
- tccli/services/tse/v20201207/api.json +49 -1
- tccli/services/vpc/v20170312/api.json +3 -0
- tccli/services/vpc/v20170312/examples.json +3 -3
- {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/RECORD +83 -68
- {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/entry_points.txt +0 -0
- {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
|
+
|
@@ -18,25 +18,33 @@ Output:
|
|
18
18
|
"LatestVersion": "1.22.5",
|
19
19
|
"Total": 3,
|
20
20
|
"RequestId": "123",
|
21
|
-
"UnavailableVersionReason":
|
22
|
-
|
23
|
-
|
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
|
-
--
|
10
|
-
--
|
11
|
-
--
|
12
|
-
--
|
13
|
-
--
|
14
|
-
--
|
15
|
-
--
|
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.
|
47
|
-
--ClusterBasicSettings.
|
48
|
-
--ClusterBasicSettings.
|
49
|
-
--ClusterBasicSettings.
|
50
|
-
--ClusterBasicSettings.ClusterLevel
|
51
|
-
--ClusterBasicSettings.
|
52
|
-
--
|
53
|
-
--
|
54
|
-
--
|
55
|
-
--
|
56
|
-
--
|
57
|
-
--
|
58
|
-
--
|
59
|
-
--
|
60
|
-
--
|
61
|
-
--
|
62
|
-
--
|
63
|
-
--
|
64
|
-
--
|
65
|
-
--
|
66
|
-
--
|
67
|
-
--
|
68
|
-
--
|
69
|
-
--
|
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.
|
42
|
+
--InstanceAdvancedSettings.PreStartUserScript \
|
43
|
+
--InstanceAdvancedSettings.UserScript \
|
95
44
|
--InstanceAdvancedSettings.DesiredPodNumber 0 \
|
96
|
-
--
|
97
|
-
--
|
98
|
-
--
|
99
|
-
--
|
100
|
-
--
|
101
|
-
--
|
102
|
-
--
|
103
|
-
--
|
104
|
-
--
|
105
|
-
--
|
106
|
-
--
|
107
|
-
--
|
108
|
-
--
|
109
|
-
--
|
110
|
-
--
|
111
|
-
--
|
112
|
-
--
|
113
|
-
--
|
114
|
-
--
|
115
|
-
--
|
116
|
-
--
|
117
|
-
--
|
118
|
-
--
|
119
|
-
--
|
120
|
-
--
|
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:
|
@@ -13,26 +13,27 @@ Output:
|
|
13
13
|
```
|
14
14
|
{
|
15
15
|
"Response": {
|
16
|
-
"
|
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
|
-
"
|
84
|
-
|
85
|
-
|
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
|
|
@@ -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
|
+
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli vpc ModifyVpnGatewayRoutes --cli-unfold-argument \
|
9
|
-
--VpnGatewayId
|
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
|
-
"
|
21
|
-
"
|
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":
|
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"
|