tccli 3.0.1134.1__py2.py3-none-any.whl → 3.0.1136.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/services/__init__.py +3 -0
- tccli/services/asr/asr_client.py +53 -0
- tccli/services/asr/v20190614/api.json +193 -1
- tccli/services/asr/v20190614/examples.json +8 -0
- tccli/services/batch/v20170312/api.json +8 -5
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +270 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/cls/v20201016/api.json +3 -3
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +138 -4
- tccli/services/dlc/v20210125/examples.json +13 -5
- tccli/services/dsgc/v20190723/api.json +35 -35
- tccli/services/eiam/v20210420/api.json +4 -4
- tccli/services/eiam/v20210420/examples.json +4 -4
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/facefusion/v20181201/api.json +12 -12
- tccli/services/facefusion/v20181201/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +137 -4
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/lcic/v20220817/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +15 -15
- tccli/services/lighthouse/v20200324/examples.json +7 -7
- tccli/services/lke/lke_client.py +175 -16
- tccli/services/lke/v20231130/api.json +782 -165
- tccli/services/lke/v20231130/examples.json +35 -5
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ses/v20201002/api.json +20 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +321 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/tem/v20210701/api.json +8 -5
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +33 -21
- tccli/services/tke/v20180525/examples.json +4 -4
- tccli/services/trocket/trocket_client.py +65 -12
- tccli/services/trocket/v20230308/api.json +196 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +48 -66
- tccli/services/tsi/__init__.py +4 -0
- tccli/services/tsi/tsi_client.py +301 -0
- tccli/services/tsi/v20210325/api.json +373 -0
- tccli/services/tsi/v20210325/examples.json +29 -0
- tccli/services/vpc/v20170312/api.json +36 -16
- tccli/services/vpc/v20170312/examples.json +9 -3
- tccli/services/waf/v20180125/api.json +70 -0
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +53 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/RECORD +58 -54
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1134.1.dist-info → tccli-3.0.1136.1.dist-info}/license_files/LICENSE +0 -0
@@ -874,7 +874,7 @@
|
|
874
874
|
{
|
875
875
|
"document": "",
|
876
876
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribeEdgeAvailableExtraArgs\n&ClusterVersion=1.12.4\n&<公共请求参数>",
|
877
|
-
"output": "{\n \"Response\": {\n \"ClusterVersion\": \"
|
877
|
+
"output": "{\n \"Response\": {\n \"ClusterVersion\": \"abc\",\n \"AvailableExtraArgs\": {\n \"KubeAPIServer\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Usage\": \"abc\",\n \"Default\": \"abc\",\n \"Constraint\": \"abc\"\n }\n ],\n \"KubeControllerManager\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Usage\": \"abc\",\n \"Default\": \"abc\",\n \"Constraint\": \"abc\"\n }\n ],\n \"KubeScheduler\": [\n {\n \"Name\": \"abc\",\n \"Type\": \"abc\",\n \"Usage\": \"abc\",\n \"Default\": \"abc\",\n \"Constraint\": \"abc\"\n }\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
|
878
878
|
"title": "查询集群可用的自定义参数"
|
879
879
|
}
|
880
880
|
],
|
@@ -898,7 +898,7 @@
|
|
898
898
|
{
|
899
899
|
"document": "查询边缘计算集群的节点信息",
|
900
900
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribeEdgeClusterInstances\r\n&ClusterID=cls-xxxxx\r\n&Limit=5\r\n&Offset=0\r\n&<公共请求参数>",
|
901
|
-
"output": "{\n \"Response\": {\n \"
|
901
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstanceInfoSet\": \"csm-1\",\n \"RequestId\": \"a43dg678fhsctyh5\"\n }\n}",
|
902
902
|
"title": "查询边缘计算集群的节点信息"
|
903
903
|
}
|
904
904
|
],
|
@@ -914,7 +914,7 @@
|
|
914
914
|
{
|
915
915
|
"document": "边缘集群日志开关",
|
916
916
|
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEdgeLogSwitches\n<公共请求参数>\n\n{\n \"ClusterIds\": [\n \"cls-xxx1\",\n \"cls-xxx2\"\n ]\n}",
|
917
|
-
"output": "{\n \"Response\":{\n \"SwitchSet\":[\n
|
917
|
+
"output": "{\n \"Response\": {\n \"SwitchSet\": [\n \"logsetid: 8hhy32hru27\"\n ],\n \"RequestId\": \"iu3u89fvfsyr37819hi9\"\n }\n}",
|
918
918
|
"title": "查询开关列表接口示例"
|
919
919
|
}
|
920
920
|
],
|
@@ -1334,7 +1334,7 @@
|
|
1334
1334
|
{
|
1335
1335
|
"document": "查询集群列表,用于获取集群列表",
|
1336
1336
|
"input": "https://tke.tencentcloudapi.com/?Action=DescribeTKEEdgeClusters\r\n&<公共请求参数>",
|
1337
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Clusters\": [\n {\n \"ClusterId\": \"
|
1337
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Clusters\": [\n {\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"VpcId\": \"abc\",\n \"PodCIDR\": \"abc\",\n \"ServiceCIDR\": \"abc\",\n \"K8SVersion\": \"abc\",\n \"Status\": \"abc\",\n \"ClusterDesc\": \"abc\",\n \"CreatedTime\": \"abc\",\n \"EdgeClusterVersion\": \"abc\",\n \"MaxNodePodNum\": 0,\n \"ClusterAdvancedSettings\": {\n \"ExtraArgs\": {\n \"KubeAPIServer\": [\n \"abc\"\n ],\n \"KubeControllerManager\": [\n \"abc\"\n ],\n \"KubeScheduler\": [\n \"abc\"\n ]\n },\n \"Runtime\": \"abc\",\n \"ProxyMode\": \"abc\"\n },\n \"Level\": \"abc\",\n \"AutoUpgradeClusterLevel\": true,\n \"ChargeType\": \"abc\",\n \"EdgeVersion\": \"abc\",\n \"TagSpecification\": {\n \"ResourceType\": \"abc\",\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
1338
1338
|
"title": "集群信息列表"
|
1339
1339
|
}
|
1340
1340
|
],
|
@@ -693,6 +693,58 @@ def doDeleteConsumerGroup(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
+
def doDescribeMQTTMessage(args, parsed_globals):
|
697
|
+
g_param = parse_global_arg(parsed_globals)
|
698
|
+
|
699
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
700
|
+
cred = credential.CVMRoleCredential()
|
701
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
702
|
+
cred = credential.STSAssumeRoleCredential(
|
703
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
704
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
705
|
+
)
|
706
|
+
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):
|
707
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
708
|
+
else:
|
709
|
+
cred = credential.Credential(
|
710
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
711
|
+
)
|
712
|
+
http_profile = HttpProfile(
|
713
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
714
|
+
reqMethod="POST",
|
715
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
716
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
717
|
+
)
|
718
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
719
|
+
if g_param[OptionsDefine.Language]:
|
720
|
+
profile.language = g_param[OptionsDefine.Language]
|
721
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
722
|
+
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
723
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
724
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
+
model = models.DescribeMQTTMessageRequest()
|
726
|
+
model.from_json_string(json.dumps(args))
|
727
|
+
start_time = time.time()
|
728
|
+
while True:
|
729
|
+
rsp = client.DescribeMQTTMessage(model)
|
730
|
+
result = rsp.to_json_string()
|
731
|
+
try:
|
732
|
+
json_obj = json.loads(result)
|
733
|
+
except TypeError as e:
|
734
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
735
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
736
|
+
break
|
737
|
+
cur_time = time.time()
|
738
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
739
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
740
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
741
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
742
|
+
else:
|
743
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
744
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
745
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
|
+
|
747
|
+
|
696
748
|
def doModifyConsumerGroup(args, parsed_globals):
|
697
749
|
g_param = parse_global_arg(parsed_globals)
|
698
750
|
|
@@ -901,7 +953,7 @@ def doDeleteMQTTInstance(args, parsed_globals):
|
|
901
953
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
954
|
|
903
955
|
|
904
|
-
def
|
956
|
+
def doDescribeProductSKUs(args, parsed_globals):
|
905
957
|
g_param = parse_global_arg(parsed_globals)
|
906
958
|
|
907
959
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -930,11 +982,11 @@ def doDescribeMQTTMessage(args, parsed_globals):
|
|
930
982
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
931
983
|
client._sdkVersion += ("_CLI_" + __version__)
|
932
984
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
933
|
-
model = models.
|
985
|
+
model = models.DescribeProductSKUsRequest()
|
934
986
|
model.from_json_string(json.dumps(args))
|
935
987
|
start_time = time.time()
|
936
988
|
while True:
|
937
|
-
rsp = client.
|
989
|
+
rsp = client.DescribeProductSKUs(model)
|
938
990
|
result = rsp.to_json_string()
|
939
991
|
try:
|
940
992
|
json_obj = json.loads(result)
|
@@ -1057,7 +1109,7 @@ def doModifyMQTTInstance(args, parsed_globals):
|
|
1057
1109
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
1110
|
|
1059
1111
|
|
1060
|
-
def
|
1112
|
+
def doDescribeMQTTTopic(args, parsed_globals):
|
1061
1113
|
g_param = parse_global_arg(parsed_globals)
|
1062
1114
|
|
1063
1115
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1086,11 +1138,11 @@ def doImportSourceClusterTopics(args, parsed_globals):
|
|
1086
1138
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1087
1139
|
client._sdkVersion += ("_CLI_" + __version__)
|
1088
1140
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1089
|
-
model = models.
|
1141
|
+
model = models.DescribeMQTTTopicRequest()
|
1090
1142
|
model.from_json_string(json.dumps(args))
|
1091
1143
|
start_time = time.time()
|
1092
1144
|
while True:
|
1093
|
-
rsp = client.
|
1145
|
+
rsp = client.DescribeMQTTTopic(model)
|
1094
1146
|
result = rsp.to_json_string()
|
1095
1147
|
try:
|
1096
1148
|
json_obj = json.loads(result)
|
@@ -1837,7 +1889,7 @@ def doDescribeMQTTInstanceList(args, parsed_globals):
|
|
1837
1889
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1890
|
|
1839
1891
|
|
1840
|
-
def
|
1892
|
+
def doImportSourceClusterTopics(args, parsed_globals):
|
1841
1893
|
g_param = parse_global_arg(parsed_globals)
|
1842
1894
|
|
1843
1895
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1866,11 +1918,11 @@ def doDescribeMQTTTopic(args, parsed_globals):
|
|
1866
1918
|
client = mod.TrocketClient(cred, g_param[OptionsDefine.Region], profile)
|
1867
1919
|
client._sdkVersion += ("_CLI_" + __version__)
|
1868
1920
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1869
|
-
model = models.
|
1921
|
+
model = models.ImportSourceClusterTopicsRequest()
|
1870
1922
|
model.from_json_string(json.dumps(args))
|
1871
1923
|
start_time = time.time()
|
1872
1924
|
while True:
|
1873
|
-
rsp = client.
|
1925
|
+
rsp = client.ImportSourceClusterTopics(model)
|
1874
1926
|
result = rsp.to_json_string()
|
1875
1927
|
try:
|
1876
1928
|
json_obj = json.loads(result)
|
@@ -2485,14 +2537,15 @@ ACTION_MAP = {
|
|
2485
2537
|
"DeleteMQTTInsPublicEndpoint": doDeleteMQTTInsPublicEndpoint,
|
2486
2538
|
"DescribeRoleList": doDescribeRoleList,
|
2487
2539
|
"DeleteConsumerGroup": doDeleteConsumerGroup,
|
2540
|
+
"DescribeMQTTMessage": doDescribeMQTTMessage,
|
2488
2541
|
"ModifyConsumerGroup": doModifyConsumerGroup,
|
2489
2542
|
"DescribeMQTTInsVPCEndpoints": doDescribeMQTTInsVPCEndpoints,
|
2490
2543
|
"DeleteRole": doDeleteRole,
|
2491
2544
|
"DeleteMQTTInstance": doDeleteMQTTInstance,
|
2492
|
-
"
|
2545
|
+
"DescribeProductSKUs": doDescribeProductSKUs,
|
2493
2546
|
"ImportSourceClusterConsumerGroups": doImportSourceClusterConsumerGroups,
|
2494
2547
|
"ModifyMQTTInstance": doModifyMQTTInstance,
|
2495
|
-
"
|
2548
|
+
"DescribeMQTTTopic": doDescribeMQTTTopic,
|
2496
2549
|
"ModifyMQTTInsPublicEndpoint": doModifyMQTTInsPublicEndpoint,
|
2497
2550
|
"DescribeConsumerGroup": doDescribeConsumerGroup,
|
2498
2551
|
"CreateTopic": doCreateTopic,
|
@@ -2507,7 +2560,7 @@ ACTION_MAP = {
|
|
2507
2560
|
"DescribeMQTTInstanceCert": doDescribeMQTTInstanceCert,
|
2508
2561
|
"ModifyMQTTInstanceCertBinding": doModifyMQTTInstanceCertBinding,
|
2509
2562
|
"DescribeMQTTInstanceList": doDescribeMQTTInstanceList,
|
2510
|
-
"
|
2563
|
+
"ImportSourceClusterTopics": doImportSourceClusterTopics,
|
2511
2564
|
"CreateMQTTInstance": doCreateMQTTInstance,
|
2512
2565
|
"DescribeInstanceList": doDescribeInstanceList,
|
2513
2566
|
"DescribeMQTTInsPublicEndpoints": doDescribeMQTTInsPublicEndpoints,
|
@@ -231,6 +231,13 @@
|
|
231
231
|
"output": "DescribeMQTTUserListResponse",
|
232
232
|
"status": "online"
|
233
233
|
},
|
234
|
+
"DescribeProductSKUs": {
|
235
|
+
"document": "查询产品售卖规格,针对 RocketMQ 5.x 集群。",
|
236
|
+
"input": "DescribeProductSKUsRequest",
|
237
|
+
"name": "查询产品售卖规格",
|
238
|
+
"output": "DescribeProductSKUsResponse",
|
239
|
+
"status": "online"
|
240
|
+
},
|
234
241
|
"DescribeRoleList": {
|
235
242
|
"document": "查询角色列表,Filter参数使用说明如下:\n\n1. RoleName,角色名称模糊搜索",
|
236
243
|
"input": "DescribeRoleListRequest",
|
@@ -3096,6 +3103,33 @@
|
|
3096
3103
|
],
|
3097
3104
|
"type": "object"
|
3098
3105
|
},
|
3106
|
+
"DescribeProductSKUsRequest": {
|
3107
|
+
"document": "DescribeProductSKUs请求参数结构体",
|
3108
|
+
"members": [],
|
3109
|
+
"type": "object"
|
3110
|
+
},
|
3111
|
+
"DescribeProductSKUsResponse": {
|
3112
|
+
"document": "DescribeProductSKUs返回参数结构体",
|
3113
|
+
"members": [
|
3114
|
+
{
|
3115
|
+
"disabled": false,
|
3116
|
+
"document": "商品配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
3117
|
+
"example": "无",
|
3118
|
+
"member": "ProductSKU",
|
3119
|
+
"name": "Data",
|
3120
|
+
"output_required": true,
|
3121
|
+
"type": "list",
|
3122
|
+
"value_allowed_null": true
|
3123
|
+
},
|
3124
|
+
{
|
3125
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3126
|
+
"member": "string",
|
3127
|
+
"name": "RequestId",
|
3128
|
+
"type": "string"
|
3129
|
+
}
|
3130
|
+
],
|
3131
|
+
"type": "object"
|
3132
|
+
},
|
3099
3133
|
"DescribeRoleListRequest": {
|
3100
3134
|
"document": "DescribeRoleList请求参数结构体",
|
3101
3135
|
"members": [
|
@@ -5238,6 +5272,168 @@
|
|
5238
5272
|
],
|
5239
5273
|
"usage": "out"
|
5240
5274
|
},
|
5275
|
+
"PriceTag": {
|
5276
|
+
"document": "价格标签信息",
|
5277
|
+
"members": [
|
5278
|
+
{
|
5279
|
+
"disabled": false,
|
5280
|
+
"document": "计价名称",
|
5281
|
+
"example": "无",
|
5282
|
+
"member": "string",
|
5283
|
+
"name": "Name",
|
5284
|
+
"output_required": true,
|
5285
|
+
"type": "string",
|
5286
|
+
"value_allowed_null": false
|
5287
|
+
},
|
5288
|
+
{
|
5289
|
+
"disabled": false,
|
5290
|
+
"document": "步长\n注意:此字段可能返回 null,表示取不到有效值。",
|
5291
|
+
"example": "1",
|
5292
|
+
"member": "int64",
|
5293
|
+
"name": "Step",
|
5294
|
+
"output_required": false,
|
5295
|
+
"type": "int",
|
5296
|
+
"value_allowed_null": true
|
5297
|
+
}
|
5298
|
+
],
|
5299
|
+
"usage": "out"
|
5300
|
+
},
|
5301
|
+
"ProductSKU": {
|
5302
|
+
"document": "商品售卖信息",
|
5303
|
+
"members": [
|
5304
|
+
{
|
5305
|
+
"disabled": false,
|
5306
|
+
"document": "产品类型,\nEXPERIMENT,体验版\nBASIC,基础版\nPRO,专业版\nPLATINUM,铂金版",
|
5307
|
+
"example": "EXPERIMENT",
|
5308
|
+
"member": "string",
|
5309
|
+
"name": "InstanceType",
|
5310
|
+
"output_required": true,
|
5311
|
+
"type": "string",
|
5312
|
+
"value_allowed_null": false
|
5313
|
+
},
|
5314
|
+
{
|
5315
|
+
"disabled": false,
|
5316
|
+
"document": "规格代码",
|
5317
|
+
"example": "无",
|
5318
|
+
"member": "string",
|
5319
|
+
"name": "SkuCode",
|
5320
|
+
"output_required": true,
|
5321
|
+
"type": "string",
|
5322
|
+
"value_allowed_null": false
|
5323
|
+
},
|
5324
|
+
{
|
5325
|
+
"disabled": false,
|
5326
|
+
"document": "TPS上限\n注意:此字段可能返回 null,表示取不到有效值。",
|
5327
|
+
"example": "无",
|
5328
|
+
"member": "int64",
|
5329
|
+
"name": "TpsLimit",
|
5330
|
+
"output_required": true,
|
5331
|
+
"type": "int",
|
5332
|
+
"value_allowed_null": true
|
5333
|
+
},
|
5334
|
+
{
|
5335
|
+
"disabled": false,
|
5336
|
+
"document": "弹性TPS上限\n注意:此字段可能返回 null,表示取不到有效值。",
|
5337
|
+
"example": "无",
|
5338
|
+
"member": "int64",
|
5339
|
+
"name": "ScaledTpsLimit",
|
5340
|
+
"output_required": true,
|
5341
|
+
"type": "int",
|
5342
|
+
"value_allowed_null": true
|
5343
|
+
},
|
5344
|
+
{
|
5345
|
+
"disabled": false,
|
5346
|
+
"document": "主题数量上限默认值\n注意:此字段可能返回 null,表示取不到有效值。",
|
5347
|
+
"example": "无",
|
5348
|
+
"member": "int64",
|
5349
|
+
"name": "TopicNumLimit",
|
5350
|
+
"output_required": true,
|
5351
|
+
"type": "int",
|
5352
|
+
"value_allowed_null": true
|
5353
|
+
},
|
5354
|
+
{
|
5355
|
+
"disabled": false,
|
5356
|
+
"document": "消费组数量上限\n注意:此字段可能返回 null,表示取不到有效值。",
|
5357
|
+
"example": "无",
|
5358
|
+
"member": "int64",
|
5359
|
+
"name": "GroupNumLimit",
|
5360
|
+
"output_required": true,
|
5361
|
+
"type": "int",
|
5362
|
+
"value_allowed_null": true
|
5363
|
+
},
|
5364
|
+
{
|
5365
|
+
"disabled": false,
|
5366
|
+
"document": "默认消息保留时间,小时为单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
5367
|
+
"example": "无",
|
5368
|
+
"member": "int64",
|
5369
|
+
"name": "DefaultRetention",
|
5370
|
+
"output_required": true,
|
5371
|
+
"type": "int",
|
5372
|
+
"value_allowed_null": true
|
5373
|
+
},
|
5374
|
+
{
|
5375
|
+
"disabled": false,
|
5376
|
+
"document": "可调整消息保留时间上限,小时为单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
5377
|
+
"example": "无",
|
5378
|
+
"member": "int64",
|
5379
|
+
"name": "RetentionUpperLimit",
|
5380
|
+
"output_required": true,
|
5381
|
+
"type": "int",
|
5382
|
+
"value_allowed_null": true
|
5383
|
+
},
|
5384
|
+
{
|
5385
|
+
"disabled": false,
|
5386
|
+
"document": "可调整消息保留时间下限,小时为单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
5387
|
+
"example": "无",
|
5388
|
+
"member": "int64",
|
5389
|
+
"name": "RetentionLowerLimit",
|
5390
|
+
"output_required": true,
|
5391
|
+
"type": "int",
|
5392
|
+
"value_allowed_null": true
|
5393
|
+
},
|
5394
|
+
{
|
5395
|
+
"disabled": false,
|
5396
|
+
"document": "延时消息最大时长,小时为单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
5397
|
+
"example": "无",
|
5398
|
+
"member": "int64",
|
5399
|
+
"name": "MaxMessageDelay",
|
5400
|
+
"output_required": true,
|
5401
|
+
"type": "int",
|
5402
|
+
"value_allowed_null": true
|
5403
|
+
},
|
5404
|
+
{
|
5405
|
+
"disabled": false,
|
5406
|
+
"document": "是否可购买",
|
5407
|
+
"example": "无",
|
5408
|
+
"member": "bool",
|
5409
|
+
"name": "OnSale",
|
5410
|
+
"output_required": true,
|
5411
|
+
"type": "bool",
|
5412
|
+
"value_allowed_null": false
|
5413
|
+
},
|
5414
|
+
{
|
5415
|
+
"disabled": false,
|
5416
|
+
"document": "计费项信息",
|
5417
|
+
"example": "无",
|
5418
|
+
"member": "PriceTag",
|
5419
|
+
"name": "PriceTags",
|
5420
|
+
"output_required": true,
|
5421
|
+
"type": "list",
|
5422
|
+
"value_allowed_null": false
|
5423
|
+
},
|
5424
|
+
{
|
5425
|
+
"disabled": false,
|
5426
|
+
"document": "主题数量上限默认最大值\n注意:此字段可能返回 null,表示取不到有效值。",
|
5427
|
+
"example": "100",
|
5428
|
+
"member": "int64",
|
5429
|
+
"name": "TopicNumUpperLimit",
|
5430
|
+
"output_required": false,
|
5431
|
+
"type": "int",
|
5432
|
+
"value_allowed_null": true
|
5433
|
+
}
|
5434
|
+
],
|
5435
|
+
"usage": "out"
|
5436
|
+
},
|
5241
5437
|
"PublicAccessRule": {
|
5242
5438
|
"document": "公网访问安全规则",
|
5243
5439
|
"members": [
|
@@ -270,6 +270,14 @@
|
|
270
270
|
"title": "示例"
|
271
271
|
}
|
272
272
|
],
|
273
|
+
"DescribeProductSKUs": [
|
274
|
+
{
|
275
|
+
"document": "获取产品规格信息",
|
276
|
+
"input": "POST / HTTP/1.1\nHost: trocket.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProductSKUs\n<公共请求参数>\n\n{}",
|
277
|
+
"output": "{\n \"Error\": null,\n \"RequestId\": null,\n \"Response\": {\n \"Data\": [\n {\n \"DefaultRetention\": 72,\n \"GroupNumLimit\": 500,\n \"InstanceType\": \"EXPERIMENT\",\n \"MaxMessageDelay\": 48,\n \"OnSale\": true,\n \"PriceTags\": [\n {\n \"Name\": \"tps\"\n }\n ],\n \"RetentionLowerLimit\": 24,\n \"RetentionUpperLimit\": 72,\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"experiment_500\",\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 500\n },\n {\n \"DefaultRetention\": 72,\n \"GroupNumLimit\": 500,\n \"InstanceType\": \"BASIC\",\n \"MaxMessageDelay\": 168,\n \"OnSale\": true,\n \"PriceTags\": [\n {\n \"Name\": \"tps\"\n }\n ],\n \"RetentionLowerLimit\": 24,\n \"RetentionUpperLimit\": 72,\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"basic_1k\",\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 1000\n },\n {\n \"DefaultRetention\": 72,\n \"GroupNumLimit\": 500,\n \"InstanceType\": \"BASIC\",\n \"MaxMessageDelay\": 168,\n \"OnSale\": true,\n \"PriceTags\": [\n {\n \"Name\": \"tps\"\n }\n ],\n \"RetentionLowerLimit\": 24,\n \"RetentionUpperLimit\": 72,\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"basic_2k\",\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 2000\n },\n {\n \"DefaultRetention\": 72,\n \"GroupNumLimit\": 500,\n \"InstanceType\": \"BASIC\",\n \"MaxMessageDelay\": 168,\n \"OnSale\": true,\n \"PriceTags\": [\n {\n \"Name\": \"tps\"\n }\n ],\n \"RetentionLowerLimit\": 24,\n \"RetentionUpperLimit\": 72,\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"basic_4k\",\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 4000\n },\n {\n \"DefaultRetention\": 72,\n \"GroupNumLimit\": 500,\n \"InstanceType\": \"BASIC\",\n \"MaxMessageDelay\": 168,\n \"OnSale\": true,\n \"PriceTags\": [\n {\n \"Name\": \"tps\"\n }\n ],\n \"RetentionLowerLimit\": 24,\n \"RetentionUpperLimit\": 72,\n \"ScaledTpsLimit\": 0,\n \"SkuCode\": \"basic_6k\",\n \"TopicNumLimit\": 50,\n \"TpsLimit\": 6000\n }\n ],\n \"RequestId\": \"010e2991-4b01-40f9-a4a6-30bdfb175448\"\n }\n}",
|
278
|
+
"title": "获取产品规格信息"
|
279
|
+
}
|
280
|
+
],
|
273
281
|
"DescribeRoleList": [
|
274
282
|
{
|
275
283
|
"document": "查询角色列表",
|