@alicloud/cms20190101 2.0.6 → 2.0.8
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.
- package/dist/client.d.ts +589 -108
- package/dist/client.js +839 -149
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +969 -108
package/dist/client.js
CHANGED
|
@@ -217,6 +217,36 @@ class MetricStat extends $tea.Model {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
exports.MetricStat = MetricStat;
|
|
220
|
+
class MigrationJob extends $tea.Model {
|
|
221
|
+
constructor(map) {
|
|
222
|
+
super(map);
|
|
223
|
+
}
|
|
224
|
+
static names() {
|
|
225
|
+
return {
|
|
226
|
+
createTime: 'CreateTime',
|
|
227
|
+
detail: 'Detail',
|
|
228
|
+
jobStatus: 'JobStatus',
|
|
229
|
+
plan: 'Plan',
|
|
230
|
+
ruleNames: 'RuleNames',
|
|
231
|
+
source: 'Source',
|
|
232
|
+
updateTime: 'UpdateTime',
|
|
233
|
+
uuid: 'Uuid',
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
static types() {
|
|
237
|
+
return {
|
|
238
|
+
createTime: 'string',
|
|
239
|
+
detail: 'string',
|
|
240
|
+
jobStatus: 'string',
|
|
241
|
+
plan: MigrationJobPlan,
|
|
242
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
243
|
+
source: { 'type': 'array', 'itemType': MigrationJobSource },
|
|
244
|
+
updateTime: 'string',
|
|
245
|
+
uuid: 'string',
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
exports.MigrationJob = MigrationJob;
|
|
220
250
|
class NotificationStrategy extends $tea.Model {
|
|
221
251
|
constructor(map) {
|
|
222
252
|
super(map);
|
|
@@ -4962,6 +4992,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
4962
4992
|
static names() {
|
|
4963
4993
|
return {
|
|
4964
4994
|
groupId: 'GroupId',
|
|
4995
|
+
isEnable: 'IsEnable',
|
|
4965
4996
|
namePrefix: 'NamePrefix',
|
|
4966
4997
|
pageNumber: 'PageNumber',
|
|
4967
4998
|
pageSize: 'PageSize',
|
|
@@ -4971,6 +5002,7 @@ class DescribeEventRuleListRequest extends $tea.Model {
|
|
|
4971
5002
|
static types() {
|
|
4972
5003
|
return {
|
|
4973
5004
|
groupId: 'string',
|
|
5005
|
+
isEnable: 'boolean',
|
|
4974
5006
|
namePrefix: 'string',
|
|
4975
5007
|
pageNumber: 'string',
|
|
4976
5008
|
pageSize: 'string',
|
|
@@ -8045,7 +8077,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8045
8077
|
}
|
|
8046
8078
|
static names() {
|
|
8047
8079
|
return {
|
|
8080
|
+
browser: 'Browser',
|
|
8081
|
+
browserInfo: 'BrowserInfo',
|
|
8048
8082
|
city: 'City',
|
|
8083
|
+
device: 'Device',
|
|
8049
8084
|
endTime: 'EndTime',
|
|
8050
8085
|
filter: 'Filter',
|
|
8051
8086
|
isp: 'Isp',
|
|
@@ -8059,7 +8094,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8059
8094
|
}
|
|
8060
8095
|
static types() {
|
|
8061
8096
|
return {
|
|
8097
|
+
browser: 'string',
|
|
8098
|
+
browserInfo: 'string',
|
|
8062
8099
|
city: 'string',
|
|
8100
|
+
device: 'string',
|
|
8063
8101
|
endTime: 'string',
|
|
8064
8102
|
filter: 'string',
|
|
8065
8103
|
isp: 'string',
|
|
@@ -11786,83 +11824,483 @@ class UninstallMonitoringAgentResponse extends $tea.Model {
|
|
|
11786
11824
|
};
|
|
11787
11825
|
}
|
|
11788
11826
|
}
|
|
11789
|
-
exports.UninstallMonitoringAgentResponse = UninstallMonitoringAgentResponse;
|
|
11790
|
-
class AlertEventMetrics extends $tea.Model {
|
|
11827
|
+
exports.UninstallMonitoringAgentResponse = UninstallMonitoringAgentResponse;
|
|
11828
|
+
class AlertEventMetrics extends $tea.Model {
|
|
11829
|
+
constructor(map) {
|
|
11830
|
+
super(map);
|
|
11831
|
+
}
|
|
11832
|
+
static names() {
|
|
11833
|
+
return {
|
|
11834
|
+
curValue: 'CurValue',
|
|
11835
|
+
metricName: 'MetricName',
|
|
11836
|
+
metricNameEn: 'MetricNameEn',
|
|
11837
|
+
metricNameZh: 'MetricNameZh',
|
|
11838
|
+
operator: 'Operator',
|
|
11839
|
+
statistics: 'Statistics',
|
|
11840
|
+
threshold: 'Threshold',
|
|
11841
|
+
unit: 'Unit',
|
|
11842
|
+
unitFactor: 'UnitFactor',
|
|
11843
|
+
};
|
|
11844
|
+
}
|
|
11845
|
+
static types() {
|
|
11846
|
+
return {
|
|
11847
|
+
curValue: 'string',
|
|
11848
|
+
metricName: 'string',
|
|
11849
|
+
metricNameEn: 'string',
|
|
11850
|
+
metricNameZh: 'string',
|
|
11851
|
+
operator: 'string',
|
|
11852
|
+
statistics: 'string',
|
|
11853
|
+
threshold: 'string',
|
|
11854
|
+
unit: 'string',
|
|
11855
|
+
unitFactor: 'number',
|
|
11856
|
+
};
|
|
11857
|
+
}
|
|
11858
|
+
}
|
|
11859
|
+
exports.AlertEventMetrics = AlertEventMetrics;
|
|
11860
|
+
class EscalationRuleEscalationsContactGroupsByLevel extends $tea.Model {
|
|
11861
|
+
constructor(map) {
|
|
11862
|
+
super(map);
|
|
11863
|
+
}
|
|
11864
|
+
static names() {
|
|
11865
|
+
return {
|
|
11866
|
+
critical: 'Critical',
|
|
11867
|
+
error: 'Error',
|
|
11868
|
+
info: 'Info',
|
|
11869
|
+
resolve: 'Resolve',
|
|
11870
|
+
warning: 'Warning',
|
|
11871
|
+
};
|
|
11872
|
+
}
|
|
11873
|
+
static types() {
|
|
11874
|
+
return {
|
|
11875
|
+
critical: { 'type': 'array', 'itemType': 'string' },
|
|
11876
|
+
error: { 'type': 'array', 'itemType': 'string' },
|
|
11877
|
+
info: { 'type': 'array', 'itemType': 'string' },
|
|
11878
|
+
resolve: { 'type': 'array', 'itemType': 'string' },
|
|
11879
|
+
warning: { 'type': 'array', 'itemType': 'string' },
|
|
11880
|
+
};
|
|
11881
|
+
}
|
|
11882
|
+
}
|
|
11883
|
+
exports.EscalationRuleEscalationsContactGroupsByLevel = EscalationRuleEscalationsContactGroupsByLevel;
|
|
11884
|
+
class EscalationRuleEscalations extends $tea.Model {
|
|
11885
|
+
constructor(map) {
|
|
11886
|
+
super(map);
|
|
11887
|
+
}
|
|
11888
|
+
static names() {
|
|
11889
|
+
return {
|
|
11890
|
+
contactGroups: 'ContactGroups',
|
|
11891
|
+
contactGroupsByLevel: 'ContactGroupsByLevel',
|
|
11892
|
+
escalateMin: 'EscalateMin',
|
|
11893
|
+
};
|
|
11894
|
+
}
|
|
11895
|
+
static types() {
|
|
11896
|
+
return {
|
|
11897
|
+
contactGroups: { 'type': 'array', 'itemType': 'string' },
|
|
11898
|
+
contactGroupsByLevel: EscalationRuleEscalationsContactGroupsByLevel,
|
|
11899
|
+
escalateMin: 'number',
|
|
11900
|
+
};
|
|
11901
|
+
}
|
|
11902
|
+
}
|
|
11903
|
+
exports.EscalationRuleEscalations = EscalationRuleEscalations;
|
|
11904
|
+
class MigrationJobPlanContactsChannels extends $tea.Model {
|
|
11905
|
+
constructor(map) {
|
|
11906
|
+
super(map);
|
|
11907
|
+
}
|
|
11908
|
+
static names() {
|
|
11909
|
+
return {
|
|
11910
|
+
level: 'Level',
|
|
11911
|
+
type: 'Type',
|
|
11912
|
+
value: 'Value',
|
|
11913
|
+
};
|
|
11914
|
+
}
|
|
11915
|
+
static types() {
|
|
11916
|
+
return {
|
|
11917
|
+
level: 'number',
|
|
11918
|
+
type: 'string',
|
|
11919
|
+
value: 'string',
|
|
11920
|
+
};
|
|
11921
|
+
}
|
|
11922
|
+
}
|
|
11923
|
+
exports.MigrationJobPlanContactsChannels = MigrationJobPlanContactsChannels;
|
|
11924
|
+
class MigrationJobPlanContacts extends $tea.Model {
|
|
11925
|
+
constructor(map) {
|
|
11926
|
+
super(map);
|
|
11927
|
+
}
|
|
11928
|
+
static names() {
|
|
11929
|
+
return {
|
|
11930
|
+
channels: 'Channels',
|
|
11931
|
+
name: 'Name',
|
|
11932
|
+
};
|
|
11933
|
+
}
|
|
11934
|
+
static types() {
|
|
11935
|
+
return {
|
|
11936
|
+
channels: { 'type': 'array', 'itemType': MigrationJobPlanContactsChannels },
|
|
11937
|
+
name: 'string',
|
|
11938
|
+
};
|
|
11939
|
+
}
|
|
11940
|
+
}
|
|
11941
|
+
exports.MigrationJobPlanContacts = MigrationJobPlanContacts;
|
|
11942
|
+
class MigrationJobPlanEscalationsEscalationsLevelGroups extends $tea.Model {
|
|
11943
|
+
constructor(map) {
|
|
11944
|
+
super(map);
|
|
11945
|
+
}
|
|
11946
|
+
static names() {
|
|
11947
|
+
return {
|
|
11948
|
+
critical: 'Critical',
|
|
11949
|
+
info: 'Info',
|
|
11950
|
+
resolved: 'Resolved',
|
|
11951
|
+
warning: 'Warning',
|
|
11952
|
+
};
|
|
11953
|
+
}
|
|
11954
|
+
static types() {
|
|
11955
|
+
return {
|
|
11956
|
+
critical: { 'type': 'array', 'itemType': 'string' },
|
|
11957
|
+
info: { 'type': 'array', 'itemType': 'string' },
|
|
11958
|
+
resolved: { 'type': 'array', 'itemType': 'string' },
|
|
11959
|
+
warning: { 'type': 'array', 'itemType': 'string' },
|
|
11960
|
+
};
|
|
11961
|
+
}
|
|
11962
|
+
}
|
|
11963
|
+
exports.MigrationJobPlanEscalationsEscalationsLevelGroups = MigrationJobPlanEscalationsEscalationsLevelGroups;
|
|
11964
|
+
class MigrationJobPlanEscalationsEscalations extends $tea.Model {
|
|
11965
|
+
constructor(map) {
|
|
11966
|
+
super(map);
|
|
11967
|
+
}
|
|
11968
|
+
static names() {
|
|
11969
|
+
return {
|
|
11970
|
+
groups: 'Groups',
|
|
11971
|
+
levelGroups: 'LevelGroups',
|
|
11972
|
+
};
|
|
11973
|
+
}
|
|
11974
|
+
static types() {
|
|
11975
|
+
return {
|
|
11976
|
+
groups: { 'type': 'array', 'itemType': 'string' },
|
|
11977
|
+
levelGroups: MigrationJobPlanEscalationsEscalationsLevelGroups,
|
|
11978
|
+
};
|
|
11979
|
+
}
|
|
11980
|
+
}
|
|
11981
|
+
exports.MigrationJobPlanEscalationsEscalations = MigrationJobPlanEscalationsEscalations;
|
|
11982
|
+
class MigrationJobPlanEscalations extends $tea.Model {
|
|
11983
|
+
constructor(map) {
|
|
11984
|
+
super(map);
|
|
11985
|
+
}
|
|
11986
|
+
static names() {
|
|
11987
|
+
return {
|
|
11988
|
+
escalations: 'Escalations',
|
|
11989
|
+
name: 'Name',
|
|
11990
|
+
uuid: 'Uuid',
|
|
11991
|
+
};
|
|
11992
|
+
}
|
|
11993
|
+
static types() {
|
|
11994
|
+
return {
|
|
11995
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalationsEscalations },
|
|
11996
|
+
name: 'string',
|
|
11997
|
+
uuid: 'string',
|
|
11998
|
+
};
|
|
11999
|
+
}
|
|
12000
|
+
}
|
|
12001
|
+
exports.MigrationJobPlanEscalations = MigrationJobPlanEscalations;
|
|
12002
|
+
class MigrationJobPlanGroups extends $tea.Model {
|
|
12003
|
+
constructor(map) {
|
|
12004
|
+
super(map);
|
|
12005
|
+
}
|
|
12006
|
+
static names() {
|
|
12007
|
+
return {
|
|
12008
|
+
contacts: 'Contacts',
|
|
12009
|
+
name: 'Name',
|
|
12010
|
+
};
|
|
12011
|
+
}
|
|
12012
|
+
static types() {
|
|
12013
|
+
return {
|
|
12014
|
+
contacts: { 'type': 'array', 'itemType': 'string' },
|
|
12015
|
+
name: 'string',
|
|
12016
|
+
};
|
|
12017
|
+
}
|
|
12018
|
+
}
|
|
12019
|
+
exports.MigrationJobPlanGroups = MigrationJobPlanGroups;
|
|
12020
|
+
class MigrationJobPlanStrategiesEscalationSetting extends $tea.Model {
|
|
12021
|
+
constructor(map) {
|
|
12022
|
+
super(map);
|
|
12023
|
+
}
|
|
12024
|
+
static names() {
|
|
12025
|
+
return {
|
|
12026
|
+
escalationUuid: 'escalationUuid',
|
|
12027
|
+
};
|
|
12028
|
+
}
|
|
12029
|
+
static types() {
|
|
12030
|
+
return {
|
|
12031
|
+
escalationUuid: 'string',
|
|
12032
|
+
};
|
|
12033
|
+
}
|
|
12034
|
+
}
|
|
12035
|
+
exports.MigrationJobPlanStrategiesEscalationSetting = MigrationJobPlanStrategiesEscalationSetting;
|
|
12036
|
+
class MigrationJobPlanStrategiesPushingSetting extends $tea.Model {
|
|
12037
|
+
constructor(map) {
|
|
12038
|
+
super(map);
|
|
12039
|
+
}
|
|
12040
|
+
static names() {
|
|
12041
|
+
return {
|
|
12042
|
+
targetUuids: 'TargetUuids',
|
|
12043
|
+
};
|
|
12044
|
+
}
|
|
12045
|
+
static types() {
|
|
12046
|
+
return {
|
|
12047
|
+
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
12048
|
+
};
|
|
12049
|
+
}
|
|
12050
|
+
}
|
|
12051
|
+
exports.MigrationJobPlanStrategiesPushingSetting = MigrationJobPlanStrategiesPushingSetting;
|
|
12052
|
+
class MigrationJobPlanStrategies extends $tea.Model {
|
|
12053
|
+
constructor(map) {
|
|
12054
|
+
super(map);
|
|
12055
|
+
}
|
|
12056
|
+
static names() {
|
|
12057
|
+
return {
|
|
12058
|
+
escalationSetting: 'EscalationSetting',
|
|
12059
|
+
name: 'Name',
|
|
12060
|
+
pushingSetting: 'PushingSetting',
|
|
12061
|
+
};
|
|
12062
|
+
}
|
|
12063
|
+
static types() {
|
|
12064
|
+
return {
|
|
12065
|
+
escalationSetting: MigrationJobPlanStrategiesEscalationSetting,
|
|
12066
|
+
name: 'string',
|
|
12067
|
+
pushingSetting: MigrationJobPlanStrategiesPushingSetting,
|
|
12068
|
+
};
|
|
12069
|
+
}
|
|
12070
|
+
}
|
|
12071
|
+
exports.MigrationJobPlanStrategies = MigrationJobPlanStrategies;
|
|
12072
|
+
class MigrationJobPlanSubscriptionsConditions extends $tea.Model {
|
|
12073
|
+
constructor(map) {
|
|
12074
|
+
super(map);
|
|
12075
|
+
}
|
|
12076
|
+
static names() {
|
|
12077
|
+
return {
|
|
12078
|
+
field: 'Field',
|
|
12079
|
+
op: 'Op',
|
|
12080
|
+
value: 'Value',
|
|
12081
|
+
};
|
|
12082
|
+
}
|
|
12083
|
+
static types() {
|
|
12084
|
+
return {
|
|
12085
|
+
field: 'string',
|
|
12086
|
+
op: 'string',
|
|
12087
|
+
value: 'string',
|
|
12088
|
+
};
|
|
12089
|
+
}
|
|
12090
|
+
}
|
|
12091
|
+
exports.MigrationJobPlanSubscriptionsConditions = MigrationJobPlanSubscriptionsConditions;
|
|
12092
|
+
class MigrationJobPlanSubscriptions extends $tea.Model {
|
|
12093
|
+
constructor(map) {
|
|
12094
|
+
super(map);
|
|
12095
|
+
}
|
|
12096
|
+
static names() {
|
|
12097
|
+
return {
|
|
12098
|
+
conditions: 'Conditions',
|
|
12099
|
+
name: 'Name',
|
|
12100
|
+
strategyUuid: 'StrategyUuid',
|
|
12101
|
+
};
|
|
12102
|
+
}
|
|
12103
|
+
static types() {
|
|
12104
|
+
return {
|
|
12105
|
+
conditions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptionsConditions },
|
|
12106
|
+
name: 'string',
|
|
12107
|
+
strategyUuid: 'string',
|
|
12108
|
+
};
|
|
12109
|
+
}
|
|
12110
|
+
}
|
|
12111
|
+
exports.MigrationJobPlanSubscriptions = MigrationJobPlanSubscriptions;
|
|
12112
|
+
class MigrationJobPlanTargetsHttpRequestTarget extends $tea.Model {
|
|
12113
|
+
constructor(map) {
|
|
12114
|
+
super(map);
|
|
12115
|
+
}
|
|
12116
|
+
static names() {
|
|
12117
|
+
return {
|
|
12118
|
+
contentType: 'ContentType',
|
|
12119
|
+
method: 'Method',
|
|
12120
|
+
url: 'Url',
|
|
12121
|
+
};
|
|
12122
|
+
}
|
|
12123
|
+
static types() {
|
|
12124
|
+
return {
|
|
12125
|
+
contentType: 'string',
|
|
12126
|
+
method: 'string',
|
|
12127
|
+
url: 'string',
|
|
12128
|
+
};
|
|
12129
|
+
}
|
|
12130
|
+
}
|
|
12131
|
+
exports.MigrationJobPlanTargetsHttpRequestTarget = MigrationJobPlanTargetsHttpRequestTarget;
|
|
12132
|
+
class MigrationJobPlanTargets extends $tea.Model {
|
|
12133
|
+
constructor(map) {
|
|
12134
|
+
super(map);
|
|
12135
|
+
}
|
|
12136
|
+
static names() {
|
|
12137
|
+
return {
|
|
12138
|
+
arn: 'Arn',
|
|
12139
|
+
httpRequestTarget: 'HttpRequestTarget',
|
|
12140
|
+
name: 'Name',
|
|
12141
|
+
type: 'Type',
|
|
12142
|
+
uuid: 'Uuid',
|
|
12143
|
+
};
|
|
12144
|
+
}
|
|
12145
|
+
static types() {
|
|
12146
|
+
return {
|
|
12147
|
+
arn: 'string',
|
|
12148
|
+
httpRequestTarget: MigrationJobPlanTargetsHttpRequestTarget,
|
|
12149
|
+
name: 'string',
|
|
12150
|
+
type: 'string',
|
|
12151
|
+
uuid: 'string',
|
|
12152
|
+
};
|
|
12153
|
+
}
|
|
12154
|
+
}
|
|
12155
|
+
exports.MigrationJobPlanTargets = MigrationJobPlanTargets;
|
|
12156
|
+
class MigrationJobPlan extends $tea.Model {
|
|
12157
|
+
constructor(map) {
|
|
12158
|
+
super(map);
|
|
12159
|
+
}
|
|
12160
|
+
static names() {
|
|
12161
|
+
return {
|
|
12162
|
+
contacts: 'Contacts',
|
|
12163
|
+
escalations: 'Escalations',
|
|
12164
|
+
groups: 'Groups',
|
|
12165
|
+
ruleNames: 'RuleNames',
|
|
12166
|
+
strategies: 'Strategies',
|
|
12167
|
+
subscriptions: 'Subscriptions',
|
|
12168
|
+
targets: 'Targets',
|
|
12169
|
+
};
|
|
12170
|
+
}
|
|
12171
|
+
static types() {
|
|
12172
|
+
return {
|
|
12173
|
+
contacts: { 'type': 'array', 'itemType': MigrationJobPlanContacts },
|
|
12174
|
+
escalations: { 'type': 'array', 'itemType': MigrationJobPlanEscalations },
|
|
12175
|
+
groups: { 'type': 'array', 'itemType': MigrationJobPlanGroups },
|
|
12176
|
+
ruleNames: { 'type': 'array', 'itemType': 'string' },
|
|
12177
|
+
strategies: { 'type': 'array', 'itemType': MigrationJobPlanStrategies },
|
|
12178
|
+
subscriptions: { 'type': 'array', 'itemType': MigrationJobPlanSubscriptions },
|
|
12179
|
+
targets: { 'type': 'array', 'itemType': MigrationJobPlanTargets },
|
|
12180
|
+
};
|
|
12181
|
+
}
|
|
12182
|
+
}
|
|
12183
|
+
exports.MigrationJobPlan = MigrationJobPlan;
|
|
12184
|
+
class MigrationJobSourceRuleKeywordFilter extends $tea.Model {
|
|
12185
|
+
constructor(map) {
|
|
12186
|
+
super(map);
|
|
12187
|
+
}
|
|
12188
|
+
static names() {
|
|
12189
|
+
return {
|
|
12190
|
+
keywords: 'Keywords',
|
|
12191
|
+
relation: 'Relation',
|
|
12192
|
+
};
|
|
12193
|
+
}
|
|
12194
|
+
static types() {
|
|
12195
|
+
return {
|
|
12196
|
+
keywords: { 'type': 'array', 'itemType': 'string' },
|
|
12197
|
+
relation: 'string',
|
|
12198
|
+
};
|
|
12199
|
+
}
|
|
12200
|
+
}
|
|
12201
|
+
exports.MigrationJobSourceRuleKeywordFilter = MigrationJobSourceRuleKeywordFilter;
|
|
12202
|
+
class MigrationJobSourceRulePrimaryFilters extends $tea.Model {
|
|
12203
|
+
constructor(map) {
|
|
12204
|
+
super(map);
|
|
12205
|
+
}
|
|
12206
|
+
static names() {
|
|
12207
|
+
return {
|
|
12208
|
+
field: 'Field',
|
|
12209
|
+
opType: 'OpType',
|
|
12210
|
+
value: 'Value',
|
|
12211
|
+
};
|
|
12212
|
+
}
|
|
12213
|
+
static types() {
|
|
12214
|
+
return {
|
|
12215
|
+
field: 'string',
|
|
12216
|
+
opType: 'string',
|
|
12217
|
+
value: 'string',
|
|
12218
|
+
};
|
|
12219
|
+
}
|
|
12220
|
+
}
|
|
12221
|
+
exports.MigrationJobSourceRulePrimaryFilters = MigrationJobSourceRulePrimaryFilters;
|
|
12222
|
+
class MigrationJobSourceRule extends $tea.Model {
|
|
12223
|
+
constructor(map) {
|
|
12224
|
+
super(map);
|
|
12225
|
+
}
|
|
12226
|
+
static names() {
|
|
12227
|
+
return {
|
|
12228
|
+
keywordFilter: 'KeywordFilter',
|
|
12229
|
+
name: 'Name',
|
|
12230
|
+
primaryFilters: 'PrimaryFilters',
|
|
12231
|
+
};
|
|
12232
|
+
}
|
|
12233
|
+
static types() {
|
|
12234
|
+
return {
|
|
12235
|
+
keywordFilter: MigrationJobSourceRuleKeywordFilter,
|
|
12236
|
+
name: 'string',
|
|
12237
|
+
primaryFilters: { 'type': 'array', 'itemType': MigrationJobSourceRulePrimaryFilters },
|
|
12238
|
+
};
|
|
12239
|
+
}
|
|
12240
|
+
}
|
|
12241
|
+
exports.MigrationJobSourceRule = MigrationJobSourceRule;
|
|
12242
|
+
class MigrationJobSourceTargetsContent extends $tea.Model {
|
|
11791
12243
|
constructor(map) {
|
|
11792
12244
|
super(map);
|
|
11793
12245
|
}
|
|
11794
12246
|
static names() {
|
|
11795
12247
|
return {
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
threshold: 'Threshold',
|
|
11803
|
-
unit: 'Unit',
|
|
11804
|
-
unitFactor: 'UnitFactor',
|
|
12248
|
+
group: 'Group',
|
|
12249
|
+
level: 'Level',
|
|
12250
|
+
method: 'Method',
|
|
12251
|
+
region: 'Region',
|
|
12252
|
+
resourcePath: 'ResourcePath',
|
|
12253
|
+
url: 'Url',
|
|
11805
12254
|
};
|
|
11806
12255
|
}
|
|
11807
12256
|
static types() {
|
|
11808
12257
|
return {
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
|
|
11815
|
-
threshold: 'string',
|
|
11816
|
-
unit: 'string',
|
|
11817
|
-
unitFactor: 'number',
|
|
12258
|
+
group: 'string',
|
|
12259
|
+
level: 'string',
|
|
12260
|
+
method: 'string',
|
|
12261
|
+
region: 'string',
|
|
12262
|
+
resourcePath: 'string',
|
|
12263
|
+
url: 'string',
|
|
11818
12264
|
};
|
|
11819
12265
|
}
|
|
11820
12266
|
}
|
|
11821
|
-
exports.
|
|
11822
|
-
class
|
|
12267
|
+
exports.MigrationJobSourceTargetsContent = MigrationJobSourceTargetsContent;
|
|
12268
|
+
class MigrationJobSourceTargets extends $tea.Model {
|
|
11823
12269
|
constructor(map) {
|
|
11824
12270
|
super(map);
|
|
11825
12271
|
}
|
|
11826
12272
|
static names() {
|
|
11827
12273
|
return {
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
info: 'Info',
|
|
11831
|
-
resolve: 'Resolve',
|
|
11832
|
-
warning: 'Warning',
|
|
12274
|
+
content: 'Content',
|
|
12275
|
+
type: 'Type',
|
|
11833
12276
|
};
|
|
11834
12277
|
}
|
|
11835
12278
|
static types() {
|
|
11836
12279
|
return {
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
info: { 'type': 'array', 'itemType': 'string' },
|
|
11840
|
-
resolve: { 'type': 'array', 'itemType': 'string' },
|
|
11841
|
-
warning: { 'type': 'array', 'itemType': 'string' },
|
|
12280
|
+
content: MigrationJobSourceTargetsContent,
|
|
12281
|
+
type: 'string',
|
|
11842
12282
|
};
|
|
11843
12283
|
}
|
|
11844
12284
|
}
|
|
11845
|
-
exports.
|
|
11846
|
-
class
|
|
12285
|
+
exports.MigrationJobSourceTargets = MigrationJobSourceTargets;
|
|
12286
|
+
class MigrationJobSource extends $tea.Model {
|
|
11847
12287
|
constructor(map) {
|
|
11848
12288
|
super(map);
|
|
11849
12289
|
}
|
|
11850
12290
|
static names() {
|
|
11851
12291
|
return {
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
escalateMin: 'EscalateMin',
|
|
12292
|
+
rule: 'Rule',
|
|
12293
|
+
targets: 'Targets',
|
|
11855
12294
|
};
|
|
11856
12295
|
}
|
|
11857
12296
|
static types() {
|
|
11858
12297
|
return {
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
escalateMin: 'number',
|
|
12298
|
+
rule: MigrationJobSourceRule,
|
|
12299
|
+
targets: { 'type': 'array', 'itemType': MigrationJobSourceTargets },
|
|
11862
12300
|
};
|
|
11863
12301
|
}
|
|
11864
12302
|
}
|
|
11865
|
-
exports.
|
|
12303
|
+
exports.MigrationJobSource = MigrationJobSource;
|
|
11866
12304
|
class NotificationStrategyEscalationSettingCustomChannels extends $tea.Model {
|
|
11867
12305
|
constructor(map) {
|
|
11868
12306
|
super(map);
|
|
@@ -12015,6 +12453,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12015
12453
|
}
|
|
12016
12454
|
static names() {
|
|
12017
12455
|
return {
|
|
12456
|
+
pushingDataFormat: 'PushingDataFormat',
|
|
12018
12457
|
range: 'Range',
|
|
12019
12458
|
targetUuids: 'TargetUuids',
|
|
12020
12459
|
templateUuid: 'TemplateUuid',
|
|
@@ -12022,6 +12461,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12022
12461
|
}
|
|
12023
12462
|
static types() {
|
|
12024
12463
|
return {
|
|
12464
|
+
pushingDataFormat: 'string',
|
|
12025
12465
|
range: 'string',
|
|
12026
12466
|
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
12027
12467
|
templateUuid: 'string',
|
|
@@ -14471,6 +14911,40 @@ class DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList exte
|
|
|
14471
14911
|
}
|
|
14472
14912
|
}
|
|
14473
14913
|
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList = DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList;
|
|
14914
|
+
class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords extends $tea.Model {
|
|
14915
|
+
constructor(map) {
|
|
14916
|
+
super(map);
|
|
14917
|
+
}
|
|
14918
|
+
static names() {
|
|
14919
|
+
return {
|
|
14920
|
+
keyword: 'keyword',
|
|
14921
|
+
};
|
|
14922
|
+
}
|
|
14923
|
+
static types() {
|
|
14924
|
+
return {
|
|
14925
|
+
keyword: { 'type': 'array', 'itemType': 'string' },
|
|
14926
|
+
};
|
|
14927
|
+
}
|
|
14928
|
+
}
|
|
14929
|
+
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords;
|
|
14930
|
+
class DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj extends $tea.Model {
|
|
14931
|
+
constructor(map) {
|
|
14932
|
+
super(map);
|
|
14933
|
+
}
|
|
14934
|
+
static names() {
|
|
14935
|
+
return {
|
|
14936
|
+
keywords: 'Keywords',
|
|
14937
|
+
relation: 'Relation',
|
|
14938
|
+
};
|
|
14939
|
+
}
|
|
14940
|
+
static types() {
|
|
14941
|
+
return {
|
|
14942
|
+
keywords: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObjKeywords,
|
|
14943
|
+
relation: 'string',
|
|
14944
|
+
};
|
|
14945
|
+
}
|
|
14946
|
+
}
|
|
14947
|
+
exports.DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj = DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj;
|
|
14474
14948
|
class DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList extends $tea.Model {
|
|
14475
14949
|
constructor(map) {
|
|
14476
14950
|
super(map);
|
|
@@ -14526,18 +15000,22 @@ class DescribeEventRuleAttributeResponseBodyResultEventPattern extends $tea.Mode
|
|
|
14526
15000
|
static names() {
|
|
14527
15001
|
return {
|
|
14528
15002
|
eventTypeList: 'EventTypeList',
|
|
15003
|
+
keywordFilterObj: 'KeywordFilterObj',
|
|
14529
15004
|
levelList: 'LevelList',
|
|
14530
15005
|
nameList: 'NameList',
|
|
14531
15006
|
product: 'Product',
|
|
15007
|
+
SQLFilter: 'SQLFilter',
|
|
14532
15008
|
statusList: 'StatusList',
|
|
14533
15009
|
};
|
|
14534
15010
|
}
|
|
14535
15011
|
static types() {
|
|
14536
15012
|
return {
|
|
14537
15013
|
eventTypeList: DescribeEventRuleAttributeResponseBodyResultEventPatternEventTypeList,
|
|
15014
|
+
keywordFilterObj: DescribeEventRuleAttributeResponseBodyResultEventPatternKeywordFilterObj,
|
|
14538
15015
|
levelList: DescribeEventRuleAttributeResponseBodyResultEventPatternLevelList,
|
|
14539
15016
|
nameList: DescribeEventRuleAttributeResponseBodyResultEventPatternNameList,
|
|
14540
15017
|
product: 'string',
|
|
15018
|
+
SQLFilter: 'string',
|
|
14541
15019
|
statusList: DescribeEventRuleAttributeResponseBodyResultEventPatternStatusList,
|
|
14542
15020
|
};
|
|
14543
15021
|
}
|
|
@@ -17967,6 +18445,152 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions e
|
|
|
17967
18445
|
}
|
|
17968
18446
|
}
|
|
17969
18447
|
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
18448
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList extends $tea.Model {
|
|
18449
|
+
constructor(map) {
|
|
18450
|
+
super(map);
|
|
18451
|
+
}
|
|
18452
|
+
static names() {
|
|
18453
|
+
return {
|
|
18454
|
+
blockedUrlList: 'blocked_url_list',
|
|
18455
|
+
};
|
|
18456
|
+
}
|
|
18457
|
+
static types() {
|
|
18458
|
+
return {
|
|
18459
|
+
blockedUrlList: { 'type': 'array', 'itemType': 'string' },
|
|
18460
|
+
};
|
|
18461
|
+
}
|
|
18462
|
+
}
|
|
18463
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
18464
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders extends $tea.Model {
|
|
18465
|
+
constructor(map) {
|
|
18466
|
+
super(map);
|
|
18467
|
+
}
|
|
18468
|
+
static names() {
|
|
18469
|
+
return {
|
|
18470
|
+
browserHeaders: 'browser_headers',
|
|
18471
|
+
};
|
|
18472
|
+
}
|
|
18473
|
+
static types() {
|
|
18474
|
+
return {
|
|
18475
|
+
browserHeaders: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
18476
|
+
};
|
|
18477
|
+
}
|
|
18478
|
+
}
|
|
18479
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
18480
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts extends $tea.Model {
|
|
18481
|
+
constructor(map) {
|
|
18482
|
+
super(map);
|
|
18483
|
+
}
|
|
18484
|
+
static names() {
|
|
18485
|
+
return {
|
|
18486
|
+
browserHosts: 'browser_hosts',
|
|
18487
|
+
};
|
|
18488
|
+
}
|
|
18489
|
+
static types() {
|
|
18490
|
+
return {
|
|
18491
|
+
browserHosts: { 'type': 'array', 'itemType': 'string' },
|
|
18492
|
+
};
|
|
18493
|
+
}
|
|
18494
|
+
}
|
|
18495
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
18496
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $tea.Model {
|
|
18497
|
+
constructor(map) {
|
|
18498
|
+
super(map);
|
|
18499
|
+
}
|
|
18500
|
+
static names() {
|
|
18501
|
+
return {
|
|
18502
|
+
browser: 'browser',
|
|
18503
|
+
device: 'device',
|
|
18504
|
+
};
|
|
18505
|
+
}
|
|
18506
|
+
static types() {
|
|
18507
|
+
return {
|
|
18508
|
+
browser: 'string',
|
|
18509
|
+
device: 'string',
|
|
18510
|
+
};
|
|
18511
|
+
}
|
|
18512
|
+
}
|
|
18513
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo;
|
|
18514
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo extends $tea.Model {
|
|
18515
|
+
constructor(map) {
|
|
18516
|
+
super(map);
|
|
18517
|
+
}
|
|
18518
|
+
static names() {
|
|
18519
|
+
return {
|
|
18520
|
+
browserInfo: 'browser_info',
|
|
18521
|
+
};
|
|
18522
|
+
}
|
|
18523
|
+
static types() {
|
|
18524
|
+
return {
|
|
18525
|
+
browserInfo: { 'type': 'array', 'itemType': DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo },
|
|
18526
|
+
};
|
|
18527
|
+
}
|
|
18528
|
+
}
|
|
18529
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
18530
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString extends $tea.Model {
|
|
18531
|
+
constructor(map) {
|
|
18532
|
+
super(map);
|
|
18533
|
+
}
|
|
18534
|
+
static names() {
|
|
18535
|
+
return {
|
|
18536
|
+
expectExistString: 'expect_exist_string',
|
|
18537
|
+
};
|
|
18538
|
+
}
|
|
18539
|
+
static types() {
|
|
18540
|
+
return {
|
|
18541
|
+
expectExistString: { 'type': 'array', 'itemType': 'string' },
|
|
18542
|
+
};
|
|
18543
|
+
}
|
|
18544
|
+
}
|
|
18545
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
18546
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString extends $tea.Model {
|
|
18547
|
+
constructor(map) {
|
|
18548
|
+
super(map);
|
|
18549
|
+
}
|
|
18550
|
+
static names() {
|
|
18551
|
+
return {
|
|
18552
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
18553
|
+
};
|
|
18554
|
+
}
|
|
18555
|
+
static types() {
|
|
18556
|
+
return {
|
|
18557
|
+
expectNonExistString: { 'type': 'array', 'itemType': 'string' },
|
|
18558
|
+
};
|
|
18559
|
+
}
|
|
18560
|
+
}
|
|
18561
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
18562
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist extends $tea.Model {
|
|
18563
|
+
constructor(map) {
|
|
18564
|
+
super(map);
|
|
18565
|
+
}
|
|
18566
|
+
static names() {
|
|
18567
|
+
return {
|
|
18568
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
18569
|
+
};
|
|
18570
|
+
}
|
|
18571
|
+
static types() {
|
|
18572
|
+
return {
|
|
18573
|
+
trafficHijackElementBlacklist: { 'type': 'array', 'itemType': 'string' },
|
|
18574
|
+
};
|
|
18575
|
+
}
|
|
18576
|
+
}
|
|
18577
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
18578
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist extends $tea.Model {
|
|
18579
|
+
constructor(map) {
|
|
18580
|
+
super(map);
|
|
18581
|
+
}
|
|
18582
|
+
static names() {
|
|
18583
|
+
return {
|
|
18584
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
18585
|
+
};
|
|
18586
|
+
}
|
|
18587
|
+
static types() {
|
|
18588
|
+
return {
|
|
18589
|
+
trafficHijackElementWhitelist: { 'type': 'array', 'itemType': 'string' },
|
|
18590
|
+
};
|
|
18591
|
+
}
|
|
18592
|
+
}
|
|
18593
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
17970
18594
|
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
17971
18595
|
constructor(map) {
|
|
17972
18596
|
super(map);
|
|
@@ -17976,6 +18600,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17976
18600
|
assertions: 'assertions',
|
|
17977
18601
|
attempts: 'attempts',
|
|
17978
18602
|
authentication: 'authentication',
|
|
18603
|
+
blockedUrlList: 'blocked_url_list',
|
|
18604
|
+
browserHeaders: 'browser_headers',
|
|
18605
|
+
browserHosts: 'browser_hosts',
|
|
18606
|
+
browserInfo: 'browser_info',
|
|
18607
|
+
browserInsecure: 'browser_insecure',
|
|
18608
|
+
browserTaskVersion: 'browser_task_version',
|
|
17979
18609
|
cookie: 'cookie',
|
|
17980
18610
|
diagnosisMtr: 'diagnosis_mtr',
|
|
17981
18611
|
diagnosisPing: 'diagnosis_ping',
|
|
@@ -17983,6 +18613,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17983
18613
|
dnsMatchRule: 'dns_match_rule',
|
|
17984
18614
|
dnsServer: 'dns_server',
|
|
17985
18615
|
dnsType: 'dns_type',
|
|
18616
|
+
expectExistString: 'expect_exist_string',
|
|
18617
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
17986
18618
|
expectValue: 'expect_value',
|
|
17987
18619
|
failureRate: 'failure_rate',
|
|
17988
18620
|
header: 'header',
|
|
@@ -17992,6 +18624,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17992
18624
|
minTlsVersion: 'min_tls_version',
|
|
17993
18625
|
password: 'password',
|
|
17994
18626
|
pingNum: 'ping_num',
|
|
18627
|
+
pingPort: 'ping_port',
|
|
18628
|
+
pingType: 'ping_type',
|
|
17995
18629
|
port: 'port',
|
|
17996
18630
|
protocol: 'protocol',
|
|
17997
18631
|
requestContent: 'request_content',
|
|
@@ -17999,8 +18633,13 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17999
18633
|
responseContent: 'response_content',
|
|
18000
18634
|
responseFormat: 'response_format',
|
|
18001
18635
|
retryDelay: 'retry_delay',
|
|
18636
|
+
strictMode: 'strict_mode',
|
|
18002
18637
|
timeOut: 'time_out',
|
|
18638
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
18639
|
+
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
18640
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
18003
18641
|
username: 'username',
|
|
18642
|
+
waitTimeAfterCompletion: 'waitTime_after_completion',
|
|
18004
18643
|
};
|
|
18005
18644
|
}
|
|
18006
18645
|
static types() {
|
|
@@ -18008,6 +18647,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18008
18647
|
assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
|
|
18009
18648
|
attempts: 'number',
|
|
18010
18649
|
authentication: 'number',
|
|
18650
|
+
blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
|
|
18651
|
+
browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
|
|
18652
|
+
browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
|
|
18653
|
+
browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
|
|
18654
|
+
browserInsecure: 'boolean',
|
|
18655
|
+
browserTaskVersion: 'string',
|
|
18011
18656
|
cookie: 'string',
|
|
18012
18657
|
diagnosisMtr: 'boolean',
|
|
18013
18658
|
diagnosisPing: 'boolean',
|
|
@@ -18015,6 +18660,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18015
18660
|
dnsMatchRule: 'string',
|
|
18016
18661
|
dnsServer: 'string',
|
|
18017
18662
|
dnsType: 'string',
|
|
18663
|
+
expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
|
|
18664
|
+
expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
|
|
18018
18665
|
expectValue: 'string',
|
|
18019
18666
|
failureRate: 'number',
|
|
18020
18667
|
header: 'string',
|
|
@@ -18024,6 +18671,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18024
18671
|
minTlsVersion: 'string',
|
|
18025
18672
|
password: 'string',
|
|
18026
18673
|
pingNum: 'number',
|
|
18674
|
+
pingPort: 'number',
|
|
18675
|
+
pingType: 'string',
|
|
18027
18676
|
port: 'number',
|
|
18028
18677
|
protocol: 'string',
|
|
18029
18678
|
requestContent: 'string',
|
|
@@ -18031,8 +18680,13 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18031
18680
|
responseContent: 'string',
|
|
18032
18681
|
responseFormat: 'string',
|
|
18033
18682
|
retryDelay: 'number',
|
|
18683
|
+
strictMode: 'boolean',
|
|
18034
18684
|
timeOut: 'number',
|
|
18685
|
+
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
18686
|
+
trafficHijackElementCount: 'number',
|
|
18687
|
+
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
18035
18688
|
username: 'string',
|
|
18689
|
+
waitTimeAfterCompletion: 'number',
|
|
18036
18690
|
};
|
|
18037
18691
|
}
|
|
18038
18692
|
}
|
|
@@ -20394,9 +21048,7 @@ class Client extends openapi_client_1.default {
|
|
|
20394
21048
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
20395
21049
|
}
|
|
20396
21050
|
/**
|
|
20397
|
-
*
|
|
20398
|
-
* * true: The call was successful.
|
|
20399
|
-
* * false: The call failed.
|
|
21051
|
+
* This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`.
|
|
20400
21052
|
*
|
|
20401
21053
|
* @param request AddTagsRequest
|
|
20402
21054
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20428,9 +21080,7 @@ class Client extends openapi_client_1.default {
|
|
|
20428
21080
|
return $tea.cast(await this.callApi(params, req, runtime), new AddTagsResponse({}));
|
|
20429
21081
|
}
|
|
20430
21082
|
/**
|
|
20431
|
-
*
|
|
20432
|
-
* * true: The call was successful.
|
|
20433
|
-
* * false: The call failed.
|
|
21083
|
+
* This topic provides an example on how to add a tag to an application group whose ID is `7301****`. In this example, the key of the tag is `key1` and the value of the tag is `value1`.
|
|
20434
21084
|
*
|
|
20435
21085
|
* @param request AddTagsRequest
|
|
20436
21086
|
* @return AddTagsResponse
|
|
@@ -20581,6 +21231,16 @@ class Client extends openapi_client_1.default {
|
|
|
20581
21231
|
let runtime = new $Util.RuntimeOptions({});
|
|
20582
21232
|
return await this.batchCreateIntantSiteMonitorWithOptions(request, runtime);
|
|
20583
21233
|
}
|
|
21234
|
+
/**
|
|
21235
|
+
* ### [](#)Prerequisites
|
|
21236
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
21237
|
+
* ### [](#)Description
|
|
21238
|
+
* This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response.
|
|
21239
|
+
*
|
|
21240
|
+
* @param tmpReq BatchExportRequest
|
|
21241
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21242
|
+
* @return BatchExportResponse
|
|
21243
|
+
*/
|
|
20584
21244
|
async batchExportWithOptions(tmpReq, runtime) {
|
|
20585
21245
|
tea_util_1.default.validateModel(tmpReq);
|
|
20586
21246
|
let request = new BatchExportShrinkRequest({});
|
|
@@ -20620,6 +21280,15 @@ class Client extends openapi_client_1.default {
|
|
|
20620
21280
|
});
|
|
20621
21281
|
return $tea.cast(await this.callApi(params, req, runtime), new BatchExportResponse({}));
|
|
20622
21282
|
}
|
|
21283
|
+
/**
|
|
21284
|
+
* ### [](#)Prerequisites
|
|
21285
|
+
* The `Cursor` information is returned by calling the [Cursor](~~2330730~~) operation.
|
|
21286
|
+
* ### [](#)Description
|
|
21287
|
+
* This topic provides an example on how to export the monitoring data of the `cpu_idle` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The `Cursor` information is specified. A maximum of 1,000 data entries can be returned in each response.
|
|
21288
|
+
*
|
|
21289
|
+
* @param request BatchExportRequest
|
|
21290
|
+
* @return BatchExportResponse
|
|
21291
|
+
*/
|
|
20623
21292
|
async batchExport(request) {
|
|
20624
21293
|
let runtime = new $Util.RuntimeOptions({});
|
|
20625
21294
|
return await this.batchExportWithOptions(request, runtime);
|
|
@@ -20925,7 +21594,7 @@ class Client extends openapi_client_1.default {
|
|
|
20925
21594
|
return await this.createGroupMonitoringAgentProcessWithOptions(request, runtime);
|
|
20926
21595
|
}
|
|
20927
21596
|
/**
|
|
20928
|
-
* The
|
|
21597
|
+
* This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot.
|
|
20929
21598
|
*
|
|
20930
21599
|
* @param request CreateHostAvailabilityRequest
|
|
20931
21600
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20978,7 +21647,7 @@ class Client extends openapi_client_1.default {
|
|
|
20978
21647
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateHostAvailabilityResponse({}));
|
|
20979
21648
|
}
|
|
20980
21649
|
/**
|
|
20981
|
-
* The
|
|
21650
|
+
* This topic provides an example on how to create an availability monitoring task named `task1` in an application group named `123456`. The TaskType parameter of the task is set to `HTTP`. After you start the task, the system sends alerts by using the specified email address and DingTalk chatbot.
|
|
20982
21651
|
*
|
|
20983
21652
|
* @param request CreateHostAvailabilityRequest
|
|
20984
21653
|
* @return CreateHostAvailabilityResponse
|
|
@@ -21156,7 +21825,7 @@ class Client extends openapi_client_1.default {
|
|
|
21156
21825
|
return await this.createHybridMonitorTaskWithOptions(request, runtime);
|
|
21157
21826
|
}
|
|
21158
21827
|
/**
|
|
21159
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21828
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21160
21829
|
* This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`.
|
|
21161
21830
|
*
|
|
21162
21831
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -21201,7 +21870,7 @@ class Client extends openapi_client_1.default {
|
|
|
21201
21870
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateInstantSiteMonitorResponse({}));
|
|
21202
21871
|
}
|
|
21203
21872
|
/**
|
|
21204
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21873
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21205
21874
|
* This topic provides an example to show how to create an instant test task. The name of the task is `task1`. The tested address is `http://www.aliyun.com`. The test type is `HTTP`. The number of detection points is `1`.
|
|
21206
21875
|
*
|
|
21207
21876
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -21212,8 +21881,9 @@ class Client extends openapi_client_1.default {
|
|
|
21212
21881
|
return await this.createInstantSiteMonitorWithOptions(request, runtime);
|
|
21213
21882
|
}
|
|
21214
21883
|
/**
|
|
21215
|
-
*
|
|
21216
|
-
*
|
|
21884
|
+
* ### Background information
|
|
21885
|
+
* * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy.
|
|
21886
|
+
* * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](~~163515~~).
|
|
21217
21887
|
*
|
|
21218
21888
|
* @param request CreateMetricRuleBlackListRequest
|
|
21219
21889
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21269,8 +21939,9 @@ class Client extends openapi_client_1.default {
|
|
|
21269
21939
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMetricRuleBlackListResponse({}));
|
|
21270
21940
|
}
|
|
21271
21941
|
/**
|
|
21272
|
-
*
|
|
21273
|
-
*
|
|
21942
|
+
* ### Background information
|
|
21943
|
+
* * CloudMonitor blocks alert notifications based on the blacklist policies that take effect. To block alert notifications when the value of a metric that belongs to a cloud service reaches the threshold that you specified, add the metric to a blacklist policy.
|
|
21944
|
+
* * CloudMonitor allows you to create blacklist policies only based on threshold metrics. You cannot create blacklist policies based on system events. For more information about the cloud services and the thresholds of the metrics that are supported by CloudMonitor, see [Appendix 1: Metrics](~~163515~~).
|
|
21274
21945
|
*
|
|
21275
21946
|
* @param request CreateMetricRuleBlackListRequest
|
|
21276
21947
|
* @return CreateMetricRuleBlackListResponse
|
|
@@ -21418,8 +22089,7 @@ class Client extends openapi_client_1.default {
|
|
|
21418
22089
|
return await this.createMonitorGroupWithOptions(request, runtime);
|
|
21419
22090
|
}
|
|
21420
22091
|
/**
|
|
21421
|
-
*
|
|
21422
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
22092
|
+
* This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`.
|
|
21423
22093
|
*
|
|
21424
22094
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
21425
22095
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21463,8 +22133,7 @@ class Client extends openapi_client_1.default {
|
|
|
21463
22133
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateMonitorGroupByResourceGroupIdResponse({}));
|
|
21464
22134
|
}
|
|
21465
22135
|
/**
|
|
21466
|
-
*
|
|
21467
|
-
* For information about how to obtain the ID of the region where a resource group resides, see [GetResourceGroup](~~158866~~).
|
|
22136
|
+
* This topic provides an example on how to create an application group by using the resource group `CloudMonitor` and the alert contact group `ECS_Group`. The region ID of the resource group is `cn-hangzhou`.
|
|
21468
22137
|
*
|
|
21469
22138
|
* @param request CreateMonitorGroupByResourceGroupIdRequest
|
|
21470
22139
|
* @return CreateMonitorGroupByResourceGroupIdResponse
|
|
@@ -21598,9 +22267,7 @@ class Client extends openapi_client_1.default {
|
|
|
21598
22267
|
return await this.createMonitoringAgentProcessWithOptions(request, runtime);
|
|
21599
22268
|
}
|
|
21600
22269
|
/**
|
|
21601
|
-
*
|
|
21602
|
-
* * true: The call was successful.
|
|
21603
|
-
* * false: The call failed.
|
|
22270
|
+
* This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`.
|
|
21604
22271
|
*
|
|
21605
22272
|
* @param request CreateSiteMonitorRequest
|
|
21606
22273
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21650,9 +22317,7 @@ class Client extends openapi_client_1.default {
|
|
|
21650
22317
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSiteMonitorResponse({}));
|
|
21651
22318
|
}
|
|
21652
22319
|
/**
|
|
21653
|
-
*
|
|
21654
|
-
* * true: The call was successful.
|
|
21655
|
-
* * false: The call failed.
|
|
22320
|
+
* This topic provides an example on how to create a site monitoring task named `HanZhou_ECS1`. The URL that is monitored by the task is `https://www.aliyun.com` and the type of the task is `HTTPS`.
|
|
21656
22321
|
*
|
|
21657
22322
|
* @param request CreateSiteMonitorRequest
|
|
21658
22323
|
* @return CreateSiteMonitorResponse
|
|
@@ -21661,6 +22326,18 @@ class Client extends openapi_client_1.default {
|
|
|
21661
22326
|
let runtime = new $Util.RuntimeOptions({});
|
|
21662
22327
|
return await this.createSiteMonitorWithOptions(request, runtime);
|
|
21663
22328
|
}
|
|
22329
|
+
/**
|
|
22330
|
+
* ### [](#)Prerequisites
|
|
22331
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
22332
|
+
* ### [](#)Background information
|
|
22333
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
22334
|
+
* ### [](#)Description
|
|
22335
|
+
* This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned.
|
|
22336
|
+
*
|
|
22337
|
+
* @param tmpReq CursorRequest
|
|
22338
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22339
|
+
* @return CursorResponse
|
|
22340
|
+
*/
|
|
21664
22341
|
async cursorWithOptions(tmpReq, runtime) {
|
|
21665
22342
|
tea_util_1.default.validateModel(tmpReq);
|
|
21666
22343
|
let request = new CursorShrinkRequest({});
|
|
@@ -21703,6 +22380,17 @@ class Client extends openapi_client_1.default {
|
|
|
21703
22380
|
});
|
|
21704
22381
|
return $tea.cast(await this.callApi(params, req, runtime), new CursorResponse({}));
|
|
21705
22382
|
}
|
|
22383
|
+
/**
|
|
22384
|
+
* ### [](#)Prerequisites
|
|
22385
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
22386
|
+
* ### [](#)Background information
|
|
22387
|
+
* You can call this operation to obtain the Cursor information and then call the [BatchExport](~~2329847~~) operation to export the monitoring data.
|
|
22388
|
+
* ### [](#)Description
|
|
22389
|
+
* This topic provides an example on how to define the monitoring data of a specified metric for a specified cloud service. In this example, the namespace of the cloud service is set to `acs_ecs_dashboard`, the metric is set to `cpu_idle`, the start time is set to `1641627000000`, and the end time is set to `1641645000000`. The number of idle CPU cores on your Elastic Compute Service (ECS) instances is measured every 60 seconds from 15:30:00, January 8, 2022 to 20:30:00, January 8, 2022. The `Cursor` information is returned.
|
|
22390
|
+
*
|
|
22391
|
+
* @param request CursorRequest
|
|
22392
|
+
* @return CursorResponse
|
|
22393
|
+
*/
|
|
21706
22394
|
async cursor(request) {
|
|
21707
22395
|
let runtime = new $Util.RuntimeOptions({});
|
|
21708
22396
|
return await this.cursorWithOptions(request, runtime);
|
|
@@ -22026,9 +22714,7 @@ class Client extends openapi_client_1.default {
|
|
|
22026
22714
|
return await this.deleteHybridMonitorNamespaceWithOptions(request, runtime);
|
|
22027
22715
|
}
|
|
22028
22716
|
/**
|
|
22029
|
-
*
|
|
22030
|
-
* * true: The call is successful.
|
|
22031
|
-
* * false: The call fails.
|
|
22717
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
22032
22718
|
*
|
|
22033
22719
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
22034
22720
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22057,9 +22743,7 @@ class Client extends openapi_client_1.default {
|
|
|
22057
22743
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorSLSGroupResponse({}));
|
|
22058
22744
|
}
|
|
22059
22745
|
/**
|
|
22060
|
-
*
|
|
22061
|
-
* * true: The call is successful.
|
|
22062
|
-
* * false: The call fails.
|
|
22746
|
+
* This topic provides an example on how to delete a Logstore group named `Logstore_test`. The response shows that the Logstore group is deleted.
|
|
22063
22747
|
*
|
|
22064
22748
|
* @param request DeleteHybridMonitorSLSGroupRequest
|
|
22065
22749
|
* @return DeleteHybridMonitorSLSGroupResponse
|
|
@@ -22069,9 +22753,7 @@ class Client extends openapi_client_1.default {
|
|
|
22069
22753
|
return await this.deleteHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
22070
22754
|
}
|
|
22071
22755
|
/**
|
|
22072
|
-
*
|
|
22073
|
-
* * true: The call was successful.
|
|
22074
|
-
* * false: The call failed.
|
|
22756
|
+
* This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted.
|
|
22075
22757
|
*
|
|
22076
22758
|
* @param request DeleteHybridMonitorTaskRequest
|
|
22077
22759
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22106,9 +22788,7 @@ class Client extends openapi_client_1.default {
|
|
|
22106
22788
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteHybridMonitorTaskResponse({}));
|
|
22107
22789
|
}
|
|
22108
22790
|
/**
|
|
22109
|
-
*
|
|
22110
|
-
* * true: The call was successful.
|
|
22111
|
-
* * false: The call failed.
|
|
22791
|
+
* This topic provides an example on how to delete a metric import task whose ID is `36****`. The returned result indicates that the metric import task is deleted.
|
|
22112
22792
|
*
|
|
22113
22793
|
* @param request DeleteHybridMonitorTaskRequest
|
|
22114
22794
|
* @return DeleteHybridMonitorTaskResponse
|
|
@@ -22643,7 +23323,7 @@ class Client extends openapi_client_1.default {
|
|
|
22643
23323
|
return await this.describeAlertLogCountWithOptions(request, runtime);
|
|
22644
23324
|
}
|
|
22645
23325
|
/**
|
|
22646
|
-
*
|
|
23326
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22647
23327
|
*
|
|
22648
23328
|
* @param request DescribeAlertLogHistogramRequest
|
|
22649
23329
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22717,7 +23397,7 @@ class Client extends openapi_client_1.default {
|
|
|
22717
23397
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAlertLogHistogramResponse({}));
|
|
22718
23398
|
}
|
|
22719
23399
|
/**
|
|
22720
|
-
*
|
|
23400
|
+
* This topic provides an example on how to query the number of alert logs for Elastic Compute Service (ECS) based on the `product` dimension.
|
|
22721
23401
|
*
|
|
22722
23402
|
* @param request DescribeAlertLogHistogramRequest
|
|
22723
23403
|
* @return DescribeAlertLogHistogramResponse
|
|
@@ -23191,8 +23871,7 @@ class Client extends openapi_client_1.default {
|
|
|
23191
23871
|
return await this.describeDynamicTagRuleListWithOptions(request, runtime);
|
|
23192
23872
|
}
|
|
23193
23873
|
/**
|
|
23194
|
-
*
|
|
23195
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
23874
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23196
23875
|
*
|
|
23197
23876
|
* @param request DescribeEventRuleAttributeRequest
|
|
23198
23877
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23224,8 +23903,7 @@ class Client extends openapi_client_1.default {
|
|
|
23224
23903
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeEventRuleAttributeResponse({}));
|
|
23225
23904
|
}
|
|
23226
23905
|
/**
|
|
23227
|
-
*
|
|
23228
|
-
* For information about how to obtain the name of an event-triggered alert rule, see [DescribeEventRuleList](~~114996~~).
|
|
23906
|
+
* This topic provides an example to show how to query the details of an event-triggered alert rule named `testRule`.
|
|
23229
23907
|
*
|
|
23230
23908
|
* @param request DescribeEventRuleAttributeRequest
|
|
23231
23909
|
* @return DescribeEventRuleAttributeResponse
|
|
@@ -23240,6 +23918,9 @@ class Client extends openapi_client_1.default {
|
|
|
23240
23918
|
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
23241
23919
|
query["GroupId"] = request.groupId;
|
|
23242
23920
|
}
|
|
23921
|
+
if (!tea_util_1.default.isUnset(request.isEnable)) {
|
|
23922
|
+
query["IsEnable"] = request.isEnable;
|
|
23923
|
+
}
|
|
23243
23924
|
if (!tea_util_1.default.isUnset(request.namePrefix)) {
|
|
23244
23925
|
query["NamePrefix"] = request.namePrefix;
|
|
23245
23926
|
}
|
|
@@ -23583,9 +24264,7 @@ class Client extends openapi_client_1.default {
|
|
|
23583
24264
|
return await this.describeHybridMonitorNamespaceListWithOptions(request, runtime);
|
|
23584
24265
|
}
|
|
23585
24266
|
/**
|
|
23586
|
-
*
|
|
23587
|
-
* * true: The call is successful.
|
|
23588
|
-
* * false: The call fails.
|
|
24267
|
+
* In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`.
|
|
23589
24268
|
*
|
|
23590
24269
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
23591
24270
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23623,9 +24302,7 @@ class Client extends openapi_client_1.default {
|
|
|
23623
24302
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorSLSGroupResponse({}));
|
|
23624
24303
|
}
|
|
23625
24304
|
/**
|
|
23626
|
-
*
|
|
23627
|
-
* * true: The call is successful.
|
|
23628
|
-
* * false: The call fails.
|
|
24305
|
+
* In this example, all Logstore groups within the current account are queried. The response shows that the current account has two Logstore groups: `Logstore_test` and `Logstore_aliyun`.
|
|
23629
24306
|
*
|
|
23630
24307
|
* @param request DescribeHybridMonitorSLSGroupRequest
|
|
23631
24308
|
* @return DescribeHybridMonitorSLSGroupResponse
|
|
@@ -23635,9 +24312,7 @@ class Client extends openapi_client_1.default {
|
|
|
23635
24312
|
return await this.describeHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
23636
24313
|
}
|
|
23637
24314
|
/**
|
|
23638
|
-
*
|
|
23639
|
-
* * true: The call was successful.
|
|
23640
|
-
* * false: The call failed.
|
|
24315
|
+
* This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`.
|
|
23641
24316
|
*
|
|
23642
24317
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
23643
24318
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23690,9 +24365,7 @@ class Client extends openapi_client_1.default {
|
|
|
23690
24365
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeHybridMonitorTaskListResponse({}));
|
|
23691
24366
|
}
|
|
23692
24367
|
/**
|
|
23693
|
-
*
|
|
23694
|
-
* * true: The call was successful.
|
|
23695
|
-
* * false: The call failed.
|
|
24368
|
+
* This topic provides an example on how to query all metric import tasks that belong to the current Alibaba Cloud account. The returned result indicates that the current account has only one metric import task. The metric import task is named `aliyun_task`.
|
|
23696
24369
|
*
|
|
23697
24370
|
* @param request DescribeHybridMonitorTaskListRequest
|
|
23698
24371
|
* @return DescribeHybridMonitorTaskListResponse
|
|
@@ -23830,9 +24503,15 @@ class Client extends openapi_client_1.default {
|
|
|
23830
24503
|
return await this.describeMetricDataWithOptions(request, runtime);
|
|
23831
24504
|
}
|
|
23832
24505
|
/**
|
|
23833
|
-
*
|
|
23834
|
-
*
|
|
23835
|
-
*
|
|
24506
|
+
* ### [](#)Limits
|
|
24507
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
24508
|
+
* ### [](#)Precautions
|
|
24509
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
24510
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
24511
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
24512
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
24513
|
+
* ### [](#)Description
|
|
24514
|
+
* This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
23836
24515
|
*
|
|
23837
24516
|
* @param request DescribeMetricLastRequest
|
|
23838
24517
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23885,9 +24564,15 @@ class Client extends openapi_client_1.default {
|
|
|
23885
24564
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricLastResponse({}));
|
|
23886
24565
|
}
|
|
23887
24566
|
/**
|
|
23888
|
-
*
|
|
23889
|
-
*
|
|
23890
|
-
*
|
|
24567
|
+
* ### [](#)Limits
|
|
24568
|
+
* Each API operation can be called up to 50 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
24569
|
+
* ### [](#)Precautions
|
|
24570
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
24571
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
24572
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
24573
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
24574
|
+
* ### [](#)Description
|
|
24575
|
+
* This topic provides an example on how to query the latest monitoring data of the `CPUUtilization` metric for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The returned result indicates that the monitoring data for the instance `i-abcdefgh12****` of the account `123456789876****` is queried at an interval of 60 seconds. The maximum, minimum, and average values of the metric are 100, 93.1, and 99.52.
|
|
23891
24576
|
*
|
|
23892
24577
|
* @param request DescribeMetricLastRequest
|
|
23893
24578
|
* @return DescribeMetricLastResponse
|
|
@@ -24238,8 +24923,7 @@ class Client extends openapi_client_1.default {
|
|
|
24238
24923
|
return await this.describeMetricRuleTemplateAttributeWithOptions(request, runtime);
|
|
24239
24924
|
}
|
|
24240
24925
|
/**
|
|
24241
|
-
*
|
|
24242
|
-
* > The status code 200 indicates that the call was successful.
|
|
24926
|
+
* This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`.
|
|
24243
24927
|
*
|
|
24244
24928
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
24245
24929
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24289,8 +24973,7 @@ class Client extends openapi_client_1.default {
|
|
|
24289
24973
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTemplateListResponse({}));
|
|
24290
24974
|
}
|
|
24291
24975
|
/**
|
|
24292
|
-
*
|
|
24293
|
-
* > The status code 200 indicates that the call was successful.
|
|
24976
|
+
* This topic provides an example on how to query alert templates. In this example, the following alert templates are returned in the response: `ECS_Template1` and `ECS_Template2`.
|
|
24294
24977
|
*
|
|
24295
24978
|
* @param request DescribeMetricRuleTemplateListRequest
|
|
24296
24979
|
* @return DescribeMetricRuleTemplateListResponse
|
|
@@ -24300,9 +24983,15 @@ class Client extends openapi_client_1.default {
|
|
|
24300
24983
|
return await this.describeMetricRuleTemplateListWithOptions(request, runtime);
|
|
24301
24984
|
}
|
|
24302
24985
|
/**
|
|
24303
|
-
*
|
|
24304
|
-
*
|
|
24305
|
-
*
|
|
24986
|
+
* ### [](#)Limits
|
|
24987
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
24988
|
+
* ### [](#)Precautions
|
|
24989
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
24990
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
24991
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
24992
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
24993
|
+
* ### [](#)Description
|
|
24994
|
+
* This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in the descending order based on the `Average` field.
|
|
24306
24995
|
*
|
|
24307
24996
|
* @param request DescribeMetricTopRequest
|
|
24308
24997
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24358,9 +25047,15 @@ class Client extends openapi_client_1.default {
|
|
|
24358
25047
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricTopResponse({}));
|
|
24359
25048
|
}
|
|
24360
25049
|
/**
|
|
24361
|
-
*
|
|
24362
|
-
*
|
|
24363
|
-
*
|
|
25050
|
+
* ### [](#)Limits
|
|
25051
|
+
* Each API operation can be called up to 10 times per second. An Alibaba Cloud account and the RAM users within the account share the quota.
|
|
25052
|
+
* ### [](#)Precautions
|
|
25053
|
+
* The storage duration of the monitoring data of each cloud service is related to the `Period` parameter (statistical period). A larger value of the `Period` parameter indicates that the monitoring data is distributed in a larger time range and the storage duration of the monitoring data is longer. The following list describes the specific relationships:
|
|
25054
|
+
* * If the value of the `Period` parameter is less than 60 seconds, the storage duration is seven days.
|
|
25055
|
+
* * If the value of the `Period` parameter is 60 seconds, the storage duration is 31 days.
|
|
25056
|
+
* * If the value of the `Period` parameter is 300 seconds, the storage duration is 91 days.
|
|
25057
|
+
* ### [](#)Description
|
|
25058
|
+
* This topic provides an example to show how to query the monitoring data of the `cpu_idle` metric in the last 60 seconds for Elastic Compute Service (ECS). The namespace of ECS is `acs_ecs_dashboard`. The monitoring data is sorted in the descending order based on the `Average` field.
|
|
24364
25059
|
*
|
|
24365
25060
|
* @param request DescribeMetricTopRequest
|
|
24366
25061
|
* @return DescribeMetricTopResponse
|
|
@@ -24778,12 +25473,7 @@ class Client extends openapi_client_1.default {
|
|
|
24778
25473
|
return await this.describeMonitoringAgentProcessesWithOptions(request, runtime);
|
|
24779
25474
|
}
|
|
24780
25475
|
/**
|
|
24781
|
-
*
|
|
24782
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
24783
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
24784
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
24785
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
24786
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
25476
|
+
* This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state.
|
|
24787
25477
|
*
|
|
24788
25478
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
24789
25479
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24815,12 +25505,7 @@ class Client extends openapi_client_1.default {
|
|
|
24815
25505
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMonitoringAgentStatusesResponse({}));
|
|
24816
25506
|
}
|
|
24817
25507
|
/**
|
|
24818
|
-
*
|
|
24819
|
-
* * `Command.ErrorCode.Fail.Downlaod.REGIN_ID`: Failed to obtain the region ID.
|
|
24820
|
-
* * `Command.ErrorCode.Fail.Downlaod.SYSAK`: Failed to download the .rpm package of System Analyse Kit (SysAK).
|
|
24821
|
-
* * `Command.ErrorCode.Fail.Downlaod.CMON_FILE`: Failed to download the CMON file.
|
|
24822
|
-
* * `Command.ErrorCode.Fail.Downlaod.BTF`: Failed to start SysAK because the BTF file is not found.
|
|
24823
|
-
* * `Command.ErrorCode.Fail.Start.SYSAK`: Failed to start SysAK due to an unknown error.
|
|
25508
|
+
* This topic describes how to query the status of the CloudMonitor agent that is installed on the `i-hp3dunahluwajv6f****` instance. The result indicates that the CloudMonitor agent is in the `running` state.
|
|
24824
25509
|
*
|
|
24825
25510
|
* @param request DescribeMonitoringAgentStatusesRequest
|
|
24826
25511
|
* @return DescribeMonitoringAgentStatusesResponse
|
|
@@ -25148,7 +25833,7 @@ class Client extends openapi_client_1.default {
|
|
|
25148
25833
|
return await this.describeSiteMonitorListWithOptions(request, runtime);
|
|
25149
25834
|
}
|
|
25150
25835
|
/**
|
|
25151
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25836
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25152
25837
|
* This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`.
|
|
25153
25838
|
*
|
|
25154
25839
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -25158,9 +25843,18 @@ class Client extends openapi_client_1.default {
|
|
|
25158
25843
|
async describeSiteMonitorLogWithOptions(request, runtime) {
|
|
25159
25844
|
tea_util_1.default.validateModel(request);
|
|
25160
25845
|
let query = {};
|
|
25846
|
+
if (!tea_util_1.default.isUnset(request.browser)) {
|
|
25847
|
+
query["Browser"] = request.browser;
|
|
25848
|
+
}
|
|
25849
|
+
if (!tea_util_1.default.isUnset(request.browserInfo)) {
|
|
25850
|
+
query["BrowserInfo"] = request.browserInfo;
|
|
25851
|
+
}
|
|
25161
25852
|
if (!tea_util_1.default.isUnset(request.city)) {
|
|
25162
25853
|
query["City"] = request.city;
|
|
25163
25854
|
}
|
|
25855
|
+
if (!tea_util_1.default.isUnset(request.device)) {
|
|
25856
|
+
query["Device"] = request.device;
|
|
25857
|
+
}
|
|
25164
25858
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
25165
25859
|
query["EndTime"] = request.endTime;
|
|
25166
25860
|
}
|
|
@@ -25202,7 +25896,7 @@ class Client extends openapi_client_1.default {
|
|
|
25202
25896
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorLogResponse({}));
|
|
25203
25897
|
}
|
|
25204
25898
|
/**
|
|
25205
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25899
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25206
25900
|
* This topic provides an example to show how to query the logs of an instant test task whose ID is `afa5c3ce-f944-4363-9edb-ce919a29****`.
|
|
25207
25901
|
*
|
|
25208
25902
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -25930,9 +26624,7 @@ class Client extends openapi_client_1.default {
|
|
|
25930
26624
|
return await this.modifyGroupMonitoringAgentProcessWithOptions(request, runtime);
|
|
25931
26625
|
}
|
|
25932
26626
|
/**
|
|
25933
|
-
*
|
|
25934
|
-
* * true: The call was successful.
|
|
25935
|
-
* * false: The call failed.
|
|
26627
|
+
* This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`.
|
|
25936
26628
|
*
|
|
25937
26629
|
* @param request ModifyHostAvailabilityRequest
|
|
25938
26630
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25985,9 +26677,7 @@ class Client extends openapi_client_1.default {
|
|
|
25985
26677
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHostAvailabilityResponse({}));
|
|
25986
26678
|
}
|
|
25987
26679
|
/**
|
|
25988
|
-
*
|
|
25989
|
-
* * true: The call was successful.
|
|
25990
|
-
* * false: The call failed.
|
|
26680
|
+
* This topic provides an example on how to change the name of an availability monitoring task named `12345` in an application group named `123456` to `task2`.
|
|
25991
26681
|
*
|
|
25992
26682
|
* @param request ModifyHostAvailabilityRequest
|
|
25993
26683
|
* @return ModifyHostAvailabilityResponse
|
|
@@ -26135,7 +26825,7 @@ class Client extends openapi_client_1.default {
|
|
|
26135
26825
|
return await this.modifyHybridMonitorSLSGroupWithOptions(request, runtime);
|
|
26136
26826
|
}
|
|
26137
26827
|
/**
|
|
26138
|
-
*
|
|
26828
|
+
* This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified.
|
|
26139
26829
|
*
|
|
26140
26830
|
* @param request ModifyHybridMonitorTaskRequest
|
|
26141
26831
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -26179,7 +26869,7 @@ class Client extends openapi_client_1.default {
|
|
|
26179
26869
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyHybridMonitorTaskResponse({}));
|
|
26180
26870
|
}
|
|
26181
26871
|
/**
|
|
26182
|
-
*
|
|
26872
|
+
* This topic provides an example on how to change the collection period of a metric import task whose ID is `36****` to `15` seconds. The task is used to monitor the logs that are imported from Log Service. The returned result indicates that the metric is modified.
|
|
26183
26873
|
*
|
|
26184
26874
|
* @param request ModifyHybridMonitorTaskRequest
|
|
26185
26875
|
* @return ModifyHybridMonitorTaskResponse
|
|
@@ -26956,9 +27646,7 @@ class Client extends openapi_client_1.default {
|
|
|
26956
27646
|
return await this.putExporterRuleWithOptions(request, runtime);
|
|
26957
27647
|
}
|
|
26958
27648
|
/**
|
|
26959
|
-
*
|
|
26960
|
-
* * true: The call was successful.
|
|
26961
|
-
* * false: The call failed.
|
|
27649
|
+
* This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`.
|
|
26962
27650
|
*
|
|
26963
27651
|
* @param request PutGroupMetricRuleRequest
|
|
26964
27652
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27041,9 +27729,7 @@ class Client extends openapi_client_1.default {
|
|
|
27041
27729
|
return $tea.cast(await this.callApi(params, req, runtime), new PutGroupMetricRuleResponse({}));
|
|
27042
27730
|
}
|
|
27043
27731
|
/**
|
|
27044
|
-
*
|
|
27045
|
-
* * true: The call was successful.
|
|
27046
|
-
* * false: The call failed.
|
|
27732
|
+
* This topic provides an example on how to create an alert rule for the `cpu_total` metric of Elastic Compute Service (ECS) in the `17285****` application group. The ID of the alert rule is `123456`. The name of the alert rule is `Rule_test`. The alert level is `Critical`. The statistical method is `Average`. The alert threshold comparator is `GreaterThanOrEqualToThreshold`. The alert threshold is `90`. The number of alert retries is `3`. The returned result shows that the alert rule is created and the alert rule ID is `123456`.
|
|
27047
27733
|
*
|
|
27048
27734
|
* @param request PutGroupMetricRuleRequest
|
|
27049
27735
|
* @return PutGroupMetricRuleResponse
|
|
@@ -27053,9 +27739,12 @@ class Client extends openapi_client_1.default {
|
|
|
27053
27739
|
return await this.putGroupMetricRuleWithOptions(request, runtime);
|
|
27054
27740
|
}
|
|
27055
27741
|
/**
|
|
27056
|
-
*
|
|
27057
|
-
*
|
|
27058
|
-
*
|
|
27742
|
+
* # [](#)Prerequisites
|
|
27743
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27744
|
+
* # [](#)Limits
|
|
27745
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
27746
|
+
* # [](#)Description
|
|
27747
|
+
* This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring.
|
|
27059
27748
|
*
|
|
27060
27749
|
* @param request PutHybridMonitorMetricDataRequest
|
|
27061
27750
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27087,9 +27776,12 @@ class Client extends openapi_client_1.default {
|
|
|
27087
27776
|
return $tea.cast(await this.callApi(params, req, runtime), new PutHybridMonitorMetricDataResponse({}));
|
|
27088
27777
|
}
|
|
27089
27778
|
/**
|
|
27090
|
-
*
|
|
27091
|
-
*
|
|
27092
|
-
*
|
|
27779
|
+
* # [](#)Prerequisites
|
|
27780
|
+
* Hybrid Cloud Monitoring is activated. For more information, see [Activate Hybrid Cloud Monitoring](~~250773~~).
|
|
27781
|
+
* # [](#)Limits
|
|
27782
|
+
* The size of the monitoring data that you import at a time must be less than or equal to 1 MB.
|
|
27783
|
+
* # [](#)Description
|
|
27784
|
+
* This topic provides an example on how to import the monitoring data of the `CPU_Usage` metric to the `default-aliyun` namespace of Hybrid Cloud Monitoring.
|
|
27093
27785
|
*
|
|
27094
27786
|
* @param request PutHybridMonitorMetricDataRequest
|
|
27095
27787
|
* @return PutHybridMonitorMetricDataResponse
|
|
@@ -27281,8 +27973,7 @@ class Client extends openapi_client_1.default {
|
|
|
27281
27973
|
return await this.putMonitoringConfigWithOptions(request, runtime);
|
|
27282
27974
|
}
|
|
27283
27975
|
/**
|
|
27284
|
-
* The
|
|
27285
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
27976
|
+
* This topic provides an example to show how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
27286
27977
|
*
|
|
27287
27978
|
* @param tmpReq PutResourceMetricRuleRequest
|
|
27288
27979
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -27370,8 +28061,7 @@ class Client extends openapi_client_1.default {
|
|
|
27370
28061
|
return $tea.cast(await this.callApi(params, req, runtime), new PutResourceMetricRuleResponse({}));
|
|
27371
28062
|
}
|
|
27372
28063
|
/**
|
|
27373
|
-
* The
|
|
27374
|
-
* > If an alert is not cleared within the mute period, a new alert notification is sent when the mute period ends.
|
|
28064
|
+
* This topic provides an example to show how to create a threshold-triggered alert rule for the `cpu_total` metric of an Elastic Compute Service (ECS) instance whose ID is `i-uf6j91r34rnwawoo****`. The namespace of ECS is `acs_ecs_dashboard`. The alert contact group of the alert rule is `ECS_Group`. The name of the alert rule is `test123`. The ID of the alert rule is `a151cd6023eacee2f0978e03863cc1697c89508****`. The statistical method for Critical-level alerts is `Average`. The comparison operator for Critical-level alerts is `GreaterThanOrEqualToThreshold`. The threshold for Critical-level alerts is `90`. The consecutive number of times for which the metric value meets the trigger condition before a Critical-level alert is triggered is `3`.
|
|
27375
28065
|
*
|
|
27376
28066
|
* @param request PutResourceMetricRuleRequest
|
|
27377
28067
|
* @return PutResourceMetricRuleResponse
|