@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cms20190101",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
24
|
"@alicloud/openapi-client": "^0.4.4",
|
|
25
|
-
"@alicloud/openapi-util": "^0.3.
|
|
25
|
+
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
package/src/client.ts
CHANGED
|
@@ -2711,6 +2711,7 @@ export class CreateMonitoringAgentProcessResponse extends $tea.Model {
|
|
|
2711
2711
|
export class CreateSiteMonitorRequest extends $tea.Model {
|
|
2712
2712
|
address?: string;
|
|
2713
2713
|
alertIds?: string;
|
|
2714
|
+
customSchedule?: string;
|
|
2714
2715
|
interval?: string;
|
|
2715
2716
|
ispCities?: string;
|
|
2716
2717
|
optionsJson?: string;
|
|
@@ -2721,6 +2722,7 @@ export class CreateSiteMonitorRequest extends $tea.Model {
|
|
|
2721
2722
|
return {
|
|
2722
2723
|
address: 'Address',
|
|
2723
2724
|
alertIds: 'AlertIds',
|
|
2725
|
+
customSchedule: 'CustomSchedule',
|
|
2724
2726
|
interval: 'Interval',
|
|
2725
2727
|
ispCities: 'IspCities',
|
|
2726
2728
|
optionsJson: 'OptionsJson',
|
|
@@ -2734,6 +2736,7 @@ export class CreateSiteMonitorRequest extends $tea.Model {
|
|
|
2734
2736
|
return {
|
|
2735
2737
|
address: 'string',
|
|
2736
2738
|
alertIds: 'string',
|
|
2739
|
+
customSchedule: 'string',
|
|
2737
2740
|
interval: 'string',
|
|
2738
2741
|
ispCities: 'string',
|
|
2739
2742
|
optionsJson: 'string',
|
|
@@ -10321,7 +10324,10 @@ export class DescribeSiteMonitorListResponse extends $tea.Model {
|
|
|
10321
10324
|
}
|
|
10322
10325
|
|
|
10323
10326
|
export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
10327
|
+
browser?: string;
|
|
10328
|
+
browserInfo?: string;
|
|
10324
10329
|
city?: string;
|
|
10330
|
+
device?: string;
|
|
10325
10331
|
endTime?: string;
|
|
10326
10332
|
filter?: string;
|
|
10327
10333
|
isp?: string;
|
|
@@ -10333,7 +10339,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
10333
10339
|
taskIds?: string;
|
|
10334
10340
|
static names(): { [key: string]: string } {
|
|
10335
10341
|
return {
|
|
10342
|
+
browser: 'Browser',
|
|
10343
|
+
browserInfo: 'BrowserInfo',
|
|
10336
10344
|
city: 'City',
|
|
10345
|
+
device: 'Device',
|
|
10337
10346
|
endTime: 'EndTime',
|
|
10338
10347
|
filter: 'Filter',
|
|
10339
10348
|
isp: 'Isp',
|
|
@@ -10348,7 +10357,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
10348
10357
|
|
|
10349
10358
|
static types(): { [key: string]: any } {
|
|
10350
10359
|
return {
|
|
10360
|
+
browser: 'string',
|
|
10361
|
+
browserInfo: 'string',
|
|
10351
10362
|
city: 'string',
|
|
10363
|
+
device: 'string',
|
|
10352
10364
|
endTime: 'string',
|
|
10353
10365
|
filter: 'string',
|
|
10354
10366
|
isp: 'string',
|
|
@@ -13005,6 +13017,7 @@ export class ModifyMonitorGroupInstancesResponse extends $tea.Model {
|
|
|
13005
13017
|
export class ModifySiteMonitorRequest extends $tea.Model {
|
|
13006
13018
|
address?: string;
|
|
13007
13019
|
alertIds?: string;
|
|
13020
|
+
customSchedule?: string;
|
|
13008
13021
|
interval?: string;
|
|
13009
13022
|
intervalUnit?: string;
|
|
13010
13023
|
ispCities?: string;
|
|
@@ -13016,6 +13029,7 @@ export class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
13016
13029
|
return {
|
|
13017
13030
|
address: 'Address',
|
|
13018
13031
|
alertIds: 'AlertIds',
|
|
13032
|
+
customSchedule: 'CustomSchedule',
|
|
13019
13033
|
interval: 'Interval',
|
|
13020
13034
|
intervalUnit: 'IntervalUnit',
|
|
13021
13035
|
ispCities: 'IspCities',
|
|
@@ -13030,6 +13044,7 @@ export class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
13030
13044
|
return {
|
|
13031
13045
|
address: 'string',
|
|
13032
13046
|
alertIds: 'string',
|
|
13047
|
+
customSchedule: 'string',
|
|
13033
13048
|
interval: 'string',
|
|
13034
13049
|
intervalUnit: 'string',
|
|
13035
13050
|
ispCities: 'string',
|
|
@@ -15398,11 +15413,13 @@ export class NotificationStrategyGroupingSetting extends $tea.Model {
|
|
|
15398
15413
|
}
|
|
15399
15414
|
|
|
15400
15415
|
export class NotificationStrategyPushingSetting extends $tea.Model {
|
|
15416
|
+
pushingDataFormat?: string;
|
|
15401
15417
|
range?: string;
|
|
15402
15418
|
targetUuids?: string[];
|
|
15403
15419
|
templateUuid?: string;
|
|
15404
15420
|
static names(): { [key: string]: string } {
|
|
15405
15421
|
return {
|
|
15422
|
+
pushingDataFormat: 'PushingDataFormat',
|
|
15406
15423
|
range: 'Range',
|
|
15407
15424
|
targetUuids: 'TargetUuids',
|
|
15408
15425
|
templateUuid: 'TemplateUuid',
|
|
@@ -15411,6 +15428,7 @@ export class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
15411
15428
|
|
|
15412
15429
|
static types(): { [key: string]: any } {
|
|
15413
15430
|
return {
|
|
15431
|
+
pushingDataFormat: 'string',
|
|
15414
15432
|
range: 'string',
|
|
15415
15433
|
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
15416
15434
|
templateUuid: 'string',
|
|
@@ -22808,6 +22826,53 @@ export class DescribeSiteMonitorAttributeResponseBodyMetricRules extends $tea.Mo
|
|
|
22808
22826
|
}
|
|
22809
22827
|
}
|
|
22810
22828
|
|
|
22829
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays extends $tea.Model {
|
|
22830
|
+
days?: number[];
|
|
22831
|
+
static names(): { [key: string]: string } {
|
|
22832
|
+
return {
|
|
22833
|
+
days: 'days',
|
|
22834
|
+
};
|
|
22835
|
+
}
|
|
22836
|
+
|
|
22837
|
+
static types(): { [key: string]: any } {
|
|
22838
|
+
return {
|
|
22839
|
+
days: { 'type': 'array', 'itemType': 'number' },
|
|
22840
|
+
};
|
|
22841
|
+
}
|
|
22842
|
+
|
|
22843
|
+
constructor(map?: { [key: string]: any }) {
|
|
22844
|
+
super(map);
|
|
22845
|
+
}
|
|
22846
|
+
}
|
|
22847
|
+
|
|
22848
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule extends $tea.Model {
|
|
22849
|
+
days?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays;
|
|
22850
|
+
endHour?: number;
|
|
22851
|
+
startHour?: number;
|
|
22852
|
+
timeZone?: string;
|
|
22853
|
+
static names(): { [key: string]: string } {
|
|
22854
|
+
return {
|
|
22855
|
+
days: 'days',
|
|
22856
|
+
endHour: 'end_hour',
|
|
22857
|
+
startHour: 'start_hour',
|
|
22858
|
+
timeZone: 'time_zone',
|
|
22859
|
+
};
|
|
22860
|
+
}
|
|
22861
|
+
|
|
22862
|
+
static types(): { [key: string]: any } {
|
|
22863
|
+
return {
|
|
22864
|
+
days: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays,
|
|
22865
|
+
endHour: 'number',
|
|
22866
|
+
startHour: 'number',
|
|
22867
|
+
timeZone: 'string',
|
|
22868
|
+
};
|
|
22869
|
+
}
|
|
22870
|
+
|
|
22871
|
+
constructor(map?: { [key: string]: any }) {
|
|
22872
|
+
super(map);
|
|
22873
|
+
}
|
|
22874
|
+
}
|
|
22875
|
+
|
|
22811
22876
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCitiesIspCity extends $tea.Model {
|
|
22812
22877
|
city?: string;
|
|
22813
22878
|
cityName?: string;
|
|
@@ -22902,10 +22967,190 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAsser
|
|
|
22902
22967
|
}
|
|
22903
22968
|
}
|
|
22904
22969
|
|
|
22970
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList extends $tea.Model {
|
|
22971
|
+
blockedUrlList?: string[];
|
|
22972
|
+
static names(): { [key: string]: string } {
|
|
22973
|
+
return {
|
|
22974
|
+
blockedUrlList: 'blocked_url_list',
|
|
22975
|
+
};
|
|
22976
|
+
}
|
|
22977
|
+
|
|
22978
|
+
static types(): { [key: string]: any } {
|
|
22979
|
+
return {
|
|
22980
|
+
blockedUrlList: { 'type': 'array', 'itemType': 'string' },
|
|
22981
|
+
};
|
|
22982
|
+
}
|
|
22983
|
+
|
|
22984
|
+
constructor(map?: { [key: string]: any }) {
|
|
22985
|
+
super(map);
|
|
22986
|
+
}
|
|
22987
|
+
}
|
|
22988
|
+
|
|
22989
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders extends $tea.Model {
|
|
22990
|
+
browserHeaders?: { [key: string]: any }[];
|
|
22991
|
+
static names(): { [key: string]: string } {
|
|
22992
|
+
return {
|
|
22993
|
+
browserHeaders: 'browser_headers',
|
|
22994
|
+
};
|
|
22995
|
+
}
|
|
22996
|
+
|
|
22997
|
+
static types(): { [key: string]: any } {
|
|
22998
|
+
return {
|
|
22999
|
+
browserHeaders: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
23000
|
+
};
|
|
23001
|
+
}
|
|
23002
|
+
|
|
23003
|
+
constructor(map?: { [key: string]: any }) {
|
|
23004
|
+
super(map);
|
|
23005
|
+
}
|
|
23006
|
+
}
|
|
23007
|
+
|
|
23008
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts extends $tea.Model {
|
|
23009
|
+
browserHosts?: string[];
|
|
23010
|
+
static names(): { [key: string]: string } {
|
|
23011
|
+
return {
|
|
23012
|
+
browserHosts: 'browser_hosts',
|
|
23013
|
+
};
|
|
23014
|
+
}
|
|
23015
|
+
|
|
23016
|
+
static types(): { [key: string]: any } {
|
|
23017
|
+
return {
|
|
23018
|
+
browserHosts: { 'type': 'array', 'itemType': 'string' },
|
|
23019
|
+
};
|
|
23020
|
+
}
|
|
23021
|
+
|
|
23022
|
+
constructor(map?: { [key: string]: any }) {
|
|
23023
|
+
super(map);
|
|
23024
|
+
}
|
|
23025
|
+
}
|
|
23026
|
+
|
|
23027
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $tea.Model {
|
|
23028
|
+
browser?: string;
|
|
23029
|
+
device?: string;
|
|
23030
|
+
static names(): { [key: string]: string } {
|
|
23031
|
+
return {
|
|
23032
|
+
browser: 'browser',
|
|
23033
|
+
device: 'device',
|
|
23034
|
+
};
|
|
23035
|
+
}
|
|
23036
|
+
|
|
23037
|
+
static types(): { [key: string]: any } {
|
|
23038
|
+
return {
|
|
23039
|
+
browser: 'string',
|
|
23040
|
+
device: 'string',
|
|
23041
|
+
};
|
|
23042
|
+
}
|
|
23043
|
+
|
|
23044
|
+
constructor(map?: { [key: string]: any }) {
|
|
23045
|
+
super(map);
|
|
23046
|
+
}
|
|
23047
|
+
}
|
|
23048
|
+
|
|
23049
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo extends $tea.Model {
|
|
23050
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo[];
|
|
23051
|
+
static names(): { [key: string]: string } {
|
|
23052
|
+
return {
|
|
23053
|
+
browserInfo: 'browser_info',
|
|
23054
|
+
};
|
|
23055
|
+
}
|
|
23056
|
+
|
|
23057
|
+
static types(): { [key: string]: any } {
|
|
23058
|
+
return {
|
|
23059
|
+
browserInfo: { 'type': 'array', 'itemType': DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo },
|
|
23060
|
+
};
|
|
23061
|
+
}
|
|
23062
|
+
|
|
23063
|
+
constructor(map?: { [key: string]: any }) {
|
|
23064
|
+
super(map);
|
|
23065
|
+
}
|
|
23066
|
+
}
|
|
23067
|
+
|
|
23068
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString extends $tea.Model {
|
|
23069
|
+
expectExistString?: string[];
|
|
23070
|
+
static names(): { [key: string]: string } {
|
|
23071
|
+
return {
|
|
23072
|
+
expectExistString: 'expect_exist_string',
|
|
23073
|
+
};
|
|
23074
|
+
}
|
|
23075
|
+
|
|
23076
|
+
static types(): { [key: string]: any } {
|
|
23077
|
+
return {
|
|
23078
|
+
expectExistString: { 'type': 'array', 'itemType': 'string' },
|
|
23079
|
+
};
|
|
23080
|
+
}
|
|
23081
|
+
|
|
23082
|
+
constructor(map?: { [key: string]: any }) {
|
|
23083
|
+
super(map);
|
|
23084
|
+
}
|
|
23085
|
+
}
|
|
23086
|
+
|
|
23087
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString extends $tea.Model {
|
|
23088
|
+
expectNonExistString?: string[];
|
|
23089
|
+
static names(): { [key: string]: string } {
|
|
23090
|
+
return {
|
|
23091
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
23092
|
+
};
|
|
23093
|
+
}
|
|
23094
|
+
|
|
23095
|
+
static types(): { [key: string]: any } {
|
|
23096
|
+
return {
|
|
23097
|
+
expectNonExistString: { 'type': 'array', 'itemType': 'string' },
|
|
23098
|
+
};
|
|
23099
|
+
}
|
|
23100
|
+
|
|
23101
|
+
constructor(map?: { [key: string]: any }) {
|
|
23102
|
+
super(map);
|
|
23103
|
+
}
|
|
23104
|
+
}
|
|
23105
|
+
|
|
23106
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist extends $tea.Model {
|
|
23107
|
+
trafficHijackElementBlacklist?: string[];
|
|
23108
|
+
static names(): { [key: string]: string } {
|
|
23109
|
+
return {
|
|
23110
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
23111
|
+
};
|
|
23112
|
+
}
|
|
23113
|
+
|
|
23114
|
+
static types(): { [key: string]: any } {
|
|
23115
|
+
return {
|
|
23116
|
+
trafficHijackElementBlacklist: { 'type': 'array', 'itemType': 'string' },
|
|
23117
|
+
};
|
|
23118
|
+
}
|
|
23119
|
+
|
|
23120
|
+
constructor(map?: { [key: string]: any }) {
|
|
23121
|
+
super(map);
|
|
23122
|
+
}
|
|
23123
|
+
}
|
|
23124
|
+
|
|
23125
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist extends $tea.Model {
|
|
23126
|
+
trafficHijackElementWhitelist?: string[];
|
|
23127
|
+
static names(): { [key: string]: string } {
|
|
23128
|
+
return {
|
|
23129
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
23130
|
+
};
|
|
23131
|
+
}
|
|
23132
|
+
|
|
23133
|
+
static types(): { [key: string]: any } {
|
|
23134
|
+
return {
|
|
23135
|
+
trafficHijackElementWhitelist: { 'type': 'array', 'itemType': 'string' },
|
|
23136
|
+
};
|
|
23137
|
+
}
|
|
23138
|
+
|
|
23139
|
+
constructor(map?: { [key: string]: any }) {
|
|
23140
|
+
super(map);
|
|
23141
|
+
}
|
|
23142
|
+
}
|
|
23143
|
+
|
|
22905
23144
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
22906
23145
|
assertions?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
22907
23146
|
attempts?: number;
|
|
22908
23147
|
authentication?: number;
|
|
23148
|
+
blockedUrlList?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
23149
|
+
browserHeaders?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
23150
|
+
browserHosts?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
23151
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
23152
|
+
browserInsecure?: boolean;
|
|
23153
|
+
browserTaskVersion?: string;
|
|
22909
23154
|
cookie?: string;
|
|
22910
23155
|
diagnosisMtr?: boolean;
|
|
22911
23156
|
diagnosisPing?: boolean;
|
|
@@ -22913,6 +23158,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22913
23158
|
dnsMatchRule?: string;
|
|
22914
23159
|
dnsServer?: string;
|
|
22915
23160
|
dnsType?: string;
|
|
23161
|
+
expectExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
23162
|
+
expectNonExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
22916
23163
|
expectValue?: string;
|
|
22917
23164
|
failureRate?: number;
|
|
22918
23165
|
header?: string;
|
|
@@ -22922,6 +23169,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22922
23169
|
minTlsVersion?: string;
|
|
22923
23170
|
password?: string;
|
|
22924
23171
|
pingNum?: number;
|
|
23172
|
+
pingPort?: number;
|
|
23173
|
+
pingType?: string;
|
|
22925
23174
|
port?: number;
|
|
22926
23175
|
protocol?: string;
|
|
22927
23176
|
requestContent?: string;
|
|
@@ -22929,13 +23178,23 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22929
23178
|
responseContent?: string;
|
|
22930
23179
|
responseFormat?: string;
|
|
22931
23180
|
retryDelay?: number;
|
|
23181
|
+
strictMode?: boolean;
|
|
22932
23182
|
timeOut?: number;
|
|
23183
|
+
trafficHijackElementBlacklist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
23184
|
+
trafficHijackElementCount?: number;
|
|
23185
|
+
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
22933
23186
|
username?: string;
|
|
22934
23187
|
static names(): { [key: string]: string } {
|
|
22935
23188
|
return {
|
|
22936
23189
|
assertions: 'assertions',
|
|
22937
23190
|
attempts: 'attempts',
|
|
22938
23191
|
authentication: 'authentication',
|
|
23192
|
+
blockedUrlList: 'blocked_url_list',
|
|
23193
|
+
browserHeaders: 'browser_headers',
|
|
23194
|
+
browserHosts: 'browser_hosts',
|
|
23195
|
+
browserInfo: 'browser_info',
|
|
23196
|
+
browserInsecure: 'browser_insecure',
|
|
23197
|
+
browserTaskVersion: 'browser_task_version',
|
|
22939
23198
|
cookie: 'cookie',
|
|
22940
23199
|
diagnosisMtr: 'diagnosis_mtr',
|
|
22941
23200
|
diagnosisPing: 'diagnosis_ping',
|
|
@@ -22943,6 +23202,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22943
23202
|
dnsMatchRule: 'dns_match_rule',
|
|
22944
23203
|
dnsServer: 'dns_server',
|
|
22945
23204
|
dnsType: 'dns_type',
|
|
23205
|
+
expectExistString: 'expect_exist_string',
|
|
23206
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
22946
23207
|
expectValue: 'expect_value',
|
|
22947
23208
|
failureRate: 'failure_rate',
|
|
22948
23209
|
header: 'header',
|
|
@@ -22952,6 +23213,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22952
23213
|
minTlsVersion: 'min_tls_version',
|
|
22953
23214
|
password: 'password',
|
|
22954
23215
|
pingNum: 'ping_num',
|
|
23216
|
+
pingPort: 'ping_port',
|
|
23217
|
+
pingType: 'ping_type',
|
|
22955
23218
|
port: 'port',
|
|
22956
23219
|
protocol: 'protocol',
|
|
22957
23220
|
requestContent: 'request_content',
|
|
@@ -22959,7 +23222,11 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22959
23222
|
responseContent: 'response_content',
|
|
22960
23223
|
responseFormat: 'response_format',
|
|
22961
23224
|
retryDelay: 'retry_delay',
|
|
23225
|
+
strictMode: 'strict_mode',
|
|
22962
23226
|
timeOut: 'time_out',
|
|
23227
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
23228
|
+
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
23229
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
22963
23230
|
username: 'username',
|
|
22964
23231
|
};
|
|
22965
23232
|
}
|
|
@@ -22969,6 +23236,12 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22969
23236
|
assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
|
|
22970
23237
|
attempts: 'number',
|
|
22971
23238
|
authentication: 'number',
|
|
23239
|
+
blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
|
|
23240
|
+
browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
|
|
23241
|
+
browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
|
|
23242
|
+
browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
|
|
23243
|
+
browserInsecure: 'boolean',
|
|
23244
|
+
browserTaskVersion: 'string',
|
|
22972
23245
|
cookie: 'string',
|
|
22973
23246
|
diagnosisMtr: 'boolean',
|
|
22974
23247
|
diagnosisPing: 'boolean',
|
|
@@ -22976,6 +23249,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22976
23249
|
dnsMatchRule: 'string',
|
|
22977
23250
|
dnsServer: 'string',
|
|
22978
23251
|
dnsType: 'string',
|
|
23252
|
+
expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
|
|
23253
|
+
expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
|
|
22979
23254
|
expectValue: 'string',
|
|
22980
23255
|
failureRate: 'number',
|
|
22981
23256
|
header: 'string',
|
|
@@ -22985,6 +23260,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22985
23260
|
minTlsVersion: 'string',
|
|
22986
23261
|
password: 'string',
|
|
22987
23262
|
pingNum: 'number',
|
|
23263
|
+
pingPort: 'number',
|
|
23264
|
+
pingType: 'string',
|
|
22988
23265
|
port: 'number',
|
|
22989
23266
|
protocol: 'string',
|
|
22990
23267
|
requestContent: 'string',
|
|
@@ -22992,7 +23269,11 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
22992
23269
|
responseContent: 'string',
|
|
22993
23270
|
responseFormat: 'string',
|
|
22994
23271
|
retryDelay: 'number',
|
|
23272
|
+
strictMode: 'boolean',
|
|
22995
23273
|
timeOut: 'number',
|
|
23274
|
+
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
23275
|
+
trafficHijackElementCount: 'number',
|
|
23276
|
+
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
22996
23277
|
username: 'string',
|
|
22997
23278
|
};
|
|
22998
23279
|
}
|
|
@@ -23005,6 +23286,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23005
23286
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.Model {
|
|
23006
23287
|
address?: string;
|
|
23007
23288
|
agentGroup?: string;
|
|
23289
|
+
customSchedule?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule;
|
|
23008
23290
|
interval?: string;
|
|
23009
23291
|
ispCities?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities;
|
|
23010
23292
|
optionJson?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson;
|
|
@@ -23016,6 +23298,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.M
|
|
|
23016
23298
|
return {
|
|
23017
23299
|
address: 'Address',
|
|
23018
23300
|
agentGroup: 'AgentGroup',
|
|
23301
|
+
customSchedule: 'CustomSchedule',
|
|
23019
23302
|
interval: 'Interval',
|
|
23020
23303
|
ispCities: 'IspCities',
|
|
23021
23304
|
optionJson: 'OptionJson',
|
|
@@ -23030,6 +23313,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.M
|
|
|
23030
23313
|
return {
|
|
23031
23314
|
address: 'string',
|
|
23032
23315
|
agentGroup: 'string',
|
|
23316
|
+
customSchedule: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule,
|
|
23033
23317
|
interval: 'string',
|
|
23034
23318
|
ispCities: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities,
|
|
23035
23319
|
optionJson: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson,
|
|
@@ -26884,7 +27168,7 @@ export default class Client extends OpenApi {
|
|
|
26884
27168
|
}
|
|
26885
27169
|
|
|
26886
27170
|
/**
|
|
26887
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
27171
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
26888
27172
|
* 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`.
|
|
26889
27173
|
*
|
|
26890
27174
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -26936,7 +27220,7 @@ export default class Client extends OpenApi {
|
|
|
26936
27220
|
}
|
|
26937
27221
|
|
|
26938
27222
|
/**
|
|
26939
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
27223
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
26940
27224
|
* 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`.
|
|
26941
27225
|
*
|
|
26942
27226
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -27407,6 +27691,10 @@ export default class Client extends OpenApi {
|
|
|
27407
27691
|
query["AlertIds"] = request.alertIds;
|
|
27408
27692
|
}
|
|
27409
27693
|
|
|
27694
|
+
if (!Util.isUnset(request.customSchedule)) {
|
|
27695
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
27696
|
+
}
|
|
27697
|
+
|
|
27410
27698
|
if (!Util.isUnset(request.interval)) {
|
|
27411
27699
|
query["Interval"] = request.interval;
|
|
27412
27700
|
}
|
|
@@ -31455,7 +31743,7 @@ export default class Client extends OpenApi {
|
|
|
31455
31743
|
}
|
|
31456
31744
|
|
|
31457
31745
|
/**
|
|
31458
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31746
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31459
31747
|
* 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****`.
|
|
31460
31748
|
*
|
|
31461
31749
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -31465,10 +31753,22 @@ export default class Client extends OpenApi {
|
|
|
31465
31753
|
async describeSiteMonitorLogWithOptions(request: DescribeSiteMonitorLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorLogResponse> {
|
|
31466
31754
|
Util.validateModel(request);
|
|
31467
31755
|
let query = { };
|
|
31756
|
+
if (!Util.isUnset(request.browser)) {
|
|
31757
|
+
query["Browser"] = request.browser;
|
|
31758
|
+
}
|
|
31759
|
+
|
|
31760
|
+
if (!Util.isUnset(request.browserInfo)) {
|
|
31761
|
+
query["BrowserInfo"] = request.browserInfo;
|
|
31762
|
+
}
|
|
31763
|
+
|
|
31468
31764
|
if (!Util.isUnset(request.city)) {
|
|
31469
31765
|
query["City"] = request.city;
|
|
31470
31766
|
}
|
|
31471
31767
|
|
|
31768
|
+
if (!Util.isUnset(request.device)) {
|
|
31769
|
+
query["Device"] = request.device;
|
|
31770
|
+
}
|
|
31771
|
+
|
|
31472
31772
|
if (!Util.isUnset(request.endTime)) {
|
|
31473
31773
|
query["EndTime"] = request.endTime;
|
|
31474
31774
|
}
|
|
@@ -31519,7 +31819,7 @@ export default class Client extends OpenApi {
|
|
|
31519
31819
|
}
|
|
31520
31820
|
|
|
31521
31821
|
/**
|
|
31522
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31822
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
31523
31823
|
* 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****`.
|
|
31524
31824
|
*
|
|
31525
31825
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -32860,6 +33160,10 @@ export default class Client extends OpenApi {
|
|
|
32860
33160
|
query["AlertIds"] = request.alertIds;
|
|
32861
33161
|
}
|
|
32862
33162
|
|
|
33163
|
+
if (!Util.isUnset(request.customSchedule)) {
|
|
33164
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
33165
|
+
}
|
|
33166
|
+
|
|
32863
33167
|
if (!Util.isUnset(request.interval)) {
|
|
32864
33168
|
query["Interval"] = request.interval;
|
|
32865
33169
|
}
|