tccli 3.0.1407.1__py2.py3-none-any.whl → 3.0.1409.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +73 -1
- tccli/services/cdb/v20170320/examples.json +11 -3
- tccli/services/cfg/v20210820/api.json +11 -1
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/csip/v20221121/api.json +51 -1
- tccli/services/dbbrain/v20210527/api.json +7 -7
- tccli/services/dcdb/v20180411/api.json +1 -1
- tccli/services/dts/v20211206/api.json +144 -67
- tccli/services/dts/v20211206/examples.json +13 -7
- tccli/services/es/v20180416/api.json +99 -4
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/essbasic/v20210526/examples.json +6 -6
- tccli/services/gaap/v20180529/api.json +13 -3
- tccli/services/ioa/ioa_client.py +61 -8
- tccli/services/ioa/v20220601/api.json +126 -0
- tccli/services/ioa/v20220601/examples.json +8 -0
- tccli/services/lighthouse/v20200324/api.json +36 -0
- tccli/services/lighthouse/v20200324/examples.json +1 -1
- tccli/services/live/v20180801/examples.json +6 -0
- tccli/services/mariadb/v20170312/api.json +1 -1
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +100 -3
- tccli/services/monitor/v20180724/examples.json +9 -1
- tccli/services/mps/v20190612/api.json +26 -4
- tccli/services/oceanus/v20190422/api.json +9 -12
- tccli/services/oceanus/v20190422/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +10 -10
- tccli/services/pts/v20210728/api.json +2 -2
- tccli/services/rum/v20210622/api.json +18 -0
- tccli/services/teo/v20220901/api.json +5 -5
- tccli/services/tke/v20180525/api.json +3 -3
- tccli/services/tmt/v20180321/api.json +78 -1
- tccli/services/tsf/v20180326/api.json +3 -0
- tccli/services/vcube/v20220410/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +819 -0
- tccli/services/vpc/v20170312/examples.json +96 -0
- tccli/services/vpc/vpc_client.py +669 -33
- tccli/services/wedata/v20250806/api.json +43 -4
- {tccli-3.0.1407.1.dist-info → tccli-3.0.1409.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1407.1.dist-info → tccli-3.0.1409.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1407.1.dist-info → tccli-3.0.1409.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1407.1.dist-info → tccli-3.0.1409.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1407.1.dist-info → tccli-3.0.1409.1.dist-info}/license_files/LICENSE +0 -0
|
@@ -168,6 +168,13 @@
|
|
|
168
168
|
"output": "DescribeVirtualDevicesResponse",
|
|
169
169
|
"status": "online"
|
|
170
170
|
},
|
|
171
|
+
"ExportDeviceDownloadTask": {
|
|
172
|
+
"document": "创建终端导出任务,私有化调用path为:capi/Assets/Device/ExportDeviceDownloadTask",
|
|
173
|
+
"input": "ExportDeviceDownloadTaskRequest",
|
|
174
|
+
"name": "导出终端相关的数据",
|
|
175
|
+
"output": "ExportDeviceDownloadTaskResponse",
|
|
176
|
+
"status": "online"
|
|
177
|
+
},
|
|
171
178
|
"ExportSoftwareInformationList": {
|
|
172
179
|
"document": "导出基于指定终端查看软件信息详情列表查询,私有化调用path为:capi/Software/ExportSoftwareInformationList",
|
|
173
180
|
"input": "ExportSoftwareInformationListRequest",
|
|
@@ -4471,6 +4478,34 @@
|
|
|
4471
4478
|
],
|
|
4472
4479
|
"usage": "both"
|
|
4473
4480
|
},
|
|
4481
|
+
"DeviceDownloadTask": {
|
|
4482
|
+
"document": "业务响应数据",
|
|
4483
|
+
"members": [
|
|
4484
|
+
{
|
|
4485
|
+
"disabled": false,
|
|
4486
|
+
"document": "同步数据下载的url",
|
|
4487
|
+
"example": "\"https://xxxxx\"",
|
|
4488
|
+
"member": "string",
|
|
4489
|
+
"name": "DownloadURL",
|
|
4490
|
+
"output_required": false,
|
|
4491
|
+
"required": false,
|
|
4492
|
+
"type": "string",
|
|
4493
|
+
"value_allowed_null": false
|
|
4494
|
+
},
|
|
4495
|
+
{
|
|
4496
|
+
"disabled": false,
|
|
4497
|
+
"document": "异步任务id,需要根据id去任务中心下载",
|
|
4498
|
+
"example": "186947",
|
|
4499
|
+
"member": "int64",
|
|
4500
|
+
"name": "TaskId",
|
|
4501
|
+
"output_required": false,
|
|
4502
|
+
"required": false,
|
|
4503
|
+
"type": "int",
|
|
4504
|
+
"value_allowed_null": false
|
|
4505
|
+
}
|
|
4506
|
+
],
|
|
4507
|
+
"usage": "both"
|
|
4508
|
+
},
|
|
4474
4509
|
"DeviceGroupDetail": {
|
|
4475
4510
|
"document": "返回的数组列表",
|
|
4476
4511
|
"members": [
|
|
@@ -4996,6 +5031,97 @@
|
|
|
4996
5031
|
],
|
|
4997
5032
|
"usage": "both"
|
|
4998
5033
|
},
|
|
5034
|
+
"ExportDeviceDownloadTaskRequest": {
|
|
5035
|
+
"document": "ExportDeviceDownloadTask请求参数结构体",
|
|
5036
|
+
"members": [
|
|
5037
|
+
{
|
|
5038
|
+
"disabled": false,
|
|
5039
|
+
"document": "系统类型(0: win,1:linux,2: mac,4:android,5:ios;默认值0)",
|
|
5040
|
+
"example": "0",
|
|
5041
|
+
"member": "int64",
|
|
5042
|
+
"name": "OsType",
|
|
5043
|
+
"required": false,
|
|
5044
|
+
"type": "int"
|
|
5045
|
+
},
|
|
5046
|
+
{
|
|
5047
|
+
"disabled": false,
|
|
5048
|
+
"document": "管理域实例ID,用于CAM管理域权限分配。若企业未进行管理域的划分,可直接传入根域\"1\",此时表示针对当前企业的全部设备和账号进行接口CRUD,具体CRUD的影响范围限制于相应接口的入参。",
|
|
5049
|
+
"example": "1",
|
|
5050
|
+
"member": "string",
|
|
5051
|
+
"name": "DomainInstanceId",
|
|
5052
|
+
"required": false,
|
|
5053
|
+
"type": "string"
|
|
5054
|
+
},
|
|
5055
|
+
{
|
|
5056
|
+
"disabled": false,
|
|
5057
|
+
"document": "分组id",
|
|
5058
|
+
"example": "1120",
|
|
5059
|
+
"member": "int64",
|
|
5060
|
+
"name": "GroupId",
|
|
5061
|
+
"required": false,
|
|
5062
|
+
"type": "int"
|
|
5063
|
+
},
|
|
5064
|
+
{
|
|
5065
|
+
"disabled": false,
|
|
5066
|
+
"document": " 在线状态 2 在线 0,1 离线",
|
|
5067
|
+
"example": "0",
|
|
5068
|
+
"member": "int64",
|
|
5069
|
+
"name": "OnlineStatus",
|
|
5070
|
+
"required": false,
|
|
5071
|
+
"type": "int"
|
|
5072
|
+
},
|
|
5073
|
+
{
|
|
5074
|
+
"disabled": false,
|
|
5075
|
+
"document": "导出顺序,接口返回的数据字段",
|
|
5076
|
+
"example": "Name,RemarkName,IOAUserName,AccountName,UserName,LocalIpList,Ip,Mid,VulVersion,SysRepVersion,VirusVer,Os,Tags,SerialNum,AccountList,BaseBoardSn,MacAddr,GroupName,StrVersion,DomainName",
|
|
5077
|
+
"member": "string",
|
|
5078
|
+
"name": "ExportOrder",
|
|
5079
|
+
"required": false,
|
|
5080
|
+
"type": "string"
|
|
5081
|
+
},
|
|
5082
|
+
{
|
|
5083
|
+
"disabled": false,
|
|
5084
|
+
"document": " 导出类型, 0:终端树;7:硬件信息列表导出;",
|
|
5085
|
+
"example": "0",
|
|
5086
|
+
"member": "int64",
|
|
5087
|
+
"name": "ExportType",
|
|
5088
|
+
"required": false,
|
|
5089
|
+
"type": "int"
|
|
5090
|
+
},
|
|
5091
|
+
{
|
|
5092
|
+
"disabled": false,
|
|
5093
|
+
"document": "过滤条件。同DescribeDevices接口",
|
|
5094
|
+
"example": "无",
|
|
5095
|
+
"member": "Condition",
|
|
5096
|
+
"name": "Condition",
|
|
5097
|
+
"required": false,
|
|
5098
|
+
"type": "object"
|
|
5099
|
+
}
|
|
5100
|
+
],
|
|
5101
|
+
"type": "object"
|
|
5102
|
+
},
|
|
5103
|
+
"ExportDeviceDownloadTaskResponse": {
|
|
5104
|
+
"document": "ExportDeviceDownloadTask返回参数结构体",
|
|
5105
|
+
"members": [
|
|
5106
|
+
{
|
|
5107
|
+
"disabled": false,
|
|
5108
|
+
"document": "业务响应数据",
|
|
5109
|
+
"example": "无",
|
|
5110
|
+
"member": "DeviceDownloadTask",
|
|
5111
|
+
"name": "Data",
|
|
5112
|
+
"output_required": true,
|
|
5113
|
+
"type": "object",
|
|
5114
|
+
"value_allowed_null": false
|
|
5115
|
+
},
|
|
5116
|
+
{
|
|
5117
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
5118
|
+
"member": "string",
|
|
5119
|
+
"name": "RequestId",
|
|
5120
|
+
"type": "string"
|
|
5121
|
+
}
|
|
5122
|
+
],
|
|
5123
|
+
"type": "object"
|
|
5124
|
+
},
|
|
4999
5125
|
"ExportSoftwareDownloadUrlRspData": {
|
|
5000
5126
|
"document": "业务响应数据",
|
|
5001
5127
|
"members": [
|
|
@@ -240,6 +240,14 @@
|
|
|
240
240
|
"title": "示例1"
|
|
241
241
|
}
|
|
242
242
|
],
|
|
243
|
+
"ExportDeviceDownloadTask": [
|
|
244
|
+
{
|
|
245
|
+
"document": "测试全网终端分组(ID=1120)的数据导出",
|
|
246
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportDeviceDownloadTask\n<公共请求参数>\n\n{\n \"OsType\": 0,\n \"DomainInstanceId\": \"1\",\n \"GroupId\": 1120,\n \"ExportType\": 0\n}",
|
|
247
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DownloadURL\": \"\",\n \"TaskId\": 186954\n },\n \"RequestId\": \"23b2ad49-f082-401c-a3f1-8b903291d5a6\"\n }\n}",
|
|
248
|
+
"title": "测试全网终端分组(ID=1120)的数据导出"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
243
251
|
"ExportSoftwareInformationList": [
|
|
244
252
|
{
|
|
245
253
|
"document": "",
|
|
@@ -5326,6 +5326,32 @@
|
|
|
5326
5326
|
],
|
|
5327
5327
|
"type": "object"
|
|
5328
5328
|
},
|
|
5329
|
+
"DestinationRegionBlueprint": {
|
|
5330
|
+
"document": "目标地域镜像信息。",
|
|
5331
|
+
"members": [
|
|
5332
|
+
{
|
|
5333
|
+
"disabled": false,
|
|
5334
|
+
"document": "目标地域。",
|
|
5335
|
+
"example": "ap-guangzhou",
|
|
5336
|
+
"member": "string",
|
|
5337
|
+
"name": "Region",
|
|
5338
|
+
"output_required": true,
|
|
5339
|
+
"type": "string",
|
|
5340
|
+
"value_allowed_null": false
|
|
5341
|
+
},
|
|
5342
|
+
{
|
|
5343
|
+
"disabled": false,
|
|
5344
|
+
"document": "目标地域镜像ID。",
|
|
5345
|
+
"example": "lhbp-lf3gjs2f",
|
|
5346
|
+
"member": "string",
|
|
5347
|
+
"name": "BlueprintId",
|
|
5348
|
+
"output_required": true,
|
|
5349
|
+
"type": "string",
|
|
5350
|
+
"value_allowed_null": false
|
|
5351
|
+
}
|
|
5352
|
+
],
|
|
5353
|
+
"usage": "out"
|
|
5354
|
+
},
|
|
5329
5355
|
"DetachCcnRequest": {
|
|
5330
5356
|
"document": "DetachCcn请求参数结构体",
|
|
5331
5357
|
"members": [
|
|
@@ -10813,6 +10839,16 @@
|
|
|
10813
10839
|
"SyncBlueprintResponse": {
|
|
10814
10840
|
"document": "SyncBlueprint返回参数结构体",
|
|
10815
10841
|
"members": [
|
|
10842
|
+
{
|
|
10843
|
+
"disabled": false,
|
|
10844
|
+
"document": "目标地域镜像信息。",
|
|
10845
|
+
"example": "无",
|
|
10846
|
+
"member": "DestinationRegionBlueprint",
|
|
10847
|
+
"name": "DestinationRegionBlueprintSet",
|
|
10848
|
+
"output_required": true,
|
|
10849
|
+
"type": "list",
|
|
10850
|
+
"value_allowed_null": false
|
|
10851
|
+
},
|
|
10816
10852
|
{
|
|
10817
10853
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
10818
10854
|
"member": "string",
|
|
@@ -936,7 +936,7 @@
|
|
|
936
936
|
{
|
|
937
937
|
"document": "向两个地域同步自定义镜像。",
|
|
938
938
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncBlueprint\n<公共请求参数>\n\n{\n \"BlueprintId\": \"lhbp-ls883feh\",\n \"DestinationRegions\": [\n \"ap-singapore\",\n \"ap-hongkong\"\n ]\n}",
|
|
939
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
|
939
|
+
"output": "{\n \"Response\": {\n \"DestinationRegionBlueprintSet\": [\n {\n \"Region\": \"ap-singapore\",\n \"BlueprintId\": \"lhbp-lf3gjs2f\"\n },\n {\n \"Region\": \"ap-hongkong\",\n \"BlueprintId\": \"lhbp-lfle246l\"\n }\n ],\n \"RequestId\": \"e35a5b7b-4dfa-49f8-8729-ba5c504807e0\"\n }\n}",
|
|
940
940
|
"title": "跨地域同步自定义镜像"
|
|
941
941
|
}
|
|
942
942
|
],
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCasterLayoutInfo\n<公共请求参数>\n\n{\n \"LayoutInfo\": {\n \"LayoutIndex\": \"1\",\n \"InputIndexList\": \"1|2\",\n \"LayoutTemplateId\": \"20\"\n },\n \"CasterId\": 63501\n}",
|
|
15
15
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
|
16
16
|
"title": "添加布局20,绑定输入1,输入2"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"document": "示例中,代表将输入2进行AI抠图,输入1作为输入2AI抠图后的叠加背景",
|
|
20
|
+
"input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddCasterLayoutInfo\n<公共请求参数>\n\n{\n \"CasterId\": 63501,\n \"LayoutInfo\": {\n \"InputIndexList\": \"1|2\",\n \"LayoutIndex\": 6,\n \"LayoutParams\": [\n {\n \"LayerHeight\": 1,\n \"LayerId\": 1,\n \"LayerLocationX\": 0,\n \"LayerLocationY\": 0,\n \"LayerWidth\": 1,\n \"UsePortraitSegment\": false\n },\n {\n \"LayerHeight\": 0.5,\n \"LayerId\": 2,\n \"LayerLocationX\": 0.5,\n \"LayerLocationY\": 0.5,\n \"LayerWidth\": 0.5,\n \"UsePortraitSegment\": true\n }\n ]\n }\n}",
|
|
21
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
|
22
|
+
"title": "增加虚拟背景布局"
|
|
17
23
|
}
|
|
18
24
|
],
|
|
19
25
|
"AddCasterMarkPicInfo": [
|
|
@@ -7300,7 +7300,7 @@
|
|
|
7300
7300
|
{
|
|
7301
7301
|
"disabled": false,
|
|
7302
7302
|
"document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。",
|
|
7303
|
-
"example": "[\"sg-ajr1jzgj
|
|
7303
|
+
"example": "[\"sg-ajr1jzgj\"]",
|
|
7304
7304
|
"member": "string",
|
|
7305
7305
|
"name": "SecurityGroupIds",
|
|
7306
7306
|
"required": true,
|
|
@@ -3035,6 +3035,58 @@ def doUpgradeGrafanaInstance(args, parsed_globals):
|
|
|
3035
3035
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
3036
3036
|
|
|
3037
3037
|
|
|
3038
|
+
def doDescribeRemoteWrites(args, parsed_globals):
|
|
3039
|
+
g_param = parse_global_arg(parsed_globals)
|
|
3040
|
+
|
|
3041
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
3042
|
+
cred = credential.CVMRoleCredential()
|
|
3043
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
3044
|
+
cred = credential.STSAssumeRoleCredential(
|
|
3045
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
3046
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
3047
|
+
)
|
|
3048
|
+
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):
|
|
3049
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
3050
|
+
else:
|
|
3051
|
+
cred = credential.Credential(
|
|
3052
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
3053
|
+
)
|
|
3054
|
+
http_profile = HttpProfile(
|
|
3055
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
3056
|
+
reqMethod="POST",
|
|
3057
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
3058
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
3059
|
+
)
|
|
3060
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
3061
|
+
if g_param[OptionsDefine.Language]:
|
|
3062
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
3063
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
3064
|
+
client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile)
|
|
3065
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
3066
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
3067
|
+
model = models.DescribeRemoteWritesRequest()
|
|
3068
|
+
model.from_json_string(json.dumps(args))
|
|
3069
|
+
start_time = time.time()
|
|
3070
|
+
while True:
|
|
3071
|
+
rsp = client.DescribeRemoteWrites(model)
|
|
3072
|
+
result = rsp.to_json_string()
|
|
3073
|
+
try:
|
|
3074
|
+
json_obj = json.loads(result)
|
|
3075
|
+
except TypeError as e:
|
|
3076
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
3077
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
3078
|
+
break
|
|
3079
|
+
cur_time = time.time()
|
|
3080
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
3081
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
3082
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
3083
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
3084
|
+
else:
|
|
3085
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
3086
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
3087
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
3088
|
+
|
|
3089
|
+
|
|
3038
3090
|
def doDescribeAlarmNotifyHistories(args, parsed_globals):
|
|
3039
3091
|
g_param = parse_global_arg(parsed_globals)
|
|
3040
3092
|
|
|
@@ -8878,6 +8930,7 @@ ACTION_MAP = {
|
|
|
8878
8930
|
"UpdatePrometheusScrapeJob": doUpdatePrometheusScrapeJob,
|
|
8879
8931
|
"DescribePrometheusInstanceInitStatus": doDescribePrometheusInstanceInitStatus,
|
|
8880
8932
|
"UpgradeGrafanaInstance": doUpgradeGrafanaInstance,
|
|
8933
|
+
"DescribeRemoteWrites": doDescribeRemoteWrites,
|
|
8881
8934
|
"DescribeAlarmNotifyHistories": doDescribeAlarmNotifyHistories,
|
|
8882
8935
|
"DescribeGrafanaChannels": doDescribeGrafanaChannels,
|
|
8883
8936
|
"DeleteGrafanaIntegration": doDeleteGrafanaIntegration,
|
|
@@ -777,6 +777,13 @@
|
|
|
777
777
|
"output": "DescribeRemoteURLsResponse",
|
|
778
778
|
"status": "online"
|
|
779
779
|
},
|
|
780
|
+
"DescribeRemoteWrites": {
|
|
781
|
+
"document": "查询安装的 Agent 列表",
|
|
782
|
+
"input": "DescribeRemoteWritesRequest",
|
|
783
|
+
"name": "查询数据多写",
|
|
784
|
+
"output": "DescribeRemoteWritesResponse",
|
|
785
|
+
"status": "online"
|
|
786
|
+
},
|
|
780
787
|
"DescribeSSOAccount": {
|
|
781
788
|
"document": "列出当前grafana实例的所有授权账号",
|
|
782
789
|
"input": "DescribeSSOAccountRequest",
|
|
@@ -13267,6 +13274,15 @@
|
|
|
13267
13274
|
"DescribePrometheusScrapeStatisticsRequest": {
|
|
13268
13275
|
"document": "DescribePrometheusScrapeStatistics请求参数结构体",
|
|
13269
13276
|
"members": [
|
|
13277
|
+
{
|
|
13278
|
+
"disabled": false,
|
|
13279
|
+
"document": "实例ID列表",
|
|
13280
|
+
"example": "[\"prom-osje\"]",
|
|
13281
|
+
"member": "string",
|
|
13282
|
+
"name": "InstanceIds",
|
|
13283
|
+
"required": true,
|
|
13284
|
+
"type": "list"
|
|
13285
|
+
},
|
|
13270
13286
|
{
|
|
13271
13287
|
"disabled": false,
|
|
13272
13288
|
"document": "job 类型",
|
|
@@ -13679,6 +13695,71 @@
|
|
|
13679
13695
|
],
|
|
13680
13696
|
"type": "object"
|
|
13681
13697
|
},
|
|
13698
|
+
"DescribeRemoteWritesRequest": {
|
|
13699
|
+
"document": "DescribeRemoteWrites请求参数结构体",
|
|
13700
|
+
"members": [
|
|
13701
|
+
{
|
|
13702
|
+
"disabled": false,
|
|
13703
|
+
"document": "实例 ID",
|
|
13704
|
+
"example": "prom-abc",
|
|
13705
|
+
"member": "string",
|
|
13706
|
+
"name": "InstanceId",
|
|
13707
|
+
"required": true,
|
|
13708
|
+
"type": "string"
|
|
13709
|
+
},
|
|
13710
|
+
{
|
|
13711
|
+
"disabled": false,
|
|
13712
|
+
"document": "列表 offset",
|
|
13713
|
+
"example": "0",
|
|
13714
|
+
"member": "int64",
|
|
13715
|
+
"name": "Offset",
|
|
13716
|
+
"required": false,
|
|
13717
|
+
"type": "int"
|
|
13718
|
+
},
|
|
13719
|
+
{
|
|
13720
|
+
"disabled": false,
|
|
13721
|
+
"document": "返回 limit",
|
|
13722
|
+
"example": "100",
|
|
13723
|
+
"member": "int64",
|
|
13724
|
+
"name": "Limit",
|
|
13725
|
+
"required": false,
|
|
13726
|
+
"type": "int"
|
|
13727
|
+
}
|
|
13728
|
+
],
|
|
13729
|
+
"type": "object"
|
|
13730
|
+
},
|
|
13731
|
+
"DescribeRemoteWritesResponse": {
|
|
13732
|
+
"document": "DescribeRemoteWrites返回参数结构体",
|
|
13733
|
+
"members": [
|
|
13734
|
+
{
|
|
13735
|
+
"disabled": false,
|
|
13736
|
+
"document": "存储数据",
|
|
13737
|
+
"example": "3",
|
|
13738
|
+
"member": "int64",
|
|
13739
|
+
"name": "Count",
|
|
13740
|
+
"output_required": false,
|
|
13741
|
+
"type": "int",
|
|
13742
|
+
"value_allowed_null": false
|
|
13743
|
+
},
|
|
13744
|
+
{
|
|
13745
|
+
"disabled": false,
|
|
13746
|
+
"document": "多写信息",
|
|
13747
|
+
"example": "无",
|
|
13748
|
+
"member": "WriteDestination",
|
|
13749
|
+
"name": "RemoteWrites",
|
|
13750
|
+
"output_required": false,
|
|
13751
|
+
"type": "list",
|
|
13752
|
+
"value_allowed_null": false
|
|
13753
|
+
},
|
|
13754
|
+
{
|
|
13755
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
|
13756
|
+
"member": "string",
|
|
13757
|
+
"name": "RequestId",
|
|
13758
|
+
"type": "string"
|
|
13759
|
+
}
|
|
13760
|
+
],
|
|
13761
|
+
"type": "object"
|
|
13762
|
+
},
|
|
13682
13763
|
"DescribeSSOAccountRequest": {
|
|
13683
13764
|
"document": "DescribeSSOAccount请求参数结构体",
|
|
13684
13765
|
"members": [
|
|
@@ -14373,7 +14454,7 @@
|
|
|
14373
14454
|
{
|
|
14374
14455
|
"disabled": false,
|
|
14375
14456
|
"document": "实例对象的维度组合,格式为key-value键值对形式的集合。不同类型的实例字段完全不同,如CVM为[{\"Name\":\"InstanceId\",\"Value\":\"ins-j0hk02zo\"}],Ckafka为[{\"Name\":\"instanceId\",\"Value\":\"ckafka-l49k54dd\"}],COS为[{\"Name\":\"appid\",\"Value\":\"1258344699\"},{\"Name\":\"bucket\",\"Value\":\"rig-1258344699\"}]。各个云产品的维度请参阅各个产品[监控指标](https://cloud.tencent.com/document/product/248/6140)文档,对应的维度列即为维度组合的key,value为key对应的值。单请求最多支持批量拉取10个实例的监控数据。",
|
|
14376
|
-
"example": "
|
|
14457
|
+
"example": "无",
|
|
14377
14458
|
"member": "Instance",
|
|
14378
14459
|
"name": "Instances",
|
|
14379
14460
|
"required": true,
|
|
@@ -14408,7 +14489,7 @@
|
|
|
14408
14489
|
},
|
|
14409
14490
|
{
|
|
14410
14491
|
"disabled": false,
|
|
14411
|
-
"document": "返回多种统计方式数据。avg, max, min (1,2,4)
|
|
14492
|
+
"document": "返回多种统计方式数据。avg, max, min (1,2,4)可以自由组合。特别说明:建议查询时严格参考API配置文档中提供的统计方式。如选择其他未提供的统计方式,可能有数据统计误差。",
|
|
14412
14493
|
"example": "1",
|
|
14413
14494
|
"member": "int64",
|
|
14414
14495
|
"name": "SpecifyStatistics",
|
|
@@ -14444,7 +14525,7 @@
|
|
|
14444
14525
|
{
|
|
14445
14526
|
"disabled": false,
|
|
14446
14527
|
"document": "数据点数组",
|
|
14447
|
-
"example": "
|
|
14528
|
+
"example": "无",
|
|
14448
14529
|
"member": "DataPoint",
|
|
14449
14530
|
"name": "DataPoints",
|
|
14450
14531
|
"output_required": true,
|
|
@@ -23059,6 +23140,22 @@
|
|
|
23059
23140
|
}
|
|
23060
23141
|
],
|
|
23061
23142
|
"usage": "both"
|
|
23143
|
+
},
|
|
23144
|
+
"WriteDestination": {
|
|
23145
|
+
"document": "数据写向目标",
|
|
23146
|
+
"members": [
|
|
23147
|
+
{
|
|
23148
|
+
"disabled": false,
|
|
23149
|
+
"document": "存储标识",
|
|
23150
|
+
"example": "multiple-1",
|
|
23151
|
+
"member": "string",
|
|
23152
|
+
"name": "Destination",
|
|
23153
|
+
"output_required": false,
|
|
23154
|
+
"type": "string",
|
|
23155
|
+
"value_allowed_null": false
|
|
23156
|
+
}
|
|
23157
|
+
],
|
|
23158
|
+
"usage": "out"
|
|
23062
23159
|
}
|
|
23063
23160
|
},
|
|
23064
23161
|
"version": "1.0"
|
|
@@ -1009,7 +1009,7 @@
|
|
|
1009
1009
|
"DescribePrometheusScrapeStatistics": [
|
|
1010
1010
|
{
|
|
1011
1011
|
"document": "获取实例采集速率",
|
|
1012
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusScrapeStatistics\n<公共请求参数>\n\n{}",
|
|
1012
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusScrapeStatistics\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"prom-ejhf\"\n ]\n}",
|
|
1013
1013
|
"output": "{\n \"Response\": {\n \"Total\": 0,\n \"InstanceResults\": [\n {\n \"InstanceId\": \"prom-ejhf\",\n \"ScrapedRate\": 1.4,\n \"Clusters\": [\n {\n \"ClusterID\": \"cls-oebw\",\n \"ScrapedRate\": 0.1,\n \"Jobs\": [\n {\n \"JobName\": \"test-job\",\n \"ScrapedRate\": 0.1,\n \"Metrics\": [\n {\n \"MetricName\": \"countMetric\",\n \"SamplesRate\": 3.4,\n \"ScrapedRate\": 0.1,\n \"IsRecommended\": true\n }\n ]\n }\n ],\n \"SamplesRate\": 3.4\n }\n ],\n \"Global\": [\n {\n \"ClusterID\": \"non-cluster\",\n \"ScrapedRate\": 1.3,\n \"Jobs\": [\n {\n \"JobName\": \"ceph-test\",\n \"ScrapedRate\": 1.3,\n \"Metrics\": [\n {\n \"MetricName\": \"upTime\",\n \"SamplesRate\": 2.1,\n \"ScrapedRate\": 1.3,\n \"IsRecommended\": true\n }\n ]\n }\n ],\n \"SamplesRate\": 2.1\n }\n ],\n \"SamplesRate\": 5.5\n }\n ],\n \"RequestId\": \"6fc6a7e8-2a5c-40f2-bf0e-8cb807fa665d\"\n }\n}",
|
|
1014
1014
|
"title": "获取实例采集速率"
|
|
1015
1015
|
}
|
|
@@ -1062,6 +1062,14 @@
|
|
|
1062
1062
|
"title": "获取多写配置"
|
|
1063
1063
|
}
|
|
1064
1064
|
],
|
|
1065
|
+
"DescribeRemoteWrites": [
|
|
1066
|
+
{
|
|
1067
|
+
"document": "",
|
|
1068
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:DescribeRemoteWrites\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-abcd\"\n}",
|
|
1069
|
+
"output": "{\n \"Response\": {\n \"RemoteWrites\": [\n {\n \"Destination\": \"multipe-1\"\n }\n ],\n \"Count\": 1,\n \"RequestId\": \"bfa18d10-fe18-4f0e-b7e8-18857f951655\"\n }\n}",
|
|
1070
|
+
"title": "查询数据多写"
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
1065
1073
|
"DescribeSSOAccount": [
|
|
1066
1074
|
{
|
|
1067
1075
|
"document": "列出当前grafana实例的所有授权账号",
|
|
@@ -7360,7 +7360,7 @@
|
|
|
7360
7360
|
},
|
|
7361
7361
|
{
|
|
7362
7362
|
"disabled": false,
|
|
7363
|
-
"document": "
|
|
7363
|
+
"document": "音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。\n详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)\n单位:Hz\n注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!",
|
|
7364
7364
|
"example": "44100",
|
|
7365
7365
|
"member": "uint64",
|
|
7366
7366
|
"name": "SampleRate",
|
|
@@ -7421,7 +7421,7 @@
|
|
|
7421
7421
|
},
|
|
7422
7422
|
{
|
|
7423
7423
|
"disabled": false,
|
|
7424
|
-
"document": "
|
|
7424
|
+
"document": "音频流的采样率,不同编码标准支持的采样率选项不同。填0代表使用源音频的采样率数值。\n详细参考[音频采样率支持范围文档](https://cloud.tencent.com/document/product/862/77166#f3b039f1-d817-4a96-b4e4-90132d31cd53)\n单位:Hz\n注意:请确保源音频流的采样率在上述选项范围内,否则可能导致转码失败!\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
7425
7425
|
"example": "44100",
|
|
7426
7426
|
"member": "uint64",
|
|
7427
7427
|
"name": "SampleRate",
|
|
@@ -7444,7 +7444,7 @@
|
|
|
7444
7444
|
{
|
|
7445
7445
|
"disabled": false,
|
|
7446
7446
|
"document": "指定输出要保留的音频轨道。默认是全部保留源的。\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
7447
|
-
"example": "
|
|
7447
|
+
"example": "[0]",
|
|
7448
7448
|
"member": "int64",
|
|
7449
7449
|
"name": "StreamSelects",
|
|
7450
7450
|
"output_required": false,
|
|
@@ -7939,7 +7939,7 @@
|
|
|
7939
7939
|
"members": [
|
|
7940
7940
|
{
|
|
7941
7941
|
"disabled": false,
|
|
7942
|
-
"document": "类型名称。取值如下:\n
|
|
7942
|
+
"document": "类型名称。取值如下:\n<li>Whiten:美白</li>\n<li>BlackAlpha1:美黑</li>\n<li>BlackAlpha2:较强美黑</li>\n<li>FoundationAlpha2:美白-粉白</li>\n<li>Clear:清晰度</li>\n<li>Sharpen:锐化</li>\n<li>Smooth:磨皮</li>\n<li>BeautyThinFace:瘦脸</li>\n<li>NatureFace:自然脸型</li>\n<li>VFace:V脸</li>\n<li>EnlargeEye:大眼</li>\n<li>EyeLighten:亮眼</li>\n<li>RemoveEyeBags:祛眼袋</li>\n<li>ThinNose:瘦鼻</li>\n<li>RemoveLawLine:祛法令纹</li>\n<li>CheekboneThin:瘦颧骨</li>\n<li>FaceFeatureLipsLut:口红</li>\n<li>ToothWhiten:牙齿美白</li>\n<li>FaceFeatureSoftlight:柔光</li>\n<li>Makeup:美妆</li>",
|
|
7943
7943
|
"example": "Whiten",
|
|
7944
7944
|
"member": "string",
|
|
7945
7945
|
"name": "Type",
|
|
@@ -7969,6 +7969,28 @@
|
|
|
7969
7969
|
"required": false,
|
|
7970
7970
|
"type": "int",
|
|
7971
7971
|
"value_allowed_null": false
|
|
7972
|
+
},
|
|
7973
|
+
{
|
|
7974
|
+
"disabled": false,
|
|
7975
|
+
"document": "附加资源路径。",
|
|
7976
|
+
"example": "/makeupRes/video_makeup_mitao",
|
|
7977
|
+
"member": "string",
|
|
7978
|
+
"name": "ResourcePath",
|
|
7979
|
+
"output_required": false,
|
|
7980
|
+
"required": false,
|
|
7981
|
+
"type": "string",
|
|
7982
|
+
"value_allowed_null": false
|
|
7983
|
+
},
|
|
7984
|
+
{
|
|
7985
|
+
"disabled": false,
|
|
7986
|
+
"document": "自定义参数。",
|
|
7987
|
+
"example": "{\\\"Color\\\":\\\"#ff0000\\\"}",
|
|
7988
|
+
"member": "string",
|
|
7989
|
+
"name": "ExtInfo",
|
|
7990
|
+
"output_required": false,
|
|
7991
|
+
"required": false,
|
|
7992
|
+
"type": "string",
|
|
7993
|
+
"value_allowed_null": false
|
|
7972
7994
|
}
|
|
7973
7995
|
],
|
|
7974
7996
|
"usage": "both"
|
|
@@ -2558,7 +2558,7 @@
|
|
|
2558
2558
|
{
|
|
2559
2559
|
"disabled": false,
|
|
2560
2560
|
"document": "资源位置",
|
|
2561
|
-
"example": "
|
|
2561
|
+
"example": "无",
|
|
2562
2562
|
"member": "ResourceLoc",
|
|
2563
2563
|
"name": "ResourceLoc",
|
|
2564
2564
|
"required": true,
|
|
@@ -2612,7 +2612,7 @@
|
|
|
2612
2612
|
{
|
|
2613
2613
|
"disabled": false,
|
|
2614
2614
|
"document": "工作空间 SerialId",
|
|
2615
|
-
"example": "space-
|
|
2615
|
+
"example": "space-12",
|
|
2616
2616
|
"member": "string",
|
|
2617
2617
|
"name": "WorkSpaceId",
|
|
2618
2618
|
"required": false,
|
|
@@ -7286,32 +7286,29 @@
|
|
|
7286
7286
|
{
|
|
7287
7287
|
"disabled": false,
|
|
7288
7288
|
"document": "资源ID",
|
|
7289
|
-
"example": "",
|
|
7289
|
+
"example": "resource-ayglrn06",
|
|
7290
7290
|
"member": "string",
|
|
7291
7291
|
"name": "ResourceId",
|
|
7292
7292
|
"required": true,
|
|
7293
|
-
"type": "string"
|
|
7294
|
-
"value_allowed_null": false
|
|
7293
|
+
"type": "string"
|
|
7295
7294
|
},
|
|
7296
7295
|
{
|
|
7297
7296
|
"disabled": false,
|
|
7298
|
-
"document": "
|
|
7299
|
-
"example": "",
|
|
7297
|
+
"document": "0-引用 JAR 程序包,1-主程序包,2-引用配置文件,3-Python程序包,4-Python数据文件",
|
|
7298
|
+
"example": "1",
|
|
7300
7299
|
"member": "int64",
|
|
7301
7300
|
"name": "Version",
|
|
7302
7301
|
"required": true,
|
|
7303
|
-
"type": "int"
|
|
7304
|
-
"value_allowed_null": false
|
|
7302
|
+
"type": "int"
|
|
7305
7303
|
},
|
|
7306
7304
|
{
|
|
7307
7305
|
"disabled": false,
|
|
7308
7306
|
"document": "引用资源类型,例如主资源设置为1,代表main class所在的jar包",
|
|
7309
|
-
"example": "",
|
|
7307
|
+
"example": "1",
|
|
7310
7308
|
"member": "int64",
|
|
7311
7309
|
"name": "Type",
|
|
7312
7310
|
"required": true,
|
|
7313
|
-
"type": "int"
|
|
7314
|
-
"value_allowed_null": false
|
|
7311
|
+
"type": "int"
|
|
7315
7312
|
}
|
|
7316
7313
|
],
|
|
7317
7314
|
"usage": "in"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"CreateFolder": [
|
|
42
42
|
{
|
|
43
43
|
"document": "",
|
|
44
|
-
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFolder\n<公共请求参数>\n\n{\n \"FolderName\": \"
|
|
44
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFolder\n<公共请求参数>\n\n{\n \"FolderName\": \"sql\",\n \"WorkSpaceId\": \"space-1257058945ap-guangzhou\",\n \"FolderType\": 0,\n \"ParentId\": \"root\"\n}",
|
|
45
45
|
"output": "{\n \"Response\": {\n \"FolderId\": \"folder-dhq5omrl\",\n \"RequestId\": \"a6030a9d-d791-4e7f-8f2c-7d908b6449a0\"\n }\n}",
|
|
46
46
|
"title": "创建文件夹"
|
|
47
47
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"CreateResource": [
|
|
78
78
|
{
|
|
79
79
|
"document": "创建依赖",
|
|
80
|
-
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateResource\n<公共请求参数>\n\n{\n \"ResourceLoc\": {\n \"StorageType\": 1,\n \"Param\": {\n \"Bucket\": \"oceanus-online-resource01-gz-1257058918\",\n \"Path\": \"1257058945/100006386216/upload/20231120142441/flink-hello-world-1.0.0-jar-with-dependencies.jar\",\n \"Region\": \"ap-guangzhou\"\n }\n },\n \"Remark\": \"
|
|
80
|
+
"input": "POST / HTTP/1.1\nHost: oceanus.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateResource\n<公共请求参数>\n\n{\n \"ResourceLoc\": {\n \"StorageType\": 1,\n \"Param\": {\n \"Bucket\": \"oceanus-online-resource01-gz-1257058918\",\n \"Path\": \"1257058945/100006386216/upload/20231120142441/flink-hello-world-1.0.0-jar-with-dependencies.jar\",\n \"Region\": \"ap-guangzhou\"\n }\n },\n \"Remark\": \"connector\",\n \"Name\": \"flink-hello-world-1.0.0-jar-with-dependencies.jar\",\n \"ResourceType\": 1,\n \"WorkSpaceId\": \"space-53rqk422\"\n}",
|
|
81
81
|
"output": "{\n \"Response\": {\n \"RequestId\": \"1a7f54d8-fbfa-4367-a572-219c46b18058\",\n \"ResourceId\": \"resource-gk2iv5z5\",\n \"Version\": 1\n }\n}",
|
|
82
82
|
"title": "创建依赖"
|
|
83
83
|
}
|