tccli 3.0.1132.1__py2.py3-none-any.whl → 3.0.1134.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/apm/v20210622/api.json +1 -0
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/billing/v20180709/api.json +10 -0
- tccli/services/cam/v20190116/api.json +41 -12
- tccli/services/cdwch/v20200915/api.json +9 -9
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +18 -0
- tccli/services/cfw/v20190904/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +130 -74
- tccli/services/ckafka/v20190819/examples.json +17 -17
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/cmq/v20190304/api.json +53 -49
- tccli/services/cmq/v20190304/examples.json +2 -2
- tccli/services/cms/v20190321/api.json +2 -0
- tccli/services/cms/v20190321/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +137 -42
- tccli/services/csip/v20221121/examples.json +4 -4
- tccli/services/cynosdb/cynosdb_client.py +57 -4
- tccli/services/cynosdb/v20190107/api.json +451 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +106 -0
- tccli/services/dlc/v20210125/api.json +181 -0
- tccli/services/dlc/v20210125/examples.json +16 -0
- tccli/services/dsgc/v20190723/api.json +65 -58
- tccli/services/dsgc/v20190723/examples.json +5 -5
- tccli/services/dts/dts_client.py +0 -53
- tccli/services/dts/v20180330/api.json +0 -98
- tccli/services/dts/v20180330/examples.json +0 -8
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +5 -5
- tccli/services/ess/ess_client.py +411 -305
- tccli/services/ess/v20201111/api.json +144 -0
- tccli/services/ess/v20201111/examples.json +16 -0
- tccli/services/essbasic/essbasic_client.py +110 -4
- tccli/services/essbasic/v20210526/api.json +139 -4
- tccli/services/essbasic/v20210526/examples.json +16 -0
- tccli/services/gaap/v20180529/api.json +1 -1
- tccli/services/gaap/v20180529/examples.json +0 -6
- tccli/services/iecp/v20210914/api.json +40 -40
- tccli/services/ims/v20201229/api.json +2 -2
- tccli/services/lke/lke_client.py +171 -12
- tccli/services/lke/v20231130/api.json +524 -0
- tccli/services/lke/v20231130/examples.json +24 -0
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +96 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +47 -19
- tccli/services/monitor/v20180724/examples.json +4 -4
- tccli/services/mps/v20190612/api.json +57 -7
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +373 -3
- tccli/services/organization/organization_client.py +118 -12
- tccli/services/organization/v20210331/api.json +68 -0
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/pts/v20210728/api.json +1 -1
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rum/v20210622/api.json +2 -0
- tccli/services/rum/v20210622/examples.json +1 -1
- tccli/services/sms/v20210111/api.json +26 -26
- tccli/services/tcr/v20190924/api.json +13 -10
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tdmq/tdmq_client.py +443 -19
- tccli/services/tdmq/v20200217/api.json +570 -0
- tccli/services/tdmq/v20200217/examples.json +64 -0
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +227 -41
- tccli/services/tke/v20180525/examples.json +26 -0
- tccli/services/trro/v20220325/api.json +6 -6
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tse/v20201207/api.json +13 -2
- tccli/services/tsf/v20180326/api.json +47 -35
- tccli/services/tsf/v20180326/examples.json +4 -4
- tccli/services/waf/v20180125/api.json +65 -9
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +30 -19
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/RECORD +83 -83
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1132.1.dist-info → tccli-3.0.1134.1.dist-info}/license_files/LICENSE +0 -0
@@ -5079,6 +5079,15 @@
|
|
5079
5079
|
"name": "PolicyIds",
|
5080
5080
|
"required": true,
|
5081
5081
|
"type": "list"
|
5082
|
+
},
|
5083
|
+
{
|
5084
|
+
"disabled": false,
|
5085
|
+
"document": "prom的实例id",
|
5086
|
+
"example": "[\"prom-1234\"]",
|
5087
|
+
"member": "string",
|
5088
|
+
"name": "PromInsIds",
|
5089
|
+
"required": false,
|
5090
|
+
"type": "list"
|
5082
5091
|
}
|
5083
5092
|
],
|
5084
5093
|
"type": "object"
|
@@ -6550,6 +6559,7 @@
|
|
6550
6559
|
"example": "1",
|
6551
6560
|
"member": "int64",
|
6552
6561
|
"name": "TotalCount",
|
6562
|
+
"output_required": true,
|
6553
6563
|
"type": "int",
|
6554
6564
|
"value_allowed_null": false
|
6555
6565
|
},
|
@@ -6559,6 +6569,7 @@
|
|
6559
6569
|
"example": "无",
|
6560
6570
|
"member": "AlarmNotice",
|
6561
6571
|
"name": "Notices",
|
6572
|
+
"output_required": true,
|
6562
6573
|
"type": "list",
|
6563
6574
|
"value_allowed_null": false
|
6564
6575
|
},
|
@@ -9866,7 +9877,7 @@
|
|
9866
9877
|
{
|
9867
9878
|
"disabled": false,
|
9868
9879
|
"document": "固定值,为\"monitor\"",
|
9869
|
-
"example": "",
|
9880
|
+
"example": "monitor",
|
9870
9881
|
"member": "string",
|
9871
9882
|
"name": "Module",
|
9872
9883
|
"required": true,
|
@@ -9875,7 +9886,7 @@
|
|
9875
9886
|
{
|
9876
9887
|
"disabled": false,
|
9877
9888
|
"document": "策略组id",
|
9878
|
-
"example": "",
|
9889
|
+
"example": "123456",
|
9879
9890
|
"member": "int64",
|
9880
9891
|
"name": "GroupId",
|
9881
9892
|
"required": true,
|
@@ -9890,153 +9901,170 @@
|
|
9890
9901
|
{
|
9891
9902
|
"disabled": false,
|
9892
9903
|
"document": "策略组名称",
|
9893
|
-
"example": "",
|
9904
|
+
"example": "策略",
|
9894
9905
|
"member": "string",
|
9895
9906
|
"name": "GroupName",
|
9907
|
+
"output_required": true,
|
9896
9908
|
"type": "string",
|
9897
9909
|
"value_allowed_null": false
|
9898
9910
|
},
|
9899
9911
|
{
|
9900
9912
|
"disabled": false,
|
9901
9913
|
"document": "策略组所属的项目id",
|
9902
|
-
"example": "",
|
9914
|
+
"example": "0",
|
9903
9915
|
"member": "int64",
|
9904
9916
|
"name": "ProjectId",
|
9917
|
+
"output_required": true,
|
9905
9918
|
"type": "int",
|
9906
9919
|
"value_allowed_null": false
|
9907
9920
|
},
|
9908
9921
|
{
|
9909
9922
|
"disabled": false,
|
9910
9923
|
"document": "是否为默认策略,0表示非默认策略,1表示默认策略",
|
9911
|
-
"example": "",
|
9924
|
+
"example": "1",
|
9912
9925
|
"member": "int64",
|
9913
9926
|
"name": "IsDefault",
|
9927
|
+
"output_required": true,
|
9914
9928
|
"type": "int",
|
9915
9929
|
"value_allowed_null": false
|
9916
9930
|
},
|
9917
9931
|
{
|
9918
9932
|
"disabled": false,
|
9919
9933
|
"document": "策略类型",
|
9920
|
-
"example": "",
|
9934
|
+
"example": "cvm_device",
|
9921
9935
|
"member": "string",
|
9922
9936
|
"name": "ViewName",
|
9937
|
+
"output_required": true,
|
9923
9938
|
"type": "string",
|
9924
9939
|
"value_allowed_null": false
|
9925
9940
|
},
|
9926
9941
|
{
|
9927
9942
|
"disabled": false,
|
9928
9943
|
"document": "策略说明",
|
9929
|
-
"example": "",
|
9944
|
+
"example": "无",
|
9930
9945
|
"member": "string",
|
9931
9946
|
"name": "Remark",
|
9947
|
+
"output_required": true,
|
9932
9948
|
"type": "string",
|
9933
9949
|
"value_allowed_null": false
|
9934
9950
|
},
|
9935
9951
|
{
|
9936
9952
|
"disabled": false,
|
9937
9953
|
"document": "策略类型名称",
|
9938
|
-
"example": "",
|
9954
|
+
"example": "云服务器基础监控",
|
9939
9955
|
"member": "string",
|
9940
9956
|
"name": "ShowName",
|
9957
|
+
"output_required": true,
|
9941
9958
|
"type": "string",
|
9942
9959
|
"value_allowed_null": false
|
9943
9960
|
},
|
9944
9961
|
{
|
9945
9962
|
"disabled": false,
|
9946
9963
|
"document": "最近编辑的用户uin",
|
9947
|
-
"example": "",
|
9964
|
+
"example": "123",
|
9948
9965
|
"member": "string",
|
9949
9966
|
"name": "LastEditUin",
|
9967
|
+
"output_required": true,
|
9950
9968
|
"type": "string",
|
9951
9969
|
"value_allowed_null": false
|
9952
9970
|
},
|
9953
9971
|
{
|
9954
9972
|
"disabled": false,
|
9955
9973
|
"document": "最近编辑时间",
|
9956
|
-
"example": "",
|
9974
|
+
"example": "1718159371",
|
9957
9975
|
"member": "string",
|
9958
9976
|
"name": "UpdateTime",
|
9977
|
+
"output_required": true,
|
9959
9978
|
"type": "string",
|
9960
9979
|
"value_allowed_null": false
|
9961
9980
|
},
|
9962
9981
|
{
|
9963
9982
|
"disabled": false,
|
9964
9983
|
"document": "该策略支持的地域",
|
9965
|
-
"example": "",
|
9984
|
+
"example": "bj",
|
9966
9985
|
"member": "string",
|
9967
9986
|
"name": "Region",
|
9987
|
+
"output_required": true,
|
9968
9988
|
"type": "list",
|
9969
9989
|
"value_allowed_null": false
|
9970
9990
|
},
|
9971
9991
|
{
|
9972
9992
|
"disabled": false,
|
9973
9993
|
"document": "策略类型的维度列表",
|
9974
|
-
"example": "",
|
9994
|
+
"example": "uuid",
|
9975
9995
|
"member": "string",
|
9976
9996
|
"name": "DimensionGroup",
|
9997
|
+
"output_required": true,
|
9977
9998
|
"type": "list",
|
9978
9999
|
"value_allowed_null": false
|
9979
10000
|
},
|
9980
10001
|
{
|
9981
10002
|
"disabled": false,
|
9982
10003
|
"document": "阈值规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
9983
|
-
"example": "",
|
10004
|
+
"example": "[]",
|
9984
10005
|
"member": "DescribePolicyGroupInfoCondition",
|
9985
10006
|
"name": "ConditionsConfig",
|
10007
|
+
"output_required": true,
|
9986
10008
|
"type": "list",
|
9987
10009
|
"value_allowed_null": true
|
9988
10010
|
},
|
9989
10011
|
{
|
9990
10012
|
"disabled": false,
|
9991
10013
|
"document": "产品事件规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
9992
|
-
"example": "",
|
10014
|
+
"example": "[]",
|
9993
10015
|
"member": "DescribePolicyGroupInfoEventCondition",
|
9994
10016
|
"name": "EventConfig",
|
10017
|
+
"output_required": true,
|
9995
10018
|
"type": "list",
|
9996
10019
|
"value_allowed_null": true
|
9997
10020
|
},
|
9998
10021
|
{
|
9999
10022
|
"disabled": false,
|
10000
10023
|
"document": "用户接收人列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
10001
|
-
"example": "",
|
10024
|
+
"example": "[]",
|
10002
10025
|
"member": "DescribePolicyGroupInfoReceiverInfo",
|
10003
10026
|
"name": "ReceiverInfos",
|
10027
|
+
"output_required": true,
|
10004
10028
|
"type": "list",
|
10005
10029
|
"value_allowed_null": true
|
10006
10030
|
},
|
10007
10031
|
{
|
10008
10032
|
"disabled": false,
|
10009
10033
|
"document": "用户回调信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
10010
|
-
"example": "",
|
10034
|
+
"example": "{}",
|
10011
10035
|
"member": "DescribePolicyGroupInfoCallback",
|
10012
10036
|
"name": "Callback",
|
10037
|
+
"output_required": true,
|
10013
10038
|
"type": "object",
|
10014
10039
|
"value_allowed_null": true
|
10015
10040
|
},
|
10016
10041
|
{
|
10017
10042
|
"disabled": false,
|
10018
10043
|
"document": "模板策略组\n注意:此字段可能返回 null,表示取不到有效值。",
|
10019
|
-
"example": "",
|
10044
|
+
"example": "{}",
|
10020
10045
|
"member": "DescribePolicyGroupInfoConditionTpl",
|
10021
10046
|
"name": "ConditionsTemp",
|
10047
|
+
"output_required": true,
|
10022
10048
|
"type": "object",
|
10023
10049
|
"value_allowed_null": true
|
10024
10050
|
},
|
10025
10051
|
{
|
10026
10052
|
"disabled": false,
|
10027
10053
|
"document": "是否可以设置成默认策略",
|
10028
|
-
"example": "",
|
10054
|
+
"example": "false",
|
10029
10055
|
"member": "bool",
|
10030
10056
|
"name": "CanSetDefault",
|
10057
|
+
"output_required": true,
|
10031
10058
|
"type": "bool",
|
10032
10059
|
"value_allowed_null": false
|
10033
10060
|
},
|
10034
10061
|
{
|
10035
10062
|
"disabled": false,
|
10036
10063
|
"document": "是否且规则\n注意:此字段可能返回 null,表示取不到有效值。",
|
10037
|
-
"example": "",
|
10064
|
+
"example": "1",
|
10038
10065
|
"member": "int64",
|
10039
10066
|
"name": "IsUnionRule",
|
10067
|
+
"output_required": true,
|
10040
10068
|
"type": "int",
|
10041
10069
|
"value_allowed_null": true
|
10042
10070
|
},
|
@@ -558,13 +558,13 @@
|
|
558
558
|
{
|
559
559
|
"document": "根据接收组搜索",
|
560
560
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmPolicies\n<公共请求参数>\n\n{\n \"Module\": \"monitor\",\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
|
561
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
561
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0,\n \"TagOperation\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
562
562
|
"title": "根据接收组搜索"
|
563
563
|
},
|
564
564
|
{
|
565
565
|
"document": "按照实例过滤策略,需要填入监控类型、策略类型、实例的维度信息。我们以搜索两个云服务器为例,假设他们的实例 ID 分别为 `ins-qr8d555g`, `ins-qr8d555h`。\n\nMonitorTypes 指定为 `MT_QCE`\n\nNamespaces 指定为 `cvm_device`\n\nDimensions 的 JSON 字符串为\n\n```\n[\n {\n \"Dimensions\": {\n \"unInstanceId\": \"ins-qr8d555g\"\n }\n },\n {\n \"Dimensions\": {\n \"unInstanceId\": \"ins-qr8d555h\"\n }\n }\n]\n```\n\n不同云产品参数示例详见 [维度信息Dimensions列表](https://cloud.tencent.com/document/product/248/50397)",
|
566
566
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlarmPolicies\n<公共请求参数>\n\n{\n \"Module\": \"monitor\",\n \"PageSize\": 10,\n \"PageNumber\": 1,\n \"MonitorTypes\": [\n \"MT_QCE\"\n ],\n \"Namespaces\": [\n \"cvm_device\"\n ],\n \"Dimensions\": \"[{\\\"Dimensions\\\": { \\\"unInstanceId\\\": \\\"ins-qr8d555g\\\"}},{ \\\"Dimensions\\\": { \\\"unInstanceId\\\": \\\"ins-qr8d555h\\\"}}]\"\n}",
|
567
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n }\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
567
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Policies\": [\n {\n \"PolicyId\": \"abc\",\n \"PolicyName\": \"abc\",\n \"Remark\": \"abc\",\n \"MonitorType\": \"abc\",\n \"Enable\": 0,\n \"UseSum\": 0,\n \"ProjectId\": 0,\n \"ProjectName\": \"abc\",\n \"Namespace\": \"abc\",\n \"ConditionTemplateId\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ]\n },\n \"NoticeIds\": [\n \"abc\"\n ],\n \"Notices\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"UpdatedBy\": \"abc\",\n \"NoticeType\": \"abc\",\n \"UserNotices\": [\n {\n \"ReceiverType\": \"abc\",\n \"UserIds\": [\n 0\n ],\n \"GroupIds\": [\n 0\n ],\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"NoticeWay\": [\n \"abc\"\n ],\n \"PhoneOrder\": [\n 0\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"NeedPhoneArriveNotice\": 0,\n \"PhoneCallType\": \"abc\",\n \"Weekday\": [\n 0\n ],\n \"OnCallFormIDs\": [\n \"abc\"\n ]\n }\n ],\n \"URLNotices\": [\n {\n \"URL\": \"abc\",\n \"IsValid\": 0,\n \"ValidationCode\": \"abc\",\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"Weekday\": [\n 0\n ]\n }\n ],\n \"IsPreset\": 0,\n \"NoticeLanguage\": \"abc\",\n \"PolicyIds\": [\n \"abc\"\n ],\n \"AMPConsumerId\": \"abc\",\n \"CLSNotices\": [\n {\n \"Enable\": 0,\n \"Region\": \"abc\",\n \"LogSetId\": \"abc\",\n \"TopicId\": \"abc\"\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TriggerTasks\": [\n {\n \"Type\": \"abc\",\n \"TaskConfig\": \"abc\"\n }\n ],\n \"ConditionsTemp\": {\n \"TemplateName\": \"abc\",\n \"Condition\": {\n \"IsUnionRule\": 0,\n \"Rules\": [\n {\n \"MetricName\": \"abc\",\n \"Period\": 0,\n \"Operator\": \"abc\",\n \"Value\": \"abc\",\n \"ContinuePeriod\": 0,\n \"NoticeFrequency\": 0,\n \"IsPowerNotice\": 0,\n \"Filter\": {\n \"Type\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"Description\": \"abc\",\n \"Unit\": \"abc\",\n \"RuleType\": \"abc\",\n \"IsAdvanced\": 0,\n \"IsOpen\": 0,\n \"ProductId\": \"abc\",\n \"ValueMax\": 0,\n \"ValueMin\": 0,\n \"HierarchicalValue\": {\n \"Remind\": \"abc\",\n \"Warn\": \"abc\",\n \"Serious\": \"abc\"\n },\n \"IsLatenessMetric\": 0\n }\n ],\n \"ComplexExpression\": \"abc\"\n },\n \"EventCondition\": {}\n },\n \"LastEditUin\": \"abc\",\n \"UpdateTime\": 0,\n \"InsertTime\": 0,\n \"Region\": [\n \"abc\"\n ],\n \"NamespaceShowName\": \"abc\",\n \"IsDefault\": 0,\n \"CanSetDefault\": 0,\n \"InstanceGroupId\": 0,\n \"InstanceSum\": 0,\n \"InstanceGroupName\": \"abc\",\n \"RuleType\": \"abc\",\n \"OriginId\": \"abc\",\n \"TagInstances\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"InstanceSum\": 0,\n \"ServiceType\": \"abc\",\n \"RegionId\": 0,\n \"BindingStatus\": 0,\n \"TagStatus\": 0\n }\n ],\n \"Filter\": {\n \"Type\": \"abc\",\n \"Expression\": \"abc\",\n \"Dimensions\": \"abc\"\n },\n \"GroupBy\": [\n {\n \"Id\": \"abc\",\n \"Name\": \"abc\"\n }\n ],\n \"FilterDimensionsParam\": \"abc\",\n \"IsOneClick\": 0,\n \"OneClickStatus\": 0,\n \"AdvancedMetricNumber\": 0,\n \"IsBindAll\": 0,\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"IsSupportAlarmTag\": 0,\n \"TagOperation\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
568
568
|
"title": "搜索一个云服务器绑定的告警策略"
|
569
569
|
}
|
570
570
|
],
|
@@ -775,8 +775,8 @@
|
|
775
775
|
"DescribePolicyGroupInfo": [
|
776
776
|
{
|
777
777
|
"document": "",
|
778
|
-
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePolicyGroupInfo\
|
779
|
-
"output": "{\n \"Response\": {\n \"Callback\": null,\n \"CanSetDefault\": true,\n \"ConditionsConfig\": [\n {\n \"AlarmNotifyPeriod\": 86400,\n \"AlarmNotifyType\": 0,\n \"CalcType\": 1,\n \"CalcValue\": \"0\",\n \"ContinueTime\": 60,\n \"MetricId\": 33,\n \"MetricShowName\": \"CPU利用率\",\n \"Period\": 60,\n \"RuleId\": 200000,\n \"Unit\": \"%\"\n }\n ],\n \"ConditionsTemp\": null,\n \"DimensionGroup\": [\n \"unInstanceId\"\n ],\n \"EventConfig\": [\n {\n \"AlarmNotifyPeriod\": 86400,\n \"AlarmNotifyType\": 0,\n \"EventId\": 42,\n \"EventShowName\": \"ping不可达\",\n \"RuleId\": 200001\n }\n ],\n \"GroupName\": \"策略组名称test\",\n \"IsDefault\": 0,\n \"LastEditUin\": \"1500000000\",\n \"ProjectId\": 0,\n \"ReceiverInfos\": null,\n \"Region\": [\n \"bj\",\n \"ca\",\n \"cd\",\n \"de\",\n \"gz\",\n \"gzopen\",\n \"hk\",\n \"hzec\",\n \"jnec\",\n \"jp\",\n \"kr\",\n \"nj\",\n \"sg\",\n \"sh\",\n \"shjr\",\n \"tsn\",\n \"usw\"\n ],\n \"Remark\": \"\",\n \"RequestId\": \"11111111-1111-1111-1111-111111111111\",\n \"ShowName\": \"云服务器-基础监控\",\n \"UpdateTime\": \"2018-07-09 15:56:55\",\n \"ViewName\": \"cvm_device\"\n }\n}",
|
778
|
+
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePolicyGroupInfo\n&Module=monitor\n&GroupId=11111\n&<公共请求参数>",
|
779
|
+
"output": "{\n \"Response\": {\n \"Callback\": null,\n \"CanSetDefault\": true,\n \"ConditionsConfig\": [\n {\n \"AlarmNotifyPeriod\": 86400,\n \"AlarmNotifyType\": 0,\n \"CalcType\": 1,\n \"CalcValue\": \"0\",\n \"ContinueTime\": 60,\n \"MetricId\": 33,\n \"MetricShowName\": \"CPU利用率\",\n \"Period\": 60,\n \"RuleId\": 200000,\n \"Unit\": \"%\"\n }\n ],\n \"ConditionsTemp\": null,\n \"DimensionGroup\": [\n \"unInstanceId\"\n ],\n \"EventConfig\": [\n {\n \"AlarmNotifyPeriod\": 86400,\n \"AlarmNotifyType\": 0,\n \"EventId\": 42,\n \"EventShowName\": \"ping不可达\",\n \"RuleId\": 200001\n }\n ],\n \"GroupName\": \"策略组名称test\",\n \"IsDefault\": 0,\n \"LastEditUin\": \"1500000000\",\n \"ProjectId\": 0,\n \"IsUnionRule\": 0,\n \"ReceiverInfos\": null,\n \"Region\": [\n \"bj\",\n \"ca\",\n \"cd\",\n \"de\",\n \"gz\",\n \"gzopen\",\n \"hk\",\n \"hzec\",\n \"jnec\",\n \"jp\",\n \"kr\",\n \"nj\",\n \"sg\",\n \"sh\",\n \"shjr\",\n \"tsn\",\n \"usw\"\n ],\n \"Remark\": \"\",\n \"RequestId\": \"11111111-1111-1111-1111-111111111111\",\n \"ShowName\": \"云服务器-基础监控\",\n \"UpdateTime\": \"2018-07-09 15:56:55\",\n \"ViewName\": \"cvm_device\"\n }\n}",
|
780
780
|
"title": "查询策略组信息"
|
781
781
|
}
|
782
782
|
],
|
@@ -1485,6 +1485,16 @@
|
|
1485
1485
|
"output_required": false,
|
1486
1486
|
"type": "int",
|
1487
1487
|
"value_allowed_null": true
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"disabled": false,
|
1491
|
+
"document": "hls 分片类型,可选值:\n<li>ts-segment:HLS+TS 切片</li>\n<li>ts-byterange:HLS+TS byte range</li>\n<li>mp4-segment:HLS+MP4 切片</li>\n<li>mp4-byterange:HLS+MP4 byte range</li>\n<li>ts-packed-audio:TS+Packed Audio</li>\n<li>mp4-packed-audio:MP4+Packed Audio</li>\n默认值:ts-segment\n\n注:自适应码流的hls分片格式已此字段为准\n注意:此字段可能返回 null,表示取不到有效值。",
|
1492
|
+
"example": "无",
|
1493
|
+
"member": "string",
|
1494
|
+
"name": "SegmentType",
|
1495
|
+
"output_required": false,
|
1496
|
+
"type": "string",
|
1497
|
+
"value_allowed_null": true
|
1488
1498
|
}
|
1489
1499
|
],
|
1490
1500
|
"usage": "out"
|
@@ -6155,7 +6165,7 @@
|
|
6155
6165
|
"members": [
|
6156
6166
|
{
|
6157
6167
|
"disabled": false,
|
6158
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
|
6168
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n<li>eac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
|
6159
6169
|
"example": "aac",
|
6160
6170
|
"member": "string",
|
6161
6171
|
"name": "Codec",
|
@@ -6205,7 +6215,7 @@
|
|
6205
6215
|
"members": [
|
6206
6216
|
{
|
6207
6217
|
"disabled": false,
|
6208
|
-
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
6218
|
+
"document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n<li>eac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
6209
6219
|
"example": "aac",
|
6210
6220
|
"member": "string",
|
6211
6221
|
"name": "Codec",
|
@@ -7878,6 +7888,15 @@
|
|
7878
7888
|
"name": "PureAudio",
|
7879
7889
|
"required": false,
|
7880
7890
|
"type": "int"
|
7891
|
+
},
|
7892
|
+
{
|
7893
|
+
"disabled": false,
|
7894
|
+
"document": "hls 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment \n注:自适应码流的hls分片格式已此字段为准",
|
7895
|
+
"example": "无",
|
7896
|
+
"member": "string",
|
7897
|
+
"name": "SegmentType",
|
7898
|
+
"required": false,
|
7899
|
+
"type": "string"
|
7881
7900
|
}
|
7882
7901
|
],
|
7883
7902
|
"type": "object"
|
@@ -9415,7 +9434,7 @@
|
|
9415
9434
|
"members": [
|
9416
9435
|
{
|
9417
9436
|
"disabled": false,
|
9418
|
-
"document": "封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。",
|
9437
|
+
"document": "封装格式,可选值:mp4、flv、hls、ts、webm、mkv、mxf、mov、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。",
|
9419
9438
|
"example": "mp4",
|
9420
9439
|
"member": "string",
|
9421
9440
|
"name": "Container",
|
@@ -19489,6 +19508,15 @@
|
|
19489
19508
|
"name": "PureAudio",
|
19490
19509
|
"required": false,
|
19491
19510
|
"type": "int"
|
19511
|
+
},
|
19512
|
+
{
|
19513
|
+
"disabled": false,
|
19514
|
+
"document": "hls 分片类型,可选值: <li>ts-segment:HLS+TS 切片</li> <li>ts-byterange:HLS+TS byte range</li> <li>mp4-segment:HLS+MP4 切片</li> <li>mp4-byterange:HLS+MP4 byte range</li> <li>ts-packed-audio:TS+Packed Audio</li> <li>mp4-packed-audio:MP4+Packed Audio</li> 默认值:ts-segment \n注:自适应码流的hls分片格式已此字段为准",
|
19515
|
+
"example": "无",
|
19516
|
+
"member": "string",
|
19517
|
+
"name": "SegmentType",
|
19518
|
+
"required": false,
|
19519
|
+
"type": "string"
|
19492
19520
|
}
|
19493
19521
|
],
|
19494
19522
|
"type": "object"
|
@@ -26134,7 +26162,7 @@
|
|
26134
26162
|
"members": [
|
26135
26163
|
{
|
26136
26164
|
"disabled": false,
|
26137
|
-
"document": "视频流的编码格式,可选值:\n<li>
|
26165
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>h266:H.266 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n<li>vp8:VP8 编码</li>\n<li>vp9:VP9 编码</li>\n<li>mpeg2:MPEG2 编码</li>\n<li>dnxhd:DNxHD 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n\n注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。\n注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。\n注意:VP8、VP9编码容器目前只支持webm,mkv。\n注意:MPEG2、dnxhd 编码容器目前只支持mxf。",
|
26138
26166
|
"example": "h264",
|
26139
26167
|
"member": "string",
|
26140
26168
|
"name": "Codec",
|
@@ -26145,7 +26173,7 @@
|
|
26145
26173
|
},
|
26146
26174
|
{
|
26147
26175
|
"disabled": false,
|
26148
|
-
"document": "视频帧率,取值范围:[0, 120],单位:Hz。
|
26176
|
+
"document": "视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。\n注意:自适应码率时取值范围是 [0, 60]",
|
26149
26177
|
"example": "0",
|
26150
26178
|
"member": "int64",
|
26151
26179
|
"name": "Fps",
|
@@ -26230,6 +26258,17 @@
|
|
26230
26258
|
"required": false,
|
26231
26259
|
"type": "int",
|
26232
26260
|
"value_allowed_null": false
|
26261
|
+
},
|
26262
|
+
{
|
26263
|
+
"disabled": false,
|
26264
|
+
"document": "hls 分片类型,可选值 :\n<li>6:HLS+TS 切片</li>\n<li>2:HLS+TS byte range</li>\n<li>7:HLS+MP4 切片</li>\n<li>5:HLS+MP4 byte range</li>\n默认值:6\n注意:此字段可能返回 null,表示取不到有效值。",
|
26265
|
+
"example": "无",
|
26266
|
+
"member": "int64",
|
26267
|
+
"name": "SegmentType",
|
26268
|
+
"output_required": false,
|
26269
|
+
"required": false,
|
26270
|
+
"type": "int",
|
26271
|
+
"value_allowed_null": true
|
26233
26272
|
}
|
26234
26273
|
],
|
26235
26274
|
"usage": "both"
|
@@ -26239,7 +26278,7 @@
|
|
26239
26278
|
"members": [
|
26240
26279
|
{
|
26241
26280
|
"disabled": false,
|
26242
|
-
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26281
|
+
"document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>h266:H.266 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n<li>vp8:VP8 编码</li>\n<li>vp9:VP9 编码</li>\n<li>mpeg2:MPEG2 编码</li>\n<li>dnxhd:DNxHD 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n\n注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。\n注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。\n注意:VP8、VP9编码容器目前只支持webm,mkv。\n注意:MPEG2、dnxhd 编码容器目前只支持mxf。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26243
26282
|
"example": "h264",
|
26244
26283
|
"member": "string",
|
26245
26284
|
"name": "Codec",
|
@@ -26250,7 +26289,7 @@
|
|
26250
26289
|
},
|
26251
26290
|
{
|
26252
26291
|
"disabled": false,
|
26253
|
-
"document": "视频帧率,取值范围:[0, 120],单位:Hz
|
26292
|
+
"document": "视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。\n注意:此字段可能返回 null,表示取不到有效值。",
|
26254
26293
|
"example": "0",
|
26255
26294
|
"member": "int64",
|
26256
26295
|
"name": "Fps",
|
@@ -26346,6 +26385,17 @@
|
|
26346
26385
|
"required": false,
|
26347
26386
|
"type": "int",
|
26348
26387
|
"value_allowed_null": true
|
26388
|
+
},
|
26389
|
+
{
|
26390
|
+
"disabled": false,
|
26391
|
+
"document": "hls 分片类型,可选值:\n<li>6:HLS+TS 切片</li>\n<li>2:HLS+TS byte range</li>\n<li>7:HLS+MP4 切片</li>\n<li>5:HLS+MP4 byte range</li>\n默认值:6\n注意:此字段可能返回 null,表示取不到有效值。",
|
26392
|
+
"example": "无",
|
26393
|
+
"member": "int64",
|
26394
|
+
"name": "SegmentType",
|
26395
|
+
"output_required": false,
|
26396
|
+
"required": false,
|
26397
|
+
"type": "int",
|
26398
|
+
"value_allowed_null": true
|
26349
26399
|
}
|
26350
26400
|
],
|
26351
26401
|
"usage": "both"
|
@@ -181,7 +181,7 @@
|
|
181
181
|
"CreateTranscodeTemplate": [
|
182
182
|
{
|
183
183
|
"document": "",
|
184
|
-
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<公共请求参数>\n\n{\n \"RemoveVideo\": 0,\n \"Container\": \"mp4\",\n \"Name\": \"test\",\n \"AudioTemplate\": {\n \"SampleRate\": 44100,\n \"Codec\": \"
|
184
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<公共请求参数>\n\n{\n \"RemoveVideo\": 0,\n \"Container\": \"mp4\",\n \"Name\": \"test\",\n \"AudioTemplate\": {\n \"SampleRate\": 44100,\n \"Codec\": \"aac\",\n \"Bitrate\": 200\n },\n \"VideoTemplate\": {\n \"Codec\": \"h264\",\n \"Bitrate\": 256,\n \"Fps\": 45\n },\n \"RemoveAudio\": 0\n}",
|
185
185
|
"output": "{\n \"Response\": {\n \"Definition\": 1008,\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
|
186
186
|
"title": "创建转码模板"
|
187
187
|
}
|