tccli 3.0.1098.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/cfw/v20190904/DescribeIPStatusList.md +4 -4
- 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/OpenKafkaConsumer.md +1 -1
- tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
- tccli/examples/cynosdb/v20190107/DescribeChangedParamsAfterUpgrade.md +31 -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/faceid/v20180301/GetFaceIdResult.md +3 -1
- tccli/examples/hunyuan/v20230901/ChatCompletions.md +183 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
- tccli/examples/ims/v20200713/ImageModeration.md +4 -1
- 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/DescribeRealtimeLogDeliveryTasks.md +42 -21
- 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/ccc/v20200210/api.json +1 -1
- tccli/services/cfs/v20190719/api.json +27 -27
- tccli/services/cfw/v20190904/api.json +5 -5
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +13 -4
- tccli/services/cls/cls_client.py +337 -72
- tccli/services/cls/v20201016/api.json +501 -66
- tccli/services/cls/v20201016/examples.json +45 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +120 -2
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +2 -2
- 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 +89 -1
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/faceid/v20180301/api.json +21 -1
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +165 -26
- tccli/services/hunyuan/v20230901/examples.json +33 -1
- tccli/services/ims/v20200713/api.json +13 -0
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +2 -1
- tccli/services/iotvideo/v20211125/api.json +15 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- 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/mariadb/v20170312/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +46 -1
- 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 +37 -35
- 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 +503 -18
- tccli/services/teo/v20220901/examples.json +62 -2
- 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/tmt/v20180321/api.json +1 -1
- 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/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/RECORD +109 -92
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/license_files/LICENSE +0 -0
@@ -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"
|
@@ -109,7 +109,7 @@
|
|
109
109
|
"members": [
|
110
110
|
{
|
111
111
|
"disabled": false,
|
112
|
-
"document": "输入图 Base64 数据。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 8MB。",
|
112
|
+
"document": "输入图 Base64 数据。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于 8MB。",
|
113
113
|
"example": "无",
|
114
114
|
"member": "string",
|
115
115
|
"name": "InputImage",
|
@@ -118,7 +118,7 @@
|
|
118
118
|
},
|
119
119
|
{
|
120
120
|
"disabled": false,
|
121
|
-
"document": "输入图 Url。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于8MB。",
|
121
|
+
"document": "输入图 Url。\n算法将根据输入的图片,结合文本描述智能生成与之相关的图像。\nBase64 和 Url 必须提供一个,如果都提供以 Base64 为准。\n图片限制:单边分辨率小于5000且大于50,转成 Base64 字符串后小于8MB。",
|
122
122
|
"example": "无",
|
123
123
|
"member": "string",
|
124
124
|
"name": "InputUrl",
|
@@ -181,7 +181,7 @@
|
|
181
181
|
},
|
182
182
|
{
|
183
183
|
"disabled": false,
|
184
|
-
"document": "生成自由度。\nStrength 值越小,生成图和原图越接近,取值范围0
|
184
|
+
"document": "生成自由度。\nStrength 值越小,生成图和原图越接近,取值范围(0, 1],不传使用模型内置的默认值。\n推荐的取值范围为0.6 - 0.8。",
|
185
185
|
"example": "无",
|
186
186
|
"member": "float",
|
187
187
|
"name": "Strength",
|
@@ -584,7 +584,7 @@
|
|
584
584
|
},
|
585
585
|
{
|
586
586
|
"disabled": false,
|
587
|
-
"document": "
|
587
|
+
"document": "写真风格模板。\n请在[ AI 写真风格列表](https://cloud.tencent.com/document/product/1668/105740) 中选择期望的风格,传入风格编号。",
|
588
588
|
"example": "zhengjian_female",
|
589
589
|
"member": "string",
|
590
590
|
"name": "StyleId",
|
@@ -693,7 +693,7 @@
|
|
693
693
|
},
|
694
694
|
{
|
695
695
|
"disabled": false,
|
696
|
-
"document": "文生图模型,默认使用engine1。\nengine1
|
696
|
+
"document": "文生图模型,默认使用engine1。\n取值:\nengine1\nengine2",
|
697
697
|
"example": "无",
|
698
698
|
"member": "string",
|
699
699
|
"name": "Engine",
|
@@ -2799,7 +2799,7 @@
|
|
2799
2799
|
},
|
2800
2800
|
{
|
2801
2801
|
"disabled": false,
|
2802
|
-
"document": "应用 ID
|
2802
|
+
"document": "应用 ID,可以查看 https://console.cloud.tencent.com/ccc",
|
2803
2803
|
"example": "1400000000",
|
2804
2804
|
"member": "int64",
|
2805
2805
|
"name": "SdkAppId",
|
@@ -404,7 +404,7 @@
|
|
404
404
|
},
|
405
405
|
{
|
406
406
|
"disabled": false,
|
407
|
-
"document": "
|
407
|
+
"document": "账号ID",
|
408
408
|
"example": "122445",
|
409
409
|
"member": "uint64",
|
410
410
|
"name": "AppId",
|
@@ -1180,7 +1180,7 @@
|
|
1180
1180
|
},
|
1181
1181
|
{
|
1182
1182
|
"disabled": false,
|
1183
|
-
"document": "用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash
|
1183
|
+
"document": "用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。\nall_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。\nno_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。\nroot_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。\nno_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息\n",
|
1184
1184
|
"example": "root_squash",
|
1185
1185
|
"member": "string",
|
1186
1186
|
"name": "UserPermission",
|
@@ -1199,7 +1199,7 @@
|
|
1199
1199
|
"example": "rule-12345",
|
1200
1200
|
"member": "string",
|
1201
1201
|
"name": "RuleId",
|
1202
|
-
"
|
1202
|
+
"output_required": true,
|
1203
1203
|
"type": "string",
|
1204
1204
|
"value_allowed_null": false
|
1205
1205
|
},
|
@@ -1209,7 +1209,7 @@
|
|
1209
1209
|
"example": "pgroup-12345",
|
1210
1210
|
"member": "string",
|
1211
1211
|
"name": "PGroupId",
|
1212
|
-
"
|
1212
|
+
"output_required": true,
|
1213
1213
|
"type": "string",
|
1214
1214
|
"value_allowed_null": false
|
1215
1215
|
},
|
@@ -1219,7 +1219,7 @@
|
|
1219
1219
|
"example": "10.1.1.10",
|
1220
1220
|
"member": "string",
|
1221
1221
|
"name": "AuthClientIp",
|
1222
|
-
"
|
1222
|
+
"output_required": true,
|
1223
1223
|
"type": "string",
|
1224
1224
|
"value_allowed_null": false
|
1225
1225
|
},
|
@@ -1229,7 +1229,7 @@
|
|
1229
1229
|
"example": "rw",
|
1230
1230
|
"member": "string",
|
1231
1231
|
"name": "RWPermission",
|
1232
|
-
"
|
1232
|
+
"output_required": true,
|
1233
1233
|
"type": "string",
|
1234
1234
|
"value_allowed_null": false
|
1235
1235
|
},
|
@@ -1239,7 +1239,7 @@
|
|
1239
1239
|
"example": "root_squash",
|
1240
1240
|
"member": "string",
|
1241
1241
|
"name": "UserPermission",
|
1242
|
-
"
|
1242
|
+
"output_required": true,
|
1243
1243
|
"type": "string",
|
1244
1244
|
"value_allowed_null": false
|
1245
1245
|
},
|
@@ -1249,7 +1249,7 @@
|
|
1249
1249
|
"example": "9",
|
1250
1250
|
"member": "int64",
|
1251
1251
|
"name": "Priority",
|
1252
|
-
"
|
1252
|
+
"output_required": true,
|
1253
1253
|
"type": "int",
|
1254
1254
|
"value_allowed_null": false
|
1255
1255
|
},
|
@@ -3578,50 +3578,50 @@
|
|
3578
3578
|
{
|
3579
3579
|
"disabled": false,
|
3580
3580
|
"document": "规则ID",
|
3581
|
-
"example": "",
|
3581
|
+
"example": "无",
|
3582
3582
|
"member": "string",
|
3583
3583
|
"name": "RuleId",
|
3584
|
-
"
|
3584
|
+
"output_required": true,
|
3585
3585
|
"type": "string",
|
3586
3586
|
"value_allowed_null": false
|
3587
3587
|
},
|
3588
3588
|
{
|
3589
3589
|
"disabled": false,
|
3590
3590
|
"document": "允许访问的客户端IP",
|
3591
|
-
"example": "",
|
3591
|
+
"example": "无",
|
3592
3592
|
"member": "string",
|
3593
3593
|
"name": "AuthClientIp",
|
3594
|
-
"
|
3594
|
+
"output_required": true,
|
3595
3595
|
"type": "string",
|
3596
3596
|
"value_allowed_null": false
|
3597
3597
|
},
|
3598
3598
|
{
|
3599
3599
|
"disabled": false,
|
3600
3600
|
"document": "读写权限, ro为只读,rw为读写",
|
3601
|
-
"example": "",
|
3601
|
+
"example": "无",
|
3602
3602
|
"member": "string",
|
3603
3603
|
"name": "RWPermission",
|
3604
|
-
"
|
3604
|
+
"output_required": true,
|
3605
3605
|
"type": "string",
|
3606
3606
|
"value_allowed_null": false
|
3607
3607
|
},
|
3608
3608
|
{
|
3609
3609
|
"disabled": false,
|
3610
|
-
"document": "
|
3611
|
-
"example": "",
|
3610
|
+
"document": "all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。\nno_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。\nroot_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。\nno_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息\n",
|
3611
|
+
"example": "无",
|
3612
3612
|
"member": "string",
|
3613
3613
|
"name": "UserPermission",
|
3614
|
-
"
|
3614
|
+
"output_required": true,
|
3615
3615
|
"type": "string",
|
3616
3616
|
"value_allowed_null": false
|
3617
3617
|
},
|
3618
3618
|
{
|
3619
3619
|
"disabled": false,
|
3620
3620
|
"document": "规则优先级,1-100。 其中 1 为最高,100为最低",
|
3621
|
-
"example": "",
|
3621
|
+
"example": "无",
|
3622
3622
|
"member": "int64",
|
3623
3623
|
"name": "Priority",
|
3624
|
-
"
|
3624
|
+
"output_required": true,
|
3625
3625
|
"type": "int",
|
3626
3626
|
"value_allowed_null": false
|
3627
3627
|
}
|
@@ -3869,7 +3869,7 @@
|
|
3869
3869
|
},
|
3870
3870
|
{
|
3871
3871
|
"disabled": false,
|
3872
|
-
"document": "
|
3872
|
+
"document": "账号ID",
|
3873
3873
|
"example": "21211",
|
3874
3874
|
"member": "uint64",
|
3875
3875
|
"name": "AppId",
|
@@ -4533,7 +4533,7 @@
|
|
4533
4533
|
},
|
4534
4534
|
{
|
4535
4535
|
"disabled": false,
|
4536
|
-
"document": "用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash
|
4536
|
+
"document": "用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。\nall_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。\nno_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。\nroot_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。\nno_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息\n",
|
4537
4537
|
"example": "no_root_squash",
|
4538
4538
|
"member": "string",
|
4539
4539
|
"name": "UserPermission",
|
@@ -4561,7 +4561,7 @@
|
|
4561
4561
|
"example": "pgroup-12345",
|
4562
4562
|
"member": "string",
|
4563
4563
|
"name": "PGroupId",
|
4564
|
-
"
|
4564
|
+
"output_required": true,
|
4565
4565
|
"type": "string",
|
4566
4566
|
"value_allowed_null": false
|
4567
4567
|
},
|
@@ -4571,7 +4571,7 @@
|
|
4571
4571
|
"example": "rule-12345",
|
4572
4572
|
"member": "string",
|
4573
4573
|
"name": "RuleId",
|
4574
|
-
"
|
4574
|
+
"output_required": true,
|
4575
4575
|
"type": "string",
|
4576
4576
|
"value_allowed_null": false
|
4577
4577
|
},
|
@@ -4581,7 +4581,7 @@
|
|
4581
4581
|
"example": "10.0.0.10",
|
4582
4582
|
"member": "string",
|
4583
4583
|
"name": "AuthClientIp",
|
4584
|
-
"
|
4584
|
+
"output_required": true,
|
4585
4585
|
"type": "string",
|
4586
4586
|
"value_allowed_null": false
|
4587
4587
|
},
|
@@ -4591,7 +4591,7 @@
|
|
4591
4591
|
"example": "rw",
|
4592
4592
|
"member": "string",
|
4593
4593
|
"name": "RWPermission",
|
4594
|
-
"
|
4594
|
+
"output_required": true,
|
4595
4595
|
"type": "string",
|
4596
4596
|
"value_allowed_null": false
|
4597
4597
|
},
|
@@ -4601,7 +4601,7 @@
|
|
4601
4601
|
"example": "no_root_squash",
|
4602
4602
|
"member": "string",
|
4603
4603
|
"name": "UserPermission",
|
4604
|
-
"
|
4604
|
+
"output_required": true,
|
4605
4605
|
"type": "string",
|
4606
4606
|
"value_allowed_null": false
|
4607
4607
|
},
|
@@ -4611,7 +4611,7 @@
|
|
4611
4611
|
"example": "7",
|
4612
4612
|
"member": "int64",
|
4613
4613
|
"name": "Priority",
|
4614
|
-
"
|
4614
|
+
"output_required": true,
|
4615
4615
|
"type": "int",
|
4616
4616
|
"value_allowed_null": false
|
4617
4617
|
},
|