@alicloud/cms20190101 2.0.5 → 2.0.7
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 +163 -4
- package/dist/client.js +245 -4
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +308 -4
package/dist/client.js
CHANGED
|
@@ -2117,6 +2117,7 @@ class CreateSiteMonitorRequest extends $tea.Model {
|
|
|
2117
2117
|
return {
|
|
2118
2118
|
address: 'Address',
|
|
2119
2119
|
alertIds: 'AlertIds',
|
|
2120
|
+
customSchedule: 'CustomSchedule',
|
|
2120
2121
|
interval: 'Interval',
|
|
2121
2122
|
ispCities: 'IspCities',
|
|
2122
2123
|
optionsJson: 'OptionsJson',
|
|
@@ -2129,6 +2130,7 @@ class CreateSiteMonitorRequest extends $tea.Model {
|
|
|
2129
2130
|
return {
|
|
2130
2131
|
address: 'string',
|
|
2131
2132
|
alertIds: 'string',
|
|
2133
|
+
customSchedule: 'string',
|
|
2132
2134
|
interval: 'string',
|
|
2133
2135
|
ispCities: 'string',
|
|
2134
2136
|
optionsJson: 'string',
|
|
@@ -8043,7 +8045,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8043
8045
|
}
|
|
8044
8046
|
static names() {
|
|
8045
8047
|
return {
|
|
8048
|
+
browser: 'Browser',
|
|
8049
|
+
browserInfo: 'BrowserInfo',
|
|
8046
8050
|
city: 'City',
|
|
8051
|
+
device: 'Device',
|
|
8047
8052
|
endTime: 'EndTime',
|
|
8048
8053
|
filter: 'Filter',
|
|
8049
8054
|
isp: 'Isp',
|
|
@@ -8057,7 +8062,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8057
8062
|
}
|
|
8058
8063
|
static types() {
|
|
8059
8064
|
return {
|
|
8065
|
+
browser: 'string',
|
|
8066
|
+
browserInfo: 'string',
|
|
8060
8067
|
city: 'string',
|
|
8068
|
+
device: 'string',
|
|
8061
8069
|
endTime: 'string',
|
|
8062
8070
|
filter: 'string',
|
|
8063
8071
|
isp: 'string',
|
|
@@ -10153,6 +10161,7 @@ class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
10153
10161
|
return {
|
|
10154
10162
|
address: 'Address',
|
|
10155
10163
|
alertIds: 'AlertIds',
|
|
10164
|
+
customSchedule: 'CustomSchedule',
|
|
10156
10165
|
interval: 'Interval',
|
|
10157
10166
|
intervalUnit: 'IntervalUnit',
|
|
10158
10167
|
ispCities: 'IspCities',
|
|
@@ -10166,6 +10175,7 @@ class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
10166
10175
|
return {
|
|
10167
10176
|
address: 'string',
|
|
10168
10177
|
alertIds: 'string',
|
|
10178
|
+
customSchedule: 'string',
|
|
10169
10179
|
interval: 'string',
|
|
10170
10180
|
intervalUnit: 'string',
|
|
10171
10181
|
ispCities: 'string',
|
|
@@ -12011,6 +12021,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12011
12021
|
}
|
|
12012
12022
|
static names() {
|
|
12013
12023
|
return {
|
|
12024
|
+
pushingDataFormat: 'PushingDataFormat',
|
|
12014
12025
|
range: 'Range',
|
|
12015
12026
|
targetUuids: 'TargetUuids',
|
|
12016
12027
|
templateUuid: 'TemplateUuid',
|
|
@@ -12018,6 +12029,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12018
12029
|
}
|
|
12019
12030
|
static types() {
|
|
12020
12031
|
return {
|
|
12032
|
+
pushingDataFormat: 'string',
|
|
12021
12033
|
range: 'string',
|
|
12022
12034
|
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
12023
12035
|
templateUuid: 'string',
|
|
@@ -17849,6 +17861,44 @@ class DescribeSiteMonitorAttributeResponseBodyMetricRules extends $tea.Model {
|
|
|
17849
17861
|
}
|
|
17850
17862
|
}
|
|
17851
17863
|
exports.DescribeSiteMonitorAttributeResponseBodyMetricRules = DescribeSiteMonitorAttributeResponseBodyMetricRules;
|
|
17864
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays extends $tea.Model {
|
|
17865
|
+
constructor(map) {
|
|
17866
|
+
super(map);
|
|
17867
|
+
}
|
|
17868
|
+
static names() {
|
|
17869
|
+
return {
|
|
17870
|
+
days: 'days',
|
|
17871
|
+
};
|
|
17872
|
+
}
|
|
17873
|
+
static types() {
|
|
17874
|
+
return {
|
|
17875
|
+
days: { 'type': 'array', 'itemType': 'number' },
|
|
17876
|
+
};
|
|
17877
|
+
}
|
|
17878
|
+
}
|
|
17879
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays = DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays;
|
|
17880
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule extends $tea.Model {
|
|
17881
|
+
constructor(map) {
|
|
17882
|
+
super(map);
|
|
17883
|
+
}
|
|
17884
|
+
static names() {
|
|
17885
|
+
return {
|
|
17886
|
+
days: 'days',
|
|
17887
|
+
endHour: 'end_hour',
|
|
17888
|
+
startHour: 'start_hour',
|
|
17889
|
+
timeZone: 'time_zone',
|
|
17890
|
+
};
|
|
17891
|
+
}
|
|
17892
|
+
static types() {
|
|
17893
|
+
return {
|
|
17894
|
+
days: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays,
|
|
17895
|
+
endHour: 'number',
|
|
17896
|
+
startHour: 'number',
|
|
17897
|
+
timeZone: 'string',
|
|
17898
|
+
};
|
|
17899
|
+
}
|
|
17900
|
+
}
|
|
17901
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule = DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule;
|
|
17852
17902
|
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCitiesIspCity extends $tea.Model {
|
|
17853
17903
|
constructor(map) {
|
|
17854
17904
|
super(map);
|
|
@@ -17925,6 +17975,152 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions e
|
|
|
17925
17975
|
}
|
|
17926
17976
|
}
|
|
17927
17977
|
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
17978
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList extends $tea.Model {
|
|
17979
|
+
constructor(map) {
|
|
17980
|
+
super(map);
|
|
17981
|
+
}
|
|
17982
|
+
static names() {
|
|
17983
|
+
return {
|
|
17984
|
+
blockedUrlList: 'blocked_url_list',
|
|
17985
|
+
};
|
|
17986
|
+
}
|
|
17987
|
+
static types() {
|
|
17988
|
+
return {
|
|
17989
|
+
blockedUrlList: { 'type': 'array', 'itemType': 'string' },
|
|
17990
|
+
};
|
|
17991
|
+
}
|
|
17992
|
+
}
|
|
17993
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
17994
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders extends $tea.Model {
|
|
17995
|
+
constructor(map) {
|
|
17996
|
+
super(map);
|
|
17997
|
+
}
|
|
17998
|
+
static names() {
|
|
17999
|
+
return {
|
|
18000
|
+
browserHeaders: 'browser_headers',
|
|
18001
|
+
};
|
|
18002
|
+
}
|
|
18003
|
+
static types() {
|
|
18004
|
+
return {
|
|
18005
|
+
browserHeaders: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
18006
|
+
};
|
|
18007
|
+
}
|
|
18008
|
+
}
|
|
18009
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
18010
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts extends $tea.Model {
|
|
18011
|
+
constructor(map) {
|
|
18012
|
+
super(map);
|
|
18013
|
+
}
|
|
18014
|
+
static names() {
|
|
18015
|
+
return {
|
|
18016
|
+
browserHosts: 'browser_hosts',
|
|
18017
|
+
};
|
|
18018
|
+
}
|
|
18019
|
+
static types() {
|
|
18020
|
+
return {
|
|
18021
|
+
browserHosts: { 'type': 'array', 'itemType': 'string' },
|
|
18022
|
+
};
|
|
18023
|
+
}
|
|
18024
|
+
}
|
|
18025
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
18026
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $tea.Model {
|
|
18027
|
+
constructor(map) {
|
|
18028
|
+
super(map);
|
|
18029
|
+
}
|
|
18030
|
+
static names() {
|
|
18031
|
+
return {
|
|
18032
|
+
browser: 'browser',
|
|
18033
|
+
device: 'device',
|
|
18034
|
+
};
|
|
18035
|
+
}
|
|
18036
|
+
static types() {
|
|
18037
|
+
return {
|
|
18038
|
+
browser: 'string',
|
|
18039
|
+
device: 'string',
|
|
18040
|
+
};
|
|
18041
|
+
}
|
|
18042
|
+
}
|
|
18043
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo;
|
|
18044
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo extends $tea.Model {
|
|
18045
|
+
constructor(map) {
|
|
18046
|
+
super(map);
|
|
18047
|
+
}
|
|
18048
|
+
static names() {
|
|
18049
|
+
return {
|
|
18050
|
+
browserInfo: 'browser_info',
|
|
18051
|
+
};
|
|
18052
|
+
}
|
|
18053
|
+
static types() {
|
|
18054
|
+
return {
|
|
18055
|
+
browserInfo: { 'type': 'array', 'itemType': DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo },
|
|
18056
|
+
};
|
|
18057
|
+
}
|
|
18058
|
+
}
|
|
18059
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
18060
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString extends $tea.Model {
|
|
18061
|
+
constructor(map) {
|
|
18062
|
+
super(map);
|
|
18063
|
+
}
|
|
18064
|
+
static names() {
|
|
18065
|
+
return {
|
|
18066
|
+
expectExistString: 'expect_exist_string',
|
|
18067
|
+
};
|
|
18068
|
+
}
|
|
18069
|
+
static types() {
|
|
18070
|
+
return {
|
|
18071
|
+
expectExistString: { 'type': 'array', 'itemType': 'string' },
|
|
18072
|
+
};
|
|
18073
|
+
}
|
|
18074
|
+
}
|
|
18075
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
18076
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString extends $tea.Model {
|
|
18077
|
+
constructor(map) {
|
|
18078
|
+
super(map);
|
|
18079
|
+
}
|
|
18080
|
+
static names() {
|
|
18081
|
+
return {
|
|
18082
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
18083
|
+
};
|
|
18084
|
+
}
|
|
18085
|
+
static types() {
|
|
18086
|
+
return {
|
|
18087
|
+
expectNonExistString: { 'type': 'array', 'itemType': 'string' },
|
|
18088
|
+
};
|
|
18089
|
+
}
|
|
18090
|
+
}
|
|
18091
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
18092
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist extends $tea.Model {
|
|
18093
|
+
constructor(map) {
|
|
18094
|
+
super(map);
|
|
18095
|
+
}
|
|
18096
|
+
static names() {
|
|
18097
|
+
return {
|
|
18098
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
18099
|
+
};
|
|
18100
|
+
}
|
|
18101
|
+
static types() {
|
|
18102
|
+
return {
|
|
18103
|
+
trafficHijackElementBlacklist: { 'type': 'array', 'itemType': 'string' },
|
|
18104
|
+
};
|
|
18105
|
+
}
|
|
18106
|
+
}
|
|
18107
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
18108
|
+
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist extends $tea.Model {
|
|
18109
|
+
constructor(map) {
|
|
18110
|
+
super(map);
|
|
18111
|
+
}
|
|
18112
|
+
static names() {
|
|
18113
|
+
return {
|
|
18114
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
18115
|
+
};
|
|
18116
|
+
}
|
|
18117
|
+
static types() {
|
|
18118
|
+
return {
|
|
18119
|
+
trafficHijackElementWhitelist: { 'type': 'array', 'itemType': 'string' },
|
|
18120
|
+
};
|
|
18121
|
+
}
|
|
18122
|
+
}
|
|
18123
|
+
exports.DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist = DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
17928
18124
|
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
17929
18125
|
constructor(map) {
|
|
17930
18126
|
super(map);
|
|
@@ -17934,6 +18130,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17934
18130
|
assertions: 'assertions',
|
|
17935
18131
|
attempts: 'attempts',
|
|
17936
18132
|
authentication: 'authentication',
|
|
18133
|
+
blockedUrlList: 'blocked_url_list',
|
|
18134
|
+
browserHeaders: 'browser_headers',
|
|
18135
|
+
browserHosts: 'browser_hosts',
|
|
18136
|
+
browserInfo: 'browser_info',
|
|
18137
|
+
browserInsecure: 'browser_insecure',
|
|
18138
|
+
browserTaskVersion: 'browser_task_version',
|
|
17937
18139
|
cookie: 'cookie',
|
|
17938
18140
|
diagnosisMtr: 'diagnosis_mtr',
|
|
17939
18141
|
diagnosisPing: 'diagnosis_ping',
|
|
@@ -17941,6 +18143,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17941
18143
|
dnsMatchRule: 'dns_match_rule',
|
|
17942
18144
|
dnsServer: 'dns_server',
|
|
17943
18145
|
dnsType: 'dns_type',
|
|
18146
|
+
expectExistString: 'expect_exist_string',
|
|
18147
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
17944
18148
|
expectValue: 'expect_value',
|
|
17945
18149
|
failureRate: 'failure_rate',
|
|
17946
18150
|
header: 'header',
|
|
@@ -17950,6 +18154,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17950
18154
|
minTlsVersion: 'min_tls_version',
|
|
17951
18155
|
password: 'password',
|
|
17952
18156
|
pingNum: 'ping_num',
|
|
18157
|
+
pingPort: 'ping_port',
|
|
18158
|
+
pingType: 'ping_type',
|
|
17953
18159
|
port: 'port',
|
|
17954
18160
|
protocol: 'protocol',
|
|
17955
18161
|
requestContent: 'request_content',
|
|
@@ -17957,7 +18163,11 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17957
18163
|
responseContent: 'response_content',
|
|
17958
18164
|
responseFormat: 'response_format',
|
|
17959
18165
|
retryDelay: 'retry_delay',
|
|
18166
|
+
strictMode: 'strict_mode',
|
|
17960
18167
|
timeOut: 'time_out',
|
|
18168
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
18169
|
+
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
18170
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
17961
18171
|
username: 'username',
|
|
17962
18172
|
};
|
|
17963
18173
|
}
|
|
@@ -17966,6 +18176,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17966
18176
|
assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
|
|
17967
18177
|
attempts: 'number',
|
|
17968
18178
|
authentication: 'number',
|
|
18179
|
+
blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
|
|
18180
|
+
browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
|
|
18181
|
+
browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
|
|
18182
|
+
browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
|
|
18183
|
+
browserInsecure: 'boolean',
|
|
18184
|
+
browserTaskVersion: 'string',
|
|
17969
18185
|
cookie: 'string',
|
|
17970
18186
|
diagnosisMtr: 'boolean',
|
|
17971
18187
|
diagnosisPing: 'boolean',
|
|
@@ -17973,6 +18189,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17973
18189
|
dnsMatchRule: 'string',
|
|
17974
18190
|
dnsServer: 'string',
|
|
17975
18191
|
dnsType: 'string',
|
|
18192
|
+
expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
|
|
18193
|
+
expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
|
|
17976
18194
|
expectValue: 'string',
|
|
17977
18195
|
failureRate: 'number',
|
|
17978
18196
|
header: 'string',
|
|
@@ -17982,6 +18200,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17982
18200
|
minTlsVersion: 'string',
|
|
17983
18201
|
password: 'string',
|
|
17984
18202
|
pingNum: 'number',
|
|
18203
|
+
pingPort: 'number',
|
|
18204
|
+
pingType: 'string',
|
|
17985
18205
|
port: 'number',
|
|
17986
18206
|
protocol: 'string',
|
|
17987
18207
|
requestContent: 'string',
|
|
@@ -17989,7 +18209,11 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17989
18209
|
responseContent: 'string',
|
|
17990
18210
|
responseFormat: 'string',
|
|
17991
18211
|
retryDelay: 'number',
|
|
18212
|
+
strictMode: 'boolean',
|
|
17992
18213
|
timeOut: 'number',
|
|
18214
|
+
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
18215
|
+
trafficHijackElementCount: 'number',
|
|
18216
|
+
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
17993
18217
|
username: 'string',
|
|
17994
18218
|
};
|
|
17995
18219
|
}
|
|
@@ -18003,6 +18227,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.Model {
|
|
|
18003
18227
|
return {
|
|
18004
18228
|
address: 'Address',
|
|
18005
18229
|
agentGroup: 'AgentGroup',
|
|
18230
|
+
customSchedule: 'CustomSchedule',
|
|
18006
18231
|
interval: 'Interval',
|
|
18007
18232
|
ispCities: 'IspCities',
|
|
18008
18233
|
optionJson: 'OptionJson',
|
|
@@ -18016,6 +18241,7 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.Model {
|
|
|
18016
18241
|
return {
|
|
18017
18242
|
address: 'string',
|
|
18018
18243
|
agentGroup: 'string',
|
|
18244
|
+
customSchedule: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule,
|
|
18019
18245
|
interval: 'string',
|
|
18020
18246
|
ispCities: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities,
|
|
18021
18247
|
optionJson: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson,
|
|
@@ -21112,7 +21338,7 @@ class Client extends openapi_client_1.default {
|
|
|
21112
21338
|
return await this.createHybridMonitorTaskWithOptions(request, runtime);
|
|
21113
21339
|
}
|
|
21114
21340
|
/**
|
|
21115
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21341
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21116
21342
|
* 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`.
|
|
21117
21343
|
*
|
|
21118
21344
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -21157,7 +21383,7 @@ class Client extends openapi_client_1.default {
|
|
|
21157
21383
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateInstantSiteMonitorResponse({}));
|
|
21158
21384
|
}
|
|
21159
21385
|
/**
|
|
21160
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21386
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
21161
21387
|
* 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`.
|
|
21162
21388
|
*
|
|
21163
21389
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -21571,6 +21797,9 @@ class Client extends openapi_client_1.default {
|
|
|
21571
21797
|
if (!tea_util_1.default.isUnset(request.alertIds)) {
|
|
21572
21798
|
query["AlertIds"] = request.alertIds;
|
|
21573
21799
|
}
|
|
21800
|
+
if (!tea_util_1.default.isUnset(request.customSchedule)) {
|
|
21801
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
21802
|
+
}
|
|
21574
21803
|
if (!tea_util_1.default.isUnset(request.interval)) {
|
|
21575
21804
|
query["Interval"] = request.interval;
|
|
21576
21805
|
}
|
|
@@ -25101,7 +25330,7 @@ class Client extends openapi_client_1.default {
|
|
|
25101
25330
|
return await this.describeSiteMonitorListWithOptions(request, runtime);
|
|
25102
25331
|
}
|
|
25103
25332
|
/**
|
|
25104
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25333
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25105
25334
|
* 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****`.
|
|
25106
25335
|
*
|
|
25107
25336
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -25111,9 +25340,18 @@ class Client extends openapi_client_1.default {
|
|
|
25111
25340
|
async describeSiteMonitorLogWithOptions(request, runtime) {
|
|
25112
25341
|
tea_util_1.default.validateModel(request);
|
|
25113
25342
|
let query = {};
|
|
25343
|
+
if (!tea_util_1.default.isUnset(request.browser)) {
|
|
25344
|
+
query["Browser"] = request.browser;
|
|
25345
|
+
}
|
|
25346
|
+
if (!tea_util_1.default.isUnset(request.browserInfo)) {
|
|
25347
|
+
query["BrowserInfo"] = request.browserInfo;
|
|
25348
|
+
}
|
|
25114
25349
|
if (!tea_util_1.default.isUnset(request.city)) {
|
|
25115
25350
|
query["City"] = request.city;
|
|
25116
25351
|
}
|
|
25352
|
+
if (!tea_util_1.default.isUnset(request.device)) {
|
|
25353
|
+
query["Device"] = request.device;
|
|
25354
|
+
}
|
|
25117
25355
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
25118
25356
|
query["EndTime"] = request.endTime;
|
|
25119
25357
|
}
|
|
@@ -25155,7 +25393,7 @@ class Client extends openapi_client_1.default {
|
|
|
25155
25393
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorLogResponse({}));
|
|
25156
25394
|
}
|
|
25157
25395
|
/**
|
|
25158
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25396
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
25159
25397
|
* 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****`.
|
|
25160
25398
|
*
|
|
25161
25399
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -26329,6 +26567,9 @@ class Client extends openapi_client_1.default {
|
|
|
26329
26567
|
if (!tea_util_1.default.isUnset(request.alertIds)) {
|
|
26330
26568
|
query["AlertIds"] = request.alertIds;
|
|
26331
26569
|
}
|
|
26570
|
+
if (!tea_util_1.default.isUnset(request.customSchedule)) {
|
|
26571
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
26572
|
+
}
|
|
26332
26573
|
if (!tea_util_1.default.isUnset(request.interval)) {
|
|
26333
26574
|
query["Interval"] = request.interval;
|
|
26334
26575
|
}
|