@alicloud/cms20190101 2.0.9 → 2.0.10
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 +10 -2
- package/dist/client.js +24 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +34 -2
package/dist/client.d.ts
CHANGED
|
@@ -853,6 +853,8 @@ export declare class CreateHostAvailabilityResponse extends $tea.Model {
|
|
|
853
853
|
export declare class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
854
854
|
description?: string;
|
|
855
855
|
namespace?: string;
|
|
856
|
+
namespaceRegion?: string;
|
|
857
|
+
namespaceType?: string;
|
|
856
858
|
regionId?: string;
|
|
857
859
|
spec?: string;
|
|
858
860
|
static names(): {
|
|
@@ -8321,6 +8323,7 @@ export declare class EscalationRuleEscalationsContactGroupsByLevel extends $tea.
|
|
|
8321
8323
|
});
|
|
8322
8324
|
}
|
|
8323
8325
|
export declare class EscalationRuleEscalations extends $tea.Model {
|
|
8326
|
+
backupContactGroups?: string[];
|
|
8324
8327
|
contactGroups?: string[];
|
|
8325
8328
|
contactGroupsByLevel?: EscalationRuleEscalationsContactGroupsByLevel;
|
|
8326
8329
|
escalateMin?: number;
|
|
@@ -11202,6 +11205,8 @@ export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybri
|
|
|
11202
11205
|
});
|
|
11203
11206
|
}
|
|
11204
11207
|
export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespaceDetail extends $tea.Model {
|
|
11208
|
+
namespaceRegion?: string;
|
|
11209
|
+
SLSProject?: string;
|
|
11205
11210
|
spec?: string;
|
|
11206
11211
|
static names(): {
|
|
11207
11212
|
[key: string]: string;
|
|
@@ -11222,6 +11227,7 @@ export declare class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybri
|
|
|
11222
11227
|
isDelete?: number;
|
|
11223
11228
|
modifyTime?: string;
|
|
11224
11229
|
namespace?: string;
|
|
11230
|
+
namespaceType?: string;
|
|
11225
11231
|
notAliyunTaskNumber?: number;
|
|
11226
11232
|
static names(): {
|
|
11227
11233
|
[key: string]: string;
|
|
@@ -12661,7 +12667,9 @@ export declare class DescribeProductResourceTagKeyListResponseBodyTagKeys extend
|
|
|
12661
12667
|
});
|
|
12662
12668
|
}
|
|
12663
12669
|
export declare class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricRuleListAllProductInitMetricRuleAlertInitConfigListAlertInitConfig extends $tea.Model {
|
|
12670
|
+
comparisonOperator?: string;
|
|
12664
12671
|
evaluationCount?: string;
|
|
12672
|
+
level?: string;
|
|
12665
12673
|
metricName?: string;
|
|
12666
12674
|
namespace?: string;
|
|
12667
12675
|
period?: string;
|
|
@@ -15432,7 +15440,7 @@ export default class Client extends OpenApi {
|
|
|
15432
15440
|
*/
|
|
15433
15441
|
describeMetricRuleTargets(request: DescribeMetricRuleTargetsRequest): Promise<DescribeMetricRuleTargetsResponse>;
|
|
15434
15442
|
/**
|
|
15435
|
-
* This topic provides an example
|
|
15443
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
15436
15444
|
*
|
|
15437
15445
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15438
15446
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15440,7 +15448,7 @@ export default class Client extends OpenApi {
|
|
|
15440
15448
|
*/
|
|
15441
15449
|
describeMetricRuleTemplateAttributeWithOptions(request: DescribeMetricRuleTemplateAttributeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeMetricRuleTemplateAttributeResponse>;
|
|
15442
15450
|
/**
|
|
15443
|
-
* This topic provides an example
|
|
15451
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
15444
15452
|
*
|
|
15445
15453
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
15446
15454
|
* @return DescribeMetricRuleTemplateAttributeResponse
|
package/dist/client.js
CHANGED
|
@@ -1259,6 +1259,8 @@ class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
|
1259
1259
|
return {
|
|
1260
1260
|
description: 'Description',
|
|
1261
1261
|
namespace: 'Namespace',
|
|
1262
|
+
namespaceRegion: 'NamespaceRegion',
|
|
1263
|
+
namespaceType: 'NamespaceType',
|
|
1262
1264
|
regionId: 'RegionId',
|
|
1263
1265
|
spec: 'Spec',
|
|
1264
1266
|
};
|
|
@@ -1267,6 +1269,8 @@ class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
|
1267
1269
|
return {
|
|
1268
1270
|
description: 'string',
|
|
1269
1271
|
namespace: 'string',
|
|
1272
|
+
namespaceRegion: 'string',
|
|
1273
|
+
namespaceType: 'string',
|
|
1270
1274
|
regionId: 'string',
|
|
1271
1275
|
spec: 'string',
|
|
1272
1276
|
};
|
|
@@ -11889,6 +11893,7 @@ class EscalationRuleEscalations extends $tea.Model {
|
|
|
11889
11893
|
}
|
|
11890
11894
|
static names() {
|
|
11891
11895
|
return {
|
|
11896
|
+
backupContactGroups: 'BackupContactGroups',
|
|
11892
11897
|
contactGroups: 'ContactGroups',
|
|
11893
11898
|
contactGroupsByLevel: 'ContactGroupsByLevel',
|
|
11894
11899
|
escalateMin: 'EscalateMin',
|
|
@@ -11896,6 +11901,7 @@ class EscalationRuleEscalations extends $tea.Model {
|
|
|
11896
11901
|
}
|
|
11897
11902
|
static types() {
|
|
11898
11903
|
return {
|
|
11904
|
+
backupContactGroups: { 'type': 'array', 'itemType': 'string' },
|
|
11899
11905
|
contactGroups: { 'type': 'array', 'itemType': 'string' },
|
|
11900
11906
|
contactGroupsByLevel: EscalationRuleEscalationsContactGroupsByLevel,
|
|
11901
11907
|
escalateMin: 'number',
|
|
@@ -16067,11 +16073,15 @@ class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespa
|
|
|
16067
16073
|
}
|
|
16068
16074
|
static names() {
|
|
16069
16075
|
return {
|
|
16076
|
+
namespaceRegion: 'NamespaceRegion',
|
|
16077
|
+
SLSProject: 'SLSProject',
|
|
16070
16078
|
spec: 'Spec',
|
|
16071
16079
|
};
|
|
16072
16080
|
}
|
|
16073
16081
|
static types() {
|
|
16074
16082
|
return {
|
|
16083
|
+
namespaceRegion: 'string',
|
|
16084
|
+
SLSProject: 'string',
|
|
16075
16085
|
spec: 'string',
|
|
16076
16086
|
};
|
|
16077
16087
|
}
|
|
@@ -16091,6 +16101,7 @@ class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespa
|
|
|
16091
16101
|
isDelete: 'IsDelete',
|
|
16092
16102
|
modifyTime: 'ModifyTime',
|
|
16093
16103
|
namespace: 'Namespace',
|
|
16104
|
+
namespaceType: 'NamespaceType',
|
|
16094
16105
|
notAliyunTaskNumber: 'NotAliyunTaskNumber',
|
|
16095
16106
|
};
|
|
16096
16107
|
}
|
|
@@ -16104,6 +16115,7 @@ class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespa
|
|
|
16104
16115
|
isDelete: 'number',
|
|
16105
16116
|
modifyTime: 'string',
|
|
16106
16117
|
namespace: 'string',
|
|
16118
|
+
namespaceType: 'string',
|
|
16107
16119
|
notAliyunTaskNumber: 'number',
|
|
16108
16120
|
};
|
|
16109
16121
|
}
|
|
@@ -18209,7 +18221,9 @@ class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricRuleList
|
|
|
18209
18221
|
}
|
|
18210
18222
|
static names() {
|
|
18211
18223
|
return {
|
|
18224
|
+
comparisonOperator: 'ComparisonOperator',
|
|
18212
18225
|
evaluationCount: 'EvaluationCount',
|
|
18226
|
+
level: 'Level',
|
|
18213
18227
|
metricName: 'MetricName',
|
|
18214
18228
|
namespace: 'Namespace',
|
|
18215
18229
|
period: 'Period',
|
|
@@ -18219,7 +18233,9 @@ class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricRuleList
|
|
|
18219
18233
|
}
|
|
18220
18234
|
static types() {
|
|
18221
18235
|
return {
|
|
18236
|
+
comparisonOperator: 'string',
|
|
18222
18237
|
evaluationCount: 'string',
|
|
18238
|
+
level: 'string',
|
|
18223
18239
|
metricName: 'string',
|
|
18224
18240
|
namespace: 'string',
|
|
18225
18241
|
period: 'string',
|
|
@@ -21715,6 +21731,12 @@ class Client extends openapi_client_1.default {
|
|
|
21715
21731
|
if (!tea_util_1.default.isUnset(request.namespace)) {
|
|
21716
21732
|
query["Namespace"] = request.namespace;
|
|
21717
21733
|
}
|
|
21734
|
+
if (!tea_util_1.default.isUnset(request.namespaceRegion)) {
|
|
21735
|
+
query["NamespaceRegion"] = request.namespaceRegion;
|
|
21736
|
+
}
|
|
21737
|
+
if (!tea_util_1.default.isUnset(request.namespaceType)) {
|
|
21738
|
+
query["NamespaceType"] = request.namespaceType;
|
|
21739
|
+
}
|
|
21718
21740
|
if (!tea_util_1.default.isUnset(request.spec)) {
|
|
21719
21741
|
query["Spec"] = request.spec;
|
|
21720
21742
|
}
|
|
@@ -24909,7 +24931,7 @@ class Client extends openapi_client_1.default {
|
|
|
24909
24931
|
return await this.describeMetricRuleTargetsWithOptions(request, runtime);
|
|
24910
24932
|
}
|
|
24911
24933
|
/**
|
|
24912
|
-
* This topic provides an example
|
|
24934
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
24913
24935
|
*
|
|
24914
24936
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
24915
24937
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24941,7 +24963,7 @@ class Client extends openapi_client_1.default {
|
|
|
24941
24963
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeMetricRuleTemplateAttributeResponse({}));
|
|
24942
24964
|
}
|
|
24943
24965
|
/**
|
|
24944
|
-
* This topic provides an example
|
|
24966
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
24945
24967
|
*
|
|
24946
24968
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
24947
24969
|
* @return DescribeMetricRuleTemplateAttributeResponse
|