@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cms20190101",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -10324,7 +10324,10 @@ export class DescribeSiteMonitorListResponse extends $tea.Model {
10324
10324
  }
10325
10325
 
10326
10326
  export class DescribeSiteMonitorLogRequest extends $tea.Model {
10327
+ browser?: string;
10328
+ browserInfo?: string;
10327
10329
  city?: string;
10330
+ device?: string;
10328
10331
  endTime?: string;
10329
10332
  filter?: string;
10330
10333
  isp?: string;
@@ -10336,7 +10339,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
10336
10339
  taskIds?: string;
10337
10340
  static names(): { [key: string]: string } {
10338
10341
  return {
10342
+ browser: 'Browser',
10343
+ browserInfo: 'BrowserInfo',
10339
10344
  city: 'City',
10345
+ device: 'Device',
10340
10346
  endTime: 'EndTime',
10341
10347
  filter: 'Filter',
10342
10348
  isp: 'Isp',
@@ -10351,7 +10357,10 @@ export class DescribeSiteMonitorLogRequest extends $tea.Model {
10351
10357
 
10352
10358
  static types(): { [key: string]: any } {
10353
10359
  return {
10360
+ browser: 'string',
10361
+ browserInfo: 'string',
10354
10362
  city: 'string',
10363
+ device: 'string',
10355
10364
  endTime: 'string',
10356
10365
  filter: 'string',
10357
10366
  isp: 'string',
@@ -15404,11 +15413,13 @@ export class NotificationStrategyGroupingSetting extends $tea.Model {
15404
15413
  }
15405
15414
 
15406
15415
  export class NotificationStrategyPushingSetting extends $tea.Model {
15416
+ pushingDataFormat?: string;
15407
15417
  range?: string;
15408
15418
  targetUuids?: string[];
15409
15419
  templateUuid?: string;
15410
15420
  static names(): { [key: string]: string } {
15411
15421
  return {
15422
+ pushingDataFormat: 'PushingDataFormat',
15412
15423
  range: 'Range',
15413
15424
  targetUuids: 'TargetUuids',
15414
15425
  templateUuid: 'TemplateUuid',
@@ -15417,6 +15428,7 @@ export class NotificationStrategyPushingSetting extends $tea.Model {
15417
15428
 
15418
15429
  static types(): { [key: string]: any } {
15419
15430
  return {
15431
+ pushingDataFormat: 'string',
15420
15432
  range: 'string',
15421
15433
  targetUuids: { 'type': 'array', 'itemType': 'string' },
15422
15434
  templateUuid: 'string',
@@ -22955,10 +22967,190 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAsser
22955
22967
  }
22956
22968
  }
22957
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
+
22958
23144
  export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson extends $tea.Model {
22959
23145
  assertions?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions;
22960
23146
  attempts?: number;
22961
23147
  authentication?: number;
23148
+ blockedUrlList?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList;
23149
+ browserHeaders?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders;
23150
+ browserHosts?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts;
23151
+ browserInfo?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo;
23152
+ browserInsecure?: boolean;
23153
+ browserTaskVersion?: string;
22962
23154
  cookie?: string;
22963
23155
  diagnosisMtr?: boolean;
22964
23156
  diagnosisPing?: boolean;
@@ -22966,6 +23158,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
22966
23158
  dnsMatchRule?: string;
22967
23159
  dnsServer?: string;
22968
23160
  dnsType?: string;
23161
+ expectExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString;
23162
+ expectNonExistString?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString;
22969
23163
  expectValue?: string;
22970
23164
  failureRate?: number;
22971
23165
  header?: string;
@@ -22975,6 +23169,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
22975
23169
  minTlsVersion?: string;
22976
23170
  password?: string;
22977
23171
  pingNum?: number;
23172
+ pingPort?: number;
23173
+ pingType?: string;
22978
23174
  port?: number;
22979
23175
  protocol?: string;
22980
23176
  requestContent?: string;
@@ -22982,13 +23178,23 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
22982
23178
  responseContent?: string;
22983
23179
  responseFormat?: string;
22984
23180
  retryDelay?: number;
23181
+ strictMode?: boolean;
22985
23182
  timeOut?: number;
23183
+ trafficHijackElementBlacklist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist;
23184
+ trafficHijackElementCount?: number;
23185
+ trafficHijackElementWhitelist?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist;
22986
23186
  username?: string;
22987
23187
  static names(): { [key: string]: string } {
22988
23188
  return {
22989
23189
  assertions: 'assertions',
22990
23190
  attempts: 'attempts',
22991
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',
22992
23198
  cookie: 'cookie',
22993
23199
  diagnosisMtr: 'diagnosis_mtr',
22994
23200
  diagnosisPing: 'diagnosis_ping',
@@ -22996,6 +23202,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
22996
23202
  dnsMatchRule: 'dns_match_rule',
22997
23203
  dnsServer: 'dns_server',
22998
23204
  dnsType: 'dns_type',
23205
+ expectExistString: 'expect_exist_string',
23206
+ expectNonExistString: 'expect_non_exist_string',
22999
23207
  expectValue: 'expect_value',
23000
23208
  failureRate: 'failure_rate',
23001
23209
  header: 'header',
@@ -23005,6 +23213,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23005
23213
  minTlsVersion: 'min_tls_version',
23006
23214
  password: 'password',
23007
23215
  pingNum: 'ping_num',
23216
+ pingPort: 'ping_port',
23217
+ pingType: 'ping_type',
23008
23218
  port: 'port',
23009
23219
  protocol: 'protocol',
23010
23220
  requestContent: 'request_content',
@@ -23012,7 +23222,11 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23012
23222
  responseContent: 'response_content',
23013
23223
  responseFormat: 'response_format',
23014
23224
  retryDelay: 'retry_delay',
23225
+ strictMode: 'strict_mode',
23015
23226
  timeOut: 'time_out',
23227
+ trafficHijackElementBlacklist: 'traffic_hijack_element_blacklist',
23228
+ trafficHijackElementCount: 'traffic_hijack_element_count',
23229
+ trafficHijackElementWhitelist: 'traffic_hijack_element_whitelist',
23016
23230
  username: 'username',
23017
23231
  };
23018
23232
  }
@@ -23022,6 +23236,12 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23022
23236
  assertions: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonAssertions,
23023
23237
  attempts: 'number',
23024
23238
  authentication: 'number',
23239
+ blockedUrlList: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBlockedUrlList,
23240
+ browserHeaders: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHeaders,
23241
+ browserHosts: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserHosts,
23242
+ browserInfo: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonBrowserInfo,
23243
+ browserInsecure: 'boolean',
23244
+ browserTaskVersion: 'string',
23025
23245
  cookie: 'string',
23026
23246
  diagnosisMtr: 'boolean',
23027
23247
  diagnosisPing: 'boolean',
@@ -23029,6 +23249,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23029
23249
  dnsMatchRule: 'string',
23030
23250
  dnsServer: 'string',
23031
23251
  dnsType: 'string',
23252
+ expectExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectExistString,
23253
+ expectNonExistString: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonExpectNonExistString,
23032
23254
  expectValue: 'string',
23033
23255
  failureRate: 'number',
23034
23256
  header: 'string',
@@ -23038,6 +23260,8 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23038
23260
  minTlsVersion: 'string',
23039
23261
  password: 'string',
23040
23262
  pingNum: 'number',
23263
+ pingPort: 'number',
23264
+ pingType: 'string',
23041
23265
  port: 'number',
23042
23266
  protocol: 'string',
23043
23267
  requestContent: 'string',
@@ -23045,7 +23269,11 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
23045
23269
  responseContent: 'string',
23046
23270
  responseFormat: 'string',
23047
23271
  retryDelay: 'number',
23272
+ strictMode: 'boolean',
23048
23273
  timeOut: 'number',
23274
+ trafficHijackElementBlacklist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementBlacklist,
23275
+ trafficHijackElementCount: 'number',
23276
+ trafficHijackElementWhitelist: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJsonTrafficHijackElementWhitelist,
23049
23277
  username: 'string',
23050
23278
  };
23051
23279
  }
@@ -26940,7 +27168,7 @@ export default class Client extends OpenApi {
26940
27168
  }
26941
27169
 
26942
27170
  /**
26943
- * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. For more information, see [Billing of Network Analysis and Monitoring](~~341649~~).
27171
+ * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
26944
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`.
26945
27173
  *
26946
27174
  * @param request CreateInstantSiteMonitorRequest
@@ -26992,7 +27220,7 @@ export default class Client extends OpenApi {
26992
27220
  }
26993
27221
 
26994
27222
  /**
26995
- * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. For more information, see [Billing of Network Analysis and Monitoring](~~341649~~).
27223
+ * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
26996
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`.
26997
27225
  *
26998
27226
  * @param request CreateInstantSiteMonitorRequest
@@ -31515,7 +31743,7 @@ export default class Client extends OpenApi {
31515
31743
  }
31516
31744
 
31517
31745
  /**
31518
- * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. For more information, see [Billing of Network Analysis and Monitoring](~~341649~~).
31746
+ * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
31519
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****`.
31520
31748
  *
31521
31749
  * @param request DescribeSiteMonitorLogRequest
@@ -31525,10 +31753,22 @@ export default class Client extends OpenApi {
31525
31753
  async describeSiteMonitorLogWithOptions(request: DescribeSiteMonitorLogRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSiteMonitorLogResponse> {
31526
31754
  Util.validateModel(request);
31527
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
+
31528
31764
  if (!Util.isUnset(request.city)) {
31529
31765
  query["City"] = request.city;
31530
31766
  }
31531
31767
 
31768
+ if (!Util.isUnset(request.device)) {
31769
+ query["Device"] = request.device;
31770
+ }
31771
+
31532
31772
  if (!Util.isUnset(request.endTime)) {
31533
31773
  query["EndTime"] = request.endTime;
31534
31774
  }
@@ -31579,7 +31819,7 @@ export default class Client extends OpenApi {
31579
31819
  }
31580
31820
 
31581
31821
  /**
31582
- * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring. For more information, see [Billing of Network Analysis and Monitoring](~~341649~~).
31822
+ * You can create an instant test task only by using the Alibaba Cloud account that you used to enable Network Analysis and Monitoring.
31583
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****`.
31584
31824
  *
31585
31825
  * @param request DescribeSiteMonitorLogRequest