@alicloud/cms20190101 2.0.6 → 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 +133 -4
- package/dist/client.js +195 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +244 -4
package/dist/client.d.ts
CHANGED
|
@@ -5617,7 +5617,10 @@ export declare class DescribeSiteMonitorListResponse extends $tea.Model {
|
|
|
5617
5617
|
});
|
|
5618
5618
|
}
|
|
5619
5619
|
export declare class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
5620
|
+
browser?: string;
|
|
5621
|
+
browserInfo?: string;
|
|
5620
5622
|
city?: string;
|
|
5623
|
+
device?: string;
|
|
5621
5624
|
endTime?: string;
|
|
5622
5625
|
filter?: string;
|
|
5623
5626
|
isp?: string;
|
|
@@ -8412,6 +8415,7 @@ export declare class NotificationStrategyGroupingSetting extends $tea.Model {
|
|
|
8412
8415
|
});
|
|
8413
8416
|
}
|
|
8414
8417
|
export declare class NotificationStrategyPushingSetting extends $tea.Model {
|
|
8418
|
+
pushingDataFormat?: string;
|
|
8415
8419
|
range?: string;
|
|
8416
8420
|
targetUuids?: string[];
|
|
8417
8421
|
templateUuid?: string;
|
|
@@ -12498,10 +12502,127 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
12498
12502
|
[key: string]: any;
|
|
12499
12503
|
});
|
|
12500
12504
|
}
|
|
12505
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList extends $tea.Model {
|
|
12506
|
+
blockedUrlList?: string[];
|
|
12507
|
+
static names(): {
|
|
12508
|
+
[key: string]: string;
|
|
12509
|
+
};
|
|
12510
|
+
static types(): {
|
|
12511
|
+
[key: string]: any;
|
|
12512
|
+
};
|
|
12513
|
+
constructor(map?: {
|
|
12514
|
+
[key: string]: any;
|
|
12515
|
+
});
|
|
12516
|
+
}
|
|
12517
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders extends $tea.Model {
|
|
12518
|
+
browserHeaders?: {
|
|
12519
|
+
[key: string]: any;
|
|
12520
|
+
}[];
|
|
12521
|
+
static names(): {
|
|
12522
|
+
[key: string]: string;
|
|
12523
|
+
};
|
|
12524
|
+
static types(): {
|
|
12525
|
+
[key: string]: any;
|
|
12526
|
+
};
|
|
12527
|
+
constructor(map?: {
|
|
12528
|
+
[key: string]: any;
|
|
12529
|
+
});
|
|
12530
|
+
}
|
|
12531
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts extends $tea.Model {
|
|
12532
|
+
browserHosts?: string[];
|
|
12533
|
+
static names(): {
|
|
12534
|
+
[key: string]: string;
|
|
12535
|
+
};
|
|
12536
|
+
static types(): {
|
|
12537
|
+
[key: string]: any;
|
|
12538
|
+
};
|
|
12539
|
+
constructor(map?: {
|
|
12540
|
+
[key: string]: any;
|
|
12541
|
+
});
|
|
12542
|
+
}
|
|
12543
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo extends $tea.Model {
|
|
12544
|
+
browser?: string;
|
|
12545
|
+
device?: string;
|
|
12546
|
+
static names(): {
|
|
12547
|
+
[key: string]: string;
|
|
12548
|
+
};
|
|
12549
|
+
static types(): {
|
|
12550
|
+
[key: string]: any;
|
|
12551
|
+
};
|
|
12552
|
+
constructor(map?: {
|
|
12553
|
+
[key: string]: any;
|
|
12554
|
+
});
|
|
12555
|
+
}
|
|
12556
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo extends $tea.Model {
|
|
12557
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfoBrowserInfo[];
|
|
12558
|
+
static names(): {
|
|
12559
|
+
[key: string]: string;
|
|
12560
|
+
};
|
|
12561
|
+
static types(): {
|
|
12562
|
+
[key: string]: any;
|
|
12563
|
+
};
|
|
12564
|
+
constructor(map?: {
|
|
12565
|
+
[key: string]: any;
|
|
12566
|
+
});
|
|
12567
|
+
}
|
|
12568
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString extends $tea.Model {
|
|
12569
|
+
expectExistString?: string[];
|
|
12570
|
+
static names(): {
|
|
12571
|
+
[key: string]: string;
|
|
12572
|
+
};
|
|
12573
|
+
static types(): {
|
|
12574
|
+
[key: string]: any;
|
|
12575
|
+
};
|
|
12576
|
+
constructor(map?: {
|
|
12577
|
+
[key: string]: any;
|
|
12578
|
+
});
|
|
12579
|
+
}
|
|
12580
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString extends $tea.Model {
|
|
12581
|
+
expectNonExistString?: string[];
|
|
12582
|
+
static names(): {
|
|
12583
|
+
[key: string]: string;
|
|
12584
|
+
};
|
|
12585
|
+
static types(): {
|
|
12586
|
+
[key: string]: any;
|
|
12587
|
+
};
|
|
12588
|
+
constructor(map?: {
|
|
12589
|
+
[key: string]: any;
|
|
12590
|
+
});
|
|
12591
|
+
}
|
|
12592
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist extends $tea.Model {
|
|
12593
|
+
trafficHijackElementBlacklist?: string[];
|
|
12594
|
+
static names(): {
|
|
12595
|
+
[key: string]: string;
|
|
12596
|
+
};
|
|
12597
|
+
static types(): {
|
|
12598
|
+
[key: string]: any;
|
|
12599
|
+
};
|
|
12600
|
+
constructor(map?: {
|
|
12601
|
+
[key: string]: any;
|
|
12602
|
+
});
|
|
12603
|
+
}
|
|
12604
|
+
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist extends $tea.Model {
|
|
12605
|
+
trafficHijackElementWhitelist?: string[];
|
|
12606
|
+
static names(): {
|
|
12607
|
+
[key: string]: string;
|
|
12608
|
+
};
|
|
12609
|
+
static types(): {
|
|
12610
|
+
[key: string]: any;
|
|
12611
|
+
};
|
|
12612
|
+
constructor(map?: {
|
|
12613
|
+
[key: string]: any;
|
|
12614
|
+
});
|
|
12615
|
+
}
|
|
12501
12616
|
export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
12502
12617
|
assertions?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
|
|
12503
12618
|
attempts?: number;
|
|
12504
12619
|
authentication?: number;
|
|
12620
|
+
blockedUrlList?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
|
|
12621
|
+
browserHeaders?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
|
|
12622
|
+
browserHosts?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
|
|
12623
|
+
browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
|
|
12624
|
+
browserInsecure?: boolean;
|
|
12625
|
+
browserTaskVersion?: string;
|
|
12505
12626
|
cookie?: string;
|
|
12506
12627
|
diagnosisMtr?: boolean;
|
|
12507
12628
|
diagnosisPing?: boolean;
|
|
@@ -12509,6 +12630,8 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
12509
12630
|
dnsMatchRule?: string;
|
|
12510
12631
|
dnsServer?: string;
|
|
12511
12632
|
dnsType?: string;
|
|
12633
|
+
expectExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
|
|
12634
|
+
expectNonExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
|
|
12512
12635
|
expectValue?: string;
|
|
12513
12636
|
failureRate?: number;
|
|
12514
12637
|
header?: string;
|
|
@@ -12518,6 +12641,8 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
12518
12641
|
minTlsVersion?: string;
|
|
12519
12642
|
password?: string;
|
|
12520
12643
|
pingNum?: number;
|
|
12644
|
+
pingPort?: number;
|
|
12645
|
+
pingType?: string;
|
|
12521
12646
|
port?: number;
|
|
12522
12647
|
protocol?: string;
|
|
12523
12648
|
requestContent?: string;
|
|
@@ -12525,7 +12650,11 @@ export declare class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJ
|
|
|
12525
12650
|
responseContent?: string;
|
|
12526
12651
|
responseFormat?: string;
|
|
12527
12652
|
retryDelay?: number;
|
|
12653
|
+
strictMode?: boolean;
|
|
12528
12654
|
timeOut?: number;
|
|
12655
|
+
trafficHijackElementBlacklist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
|
|
12656
|
+
trafficHijackElementCount?: number;
|
|
12657
|
+
trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
|
|
12529
12658
|
username?: string;
|
|
12530
12659
|
static names(): {
|
|
12531
12660
|
[key: string]: string;
|
|
@@ -14313,7 +14442,7 @@ export default class Client extends OpenApi {
|
|
|
14313
14442
|
*/
|
|
14314
14443
|
createHybridMonitorTask(request: CreateHybridMonitorTaskRequest): Promise<CreateHybridMonitorTaskResponse>;
|
|
14315
14444
|
/**
|
|
14316
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
14445
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
14317
14446
|
* 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`.
|
|
14318
14447
|
*
|
|
14319
14448
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -14322,7 +14451,7 @@ export default class Client extends OpenApi {
|
|
|
14322
14451
|
*/
|
|
14323
14452
|
createInstantSiteMonitorWithOptions(request: CreateInstantSiteMonitorRequest, runtime: $Util.RuntimeOptions): Promise<CreateInstantSiteMonitorResponse>;
|
|
14324
14453
|
/**
|
|
14325
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
14454
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
14326
14455
|
* 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`.
|
|
14327
14456
|
*
|
|
14328
14457
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -15139,7 +15268,7 @@ export default class Client extends OpenApi {
|
|
|
15139
15268
|
*/
|
|
15140
15269
|
describeSiteMonitorList(request: DescribeSiteMonitorListRequest): Promise<DescribeSiteMonitorListResponse>;
|
|
15141
15270
|
/**
|
|
15142
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
15271
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
15143
15272
|
* 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****`.
|
|
15144
15273
|
*
|
|
15145
15274
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -15148,7 +15277,7 @@ export default class Client extends OpenApi {
|
|
|
15148
15277
|
*/
|
|
15149
15278
|
describeSiteMonitorLogWithOptions(request: DescribeSiteMonitorLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorLogResponse>;
|
|
15150
15279
|
/**
|
|
15151
|
-
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
15280
|
+
* You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
|
|
15152
15281
|
* 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****`.
|
|
15153
15282
|
*
|
|
15154
15283
|
* @param request DescribeSiteMonitorLogRequest
|
package/dist/client.js
CHANGED
|
@@ -8045,7 +8045,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8045
8045
|
}
|
|
8046
8046
|
static names() {
|
|
8047
8047
|
return {
|
|
8048
|
+
browser: 'Browser',
|
|
8049
|
+
browserInfo: 'BrowserInfo',
|
|
8048
8050
|
city: 'City',
|
|
8051
|
+
device: 'Device',
|
|
8049
8052
|
endTime: 'EndTime',
|
|
8050
8053
|
filter: 'Filter',
|
|
8051
8054
|
isp: 'Isp',
|
|
@@ -8059,7 +8062,10 @@ class DescribeSiteMonitorLogRequest extends $tea.Model {
|
|
|
8059
8062
|
}
|
|
8060
8063
|
static types() {
|
|
8061
8064
|
return {
|
|
8065
|
+
browser: 'string',
|
|
8066
|
+
browserInfo: 'string',
|
|
8062
8067
|
city: 'string',
|
|
8068
|
+
device: 'string',
|
|
8063
8069
|
endTime: 'string',
|
|
8064
8070
|
filter: 'string',
|
|
8065
8071
|
isp: 'string',
|
|
@@ -12015,6 +12021,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12015
12021
|
}
|
|
12016
12022
|
static names() {
|
|
12017
12023
|
return {
|
|
12024
|
+
pushingDataFormat: 'PushingDataFormat',
|
|
12018
12025
|
range: 'Range',
|
|
12019
12026
|
targetUuids: 'TargetUuids',
|
|
12020
12027
|
templateUuid: 'TemplateUuid',
|
|
@@ -12022,6 +12029,7 @@ class NotificationStrategyPushingSetting extends $tea.Model {
|
|
|
12022
12029
|
}
|
|
12023
12030
|
static types() {
|
|
12024
12031
|
return {
|
|
12032
|
+
pushingDataFormat: 'string',
|
|
12025
12033
|
range: 'string',
|
|
12026
12034
|
targetUuids: { 'type': 'array', 'itemType': 'string' },
|
|
12027
12035
|
templateUuid: 'string',
|
|
@@ -17967,6 +17975,152 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions e
|
|
|
17967
17975
|
}
|
|
17968
17976
|
}
|
|
17969
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;
|
|
17970
18124
|
class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
|
|
17971
18125
|
constructor(map) {
|
|
17972
18126
|
super(map);
|
|
@@ -17976,6 +18130,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17976
18130
|
assertions: 'assertions',
|
|
17977
18131
|
attempts: 'attempts',
|
|
17978
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',
|
|
17979
18139
|
cookie: 'cookie',
|
|
17980
18140
|
diagnosisMtr: 'diagnosis_mtr',
|
|
17981
18141
|
diagnosisPing: 'diagnosis_ping',
|
|
@@ -17983,6 +18143,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17983
18143
|
dnsMatchRule: 'dns_match_rule',
|
|
17984
18144
|
dnsServer: 'dns_server',
|
|
17985
18145
|
dnsType: 'dns_type',
|
|
18146
|
+
expectExistString: 'expect_exist_string',
|
|
18147
|
+
expectNonExistString: 'expect_non_exist_string',
|
|
17986
18148
|
expectValue: 'expect_value',
|
|
17987
18149
|
failureRate: 'failure_rate',
|
|
17988
18150
|
header: 'header',
|
|
@@ -17992,6 +18154,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17992
18154
|
minTlsVersion: 'min_tls_version',
|
|
17993
18155
|
password: 'password',
|
|
17994
18156
|
pingNum: 'ping_num',
|
|
18157
|
+
pingPort: 'ping_port',
|
|
18158
|
+
pingType: 'ping_type',
|
|
17995
18159
|
port: 'port',
|
|
17996
18160
|
protocol: 'protocol',
|
|
17997
18161
|
requestContent: 'request_content',
|
|
@@ -17999,7 +18163,11 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
17999
18163
|
responseContent: 'response_content',
|
|
18000
18164
|
responseFormat: 'response_format',
|
|
18001
18165
|
retryDelay: 'retry_delay',
|
|
18166
|
+
strictMode: 'strict_mode',
|
|
18002
18167
|
timeOut: 'time_out',
|
|
18168
|
+
trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
|
|
18169
|
+
trafficHijackElementCount: 'traffic_hijack_element_count',
|
|
18170
|
+
trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
|
|
18003
18171
|
username: 'username',
|
|
18004
18172
|
};
|
|
18005
18173
|
}
|
|
@@ -18008,6 +18176,12 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18008
18176
|
assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
|
|
18009
18177
|
attempts: 'number',
|
|
18010
18178
|
authentication: 'number',
|
|
18179
|
+
blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
|
|
18180
|
+
browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
|
|
18181
|
+
browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
|
|
18182
|
+
browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
|
|
18183
|
+
browserInsecure: 'boolean',
|
|
18184
|
+
browserTaskVersion: 'string',
|
|
18011
18185
|
cookie: 'string',
|
|
18012
18186
|
diagnosisMtr: 'boolean',
|
|
18013
18187
|
diagnosisPing: 'boolean',
|
|
@@ -18015,6 +18189,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18015
18189
|
dnsMatchRule: 'string',
|
|
18016
18190
|
dnsServer: 'string',
|
|
18017
18191
|
dnsType: 'string',
|
|
18192
|
+
expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
|
|
18193
|
+
expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
|
|
18018
18194
|
expectValue: 'string',
|
|
18019
18195
|
failureRate: 'number',
|
|
18020
18196
|
header: 'string',
|
|
@@ -18024,6 +18200,8 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18024
18200
|
minTlsVersion: 'string',
|
|
18025
18201
|
password: 'string',
|
|
18026
18202
|
pingNum: 'number',
|
|
18203
|
+
pingPort: 'number',
|
|
18204
|
+
pingType: 'string',
|
|
18027
18205
|
port: 'number',
|
|
18028
18206
|
protocol: 'string',
|
|
18029
18207
|
requestContent: 'string',
|
|
@@ -18031,7 +18209,11 @@ class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $te
|
|
|
18031
18209
|
responseContent: 'string',
|
|
18032
18210
|
responseFormat: 'string',
|
|
18033
18211
|
retryDelay: 'number',
|
|
18212
|
+
strictMode: 'boolean',
|
|
18034
18213
|
timeOut: 'number',
|
|
18214
|
+
trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
|
|
18215
|
+
trafficHijackElementCount: 'number',
|
|
18216
|
+
trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
|
|
18035
18217
|
username: 'string',
|
|
18036
18218
|
};
|
|
18037
18219
|
}
|
|
@@ -21156,7 +21338,7 @@ class Client extends openapi_client_1.default {
|
|
|
21156
21338
|
return await this.createHybridMonitorTaskWithOptions(request, runtime);
|
|
21157
21339
|
}
|
|
21158
21340
|
/**
|
|
21159
|
-
* 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.
|
|
21160
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`.
|
|
21161
21343
|
*
|
|
21162
21344
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -21201,7 +21383,7 @@ class Client extends openapi_client_1.default {
|
|
|
21201
21383
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateInstantSiteMonitorResponse({}));
|
|
21202
21384
|
}
|
|
21203
21385
|
/**
|
|
21204
|
-
* 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.
|
|
21205
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`.
|
|
21206
21388
|
*
|
|
21207
21389
|
* @param request CreateInstantSiteMonitorRequest
|
|
@@ -25148,7 +25330,7 @@ class Client extends openapi_client_1.default {
|
|
|
25148
25330
|
return await this.describeSiteMonitorListWithOptions(request, runtime);
|
|
25149
25331
|
}
|
|
25150
25332
|
/**
|
|
25151
|
-
* 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.
|
|
25152
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****`.
|
|
25153
25335
|
*
|
|
25154
25336
|
* @param request DescribeSiteMonitorLogRequest
|
|
@@ -25158,9 +25340,18 @@ class Client extends openapi_client_1.default {
|
|
|
25158
25340
|
async describeSiteMonitorLogWithOptions(request, runtime) {
|
|
25159
25341
|
tea_util_1.default.validateModel(request);
|
|
25160
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
|
+
}
|
|
25161
25349
|
if (!tea_util_1.default.isUnset(request.city)) {
|
|
25162
25350
|
query["City"] = request.city;
|
|
25163
25351
|
}
|
|
25352
|
+
if (!tea_util_1.default.isUnset(request.device)) {
|
|
25353
|
+
query["Device"] = request.device;
|
|
25354
|
+
}
|
|
25164
25355
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
25165
25356
|
query["EndTime"] = request.endTime;
|
|
25166
25357
|
}
|
|
@@ -25202,7 +25393,7 @@ class Client extends openapi_client_1.default {
|
|
|
25202
25393
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSiteMonitorLogResponse({}));
|
|
25203
25394
|
}
|
|
25204
25395
|
/**
|
|
25205
|
-
* 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.
|
|
25206
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****`.
|
|
25207
25398
|
*
|
|
25208
25399
|
* @param request DescribeSiteMonitorLogRequest
|