@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1614,12 +1614,16 @@ export class CreateHostAvailabilityResponse extends $tea.Model {
|
|
|
1614
1614
|
export class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
1615
1615
|
description?: string;
|
|
1616
1616
|
namespace?: string;
|
|
1617
|
+
namespaceRegion?: string;
|
|
1618
|
+
namespaceType?: string;
|
|
1617
1619
|
regionId?: string;
|
|
1618
1620
|
spec?: string;
|
|
1619
1621
|
static names(): { [key: string]: string } {
|
|
1620
1622
|
return {
|
|
1621
1623
|
description: 'Description',
|
|
1622
1624
|
namespace: 'Namespace',
|
|
1625
|
+
namespaceRegion: 'NamespaceRegion',
|
|
1626
|
+
namespaceType: 'NamespaceType',
|
|
1623
1627
|
regionId: 'RegionId',
|
|
1624
1628
|
spec: 'Spec',
|
|
1625
1629
|
};
|
|
@@ -1629,6 +1633,8 @@ export class CreateHybridMonitorNamespaceRequest extends $tea.Model {
|
|
|
1629
1633
|
return {
|
|
1630
1634
|
description: 'string',
|
|
1631
1635
|
namespace: 'string',
|
|
1636
|
+
namespaceRegion: 'string',
|
|
1637
|
+
namespaceType: 'string',
|
|
1632
1638
|
regionId: 'string',
|
|
1633
1639
|
spec: 'string',
|
|
1634
1640
|
};
|
|
@@ -15250,11 +15256,13 @@ export class EscalationRuleEscalationsContactGroupsByLevel extends $tea.Model {
|
|
|
15250
15256
|
}
|
|
15251
15257
|
|
|
15252
15258
|
export class EscalationRuleEscalations extends $tea.Model {
|
|
15259
|
+
backupContactGroups?: string[];
|
|
15253
15260
|
contactGroups?: string[];
|
|
15254
15261
|
contactGroupsByLevel?: EscalationRuleEscalationsContactGroupsByLevel;
|
|
15255
15262
|
escalateMin?: number;
|
|
15256
15263
|
static names(): { [key: string]: string } {
|
|
15257
15264
|
return {
|
|
15265
|
+
backupContactGroups: 'BackupContactGroups',
|
|
15258
15266
|
contactGroups: 'ContactGroups',
|
|
15259
15267
|
contactGroupsByLevel: 'ContactGroupsByLevel',
|
|
15260
15268
|
escalateMin: 'EscalateMin',
|
|
@@ -15263,6 +15271,7 @@ export class EscalationRuleEscalations extends $tea.Model {
|
|
|
15263
15271
|
|
|
15264
15272
|
static types(): { [key: string]: any } {
|
|
15265
15273
|
return {
|
|
15274
|
+
backupContactGroups: { 'type': 'array', 'itemType': 'string' },
|
|
15266
15275
|
contactGroups: { 'type': 'array', 'itemType': 'string' },
|
|
15267
15276
|
contactGroupsByLevel: EscalationRuleEscalationsContactGroupsByLevel,
|
|
15268
15277
|
escalateMin: 'number',
|
|
@@ -20527,15 +20536,21 @@ export class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitor
|
|
|
20527
20536
|
}
|
|
20528
20537
|
|
|
20529
20538
|
export class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitorNamespaceDetail extends $tea.Model {
|
|
20539
|
+
namespaceRegion?: string;
|
|
20540
|
+
SLSProject?: string;
|
|
20530
20541
|
spec?: string;
|
|
20531
20542
|
static names(): { [key: string]: string } {
|
|
20532
20543
|
return {
|
|
20544
|
+
namespaceRegion: 'NamespaceRegion',
|
|
20545
|
+
SLSProject: 'SLSProject',
|
|
20533
20546
|
spec: 'Spec',
|
|
20534
20547
|
};
|
|
20535
20548
|
}
|
|
20536
20549
|
|
|
20537
20550
|
static types(): { [key: string]: any } {
|
|
20538
20551
|
return {
|
|
20552
|
+
namespaceRegion: 'string',
|
|
20553
|
+
SLSProject: 'string',
|
|
20539
20554
|
spec: 'string',
|
|
20540
20555
|
};
|
|
20541
20556
|
}
|
|
@@ -20554,6 +20569,7 @@ export class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitor
|
|
|
20554
20569
|
isDelete?: number;
|
|
20555
20570
|
modifyTime?: string;
|
|
20556
20571
|
namespace?: string;
|
|
20572
|
+
namespaceType?: string;
|
|
20557
20573
|
notAliyunTaskNumber?: number;
|
|
20558
20574
|
static names(): { [key: string]: string } {
|
|
20559
20575
|
return {
|
|
@@ -20565,6 +20581,7 @@ export class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitor
|
|
|
20565
20581
|
isDelete: 'IsDelete',
|
|
20566
20582
|
modifyTime: 'ModifyTime',
|
|
20567
20583
|
namespace: 'Namespace',
|
|
20584
|
+
namespaceType: 'NamespaceType',
|
|
20568
20585
|
notAliyunTaskNumber: 'NotAliyunTaskNumber',
|
|
20569
20586
|
};
|
|
20570
20587
|
}
|
|
@@ -20579,6 +20596,7 @@ export class DescribeHybridMonitorNamespaceListResponseBodyDescribeHybridMonitor
|
|
|
20579
20596
|
isDelete: 'number',
|
|
20580
20597
|
modifyTime: 'string',
|
|
20581
20598
|
namespace: 'string',
|
|
20599
|
+
namespaceType: 'string',
|
|
20582
20600
|
notAliyunTaskNumber: 'number',
|
|
20583
20601
|
};
|
|
20584
20602
|
}
|
|
@@ -23255,7 +23273,9 @@ export class DescribeProductResourceTagKeyListResponseBodyTagKeys extends $tea.M
|
|
|
23255
23273
|
}
|
|
23256
23274
|
|
|
23257
23275
|
export class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricRuleListAllProductInitMetricRuleAlertInitConfigListAlertInitConfig extends $tea.Model {
|
|
23276
|
+
comparisonOperator?: string;
|
|
23258
23277
|
evaluationCount?: string;
|
|
23278
|
+
level?: string;
|
|
23259
23279
|
metricName?: string;
|
|
23260
23280
|
namespace?: string;
|
|
23261
23281
|
period?: string;
|
|
@@ -23263,7 +23283,9 @@ export class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricR
|
|
|
23263
23283
|
threshold?: string;
|
|
23264
23284
|
static names(): { [key: string]: string } {
|
|
23265
23285
|
return {
|
|
23286
|
+
comparisonOperator: 'ComparisonOperator',
|
|
23266
23287
|
evaluationCount: 'EvaluationCount',
|
|
23288
|
+
level: 'Level',
|
|
23267
23289
|
metricName: 'MetricName',
|
|
23268
23290
|
namespace: 'Namespace',
|
|
23269
23291
|
period: 'Period',
|
|
@@ -23274,7 +23296,9 @@ export class DescribeProductsOfActiveMetricRuleResponseBodyAllProductInitMetricR
|
|
|
23274
23296
|
|
|
23275
23297
|
static types(): { [key: string]: any } {
|
|
23276
23298
|
return {
|
|
23299
|
+
comparisonOperator: 'string',
|
|
23277
23300
|
evaluationCount: 'string',
|
|
23301
|
+
level: 'string',
|
|
23278
23302
|
metricName: 'string',
|
|
23279
23303
|
namespace: 'string',
|
|
23280
23304
|
period: 'string',
|
|
@@ -27657,6 +27681,14 @@ export default class Client extends OpenApi {
|
|
|
27657
27681
|
query["Namespace"] = request.namespace;
|
|
27658
27682
|
}
|
|
27659
27683
|
|
|
27684
|
+
if (!Util.isUnset(request.namespaceRegion)) {
|
|
27685
|
+
query["NamespaceRegion"] = request.namespaceRegion;
|
|
27686
|
+
}
|
|
27687
|
+
|
|
27688
|
+
if (!Util.isUnset(request.namespaceType)) {
|
|
27689
|
+
query["NamespaceType"] = request.namespaceType;
|
|
27690
|
+
}
|
|
27691
|
+
|
|
27660
27692
|
if (!Util.isUnset(request.spec)) {
|
|
27661
27693
|
query["Spec"] = request.spec;
|
|
27662
27694
|
}
|
|
@@ -31319,7 +31351,7 @@ export default class Client extends OpenApi {
|
|
|
31319
31351
|
}
|
|
31320
31352
|
|
|
31321
31353
|
/**
|
|
31322
|
-
* This topic provides an example
|
|
31354
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
31323
31355
|
*
|
|
31324
31356
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
31325
31357
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -31354,7 +31386,7 @@ export default class Client extends OpenApi {
|
|
|
31354
31386
|
}
|
|
31355
31387
|
|
|
31356
31388
|
/**
|
|
31357
|
-
* This topic provides an example
|
|
31389
|
+
* This topic provides an example on how to query the details of an alert template whose ID is `70****`.
|
|
31358
31390
|
*
|
|
31359
31391
|
* @param request DescribeMetricRuleTemplateAttributeRequest
|
|
31360
31392
|
* @return DescribeMetricRuleTemplateAttributeResponse
|