@alicloud/cms20190101 2.0.5 → 2.0.6
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 +30 -0
- package/dist/client.js +50 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +64 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cms20190101",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
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',
|
|
@@ -13005,6 +13008,7 @@ export class ModifyMonitorGroupInstancesResponse extends $tea.Model {
|
|
|
13005
13008
|
export class ModifySiteMonitorRequest extends $tea.Model {
|
|
13006
13009
|
address?: string;
|
|
13007
13010
|
alertIds?: string;
|
|
13011
|
+
customSchedule?: string;
|
|
13008
13012
|
interval?: string;
|
|
13009
13013
|
intervalUnit?: string;
|
|
13010
13014
|
ispCities?: string;
|
|
@@ -13016,6 +13020,7 @@ export class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
13016
13020
|
return {
|
|
13017
13021
|
address: 'Address',
|
|
13018
13022
|
alertIds: 'AlertIds',
|
|
13023
|
+
customSchedule: 'CustomSchedule',
|
|
13019
13024
|
interval: 'Interval',
|
|
13020
13025
|
intervalUnit: 'IntervalUnit',
|
|
13021
13026
|
ispCities: 'IspCities',
|
|
@@ -13030,6 +13035,7 @@ export class ModifySiteMonitorRequest extends $tea.Model {
|
|
|
13030
13035
|
return {
|
|
13031
13036
|
address: 'string',
|
|
13032
13037
|
alertIds: 'string',
|
|
13038
|
+
customSchedule: 'string',
|
|
13033
13039
|
interval: 'string',
|
|
13034
13040
|
intervalUnit: 'string',
|
|
13035
13041
|
ispCities: 'string',
|
|
@@ -22808,6 +22814,53 @@ export class DescribeSiteMonitorAttributeResponseBodyMetricRules extends $tea.Mo
|
|
|
22808
22814
|
}
|
|
22809
22815
|
}
|
|
22810
22816
|
|
|
22817
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays extends $tea.Model {
|
|
22818
|
+
days?: number[];
|
|
22819
|
+
static names(): { [key: string]: string } {
|
|
22820
|
+
return {
|
|
22821
|
+
days: 'days',
|
|
22822
|
+
};
|
|
22823
|
+
}
|
|
22824
|
+
|
|
22825
|
+
static types(): { [key: string]: any } {
|
|
22826
|
+
return {
|
|
22827
|
+
days: { 'type': 'array', 'itemType': 'number' },
|
|
22828
|
+
};
|
|
22829
|
+
}
|
|
22830
|
+
|
|
22831
|
+
constructor(map?: { [key: string]: any }) {
|
|
22832
|
+
super(map);
|
|
22833
|
+
}
|
|
22834
|
+
}
|
|
22835
|
+
|
|
22836
|
+
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule extends $tea.Model {
|
|
22837
|
+
days?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays;
|
|
22838
|
+
endHour?: number;
|
|
22839
|
+
startHour?: number;
|
|
22840
|
+
timeZone?: string;
|
|
22841
|
+
static names(): { [key: string]: string } {
|
|
22842
|
+
return {
|
|
22843
|
+
days: 'days',
|
|
22844
|
+
endHour: 'end_hour',
|
|
22845
|
+
startHour: 'start_hour',
|
|
22846
|
+
timeZone: 'time_zone',
|
|
22847
|
+
};
|
|
22848
|
+
}
|
|
22849
|
+
|
|
22850
|
+
static types(): { [key: string]: any } {
|
|
22851
|
+
return {
|
|
22852
|
+
days: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomScheduleDays,
|
|
22853
|
+
endHour: 'number',
|
|
22854
|
+
startHour: 'number',
|
|
22855
|
+
timeZone: 'string',
|
|
22856
|
+
};
|
|
22857
|
+
}
|
|
22858
|
+
|
|
22859
|
+
constructor(map?: { [key: string]: any }) {
|
|
22860
|
+
super(map);
|
|
22861
|
+
}
|
|
22862
|
+
}
|
|
22863
|
+
|
|
22811
22864
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCitiesIspCity extends $tea.Model {
|
|
22812
22865
|
city?: string;
|
|
22813
22866
|
cityName?: string;
|
|
@@ -23005,6 +23058,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson exte
|
|
|
23005
23058
|
export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.Model {
|
|
23006
23059
|
address?: string;
|
|
23007
23060
|
agentGroup?: string;
|
|
23061
|
+
customSchedule?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule;
|
|
23008
23062
|
interval?: string;
|
|
23009
23063
|
ispCities?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities;
|
|
23010
23064
|
optionJson?: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson;
|
|
@@ -23016,6 +23070,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.M
|
|
|
23016
23070
|
return {
|
|
23017
23071
|
address: 'Address',
|
|
23018
23072
|
agentGroup: 'AgentGroup',
|
|
23073
|
+
customSchedule: 'CustomSchedule',
|
|
23019
23074
|
interval: 'Interval',
|
|
23020
23075
|
ispCities: 'IspCities',
|
|
23021
23076
|
optionJson: 'OptionJson',
|
|
@@ -23030,6 +23085,7 @@ export class DescribeSiteMonitorAttributeResponseBodySiteMonitors extends $tea.M
|
|
|
23030
23085
|
return {
|
|
23031
23086
|
address: 'string',
|
|
23032
23087
|
agentGroup: 'string',
|
|
23088
|
+
customSchedule: DescribeSiteMonitorAttributeResponseBodySiteMonitorsCustomSchedule,
|
|
23033
23089
|
interval: 'string',
|
|
23034
23090
|
ispCities: DescribeSiteMonitorAttributeResponseBodySiteMonitorsIspCities,
|
|
23035
23091
|
optionJson: DescribeSiteMonitorAttributeResponseBodySiteMonitorsOptionJson,
|
|
@@ -27407,6 +27463,10 @@ export default class Client extends OpenApi {
|
|
|
27407
27463
|
query["AlertIds"] = request.alertIds;
|
|
27408
27464
|
}
|
|
27409
27465
|
|
|
27466
|
+
if (!Util.isUnset(request.customSchedule)) {
|
|
27467
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
27468
|
+
}
|
|
27469
|
+
|
|
27410
27470
|
if (!Util.isUnset(request.interval)) {
|
|
27411
27471
|
query["Interval"] = request.interval;
|
|
27412
27472
|
}
|
|
@@ -32860,6 +32920,10 @@ export default class Client extends OpenApi {
|
|
|
32860
32920
|
query["AlertIds"] = request.alertIds;
|
|
32861
32921
|
}
|
|
32862
32922
|
|
|
32923
|
+
if (!Util.isUnset(request.customSchedule)) {
|
|
32924
|
+
query["CustomSchedule"] = request.customSchedule;
|
|
32925
|
+
}
|
|
32926
|
+
|
|
32863
32927
|
if (!Util.isUnset(request.interval)) {
|
|
32864
32928
|
query["Interval"] = request.interval;
|
|
32865
32929
|
}
|