tccli 3.0.1048.1__py2.py3-none-any.whl → 3.0.1049.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/antiddos/v20200309/DescribeBGPIPL7Rules.md +87 -0
- tccli/examples/ckafka/v20190819/DescribeGroup.md +6 -5
- tccli/examples/csip/v20221121/ModifyOrganizationAccountStatus.md +21 -0
- tccli/examples/cynosdb/v20190107/AddInstances.md +2 -2
- tccli/examples/cynosdb/v20190107/DescribeClusterInstanceGrps.md +235 -79
- tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +3 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterPasswordComplexity.md +18 -6
- tccli/examples/cynosdb/v20190107/DescribeInstances.md +63 -55
- tccli/examples/cynosdb/v20190107/DescribeParamTemplateDetail.md +3 -1
- tccli/examples/cynosdb/v20190107/ModifyVipVport.md +3 -3
- tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +2 -2
- tccli/examples/oceanus/v20190422/CopyJobs.md +11 -20
- tccli/examples/teo/v20220901/DescribeDefaultCertificates.md +2 -1
- tccli/examples/trocket/v20230308/CreateMQTTInstance.md +31 -0
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +176 -0
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +94 -0
- tccli/services/antiddos/antiddos_client.py +53 -0
- tccli/services/antiddos/v20200309/api.json +439 -0
- tccli/services/antiddos/v20200309/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +21 -10
- tccli/services/ckafka/v20190819/api.json +6 -5
- tccli/services/ckafka/v20190819/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +48 -19
- tccli/services/csip/csip_client.py +53 -0
- tccli/services/csip/v20221121/api.json +43 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/v20190107/api.json +415 -87
- tccli/services/cynosdb/v20190107/examples.json +12 -12
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/oceanus/v20190422/api.json +32 -3
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/privatedns/v20201028/api.json +29 -19
- tccli/services/ssl/ssl_client.py +0 -53
- tccli/services/ssl/v20191205/api.json +0 -99
- tccli/services/ssl/v20191205/examples.json +0 -8
- tccli/services/teo/v20220901/api.json +14 -3
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/trocket/trocket_client.py +171 -12
- tccli/services/trocket/v20230308/api.json +492 -0
- tccli/services/trocket/v20230308/examples.json +30 -0
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/RECORD +47 -42
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1048.1.dist-info → tccli-3.0.1049.1.dist-info}/license_files/LICENSE +0 -0
@@ -18,10 +18,10 @@
|
|
18
18
|
],
|
19
19
|
"AddInstances": [
|
20
20
|
{
|
21
|
-
"document": "
|
21
|
+
"document": "新增只读实例",
|
22
22
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddInstances\n<公共请求参数>\n\n{\n \"ReadOnlyCount\": \"1\",\n \"VpcId\": \"vpc-1ptuei0b\",\n \"ClusterId\": \"cynosdbmysql-6gtlgm5l\",\n \"Memory\": \"4\",\n \"SubnetId\": \"subnet-1tmw9t4o\",\n \"Cpu\": \"2\"\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"TranId\": \"abc\",\n \"DealNames\": [\n \"abc\"\n ],\n \"ResourceIds\": [\n \"abc\"\n ],\n \"BigDealIds\": [\n \"abc\"\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
24
|
-
"title": "
|
24
|
+
"title": "新增实例"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"AssociateSecurityGroups": [
|
@@ -356,10 +356,10 @@
|
|
356
356
|
],
|
357
357
|
"DescribeClusterInstanceGrps": [
|
358
358
|
{
|
359
|
-
"document": "",
|
359
|
+
"document": "查询实例组网络信息. 该接口已废弃,推荐使用DescribeClusterInstanceGroups",
|
360
360
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterInstanceGrps\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-oib3wx0i\"\n}",
|
361
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"InstanceGrpInfoList\": [\n {\n \"Status\": \"xx\",\n \"UpdatedTime\": \"2020-09-22 00:00:00\",\n \"Tasks\": [\n {\n \"ObjectType\": \"xx\",\n \"TaskStatus\": \"xx\",\n \"ObjectId\": \"xx\",\n \"TaskId\": 0,\n \"TaskType\": \"xx\"\n }\n ],\n \"OldAddrInfo\": {\n \"Vip\": \"xx\",\n \"Vport\": 0,\n \"ReturnTime\": \"xx\"\n },\n \"UniqVpcId\": \"xx\",\n \"WanDomain\": \"xx\",\n \"InstanceSet\": [\n {\n \"ServerlessStatus\": \"xx\",\n \"WanStatus\": \"xx\",\n \"RenewFlag\": 0,\n \"Zone\": \"xx\",\n \"DbVersion\": \"xx\",\n \"Storage\": 0,\n \"StorageId\": \"xx\",\n \"Memory\": 0,\n \"ProcessingTask\": \"xx\",\n \"Status\": \"xx\",\n \"PhysicalZone\": \"xx\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"xx\",\n \"MinCpu\": 0.0,\n \"MaxCpu\": 0.0,\n \"InstanceId\": \"xx\",\n \"ClusterId\": \"xx\",\n \"NetType\": 0,\n \"IsFreeze\": \"xx\",\n \"SubnetId\": \"xx\",\n \"InstanceType\": \"xx\",\n \"DestroyTime\": \"xx\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"xx\",\n \"ProjectId\": 0,\n \"Region\": \"xx\",\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"xx\",\n \"TagValue\": \"xx\"\n }\n ],\n \"CynosVersion\": \"xx\",\n \"StatusDesc\": \"xx\",\n \"InstanceName\": \"xx\",\n \"Cpu\": 0,\n \"StoragePayMode\": 0,\n \"BusinessType\": \"xx\",\n \"Tasks\": [\n {\n \"ObjectType\": \"xx\",\n \"TaskStatus\": \"xx\",\n \"ObjectId\": \"xx\",\n \"TaskId\": 0,\n \"TaskType\": \"xx\"\n }\n ],\n \"WanDomain\": \"xx\",\n \"ClusterName\": \"xx\",\n \"InstanceRole\": \"xx\",\n \"WanPort\": 0,\n \"Uin\": \"xx\",\n \"DbType\": \"xx\",\n \"Vip\": \"xx\",\n \"AppId\": 0,\n \"WanIP\": \"xx\",\n \"Vport\": 0,\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"WanPort\": 0,\n \"ClusterId\": \"xx\",\n \"DeletedTime\": \"2020-09-22 00:00:00\",\n \"WanStatus\": \"xx\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"Vip\": \"xx\",\n \"UniqSubnetId\": \"xx\",\n \"InstanceGrpId\": \"xx\",\n \"AppId\": 0,\n \"WanIP\": \"xx\",\n \"Vport\": 0,\n \"Type\": \"xx\",\n \"NetServiceId\": 0,\n \"ProcessingTasks\": [\n \"xx\"\n ]\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
|
362
|
-
"title": "
|
361
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceGrpInfoList\": [\n {\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"DeletedTime\": \"2020-09-22 00:00:00\",\n \"InstanceGrpId\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"UpdatedTime\": \"2020-09-22 00:00:00\",\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\",\n \"InstanceSet\": [\n {\n \"Uin\": \"abc\",\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"ProjectId\": 0,\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"DbMode\": \"abc\",\n \"DbType\": \"abc\",\n \"DbVersion\": \"abc\",\n \"Cpu\": 0,\n \"Memory\": 0,\n \"Storage\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceRole\": \"abc\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"abc\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\",\n \"DestroyTime\": \"abc\",\n \"CynosVersion\": \"abc\",\n \"ProcessingTask\": \"abc\",\n \"RenewFlag\": 0,\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"ServerlessStatus\": \"abc\",\n \"StorageId\": \"abc\",\n \"StoragePayMode\": 0,\n \"PhysicalZone\": \"abc\",\n \"BusinessType\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"IsFreeze\": \"abc\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"MasterZone\": \"abc\",\n \"SlaveZones\": [\n \"abc\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"NetType\": 0,\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"PackageId\": \"abc\",\n \"PackageType\": \"abc\"\n }\n ],\n \"InstanceIndexMode\": \"abc\"\n }\n ],\n \"UniqVpcId\": \"abc\",\n \"UniqSubnetId\": \"abc\",\n \"OldAddrInfo\": {\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"ReturnTime\": \"abc\"\n },\n \"ProcessingTasks\": [\n \"abc\"\n ],\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"NetServiceId\": 0\n }\n ],\n \"InstanceGroupInfoList\": [\n {\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"CreatedTime\": \"abc\",\n \"DeletedTime\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"UpdatedTime\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\",\n \"InstanceSet\": [\n {\n \"Uin\": \"abc\",\n \"AppId\": 0,\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"ProjectId\": 0,\n \"Region\": \"abc\",\n \"Zone\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"DbMode\": \"abc\",\n \"DbType\": \"abc\",\n \"DbVersion\": \"abc\",\n \"Cpu\": 0,\n \"Memory\": 0,\n \"Storage\": 0,\n \"InstanceType\": \"abc\",\n \"InstanceRole\": \"abc\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"abc\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\",\n \"DestroyTime\": \"abc\",\n \"CynosVersion\": \"abc\",\n \"ProcessingTask\": \"abc\",\n \"RenewFlag\": 0,\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"ServerlessStatus\": \"abc\",\n \"StorageId\": \"abc\",\n \"StoragePayMode\": 0,\n \"PhysicalZone\": \"abc\",\n \"BusinessType\": \"abc\",\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"IsFreeze\": \"abc\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"MasterZone\": \"abc\",\n \"SlaveZones\": [\n \"abc\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"abc\",\n \"InstanceGroupId\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"NetType\": 0,\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"WanDomain\": \"abc\",\n \"WanIP\": \"abc\",\n \"WanPort\": 0,\n \"WanStatus\": \"abc\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"PackageId\": \"abc\",\n \"PackageType\": \"abc\"\n }\n ],\n \"InstanceIndexMode\": \"abc\"\n }\n ],\n \"UniqVpcId\": \"abc\",\n \"UniqSubnetId\": \"abc\",\n \"OldAddrInfo\": {\n \"Vip\": \"abc\",\n \"Vport\": 0,\n \"ReturnTime\": \"abc\"\n },\n \"ProcessingTasks\": [\n \"abc\"\n ],\n \"Tasks\": [\n {\n \"TaskId\": 0,\n \"TaskType\": \"abc\",\n \"TaskStatus\": \"abc\",\n \"ObjectId\": \"abc\",\n \"ObjectType\": \"abc\"\n }\n ],\n \"NetServiceId\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
362
|
+
"title": "查询实例组(废弃)"
|
363
363
|
}
|
364
364
|
],
|
365
365
|
"DescribeClusterParamLogs": [
|
@@ -374,7 +374,7 @@
|
|
374
374
|
{
|
375
375
|
"document": "查询集群参数",
|
376
376
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterParams\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbpg-1xcycbu8\"\n}",
|
377
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Items\": [\n {\n \"CurrentValue\": \"abc\",\n \"Default\": \"abc\",\n \"EnumValue\": [\n \"abc\"\n ],\n \"Max\": \"abc\",\n \"Min\": \"abc\",\n \"ParamName\": \"abc\",\n \"NeedReboot\": 0,\n \"ParamType\": \"abc\",\n \"MatchType\": \"abc\",\n \"MatchValue\": \"abc\",\n \"Description\": \"abc\",\n \"IsGlobal\": 0,\n \"ModifiableInfo\": {},\n \"IsFunc\": true,\n \"Func\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
377
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Items\": [\n {\n \"CurrentValue\": \"abc\",\n \"Default\": \"abc\",\n \"EnumValue\": [\n \"abc\"\n ],\n \"Max\": \"abc\",\n \"Min\": \"abc\",\n \"ParamName\": \"abc\",\n \"NeedReboot\": 0,\n \"ParamType\": \"abc\",\n \"MatchType\": \"abc\",\n \"MatchValue\": \"abc\",\n \"Description\": \"abc\",\n \"IsGlobal\": 0,\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"IsFunc\": true,\n \"Func\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
378
378
|
"title": "查询集群参数"
|
379
379
|
}
|
380
380
|
],
|
@@ -382,7 +382,7 @@
|
|
382
382
|
{
|
383
383
|
"document": "",
|
384
384
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterPasswordComplexity\n<公共请求参数>\n\n{\n \"ClusterId\": \"cynosdbmysql-bzxxrmtq\"\n}",
|
385
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"7613eed6-5eb5-4d17-ae69-dd93c44d7ad4\",\n \"ValidatePasswordDictionary\": {\n \"CurrentValue\": \"\",\n \"Default\": \"\",\n \"Description\": \"The dictionary words that validate_password uses for checking passwords.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"0\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_txsql_dictionary\",\n \"ParamType\": \"string\"\n },\n \"ValidatePasswordLength\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"8\",\n \"Description\": \"The minimum number of characters that validate_password requires passwords to have.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"256\",\n \"Min\": \"8\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_length\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordMixedCaseCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of lowercase and uppercase characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_mixed_case_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordNumberCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of numeric (digit) characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_number_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordPolicy\": {\n \"CurrentValue\": \"LOW\",\n \"Default\": \"MEDIUM\",\n \"Description\": \"The password policy enforced by validate_password.\",\n \"EnumValue\": [\n \"MEDIUM\",\n \"STRONG\"\n ],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"2\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_policy\",\n \"ParamType\": \"enum\"\n },\n \"ValidatePasswordSpecialCharCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of nonalphanumeric characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_special_char_count\",\n \"ParamType\": \"integer\"\n }\n }\n}",
|
385
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7613eed6-5eb5-4d17-ae69-dd93c44d7ad4\",\n \"ValidatePasswordDictionary\": {\n \"CurrentValue\": \"\",\n \"Default\": \"\",\n \"Description\": \"The dictionary words that validate_password uses for checking passwords.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"0\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_txsql_dictionary\",\n \"ParamType\": \"string\"\n },\n \"ValidatePasswordLength\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"8\",\n \"Description\": \"The minimum number of characters that validate_password requires passwords to have.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"256\",\n \"Min\": \"8\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_length\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordMixedCaseCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of lowercase and uppercase characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger.\",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_mixed_case_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordNumberCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of numeric (digit) characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_number_count\",\n \"ParamType\": \"integer\"\n },\n \"ValidatePasswordPolicy\": {\n \"CurrentValue\": \"LOW\",\n \"Default\": \"MEDIUM\",\n \"Description\": \"The password policy enforced by validate_password.\",\n \"EnumValue\": [\n \"MEDIUM\",\n \"STRONG\"\n ],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"2\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_policy\",\n \"ParamType\": \"enum\"\n },\n \"ValidatePasswordSpecialCharCount\": {\n \"CurrentValue\": \"0\",\n \"Default\": \"1\",\n \"Description\": \"The minimum number of nonalphanumeric characters that validate_password requires passwords to have if the password policy is MEDIUM or stronger. \",\n \"EnumValue\": [],\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"50\",\n \"Min\": \"1\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 0\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"validate_password_special_char_count\",\n \"ParamType\": \"integer\"\n }\n }\n}",
|
386
386
|
"title": "查看集群密码复杂度详情"
|
387
387
|
}
|
388
388
|
],
|
@@ -453,8 +453,8 @@
|
|
453
453
|
"DescribeInstances": [
|
454
454
|
{
|
455
455
|
"document": "查询实例列表",
|
456
|
-
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"Offset\": 0,\n \"OrderBy\": \"
|
457
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceSet\": [\n {\n \"Uin\": \"
|
456
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 0,\n \"Offset\": 0,\n \"OrderBy\": \"CREATETIME\",\n \"OrderByType\": \"ASC\",\n \"Filters\": [\n {\n \"Names\": [\n \"status\"\n ],\n \"Values\": [\n \"running\"\n ],\n \"ExactMatch\": true,\n \"Name\": \"\",\n \"Operator\": \"\"\n }\n ],\n \"DbType\": \"MYSQL\",\n \"Status\": \"running\",\n \"InstanceIds\": [\n \"cynosdbmysql-ins-1asd45qwe\"\n ]\n}",
|
457
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceSet\": [\n {\n \"Uin\": \"1111111\",\n \"AppId\": 0,\n \"ClusterId\": \"cynosdbmysql-asd45qwe\",\n \"ClusterName\": \"abc\",\n \"InstanceId\": \"cynosdbmysql-ins-asd45qwe\",\n \"InstanceName\": \"abc\",\n \"ProjectId\": 0,\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-3\",\n \"Status\": \"running\",\n \"StatusDesc\": \"运行中\",\n \"DbMode\": \"NORMAL\",\n \"DbType\": \"MYSQL\",\n \"DbVersion\": \"5.7\",\n \"Cpu\": 1,\n \"Memory\": 1,\n \"Storage\": 10,\n \"InstanceType\": \"rw\",\n \"InstanceRole\": \"master\",\n \"UpdateTime\": \"2020-09-22 00:00:00\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"VpcId\": \"vpc-12as56\",\n \"SubnetId\": \"subnet-123asd\",\n \"Vip\": \"192.0.0.0\",\n \"Vport\": 3306,\n \"PayMode\": 0,\n \"PeriodEndTime\": \"2020-09-22 00:00:00\",\n \"DestroyDeadlineText\": \"abc\",\n \"IsolateTime\": \"2020-09-22 00:00:00\",\n \"NetType\": 0,\n \"WanDomain\": \"\",\n \"WanIP\": \"\",\n \"WanPort\": 0,\n \"WanStatus\": \"\",\n \"DestroyTime\": \"\",\n \"CynosVersion\": \"2.0.10\",\n \"ProcessingTask\": \"\",\n \"RenewFlag\": 0,\n \"MinCpu\": 0,\n \"MaxCpu\": 0,\n \"ServerlessStatus\": \"\",\n \"StorageId\": \"\",\n \"StoragePayMode\": 0,\n \"PhysicalZone\": \"ap-guangzhou-3\",\n \"BusinessType\": \"\",\n \"Tasks\": [\n {\n \"TaskId\": 111110,\n \"TaskType\": \"taskCreateClusters\",\n \"TaskStatus\": \"running\",\n \"ObjectId\": \"cynosdbmysql-asd45qwe\",\n \"ObjectType\": \"cluster\"\n }\n ],\n \"IsFreeze\": \"no\",\n \"ResourceTags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"MasterZone\": \"ap-guangzhou-3\",\n \"SlaveZones\": [\n \"ap-guangzhou-4\"\n ],\n \"InstanceNetInfo\": [\n {\n \"InstanceGroupType\": \"ha\",\n \"InstanceGroupId\": \"cynosdbmysql-grp-asd45qwe\",\n \"VpcId\": \"vpc-12as45\",\n \"SubnetId\": \"subnet-12as45\",\n \"NetType\": 0,\n \"Vip\": \"192.0.0.0\",\n \"Vport\": 3306,\n \"WanDomain\": \"\",\n \"WanIP\": \"\",\n \"WanPort\": 0,\n \"WanStatus\": \"\"\n }\n ],\n \"ResourcePackages\": [\n {\n \"PackageId\": \"\",\n \"PackageType\": \"\"\n }\n ],\n \"InstanceIndexMode\": \"\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
458
458
|
"title": "查询实例列表"
|
459
459
|
}
|
460
460
|
],
|
@@ -470,7 +470,7 @@
|
|
470
470
|
{
|
471
471
|
"document": "查询参数模板详情",
|
472
472
|
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeParamTemplateDetail\n<公共请求参数>\n\n{\n \"TemplateId\": \"4837003\"\n}",
|
473
|
-
"output": "{\n \"Response\": {\n \"DbMode\": \"NORMAL\",\n \"EngineVersion\": \"5.7\",\n \"Items\": [\n {\n \"CurrentValue\": \"1000\",\n \"Default\": \"0\",\n \"Description\": \"The maximum permitted number of simultaneous client connections per user.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"10240\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {},\n \"NeedReboot\": 0,\n \"ParamName\": \"max_user_connections\",\n \"ParamType\": \"integer\",\n \"SupportFunc\": false\n }\n ],\n \"RequestId\": \"ca8481bf-ba79-42ba-b90b-bd47df104add\",\n \"TemplateDescription\": \"测试模板\",\n \"TemplateId\": 4837003,\n \"TemplateName\": \"测试模板\",\n \"TotalCount\": 1\n }\n}",
|
473
|
+
"output": "{\n \"Response\": {\n \"DbMode\": \"NORMAL\",\n \"EngineVersion\": \"5.7\",\n \"Items\": [\n {\n \"CurrentValue\": \"1000\",\n \"Default\": \"0\",\n \"Description\": \"The maximum permitted number of simultaneous client connections per user.\",\n \"EnumValue\": [],\n \"Func\": \"\",\n \"IsFunc\": false,\n \"IsGlobal\": 0,\n \"MatchType\": \"\",\n \"MatchValue\": \"\",\n \"Max\": \"10240\",\n \"Min\": \"0\",\n \"ModifiableInfo\": {\n \"IsModifiable\": 1\n },\n \"NeedReboot\": 0,\n \"ParamName\": \"max_user_connections\",\n \"ParamType\": \"integer\",\n \"SupportFunc\": false\n }\n ],\n \"RequestId\": \"ca8481bf-ba79-42ba-b90b-bd47df104add\",\n \"TemplateDescription\": \"测试模板\",\n \"TemplateId\": 4837003,\n \"TemplateName\": \"测试模板\",\n \"TotalCount\": 1\n }\n}",
|
474
474
|
"title": "查询参数模板详情"
|
475
475
|
}
|
476
476
|
],
|
@@ -843,8 +843,8 @@
|
|
843
843
|
"ModifyVipVport": [
|
844
844
|
{
|
845
845
|
"document": "",
|
846
|
-
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyVipVport\n&ClusterId=
|
847
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"128046\",\n \"FlowId\": 123\n }\n}",
|
846
|
+
"input": "https://cynosdb.tencentcloudapi.com/?Action=ModifyVipVport\n&ClusterId=xxx\n&InstanceGrpId=xxx\n&Vip=xx.xx.xx.xx\n&<公共请求参数>",
|
847
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"128046\",\n \"FlowId\": \"123\"\n }\n}",
|
848
848
|
"title": "修改ip端口"
|
849
849
|
}
|
850
850
|
],
|
@@ -300,13 +300,13 @@
|
|
300
300
|
"title": "文件发起-跳过文件上传"
|
301
301
|
},
|
302
302
|
{
|
303
|
-
"document": "1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方\n2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改\n<img
|
303
|
+
"document": "1.这是一个B2C的合同模板, 创建发起合同签署链接,只指定一个子企业的参与方\n2.FlowApproverList参数指定的参与方不能更改, 未指定的参与方可以修改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/f51c3d969db0093300094a22c6c01555.png\" >\n",
|
304
304
|
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"zhansan\"\n }\n },\n \"ResourceId\": \"yDSL6UUckpo6ynynUx47m3cSKQavf88Q\",\n \"ResourceType\": 1,\n \"FlowInfo\": {\n \"FlowName\": \"2024典子谦入职合同\",\n \"FlowType\": \"入职合同\",\n \"FlowDescription\": \"2024典子谦入职合同\",\n \"Deadline\": 1706335491\n },\n \"FlowApproverList\": [\n {\n \"NotChannelOrganization\": false,\n \"ApproverType\": 0,\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"OpenId\": \"n9527\",\n \"RecipientId\": \"yDSL6UUckpo6am9jUuRHYOWRfZbRAhm6\"\n }\n ]\n}",
|
305
305
|
"output": "{\n \"Response\": {\n \"PrepareFlowUrl\": \"https://embed.beta.qian.tencent.cn/contract-create?code=yDCNBUUckpvlzt0sUypjGZRCTkEHyRh6\",\n \"PreviewFlowUrl\": \"\",\n \"RequestId\": \"296e3cfb-504e-494d-a86c-75101a87c09e\"\n }\n}",
|
306
306
|
"title": "创建发起合同签署链接-模板发起(固定一个参与方)"
|
307
307
|
},
|
308
308
|
{
|
309
|
-
"document": "1.创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人\n2.FlowApproverList参数指定的参与方不能更改\n<img
|
309
|
+
"document": "1.创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人\n2.FlowApproverList参数指定的参与方不能更改\n<img src=\"https://qcloudimg.tencent-cloud.cn/raw/935a3cebf2881b25c1d87e234a303a13.png\" >\n",
|
310
310
|
"input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChannelCreatePrepareFlow\n<公共请求参数>\n\n{\n \"ResourceId\": \"yDSL6UUckpo6ynynUx47m3cSKQavf88Q\",\n \"ResourceType\": 1,\n \"FlowInfo\": {\n \"FlowName\": \"典子谦入职合同(17:53:30)\",\n \"FlowType\": \"入职合同\",\n \"FlowDescription\": \"2024典子谦入职合同\",\n \"Deadline\": 1701679610\n },\n \"Agent\": {\n \"AppId\": \"yDwhxUUckp3gl8j5UuFX33LSNozpRsbi\",\n \"ProxyOrganizationOpenId\": \"org_dianziqian\",\n \"ProxyOperator\": {\n \"OpenId\": \"110101200610116558\"\n }\n },\n \"FlowApproverList\": [\n {\n \"NotChannelOrganization\": false,\n \"OrganizationOpenId\": \"org_dianziqian\",\n \"OrganizationName\": \"典子谦示例企业\",\n \"OpenId\": \"n131517\",\n \"RecipientId\": \"yDSL6UUckpo6am9jUuRHYOWRfZbRAhm6\"\n },\n {\n \"ApproverType\": 1,\n \"NotChannelOrganization\": false,\n \"ApproverName\": \"张三\",\n \"ApproverMobile\": \"1850000000\",\n \"RecipientId\": \"yDSL6UUckpo6am9qUuRHYOWwmX5rZGCX\"\n }\n ]\n}",
|
311
311
|
"output": "{\n \"Response\": {\n \"PrepareFlowUrl\": \"https://embed.beta.qian.tencent.cn/contract-create?embed=1&expiredOn=1700819911&code=yDSL6UUQEjIKK&businessId=yDSL6U3iY7&channel=PROXYCHANNEL&operateSource=byTemplate&themeId=channel_web_theme_yDwi3UAR2Yb\",\n \"PreviewFlowUrl\": \"\",\n \"RequestId\": \"c52aaa17-3f81-4640-be03-fca0a553d2e3\"\n }\n}",
|
312
312
|
"title": "创建发起合同签署链接-模板发起(固定所有的参与方)"
|
@@ -2962,7 +2962,7 @@
|
|
2962
2962
|
},
|
2963
2963
|
{
|
2964
2964
|
"disabled": false,
|
2965
|
-
"document": "自定义回调地址。\n
|
2965
|
+
"document": "自定义回调地址。\n拉流转推任务相关事件会回调到该地址。\n回调事件使用方法请查看:\nhttps://cloud.tencent.com/document/product/267/32744\nhttps://cloud.tencent.com/document/product/267/56208",
|
2966
2966
|
"example": "无",
|
2967
2967
|
"member": "string",
|
2968
2968
|
"name": "CallbackUrl",
|
@@ -1405,6 +1405,15 @@
|
|
1405
1405
|
"name": "WorkSpaceId",
|
1406
1406
|
"required": false,
|
1407
1407
|
"type": "string"
|
1408
|
+
},
|
1409
|
+
{
|
1410
|
+
"disabled": false,
|
1411
|
+
"document": "目标工作空间 SerialId",
|
1412
|
+
"example": "无",
|
1413
|
+
"member": "string",
|
1414
|
+
"name": "TargetWorkspaceId",
|
1415
|
+
"required": false,
|
1416
|
+
"type": "string"
|
1408
1417
|
}
|
1409
1418
|
],
|
1410
1419
|
"type": "object"
|
@@ -1418,7 +1427,7 @@
|
|
1418
1427
|
"example": "1",
|
1419
1428
|
"member": "int64",
|
1420
1429
|
"name": "SuccessCount",
|
1421
|
-
"
|
1430
|
+
"output_required": true,
|
1422
1431
|
"type": "int",
|
1423
1432
|
"value_allowed_null": true
|
1424
1433
|
},
|
@@ -1428,7 +1437,7 @@
|
|
1428
1437
|
"example": "1",
|
1429
1438
|
"member": "int64",
|
1430
1439
|
"name": "FailCount",
|
1431
|
-
"
|
1440
|
+
"output_required": true,
|
1432
1441
|
"type": "int",
|
1433
1442
|
"value_allowed_null": true
|
1434
1443
|
},
|
@@ -1438,7 +1447,7 @@
|
|
1438
1447
|
"example": "无",
|
1439
1448
|
"member": "CopyJobResult",
|
1440
1449
|
"name": "CopyJobsResults",
|
1441
|
-
"
|
1450
|
+
"output_required": true,
|
1442
1451
|
"type": "list",
|
1443
1452
|
"value_allowed_null": true
|
1444
1453
|
},
|
@@ -4592,6 +4601,26 @@
|
|
4592
4601
|
"output_required": false,
|
4593
4602
|
"type": "string",
|
4594
4603
|
"value_allowed_null": true
|
4604
|
+
},
|
4605
|
+
{
|
4606
|
+
"disabled": false,
|
4607
|
+
"document": "es索引中文\n注意:此字段可能返回 null,表示取不到有效值。",
|
4608
|
+
"example": "index-**",
|
4609
|
+
"member": "string",
|
4610
|
+
"name": "IndexName",
|
4611
|
+
"output_required": false,
|
4612
|
+
"type": "string",
|
4613
|
+
"value_allowed_null": true
|
4614
|
+
},
|
4615
|
+
{
|
4616
|
+
"disabled": false,
|
4617
|
+
"document": "es空间中文\n注意:此字段可能返回 null,表示取不到有效值。",
|
4618
|
+
"example": "space-**",
|
4619
|
+
"member": "string",
|
4620
|
+
"name": "WorkspaceName",
|
4621
|
+
"output_required": false,
|
4622
|
+
"type": "string",
|
4623
|
+
"value_allowed_null": true
|
4595
4624
|
}
|
4596
4625
|
],
|
4597
4626
|
"usage": "out"
|
@@ -18,7 +18,7 @@
|
|
18
18
|
{
|
19
19
|
"document": "",
|
20
20
|
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CopyJobs\n<公共请求参数>\n\n{\n \"WorkSpaceId\": \"sapce-xxx\",\n \"JobItems\": [\n {\n \"SourceId\": \"cql-pqx9zh30\",\n \"SourceName\": \"datagen_datagen_datagen_datagen_datagen_datagen_50\",\n \"JobType\": 1,\n \"TargetClusterId\": \"cluster-4y035tb0\",\n \"TargetName\": \"datagen_datagen_datagen_datagen_datagen_datagen_50_2022-01-12_10_14_52\",\n \"TargetFolderId\": \"root\"\n }\n ]\n}",
|
21
|
-
"output": "{\n \"Response\": {\n \"
|
21
|
+
"output": "{\n \"Response\": {\n \"SuccessCount\": 0,\n \"FailCount\": 0,\n \"CopyJobsResults\": [\n {\n \"JobId\": \"abc\",\n \"JobName\": \"abc\",\n \"TargetJobName\": \"abc\",\n \"TargetJobId\": \"abc\",\n \"Message\": \"abc\",\n \"Result\": 0,\n \"ClusterName\": \"abc\",\n \"ClusterId\": \"abc\",\n \"JobType\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
22
22
|
"title": "复制作业"
|
23
23
|
}
|
24
24
|
],
|
@@ -1981,7 +1981,7 @@
|
|
1981
1981
|
"example": "1782",
|
1982
1982
|
"member": "string",
|
1983
1983
|
"name": "ZoneId",
|
1984
|
-
"
|
1984
|
+
"output_required": true,
|
1985
1985
|
"type": "string",
|
1986
1986
|
"value_allowed_null": false
|
1987
1987
|
},
|
@@ -1991,7 +1991,7 @@
|
|
1991
1991
|
"example": "444353877",
|
1992
1992
|
"member": "int64",
|
1993
1993
|
"name": "OwnerUin",
|
1994
|
-
"
|
1994
|
+
"output_required": true,
|
1995
1995
|
"type": "int",
|
1996
1996
|
"value_allowed_null": false
|
1997
1997
|
},
|
@@ -2001,7 +2001,7 @@
|
|
2001
2001
|
"example": "test.com",
|
2002
2002
|
"member": "string",
|
2003
2003
|
"name": "Domain",
|
2004
|
-
"
|
2004
|
+
"output_required": true,
|
2005
2005
|
"type": "string",
|
2006
2006
|
"value_allowed_null": false
|
2007
2007
|
},
|
@@ -2011,7 +2011,7 @@
|
|
2011
2011
|
"example": "2020-12-26 18:51:20",
|
2012
2012
|
"member": "datetime",
|
2013
2013
|
"name": "CreatedOn",
|
2014
|
-
"
|
2014
|
+
"output_required": true,
|
2015
2015
|
"type": "string",
|
2016
2016
|
"value_allowed_null": false
|
2017
2017
|
},
|
@@ -2021,7 +2021,7 @@
|
|
2021
2021
|
"example": "2020-12-26 18:51:20",
|
2022
2022
|
"member": "datetime",
|
2023
2023
|
"name": "UpdatedOn",
|
2024
|
-
"
|
2024
|
+
"output_required": true,
|
2025
2025
|
"type": "string",
|
2026
2026
|
"value_allowed_null": false
|
2027
2027
|
},
|
@@ -2031,7 +2031,7 @@
|
|
2031
2031
|
"example": "0",
|
2032
2032
|
"member": "int64",
|
2033
2033
|
"name": "RecordCount",
|
2034
|
-
"
|
2034
|
+
"output_required": true,
|
2035
2035
|
"type": "int",
|
2036
2036
|
"value_allowed_null": false
|
2037
2037
|
},
|
@@ -2041,7 +2041,7 @@
|
|
2041
2041
|
"example": "备注",
|
2042
2042
|
"member": "string",
|
2043
2043
|
"name": "Remark",
|
2044
|
-
"
|
2044
|
+
"output_required": true,
|
2045
2045
|
"type": "string",
|
2046
2046
|
"value_allowed_null": true
|
2047
2047
|
},
|
@@ -2051,17 +2051,17 @@
|
|
2051
2051
|
"example": "[]",
|
2052
2052
|
"member": "VpcInfo",
|
2053
2053
|
"name": "VpcSet",
|
2054
|
-
"
|
2054
|
+
"output_required": true,
|
2055
2055
|
"type": "list",
|
2056
2056
|
"value_allowed_null": false
|
2057
2057
|
},
|
2058
2058
|
{
|
2059
2059
|
"disabled": false,
|
2060
|
-
"document": "
|
2060
|
+
"document": "私有域绑定VPC状态,未关联vpc:SUSPEND,已关联VPC:ENABLED\n,关联VPC失败:FAILED",
|
2061
2061
|
"example": "ENABLED",
|
2062
2062
|
"member": "string",
|
2063
2063
|
"name": "Status",
|
2064
|
-
"
|
2064
|
+
"output_required": true,
|
2065
2065
|
"type": "string",
|
2066
2066
|
"value_allowed_null": false
|
2067
2067
|
},
|
@@ -2071,7 +2071,7 @@
|
|
2071
2071
|
"example": "DISABLED",
|
2072
2072
|
"member": "string",
|
2073
2073
|
"name": "DnsForwardStatus",
|
2074
|
-
"
|
2074
|
+
"output_required": true,
|
2075
2075
|
"type": "string",
|
2076
2076
|
"value_allowed_null": false
|
2077
2077
|
},
|
@@ -2081,7 +2081,7 @@
|
|
2081
2081
|
"example": "[{TagKey: \"testtag\", TagValue: \"testtag\"}]",
|
2082
2082
|
"member": "TagInfo",
|
2083
2083
|
"name": "Tags",
|
2084
|
-
"
|
2084
|
+
"output_required": true,
|
2085
2085
|
"type": "list",
|
2086
2086
|
"value_allowed_null": false
|
2087
2087
|
},
|
@@ -2091,7 +2091,7 @@
|
|
2091
2091
|
"example": "无",
|
2092
2092
|
"member": "AccountVpcInfoOutput",
|
2093
2093
|
"name": "AccountVpcSet",
|
2094
|
-
"
|
2094
|
+
"output_required": true,
|
2095
2095
|
"type": "list",
|
2096
2096
|
"value_allowed_null": true
|
2097
2097
|
},
|
@@ -2101,7 +2101,7 @@
|
|
2101
2101
|
"example": "false",
|
2102
2102
|
"member": "bool",
|
2103
2103
|
"name": "IsCustomTld",
|
2104
|
-
"
|
2104
|
+
"output_required": true,
|
2105
2105
|
"type": "bool",
|
2106
2106
|
"value_allowed_null": true
|
2107
2107
|
},
|
@@ -2111,7 +2111,7 @@
|
|
2111
2111
|
"example": "DISABLED",
|
2112
2112
|
"member": "string",
|
2113
2113
|
"name": "CnameSpeedupStatus",
|
2114
|
-
"
|
2114
|
+
"output_required": true,
|
2115
2115
|
"type": "string",
|
2116
2116
|
"value_allowed_null": false
|
2117
2117
|
},
|
@@ -2121,7 +2121,7 @@
|
|
2121
2121
|
"example": "转发规则名",
|
2122
2122
|
"member": "string",
|
2123
2123
|
"name": "ForwardRuleName",
|
2124
|
-
"
|
2124
|
+
"output_required": true,
|
2125
2125
|
"type": "string",
|
2126
2126
|
"value_allowed_null": true
|
2127
2127
|
},
|
@@ -2131,7 +2131,7 @@
|
|
2131
2131
|
"example": "DOWN",
|
2132
2132
|
"member": "string",
|
2133
2133
|
"name": "ForwardRuleType",
|
2134
|
-
"
|
2134
|
+
"output_required": true,
|
2135
2135
|
"type": "string",
|
2136
2136
|
"value_allowed_null": true
|
2137
2137
|
},
|
@@ -2141,7 +2141,7 @@
|
|
2141
2141
|
"example": "10.0.23.41:53,10.0.23.42:53,",
|
2142
2142
|
"member": "string",
|
2143
2143
|
"name": "ForwardAddress",
|
2144
|
-
"
|
2144
|
+
"output_required": true,
|
2145
2145
|
"type": "string",
|
2146
2146
|
"value_allowed_null": true
|
2147
2147
|
},
|
@@ -2151,9 +2151,19 @@
|
|
2151
2151
|
"example": "终端节点名",
|
2152
2152
|
"member": "string",
|
2153
2153
|
"name": "EndPointName",
|
2154
|
-
"
|
2154
|
+
"output_required": true,
|
2155
2155
|
"type": "string",
|
2156
2156
|
"value_allowed_null": true
|
2157
|
+
},
|
2158
|
+
{
|
2159
|
+
"disabled": false,
|
2160
|
+
"document": "已删除的vpc\n注意:此字段可能返回 null,表示取不到有效值。",
|
2161
|
+
"example": "[]",
|
2162
|
+
"member": "VpcInfo",
|
2163
|
+
"name": "DeletedVpcSet",
|
2164
|
+
"output_required": false,
|
2165
|
+
"type": "list",
|
2166
|
+
"value_allowed_null": true
|
2157
2167
|
}
|
2158
2168
|
],
|
2159
2169
|
"usage": "out"
|
tccli/services/ssl/ssl_client.py
CHANGED
@@ -1681,58 +1681,6 @@ def doDeployCertificateRecordRollback(args, parsed_globals):
|
|
1681
1681
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1682
1682
|
|
1683
1683
|
|
1684
|
-
def doHostCertificate(args, parsed_globals):
|
1685
|
-
g_param = parse_global_arg(parsed_globals)
|
1686
|
-
|
1687
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1688
|
-
cred = credential.CVMRoleCredential()
|
1689
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1690
|
-
cred = credential.STSAssumeRoleCredential(
|
1691
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1692
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1693
|
-
)
|
1694
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
1695
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1696
|
-
else:
|
1697
|
-
cred = credential.Credential(
|
1698
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1699
|
-
)
|
1700
|
-
http_profile = HttpProfile(
|
1701
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1702
|
-
reqMethod="POST",
|
1703
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
1704
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1705
|
-
)
|
1706
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1707
|
-
if g_param[OptionsDefine.Language]:
|
1708
|
-
profile.language = g_param[OptionsDefine.Language]
|
1709
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1710
|
-
client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
1712
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
-
model = models.HostCertificateRequest()
|
1714
|
-
model.from_json_string(json.dumps(args))
|
1715
|
-
start_time = time.time()
|
1716
|
-
while True:
|
1717
|
-
rsp = client.HostCertificate(model)
|
1718
|
-
result = rsp.to_json_string()
|
1719
|
-
try:
|
1720
|
-
json_obj = json.loads(result)
|
1721
|
-
except TypeError as e:
|
1722
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1723
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1724
|
-
break
|
1725
|
-
cur_time = time.time()
|
1726
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1727
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1728
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1729
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1730
|
-
else:
|
1731
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1732
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1733
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
|
-
|
1735
|
-
|
1736
1684
|
def doDeployCertificateRecordRetry(args, parsed_globals):
|
1737
1685
|
g_param = parse_global_arg(parsed_globals)
|
1738
1686
|
|
@@ -3024,7 +2972,6 @@ ACTION_MAP = {
|
|
3024
2972
|
"DescribeManagerDetail": doDescribeManagerDetail,
|
3025
2973
|
"DescribeHostDeployRecordDetail": doDescribeHostDeployRecordDetail,
|
3026
2974
|
"DeployCertificateRecordRollback": doDeployCertificateRecordRollback,
|
3027
|
-
"HostCertificate": doHostCertificate,
|
3028
2975
|
"DeployCertificateRecordRetry": doDeployCertificateRecordRetry,
|
3029
2976
|
"DescribeCertificateBindResourceTaskResult": doDescribeCertificateBindResourceTaskResult,
|
3030
2977
|
"CancelAuditCertificate": doCancelAuditCertificate,
|