@alicloud/cms20240330 10.0.0 → 10.0.1
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 +114 -60
- package/dist/client.js +163 -61
- package/dist/client.js.map +1 -1
- package/dist/models/AlertRuleCondition.d.ts +120 -158
- package/dist/models/AlertRuleCondition.js +45 -1
- package/dist/models/AlertRuleCondition.js.map +1 -1
- package/dist/models/AlertRuleQuery.d.ts +78 -75
- package/dist/models/AlertRuleQuery.js +41 -1
- package/dist/models/AlertRuleQuery.js.map +1 -1
- package/dist/models/AlertRuleTemplate.d.ts +5 -56
- package/dist/models/AlertRuleTemplate.js +10 -0
- package/dist/models/AlertRuleTemplate.js.map +1 -1
- package/dist/models/AlertRuleV2.d.ts +16 -2
- package/dist/models/AlertRuleV2.js +10 -3
- package/dist/models/AlertRuleV2.js.map +1 -1
- package/dist/models/ApmCompositeCompareConfig.d.ts +10 -0
- package/dist/models/ApmCompositeCompareConfig.js +4 -0
- package/dist/models/ApmCompositeCompareConfig.js.map +1 -1
- package/dist/models/ApmThresholdConfig.d.ts +2 -8
- package/dist/models/ApmThresholdConfig.js +4 -0
- package/dist/models/ApmThresholdConfig.js.map +1 -1
- package/dist/models/CloudMonitoringCompositeEscalation.d.ts +34 -0
- package/dist/models/CloudMonitoringCompositeEscalation.js +68 -0
- package/dist/models/CloudMonitoringCompositeEscalation.js.map +1 -0
- package/dist/models/CloudMonitoringCompositeEscalationEntry.d.ts +19 -0
- package/dist/models/CloudMonitoringCompositeEscalationEntry.js +68 -0
- package/dist/models/CloudMonitoringCompositeEscalationEntry.js.map +1 -0
- package/dist/models/CloudMonitoringExpressEscalation.d.ts +28 -0
- package/dist/models/CloudMonitoringExpressEscalation.js +62 -0
- package/dist/models/CloudMonitoringExpressEscalation.js.map +1 -0
- package/dist/models/CloudMonitoringPrometheusEscalation.d.ts +28 -0
- package/dist/models/CloudMonitoringPrometheusEscalation.js +62 -0
- package/dist/models/CloudMonitoringPrometheusEscalation.js.map +1 -0
- package/dist/models/CloudMonitoringSimpleEscalation.d.ts +29 -0
- package/dist/models/CloudMonitoringSimpleEscalation.js +66 -0
- package/dist/models/CloudMonitoringSimpleEscalation.js.map +1 -0
- package/dist/models/CloudMonitoringSimpleEscalationEntry.d.ts +19 -0
- package/dist/models/CloudMonitoringSimpleEscalationEntry.js +68 -0
- package/dist/models/CloudMonitoringSimpleEscalationEntry.js.map +1 -0
- package/dist/models/ConditionConfigUnified.d.ts +24 -34
- package/dist/models/ConditionConfigUnified.js +58 -0
- package/dist/models/ConditionConfigUnified.js.map +1 -1
- package/dist/models/CreateAggTaskGroupRequest.d.ts +20 -20
- package/dist/models/CreateAggTaskGroupResponseBody.d.ts +6 -6
- package/dist/models/CreatePrometheusInstanceRequest.d.ts +25 -22
- package/dist/models/CreatePrometheusInstanceRequest.js +2 -0
- package/dist/models/CreatePrometheusInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrometheusInstanceResponseBody.d.ts +1 -1
- package/dist/models/CreatePrometheusViewRequest.d.ts +12 -12
- package/dist/models/CreatePrometheusViewResponseBody.d.ts +2 -2
- package/dist/models/DatasourceConfigUnified.d.ts +15 -0
- package/dist/models/DatasourceConfigUnified.js +6 -0
- package/dist/models/DatasourceConfigUnified.js.map +1 -1
- package/dist/models/DatasourceTypeFilter.d.ts +18 -0
- package/dist/models/DatasourceTypeFilter.js +58 -0
- package/dist/models/DatasourceTypeFilter.js.map +1 -0
- package/dist/models/DescribeMetricMetaListRequest.d.ts +23 -20
- package/dist/models/DescribeMetricMetaListRequest.js.map +1 -1
- package/dist/models/DescribeMetricMetaListResponseBody.d.ts +25 -17
- package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
- package/dist/models/DescribeMetricMetaListShrinkRequest.d.ts +21 -18
- package/dist/models/DescribeMetricMetaListShrinkRequest.js.map +1 -1
- package/dist/models/GetCloudResourceDataRequest.d.ts +5 -5
- package/dist/models/GetCloudResourceDataResponseBody.d.ts +66 -2
- package/dist/models/GetCloudResourceDataResponseBody.js.map +1 -1
- package/dist/models/GetDeliveryTaskResponseBody.d.ts +15 -15
- package/dist/models/GetIntegrationPolicyResponseBody.d.ts +49 -49
- package/dist/models/GetMemoryStoreResponseBody.d.ts +15 -15
- package/dist/models/GetPrometheusInstanceRequest.d.ts +2 -2
- package/dist/models/GetPrometheusInstanceResponseBody.d.ts +36 -31
- package/dist/models/GetPrometheusInstanceResponseBody.js.map +1 -1
- package/dist/models/GetPrometheusViewRequest.d.ts +2 -2
- package/dist/models/GetPrometheusViewResponseBody.d.ts +35 -21
- package/dist/models/GetPrometheusViewResponseBody.js.map +1 -1
- package/dist/models/ListAggTaskGroupsRequest.d.ts +13 -8
- package/dist/models/ListAggTaskGroupsRequest.js.map +1 -1
- package/dist/models/ListAggTaskGroupsResponseBody.d.ts +15 -15
- package/dist/models/ListAggTaskGroupsShrinkRequest.d.ts +13 -8
- package/dist/models/ListAggTaskGroupsShrinkRequest.js.map +1 -1
- package/dist/models/ListAlertRobotsRequest.d.ts +5 -5
- package/dist/models/ListAlertRobotsResponseBody.d.ts +7 -6
- package/dist/models/ListAlertRobotsResponseBody.js +2 -0
- package/dist/models/ListAlertRobotsResponseBody.js.map +1 -1
- package/dist/models/ListAlertRobotsShrinkRequest.d.ts +5 -5
- package/dist/models/ListDeliveryTasksRequest.d.ts +4 -4
- package/dist/models/ListDeliveryTasksResponseBody.d.ts +22 -22
- package/dist/models/ListDeliveryTasksShrinkRequest.d.ts +4 -4
- package/dist/models/ListEventMetaCacheAllKeysDataResult.d.ts +37 -0
- package/dist/models/ListEventMetaCacheAllKeysDataResult.js +71 -0
- package/dist/models/ListEventMetaCacheAllKeysDataResult.js.map +1 -0
- package/dist/models/ListIntegrationPoliciesRequest.d.ts +9 -9
- package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +24 -20
- package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListIntegrationPoliciesShrinkRequest.d.ts +9 -9
- package/dist/models/ListPipelinesRequest.d.ts +3 -3
- package/dist/models/ListPipelinesResponseBody.d.ts +6 -6
- package/dist/models/ListPrometheusInstancesRequest.d.ts +13 -5
- package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
- package/dist/models/ListPrometheusInstancesResponseBody.d.ts +21 -9
- package/dist/models/ListPrometheusInstancesResponseBody.js +2 -0
- package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
- package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +13 -5
- package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
- package/dist/models/ListPrometheusViewsRequest.d.ts +5 -5
- package/dist/models/ListPrometheusViewsResponseBody.d.ts +20 -10
- package/dist/models/ListPrometheusViewsResponseBody.js +2 -0
- package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
- package/dist/models/ListPrometheusViewsShrinkRequest.d.ts +5 -5
- package/dist/models/ManageAlertRulesRequest.d.ts +1 -1
- package/dist/models/ManageAlertRulesResult.d.ts +10 -0
- package/dist/models/ManageAlertRulesResult.js +7 -0
- package/dist/models/ManageAlertRulesResult.js.map +1 -1
- package/dist/models/ManageAlertRulesShrinkRequest.d.ts +1 -1
- package/dist/models/ManageAlertRulesUnifiedActionInput.d.ts +2 -62
- package/dist/models/ManageAlertRulesUnifiedActionInput.js +4 -0
- package/dist/models/ManageAlertRulesUnifiedActionInput.js.map +1 -1
- package/dist/models/MetricSetMultiTrigger.d.ts +24 -0
- package/dist/models/MetricSetMultiTrigger.js +80 -0
- package/dist/models/MetricSetMultiTrigger.js.map +1 -0
- package/dist/models/MetricSetNamedQueryEntry.d.ts +18 -0
- package/dist/models/MetricSetNamedQueryEntry.js +68 -0
- package/dist/models/MetricSetNamedQueryEntry.js.map +1 -0
- package/dist/models/MetricSetTriggerCompositeExpression.d.ts +17 -0
- package/dist/models/MetricSetTriggerCompositeExpression.js +66 -0
- package/dist/models/MetricSetTriggerCompositeExpression.js.map +1 -0
- package/dist/models/MetricSetTriggerSimpleExpression.d.ts +19 -0
- package/dist/models/MetricSetTriggerSimpleExpression.js +68 -0
- package/dist/models/MetricSetTriggerSimpleExpression.js.map +1 -0
- package/dist/models/NotifyConfigUnified.d.ts +1 -28
- package/dist/models/NotifyConfigUnified.js +5 -0
- package/dist/models/NotifyConfigUnified.js.map +1 -1
- package/dist/models/NotifyStrategyIdFilter.d.ts +18 -0
- package/dist/models/NotifyStrategyIdFilter.js +58 -0
- package/dist/models/NotifyStrategyIdFilter.js.map +1 -0
- package/dist/models/ObserveGroup.d.ts +132 -0
- package/dist/models/ObserveGroup.js +119 -0
- package/dist/models/ObserveGroup.js.map +1 -0
- package/dist/models/ObserveGroupDetail.d.ts +123 -0
- package/dist/models/ObserveGroupDetail.js +116 -0
- package/dist/models/ObserveGroupDetail.js.map +1 -0
- package/dist/models/ObserveGroupDiscoverRule.d.ts +176 -0
- package/dist/models/ObserveGroupDiscoverRule.js +197 -0
- package/dist/models/ObserveGroupDiscoverRule.js.map +1 -0
- package/dist/models/ObserveGroupInstance.d.ts +72 -0
- package/dist/models/ObserveGroupInstance.js +84 -0
- package/dist/models/ObserveGroupInstance.js.map +1 -0
- package/dist/models/ObserveResourceGlobalScopeFilter.d.ts +18 -0
- package/dist/models/ObserveResourceGlobalScopeFilter.js +58 -0
- package/dist/models/ObserveResourceGlobalScopeFilter.js.map +1 -0
- package/dist/models/ObserveResourceListFilter.d.ts +18 -0
- package/dist/models/ObserveResourceListFilter.js +61 -0
- package/dist/models/ObserveResourceListFilter.js.map +1 -0
- package/dist/models/ObserveResourceTypeFilter.d.ts +18 -0
- package/dist/models/ObserveResourceTypeFilter.js +58 -0
- package/dist/models/ObserveResourceTypeFilter.js.map +1 -0
- package/dist/models/OpenCmsServiceResponseBody.d.ts +2 -2
- package/dist/models/PartitionKeyFilter.d.ts +18 -0
- package/dist/models/PartitionKeyFilter.js +58 -0
- package/dist/models/PartitionKeyFilter.js.map +1 -0
- package/dist/models/QueryAlertRulesFilter.d.ts +16 -4
- package/dist/models/QueryAlertRulesFilter.js +38 -4
- package/dist/models/QueryAlertRulesFilter.js.map +1 -1
- package/dist/models/QueryAlertRulesRequest.d.ts +4 -4
- package/dist/models/QueryAlertRulesShrinkRequest.d.ts +4 -4
- package/dist/models/QueryConfigUnified.d.ts +15 -52
- package/dist/models/QueryConfigUnified.js +29 -0
- package/dist/models/QueryConfigUnified.js.map +1 -1
- package/dist/models/SearchMemoriesRequest.d.ts +7 -4
- package/dist/models/SearchMemoriesRequest.js.map +1 -1
- package/dist/models/SearchMemoriesResponseBody.d.ts +4 -4
- package/dist/models/SeverityLevelsFilter.d.ts +18 -0
- package/dist/models/SeverityLevelsFilter.js +61 -0
- package/dist/models/SeverityLevelsFilter.js.map +1 -0
- package/dist/models/SubscriptionForModify.d.ts +16 -9
- package/dist/models/SubscriptionForModify.js +2 -0
- package/dist/models/SubscriptionForModify.js.map +1 -1
- package/dist/models/SubscriptionForView.d.ts +12 -5
- package/dist/models/SubscriptionForView.js +2 -0
- package/dist/models/SubscriptionForView.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +6 -6
- package/dist/models/UpdateDeliveryTaskRequest.d.ts +8 -8
- package/dist/models/UpdateDeliveryTaskResponseBody.d.ts +1 -1
- package/dist/models/UpdatePrometheusInstanceRequest.d.ts +16 -10
- package/dist/models/UpdatePrometheusInstanceRequest.js.map +1 -1
- package/dist/models/UpdatePrometheusInstanceResponseBody.d.ts +2 -2
- package/dist/models/UpdateSubscriptionRequest.d.ts +1 -1
- package/dist/models/UpdateSubscriptionResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +86 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +164 -61
- package/src/models/AlertRuleCondition.ts +155 -158
- package/src/models/AlertRuleQuery.ts +111 -77
- package/src/models/AlertRuleTemplate.ts +15 -56
- package/src/models/AlertRuleV2.ts +26 -5
- package/src/models/ApmCompositeCompareConfig.ts +14 -0
- package/src/models/ApmThresholdConfig.ts +6 -8
- package/src/models/CloudMonitoringCompositeEscalation.ts +56 -0
- package/src/models/CloudMonitoringCompositeEscalationEntry.ts +42 -0
- package/src/models/CloudMonitoringExpressEscalation.ts +45 -0
- package/src/models/CloudMonitoringPrometheusEscalation.ts +45 -0
- package/src/models/CloudMonitoringSimpleEscalation.ts +49 -0
- package/src/models/CloudMonitoringSimpleEscalationEntry.ts +42 -0
- package/src/models/ConditionConfigUnified.ts +77 -34
- package/src/models/CreateAggTaskGroupRequest.ts +20 -20
- package/src/models/CreateAggTaskGroupResponseBody.ts +6 -6
- package/src/models/CreatePrometheusInstanceRequest.ts +27 -22
- package/src/models/CreatePrometheusInstanceResponseBody.ts +1 -1
- package/src/models/CreatePrometheusViewRequest.ts +12 -12
- package/src/models/CreatePrometheusViewResponseBody.ts +2 -2
- package/src/models/DatasourceConfigUnified.ts +21 -0
- package/src/models/DatasourceTypeFilter.ts +31 -0
- package/src/models/DescribeMetricMetaListRequest.ts +23 -20
- package/src/models/DescribeMetricMetaListResponseBody.ts +25 -17
- package/src/models/DescribeMetricMetaListShrinkRequest.ts +21 -18
- package/src/models/GetCloudResourceDataRequest.ts +5 -5
- package/src/models/GetCloudResourceDataResponseBody.ts +66 -2
- package/src/models/GetDeliveryTaskResponseBody.ts +15 -15
- package/src/models/GetIntegrationPolicyResponseBody.ts +49 -49
- package/src/models/GetMemoryStoreResponseBody.ts +15 -15
- package/src/models/GetPrometheusInstanceRequest.ts +2 -2
- package/src/models/GetPrometheusInstanceResponseBody.ts +36 -31
- package/src/models/GetPrometheusViewRequest.ts +2 -2
- package/src/models/GetPrometheusViewResponseBody.ts +35 -21
- package/src/models/ListAggTaskGroupsRequest.ts +13 -8
- package/src/models/ListAggTaskGroupsResponseBody.ts +15 -15
- package/src/models/ListAggTaskGroupsShrinkRequest.ts +13 -8
- package/src/models/ListAlertRobotsRequest.ts +5 -5
- package/src/models/ListAlertRobotsResponseBody.ts +9 -6
- package/src/models/ListAlertRobotsShrinkRequest.ts +5 -5
- package/src/models/ListDeliveryTasksRequest.ts +4 -4
- package/src/models/ListDeliveryTasksResponseBody.ts +22 -22
- package/src/models/ListDeliveryTasksShrinkRequest.ts +4 -4
- package/src/models/ListEventMetaCacheAllKeysDataResult.ts +63 -0
- package/src/models/ListIntegrationPoliciesRequest.ts +9 -9
- package/src/models/ListIntegrationPoliciesResponseBody.ts +24 -20
- package/src/models/ListIntegrationPoliciesShrinkRequest.ts +9 -9
- package/src/models/ListPipelinesRequest.ts +3 -3
- package/src/models/ListPipelinesResponseBody.ts +6 -6
- package/src/models/ListPrometheusInstancesRequest.ts +13 -5
- package/src/models/ListPrometheusInstancesResponseBody.ts +23 -9
- package/src/models/ListPrometheusInstancesShrinkRequest.ts +13 -5
- package/src/models/ListPrometheusViewsRequest.ts +5 -5
- package/src/models/ListPrometheusViewsResponseBody.ts +22 -10
- package/src/models/ListPrometheusViewsShrinkRequest.ts +5 -5
- package/src/models/ManageAlertRulesRequest.ts +1 -1
- package/src/models/ManageAlertRulesResult.ts +17 -0
- package/src/models/ManageAlertRulesShrinkRequest.ts +1 -1
- package/src/models/ManageAlertRulesUnifiedActionInput.ts +6 -62
- package/src/models/MetricSetMultiTrigger.ts +58 -0
- package/src/models/MetricSetNamedQueryEntry.ts +40 -0
- package/src/models/MetricSetTriggerCompositeExpression.ts +37 -0
- package/src/models/MetricSetTriggerSimpleExpression.ts +42 -0
- package/src/models/NotifyConfigUnified.ts +6 -28
- package/src/models/NotifyStrategyIdFilter.ts +31 -0
- package/src/models/ObserveGroup.ts +195 -0
- package/src/models/ObserveGroupDetail.ts +185 -0
- package/src/models/ObserveGroupDiscoverRule.ts +292 -0
- package/src/models/ObserveGroupInstance.ts +107 -0
- package/src/models/ObserveResourceGlobalScopeFilter.ts +31 -0
- package/src/models/ObserveResourceListFilter.ts +34 -0
- package/src/models/ObserveResourceTypeFilter.ts +31 -0
- package/src/models/OpenCmsServiceResponseBody.ts +2 -2
- package/src/models/PartitionKeyFilter.ts +31 -0
- package/src/models/QueryAlertRulesFilter.ts +47 -8
- package/src/models/QueryAlertRulesRequest.ts +4 -4
- package/src/models/QueryAlertRulesShrinkRequest.ts +4 -4
- package/src/models/QueryConfigUnified.ts +41 -52
- package/src/models/SearchMemoriesRequest.ts +7 -4
- package/src/models/SearchMemoriesResponseBody.ts +4 -4
- package/src/models/SeverityLevelsFilter.ts +34 -0
- package/src/models/SubscriptionForModify.ts +18 -9
- package/src/models/SubscriptionForView.ts +14 -5
- package/src/models/UpdateContextStoreRequest.ts +6 -6
- package/src/models/UpdateDeliveryTaskRequest.ts +8 -8
- package/src/models/UpdateDeliveryTaskResponseBody.ts +1 -1
- package/src/models/UpdatePrometheusInstanceRequest.ts +16 -10
- package/src/models/UpdatePrometheusInstanceResponseBody.ts +2 -2
- package/src/models/UpdateSubscriptionRequest.ts +1 -1
- package/src/models/UpdateSubscriptionResponseBody.ts +1 -1
- package/src/models/model.ts +30 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PartitionKeyFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Returns only items whose partition key value equals this string.
|
|
9
|
+
*/
|
|
10
|
+
eq?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
eq: 'eq',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
eq: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DatasourceTypeFilter } from "./DatasourceTypeFilter";
|
|
3
4
|
import { DisplayNameFilter } from "./DisplayNameFilter";
|
|
4
5
|
import { EnabledFilter } from "./EnabledFilter";
|
|
5
6
|
import { LabelsFilter } from "./LabelsFilter";
|
|
7
|
+
import { NotifyStrategyIdFilter } from "./NotifyStrategyIdFilter";
|
|
8
|
+
import { ObserveResourceGlobalScopeFilter } from "./ObserveResourceGlobalScopeFilter";
|
|
9
|
+
import { ObserveResourceListFilter } from "./ObserveResourceListFilter";
|
|
10
|
+
import { ObserveResourceTypeFilter } from "./ObserveResourceTypeFilter";
|
|
11
|
+
import { PartitionKeyFilter } from "./PartitionKeyFilter";
|
|
12
|
+
import { SeverityLevelsFilter } from "./SeverityLevelsFilter";
|
|
6
13
|
import { StatusFilter } from "./StatusFilter";
|
|
7
14
|
import { UuidFilter } from "./UuidFilter";
|
|
8
15
|
|
|
9
16
|
|
|
10
17
|
export class QueryAlertRulesFilter extends $dara.Model {
|
|
11
|
-
datasourceType?:
|
|
18
|
+
datasourceType?: DatasourceTypeFilter;
|
|
12
19
|
/**
|
|
13
20
|
* @remarks
|
|
14
21
|
* Filters alert rules by display name.
|
|
@@ -24,14 +31,19 @@ export class QueryAlertRulesFilter extends $dara.Model {
|
|
|
24
31
|
* Filters alert rules by label.
|
|
25
32
|
*/
|
|
26
33
|
labels?: LabelsFilter;
|
|
27
|
-
|
|
34
|
+
notifyStrategyId?: NotifyStrategyIdFilter;
|
|
35
|
+
observeResourceGlobalScope?: ObserveResourceGlobalScopeFilter;
|
|
28
36
|
/**
|
|
29
37
|
* @example
|
|
30
38
|
* i-bp1abcxxxxxxxx
|
|
39
|
+
*
|
|
40
|
+
* @deprecated
|
|
31
41
|
*/
|
|
32
42
|
observeResourceInstanceId?: string;
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
observeResourceList?: ObserveResourceListFilter;
|
|
44
|
+
observeResourceType?: ObserveResourceTypeFilter;
|
|
45
|
+
partitionKey?: PartitionKeyFilter;
|
|
46
|
+
severityLevels?: SeverityLevelsFilter;
|
|
35
47
|
/**
|
|
36
48
|
* @remarks
|
|
37
49
|
* Filters alert rules by status.
|
|
@@ -48,9 +60,12 @@ export class QueryAlertRulesFilter extends $dara.Model {
|
|
|
48
60
|
displayName: 'displayName',
|
|
49
61
|
enabled: 'enabled',
|
|
50
62
|
labels: 'labels',
|
|
63
|
+
notifyStrategyId: 'notifyStrategyId',
|
|
51
64
|
observeResourceGlobalScope: 'observeResourceGlobalScope',
|
|
52
65
|
observeResourceInstanceId: 'observeResourceInstanceId',
|
|
66
|
+
observeResourceList: 'observeResourceList',
|
|
53
67
|
observeResourceType: 'observeResourceType',
|
|
68
|
+
partitionKey: 'partitionKey',
|
|
54
69
|
severityLevels: 'severityLevels',
|
|
55
70
|
status: 'status',
|
|
56
71
|
uuid: 'uuid',
|
|
@@ -59,20 +74,26 @@ export class QueryAlertRulesFilter extends $dara.Model {
|
|
|
59
74
|
|
|
60
75
|
static types(): { [key: string]: any } {
|
|
61
76
|
return {
|
|
62
|
-
datasourceType:
|
|
77
|
+
datasourceType: DatasourceTypeFilter,
|
|
63
78
|
displayName: DisplayNameFilter,
|
|
64
79
|
enabled: EnabledFilter,
|
|
65
80
|
labels: LabelsFilter,
|
|
66
|
-
|
|
81
|
+
notifyStrategyId: NotifyStrategyIdFilter,
|
|
82
|
+
observeResourceGlobalScope: ObserveResourceGlobalScopeFilter,
|
|
67
83
|
observeResourceInstanceId: 'string',
|
|
68
|
-
|
|
69
|
-
|
|
84
|
+
observeResourceList: ObserveResourceListFilter,
|
|
85
|
+
observeResourceType: ObserveResourceTypeFilter,
|
|
86
|
+
partitionKey: PartitionKeyFilter,
|
|
87
|
+
severityLevels: SeverityLevelsFilter,
|
|
70
88
|
status: StatusFilter,
|
|
71
89
|
uuid: UuidFilter,
|
|
72
90
|
};
|
|
73
91
|
}
|
|
74
92
|
|
|
75
93
|
validate() {
|
|
94
|
+
if(this.datasourceType && typeof (this.datasourceType as any).validate === 'function') {
|
|
95
|
+
(this.datasourceType as any).validate();
|
|
96
|
+
}
|
|
76
97
|
if(this.displayName && typeof (this.displayName as any).validate === 'function') {
|
|
77
98
|
(this.displayName as any).validate();
|
|
78
99
|
}
|
|
@@ -82,6 +103,24 @@ export class QueryAlertRulesFilter extends $dara.Model {
|
|
|
82
103
|
if(this.labels && typeof (this.labels as any).validate === 'function') {
|
|
83
104
|
(this.labels as any).validate();
|
|
84
105
|
}
|
|
106
|
+
if(this.notifyStrategyId && typeof (this.notifyStrategyId as any).validate === 'function') {
|
|
107
|
+
(this.notifyStrategyId as any).validate();
|
|
108
|
+
}
|
|
109
|
+
if(this.observeResourceGlobalScope && typeof (this.observeResourceGlobalScope as any).validate === 'function') {
|
|
110
|
+
(this.observeResourceGlobalScope as any).validate();
|
|
111
|
+
}
|
|
112
|
+
if(this.observeResourceList && typeof (this.observeResourceList as any).validate === 'function') {
|
|
113
|
+
(this.observeResourceList as any).validate();
|
|
114
|
+
}
|
|
115
|
+
if(this.observeResourceType && typeof (this.observeResourceType as any).validate === 'function') {
|
|
116
|
+
(this.observeResourceType as any).validate();
|
|
117
|
+
}
|
|
118
|
+
if(this.partitionKey && typeof (this.partitionKey as any).validate === 'function') {
|
|
119
|
+
(this.partitionKey as any).validate();
|
|
120
|
+
}
|
|
121
|
+
if(this.severityLevels && typeof (this.severityLevels as any).validate === 'function') {
|
|
122
|
+
(this.severityLevels as any).validate();
|
|
123
|
+
}
|
|
85
124
|
if(this.status && typeof (this.status as any).validate === 'function') {
|
|
86
125
|
(this.status as any).validate();
|
|
87
126
|
}
|
|
@@ -6,12 +6,12 @@ import { QueryAlertRulesInput } from "./QueryAlertRulesInput";
|
|
|
6
6
|
export class QueryAlertRulesRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The request
|
|
9
|
+
* The request body for querying alert rules.
|
|
10
10
|
*/
|
|
11
11
|
body?: QueryAlertRulesInput;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The
|
|
14
|
+
* The idempotency token.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* xxxxx-xxxx-xxxx
|
|
@@ -19,7 +19,7 @@ export class QueryAlertRulesRequest extends $dara.Model {
|
|
|
19
19
|
clientToken?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The maximum number of
|
|
22
|
+
* The maximum number of data records to read in this request.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 10
|
|
@@ -27,7 +27,7 @@ export class QueryAlertRulesRequest extends $dara.Model {
|
|
|
27
27
|
maxResults?: number;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The token
|
|
30
|
+
* The token that marks the position from which you want to start reading data. If you leave this parameter empty, data is read from the beginning.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 123456
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class QueryAlertRulesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request
|
|
8
|
+
* The request body for querying alert rules.
|
|
9
9
|
*/
|
|
10
10
|
bodyShrink?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The idempotency token.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* xxxxx-xxxx-xxxx
|
|
@@ -18,7 +18,7 @@ export class QueryAlertRulesShrinkRequest extends $dara.Model {
|
|
|
18
18
|
clientToken?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The maximum number of
|
|
21
|
+
* The maximum number of data records to read in this request.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 10
|
|
@@ -26,7 +26,7 @@ export class QueryAlertRulesShrinkRequest extends $dara.Model {
|
|
|
26
26
|
maxResults?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The token
|
|
29
|
+
* The token that marks the position from which you want to start reading data. If you leave this parameter empty, data is read from the beginning.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 123456
|
|
@@ -5,83 +5,46 @@ import { UmodelEntityFilter } from "./UmodelEntityFilter";
|
|
|
5
5
|
import { ApmFilterConfig } from "./ApmFilterConfig";
|
|
6
6
|
import { UmodelLabelFilter } from "./UmodelLabelFilter";
|
|
7
7
|
import { ApmMeasureConfig } from "./ApmMeasureConfig";
|
|
8
|
+
import { MetricSetNamedQueryEntry } from "./MetricSetNamedQueryEntry";
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
export class QueryConfigUnified extends $dara.Model {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* Specifies whether to check for data completeness. A value of `true` enables the check.
|
|
14
|
-
*/
|
|
12
|
+
aggregate?: string;
|
|
13
|
+
dimensions?: { [key: string]: string }[];
|
|
15
14
|
enableDataCompleteCheck?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* @remarks
|
|
18
|
-
* Specifies the domain of the entity, such as `acs` for Alibaba Cloud services.
|
|
19
|
-
*/
|
|
20
15
|
entityDomain?: string;
|
|
21
|
-
/**
|
|
22
|
-
* @remarks
|
|
23
|
-
* A list of entity fields to include in the response.
|
|
24
|
-
*/
|
|
25
16
|
entityFields?: UmodelEntityField[];
|
|
26
|
-
/**
|
|
27
|
-
* @remarks
|
|
28
|
-
* A list of filters for selecting specific entities.
|
|
29
|
-
*/
|
|
30
17
|
entityFilters?: UmodelEntityFilter[];
|
|
31
|
-
/**
|
|
32
|
-
* @remarks
|
|
33
|
-
* Specifies the type of the entity, such as `EcsInstance`.
|
|
34
|
-
*/
|
|
35
18
|
entityType?: string;
|
|
36
|
-
/**
|
|
37
|
-
* @remarks
|
|
38
|
-
* Specifies the expression to post-process query results.
|
|
39
|
-
*/
|
|
40
19
|
expr?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @remarks
|
|
43
|
-
* A list of Application Performance Monitoring (APM) filter configurations.
|
|
44
|
-
*/
|
|
45
20
|
filterList?: ApmFilterConfig[];
|
|
46
|
-
|
|
47
|
-
* @remarks
|
|
48
|
-
* A list of filters that match labels.
|
|
49
|
-
*/
|
|
21
|
+
groupId?: string;
|
|
50
22
|
labelFilters?: UmodelLabelFilter[];
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*/
|
|
23
|
+
legacyRaw?: string;
|
|
24
|
+
legacyType?: string;
|
|
25
|
+
logSet?: string;
|
|
55
26
|
measureList?: ApmMeasureConfig[];
|
|
56
|
-
/**
|
|
57
|
-
* @remarks
|
|
58
|
-
* Specifies the name of the metric to query.
|
|
59
|
-
*/
|
|
60
27
|
metric?: string;
|
|
61
|
-
/**
|
|
62
|
-
* @remarks
|
|
63
|
-
* Specifies the metric set that contains the metric.
|
|
64
|
-
*/
|
|
65
28
|
metricSet?: string;
|
|
29
|
+
namespace?: string;
|
|
30
|
+
offsetSecs?: number;
|
|
66
31
|
/**
|
|
67
|
-
* @
|
|
68
|
-
* Specifies the query string in Prometheus Query Language (PromQL).
|
|
32
|
+
* @deprecated
|
|
69
33
|
*/
|
|
70
34
|
promQl?: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
* A list of service IDs to query.
|
|
74
|
-
*/
|
|
35
|
+
queries?: MetricSetNamedQueryEntry[];
|
|
36
|
+
relationType?: string;
|
|
75
37
|
serviceIdList?: string[];
|
|
76
38
|
/**
|
|
77
39
|
* @remarks
|
|
78
|
-
* The query type.
|
|
79
|
-
*
|
|
80
40
|
* This parameter is required.
|
|
81
41
|
*/
|
|
82
42
|
type?: string;
|
|
43
|
+
windowSecs?: number;
|
|
83
44
|
static names(): { [key: string]: string } {
|
|
84
45
|
return {
|
|
46
|
+
aggregate: 'aggregate',
|
|
47
|
+
dimensions: 'dimensions',
|
|
85
48
|
enableDataCompleteCheck: 'enableDataCompleteCheck',
|
|
86
49
|
entityDomain: 'entityDomain',
|
|
87
50
|
entityFields: 'entityFields',
|
|
@@ -89,18 +52,29 @@ export class QueryConfigUnified extends $dara.Model {
|
|
|
89
52
|
entityType: 'entityType',
|
|
90
53
|
expr: 'expr',
|
|
91
54
|
filterList: 'filterList',
|
|
55
|
+
groupId: 'groupId',
|
|
92
56
|
labelFilters: 'labelFilters',
|
|
57
|
+
legacyRaw: 'legacyRaw',
|
|
58
|
+
legacyType: 'legacyType',
|
|
59
|
+
logSet: 'logSet',
|
|
93
60
|
measureList: 'measureList',
|
|
94
61
|
metric: 'metric',
|
|
95
62
|
metricSet: 'metricSet',
|
|
63
|
+
namespace: 'namespace',
|
|
64
|
+
offsetSecs: 'offsetSecs',
|
|
96
65
|
promQl: 'promQl',
|
|
66
|
+
queries: 'queries',
|
|
67
|
+
relationType: 'relationType',
|
|
97
68
|
serviceIdList: 'serviceIdList',
|
|
98
69
|
type: 'type',
|
|
70
|
+
windowSecs: 'windowSecs',
|
|
99
71
|
};
|
|
100
72
|
}
|
|
101
73
|
|
|
102
74
|
static types(): { [key: string]: any } {
|
|
103
75
|
return {
|
|
76
|
+
aggregate: 'string',
|
|
77
|
+
dimensions: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
104
78
|
enableDataCompleteCheck: 'boolean',
|
|
105
79
|
entityDomain: 'string',
|
|
106
80
|
entityFields: { 'type': 'array', 'itemType': UmodelEntityField },
|
|
@@ -108,17 +82,29 @@ export class QueryConfigUnified extends $dara.Model {
|
|
|
108
82
|
entityType: 'string',
|
|
109
83
|
expr: 'string',
|
|
110
84
|
filterList: { 'type': 'array', 'itemType': ApmFilterConfig },
|
|
85
|
+
groupId: 'string',
|
|
111
86
|
labelFilters: { 'type': 'array', 'itemType': UmodelLabelFilter },
|
|
87
|
+
legacyRaw: 'string',
|
|
88
|
+
legacyType: 'string',
|
|
89
|
+
logSet: 'string',
|
|
112
90
|
measureList: { 'type': 'array', 'itemType': ApmMeasureConfig },
|
|
113
91
|
metric: 'string',
|
|
114
92
|
metricSet: 'string',
|
|
93
|
+
namespace: 'string',
|
|
94
|
+
offsetSecs: 'number',
|
|
115
95
|
promQl: 'string',
|
|
96
|
+
queries: { 'type': 'array', 'itemType': MetricSetNamedQueryEntry },
|
|
97
|
+
relationType: 'string',
|
|
116
98
|
serviceIdList: { 'type': 'array', 'itemType': 'string' },
|
|
117
99
|
type: 'string',
|
|
100
|
+
windowSecs: 'number',
|
|
118
101
|
};
|
|
119
102
|
}
|
|
120
103
|
|
|
121
104
|
validate() {
|
|
105
|
+
if(Array.isArray(this.dimensions)) {
|
|
106
|
+
$dara.Model.validateArray(this.dimensions);
|
|
107
|
+
}
|
|
122
108
|
if(Array.isArray(this.entityFields)) {
|
|
123
109
|
$dara.Model.validateArray(this.entityFields);
|
|
124
110
|
}
|
|
@@ -134,6 +120,9 @@ export class QueryConfigUnified extends $dara.Model {
|
|
|
134
120
|
if(Array.isArray(this.measureList)) {
|
|
135
121
|
$dara.Model.validateArray(this.measureList);
|
|
136
122
|
}
|
|
123
|
+
if(Array.isArray(this.queries)) {
|
|
124
|
+
$dara.Model.validateArray(this.queries);
|
|
125
|
+
}
|
|
137
126
|
if(Array.isArray(this.serviceIdList)) {
|
|
138
127
|
$dara.Model.validateArray(this.serviceIdList);
|
|
139
128
|
}
|
|
@@ -13,7 +13,7 @@ export class SearchMemoriesRequest extends $dara.Model {
|
|
|
13
13
|
agentId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The app
|
|
16
|
+
* The app key of the project assigned by the merchant.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* mm_480d961a1b5e4efe84603f4cbc0f
|
|
@@ -26,7 +26,7 @@ export class SearchMemoriesRequest extends $dara.Model {
|
|
|
26
26
|
filters?: { [key: string]: any };
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The query
|
|
29
|
+
* The query content.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* What I like
|
|
@@ -34,13 +34,16 @@ export class SearchMemoriesRequest extends $dara.Model {
|
|
|
34
34
|
query?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* Specifies whether to
|
|
37
|
+
* Specifies whether to enable reranking.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* true
|
|
41
41
|
*/
|
|
42
42
|
rerank?: boolean;
|
|
43
43
|
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The retrieval option.
|
|
46
|
+
*
|
|
44
47
|
* @example
|
|
45
48
|
* reranker,llm_rank
|
|
46
49
|
*/
|
|
@@ -71,7 +74,7 @@ export class SearchMemoriesRequest extends $dara.Model {
|
|
|
71
74
|
threshold?: number;
|
|
72
75
|
/**
|
|
73
76
|
* @remarks
|
|
74
|
-
* The
|
|
77
|
+
* The top-K entries to return in the results.
|
|
75
78
|
*
|
|
76
79
|
* @example
|
|
77
80
|
* 1
|
|
@@ -13,7 +13,7 @@ export class SearchMemoriesResponseBodyRelations extends $dara.Model {
|
|
|
13
13
|
destination?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The relations.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* test
|
|
@@ -111,7 +111,7 @@ export class SearchMemoriesResponseBodyResults extends $dara.Model {
|
|
|
111
111
|
metadata?: { [key: string]: any };
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
* The
|
|
114
|
+
* The role that initiated the message.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* user
|
|
@@ -198,7 +198,7 @@ export class SearchMemoriesResponseBodyResults extends $dara.Model {
|
|
|
198
198
|
export class SearchMemoriesResponseBody extends $dara.Model {
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
*
|
|
201
|
+
* The relations.
|
|
202
202
|
*/
|
|
203
203
|
relations?: SearchMemoriesResponseBodyRelations[];
|
|
204
204
|
/**
|
|
@@ -211,7 +211,7 @@ export class SearchMemoriesResponseBody extends $dara.Model {
|
|
|
211
211
|
requestId?: string;
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
*
|
|
214
|
+
* The returned results.
|
|
215
215
|
*/
|
|
216
216
|
results?: SearchMemoriesResponseBodyResults[];
|
|
217
217
|
static names(): { [key: string]: string } {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SeverityLevelsFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Matches a log entry if its severity level appears in this array of strings.
|
|
9
|
+
*/
|
|
10
|
+
contains?: string[];
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
contains: 'contains',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
contains: { 'type': 'array', 'itemType': 'string' },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
if(Array.isArray(this.contains)) {
|
|
25
|
+
$dara.Model.validateArray(this.contains);
|
|
26
|
+
}
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -37,12 +37,12 @@ export class SubscriptionForModifyAgentConfig extends $dara.Model {
|
|
|
37
37
|
export class SubscriptionForModifyPushingSetting extends $dara.Model {
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The list of action plan IDs for alert pushing.
|
|
41
41
|
*/
|
|
42
42
|
alertActionIds?: string[];
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
*
|
|
45
|
+
* The action plan ID.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* 123123123
|
|
@@ -50,12 +50,12 @@ export class SubscriptionForModifyPushingSetting extends $dara.Model {
|
|
|
50
50
|
responsePlanId?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* The list of action integration plan IDs for recovery pushing.
|
|
54
54
|
*/
|
|
55
55
|
restoreActionIds?: string[];
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* The UUID of the template.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 123123123
|
|
@@ -98,7 +98,7 @@ export class SubscriptionForModify extends $dara.Model {
|
|
|
98
98
|
agentConfig?: SubscriptionForModifyAgentConfig;
|
|
99
99
|
/**
|
|
100
100
|
* @remarks
|
|
101
|
-
*
|
|
101
|
+
* The description.
|
|
102
102
|
*
|
|
103
103
|
* @example
|
|
104
104
|
* workspace test
|
|
@@ -106,12 +106,12 @@ export class SubscriptionForModify extends $dara.Model {
|
|
|
106
106
|
description?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
*
|
|
109
|
+
* The filter settings.
|
|
110
110
|
*/
|
|
111
111
|
filterSetting?: FilterSetting;
|
|
112
112
|
/**
|
|
113
113
|
* @remarks
|
|
114
|
-
*
|
|
114
|
+
* The UUID of the notification policy.
|
|
115
115
|
*
|
|
116
116
|
* @example
|
|
117
117
|
* 123123
|
|
@@ -119,12 +119,19 @@ export class SubscriptionForModify extends $dara.Model {
|
|
|
119
119
|
notifyStrategyId?: string;
|
|
120
120
|
/**
|
|
121
121
|
* @remarks
|
|
122
|
-
*
|
|
122
|
+
* The push settings.
|
|
123
123
|
*/
|
|
124
124
|
pushingSetting?: SubscriptionForModifyPushingSetting;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
*
|
|
127
|
+
* Specifies whether to subscribe to legacy product events (CMS 1.0, ARMS, or SLS events where workspace is null). Valid values:
|
|
128
|
+
* - true: Subscribe.
|
|
129
|
+
* - false or null: Do not subscribe.
|
|
130
|
+
*/
|
|
131
|
+
subscribeLegacyEvent?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The name.
|
|
128
135
|
*
|
|
129
136
|
* This parameter is required.
|
|
130
137
|
*
|
|
@@ -140,6 +147,7 @@ export class SubscriptionForModify extends $dara.Model {
|
|
|
140
147
|
filterSetting: 'filterSetting',
|
|
141
148
|
notifyStrategyId: 'notifyStrategyId',
|
|
142
149
|
pushingSetting: 'pushingSetting',
|
|
150
|
+
subscribeLegacyEvent: 'subscribeLegacyEvent',
|
|
143
151
|
subscriptionName: 'subscriptionName',
|
|
144
152
|
workspaceFilterSetting: 'workspaceFilterSetting',
|
|
145
153
|
};
|
|
@@ -152,6 +160,7 @@ export class SubscriptionForModify extends $dara.Model {
|
|
|
152
160
|
filterSetting: FilterSetting,
|
|
153
161
|
notifyStrategyId: 'string',
|
|
154
162
|
pushingSetting: SubscriptionForModifyPushingSetting,
|
|
163
|
+
subscribeLegacyEvent: 'boolean',
|
|
155
164
|
subscriptionName: 'string',
|
|
156
165
|
workspaceFilterSetting: WorkspaceFilterSetting,
|
|
157
166
|
};
|
|
@@ -37,7 +37,7 @@ export class SubscriptionForViewAgentConfig extends $dara.Model {
|
|
|
37
37
|
export class SubscriptionForViewPushingSetting extends $dara.Model {
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The list of action integration IDs for alert pushing.
|
|
41
41
|
*/
|
|
42
42
|
alertActionIds?: string[];
|
|
43
43
|
/**
|
|
@@ -50,12 +50,12 @@ export class SubscriptionForViewPushingSetting extends $dara.Model {
|
|
|
50
50
|
responsePlanId?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
*
|
|
53
|
+
* The list of action integration IDs for recovery pushing.
|
|
54
54
|
*/
|
|
55
55
|
restoreActionIds?: string[];
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The template
|
|
58
|
+
* The UUID of the template.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* 123123123
|
|
@@ -140,7 +140,14 @@ export class SubscriptionForView extends $dara.Model {
|
|
|
140
140
|
pushingSetting?: SubscriptionForViewPushingSetting;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
*
|
|
143
|
+
* Specifies whether to subscribe to legacy product events (CMS 1.0, ARMS, or SLS events where workspace is null). Valid values:
|
|
144
|
+
* - true: Subscribe.
|
|
145
|
+
* - false or null: Do not subscribe.
|
|
146
|
+
*/
|
|
147
|
+
subscribeLegacyEvent?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* UUID
|
|
144
151
|
*
|
|
145
152
|
* @example
|
|
146
153
|
* 123123123123
|
|
@@ -187,7 +194,7 @@ export class SubscriptionForView extends $dara.Model {
|
|
|
187
194
|
userId?: string;
|
|
188
195
|
/**
|
|
189
196
|
* @remarks
|
|
190
|
-
*
|
|
197
|
+
* workspace
|
|
191
198
|
*
|
|
192
199
|
* @example
|
|
193
200
|
* workspace-test
|
|
@@ -203,6 +210,7 @@ export class SubscriptionForView extends $dara.Model {
|
|
|
203
210
|
filterSetting: 'filterSetting',
|
|
204
211
|
notifyStrategyId: 'notifyStrategyId',
|
|
205
212
|
pushingSetting: 'pushingSetting',
|
|
213
|
+
subscribeLegacyEvent: 'subscribeLegacyEvent',
|
|
206
214
|
subscriptionId: 'subscriptionId',
|
|
207
215
|
subscriptionName: 'subscriptionName',
|
|
208
216
|
subscriptionType: 'subscriptionType',
|
|
@@ -223,6 +231,7 @@ export class SubscriptionForView extends $dara.Model {
|
|
|
223
231
|
filterSetting: FilterSetting,
|
|
224
232
|
notifyStrategyId: 'string',
|
|
225
233
|
pushingSetting: SubscriptionForViewPushingSetting,
|
|
234
|
+
subscribeLegacyEvent: 'boolean',
|
|
226
235
|
subscriptionId: 'string',
|
|
227
236
|
subscriptionName: 'string',
|
|
228
237
|
subscriptionType: 'string',
|