@alicloud/cms20240330 10.0.0 → 10.1.0
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 +236 -62
- package/dist/client.js +420 -63
- 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/CreateServiceRecordRequest.d.ts +40 -0
- package/dist/models/CreateServiceRecordRequest.js +60 -0
- package/dist/models/CreateServiceRecordRequest.js.map +1 -0
- package/dist/models/CreateServiceRecordResponse.d.ts +19 -0
- package/dist/models/CreateServiceRecordResponse.js +69 -0
- package/dist/models/CreateServiceRecordResponse.js.map +1 -0
- package/dist/models/CreateServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/CreateServiceRecordResponseBody.js +58 -0
- package/dist/models/CreateServiceRecordResponseBody.js.map +1 -0
- 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/DeleteServiceRecordRequest.d.ts +24 -0
- package/dist/models/DeleteServiceRecordRequest.js +58 -0
- package/dist/models/DeleteServiceRecordRequest.js.map +1 -0
- package/dist/models/DeleteServiceRecordResponse.d.ts +19 -0
- package/dist/models/DeleteServiceRecordResponse.js +69 -0
- package/dist/models/DeleteServiceRecordResponse.js.map +1 -0
- package/dist/models/DeleteServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/DeleteServiceRecordResponseBody.js +58 -0
- package/dist/models/DeleteServiceRecordResponseBody.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 +23 -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/GetServiceRecordRequest.d.ts +24 -0
- package/dist/models/GetServiceRecordRequest.js +58 -0
- package/dist/models/GetServiceRecordRequest.js.map +1 -0
- package/dist/models/GetServiceRecordResponse.d.ts +19 -0
- package/dist/models/GetServiceRecordResponse.js +69 -0
- package/dist/models/GetServiceRecordResponse.js.map +1 -0
- package/dist/models/GetServiceRecordResponseBody.d.ts +71 -0
- package/dist/models/GetServiceRecordResponseBody.js +88 -0
- package/dist/models/GetServiceRecordResponseBody.js.map +1 -0
- 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 +23 -23
- 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/ListServiceRecordsRequest.d.ts +51 -0
- package/dist/models/ListServiceRecordsRequest.js +64 -0
- package/dist/models/ListServiceRecordsRequest.js.map +1 -0
- package/dist/models/ListServiceRecordsResponse.d.ts +19 -0
- package/dist/models/ListServiceRecordsResponse.js +69 -0
- package/dist/models/ListServiceRecordsResponse.js.map +1 -0
- package/dist/models/ListServiceRecordsResponseBody.d.ts +101 -0
- package/dist/models/ListServiceRecordsResponseBody.js +94 -0
- package/dist/models/ListServiceRecordsResponseBody.js.map +1 -0
- 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/UpdateServiceRecordRequest.d.ts +40 -0
- package/dist/models/UpdateServiceRecordRequest.js +60 -0
- package/dist/models/UpdateServiceRecordRequest.js.map +1 -0
- package/dist/models/UpdateServiceRecordResponse.d.ts +19 -0
- package/dist/models/UpdateServiceRecordResponse.js +69 -0
- package/dist/models/UpdateServiceRecordResponse.js.map +1 -0
- package/dist/models/UpdateServiceRecordResponseBody.d.ts +21 -0
- package/dist/models/UpdateServiceRecordResponseBody.js +58 -0
- package/dist/models/UpdateServiceRecordResponseBody.js.map +1 -0
- package/dist/models/UpdateSubscriptionRequest.d.ts +1 -1
- package/dist/models/UpdateSubscriptionResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +47 -0
- package/dist/models/model.js +120 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +441 -63
- 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/CreateServiceRecordRequest.ts +55 -0
- package/src/models/CreateServiceRecordResponse.ts +40 -0
- package/src/models/CreateServiceRecordResponseBody.ts +34 -0
- package/src/models/DatasourceConfigUnified.ts +21 -0
- package/src/models/DatasourceTypeFilter.ts +31 -0
- package/src/models/DeleteServiceRecordRequest.ts +37 -0
- package/src/models/DeleteServiceRecordResponse.ts +40 -0
- package/src/models/DeleteServiceRecordResponseBody.ts +34 -0
- package/src/models/DescribeMetricMetaListRequest.ts +23 -20
- package/src/models/DescribeMetricMetaListResponseBody.ts +23 -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/GetServiceRecordRequest.ts +37 -0
- package/src/models/GetServiceRecordResponse.ts +40 -0
- package/src/models/GetServiceRecordResponseBody.ts +105 -0
- 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 +23 -23
- 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/ListServiceRecordsRequest.ts +70 -0
- package/src/models/ListServiceRecordsResponse.ts +40 -0
- package/src/models/ListServiceRecordsResponseBody.ts +141 -0
- 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/UpdateServiceRecordRequest.ts +55 -0
- package/src/models/UpdateServiceRecordResponse.ts +40 -0
- package/src/models/UpdateServiceRecordResponseBody.ts +34 -0
- package/src/models/UpdateSubscriptionRequest.ts +1 -1
- package/src/models/UpdateSubscriptionResponseBody.ts +1 -1
- package/src/models/model.ts +47 -0
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ObserveGroupDiscoverRuleNameRulesTags extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The matching operation.
|
|
9
|
+
*/
|
|
10
|
+
op?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The list of matching values.
|
|
14
|
+
*/
|
|
15
|
+
tagValues?: string[];
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
op: 'Op',
|
|
19
|
+
tagValues: 'TagValues',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
op: 'string',
|
|
26
|
+
tagValues: { 'type': 'array', 'itemType': 'string' },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
if(Array.isArray(this.tagValues)) {
|
|
32
|
+
$dara.Model.validateArray(this.tagValues);
|
|
33
|
+
}
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export class ObserveGroupDiscoverRuleNameRules extends $dara.Model {
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The name matching logic.
|
|
46
|
+
*/
|
|
47
|
+
op?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The list of name conditions.
|
|
51
|
+
*/
|
|
52
|
+
tags?: ObserveGroupDiscoverRuleNameRulesTags[];
|
|
53
|
+
static names(): { [key: string]: string } {
|
|
54
|
+
return {
|
|
55
|
+
op: 'Op',
|
|
56
|
+
tags: 'Tags',
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static types(): { [key: string]: any } {
|
|
61
|
+
return {
|
|
62
|
+
op: 'string',
|
|
63
|
+
tags: { 'type': 'array', 'itemType': ObserveGroupDiscoverRuleNameRulesTags },
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
validate() {
|
|
68
|
+
if(Array.isArray(this.tags)) {
|
|
69
|
+
$dara.Model.validateArray(this.tags);
|
|
70
|
+
}
|
|
71
|
+
super.validate();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
constructor(map?: { [key: string]: any }) {
|
|
75
|
+
super(map);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export class ObserveGroupDiscoverRuleTagRulesTags extends $dara.Model {
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The matching operation.
|
|
83
|
+
*/
|
|
84
|
+
op?: string;
|
|
85
|
+
/**
|
|
86
|
+
* @remarks
|
|
87
|
+
* The tag key.
|
|
88
|
+
*/
|
|
89
|
+
tagKey?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The list of tag values.
|
|
93
|
+
*/
|
|
94
|
+
tagValues?: string[];
|
|
95
|
+
static names(): { [key: string]: string } {
|
|
96
|
+
return {
|
|
97
|
+
op: 'Op',
|
|
98
|
+
tagKey: 'TagKey',
|
|
99
|
+
tagValues: 'TagValues',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
op: 'string',
|
|
106
|
+
tagKey: 'string',
|
|
107
|
+
tagValues: { 'type': 'array', 'itemType': 'string' },
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
validate() {
|
|
112
|
+
if(Array.isArray(this.tagValues)) {
|
|
113
|
+
$dara.Model.validateArray(this.tagValues);
|
|
114
|
+
}
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
constructor(map?: { [key: string]: any }) {
|
|
119
|
+
super(map);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export class ObserveGroupDiscoverRuleTagRules extends $dara.Model {
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The tag matching logic.
|
|
127
|
+
*/
|
|
128
|
+
op?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @remarks
|
|
131
|
+
* The list of tag conditions.
|
|
132
|
+
*/
|
|
133
|
+
tags?: ObserveGroupDiscoverRuleTagRulesTags[];
|
|
134
|
+
static names(): { [key: string]: string } {
|
|
135
|
+
return {
|
|
136
|
+
op: 'Op',
|
|
137
|
+
tags: 'Tags',
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
static types(): { [key: string]: any } {
|
|
142
|
+
return {
|
|
143
|
+
op: 'string',
|
|
144
|
+
tags: { 'type': 'array', 'itemType': ObserveGroupDiscoverRuleTagRulesTags },
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
validate() {
|
|
149
|
+
if(Array.isArray(this.tags)) {
|
|
150
|
+
$dara.Model.validateArray(this.tags);
|
|
151
|
+
}
|
|
152
|
+
super.validate();
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
constructor(map?: { [key: string]: any }) {
|
|
156
|
+
super(map);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export class ObserveGroupDiscoverRule extends $dara.Model {
|
|
161
|
+
/**
|
|
162
|
+
* @remarks
|
|
163
|
+
* Indicates whether the rule is enabled. If set to false, the data plane skips this rule and does not perform matching, tagging, or delivery.
|
|
164
|
+
*/
|
|
165
|
+
enabled?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* The entity type (legacy). This parameter is retained for backward compatibility. Use entityTypes instead.
|
|
169
|
+
*/
|
|
170
|
+
entityType?: string;
|
|
171
|
+
/**
|
|
172
|
+
* @remarks
|
|
173
|
+
* The list of entity types. A single rule can match across multiple types, such as acs.ecs.instance, acs.rds.instance, and acs.arms.service.
|
|
174
|
+
*/
|
|
175
|
+
entityTypes?: string[];
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The time when the rule was created, in UNIX millisecond timestamp format. This value is used for display in the console.
|
|
179
|
+
*/
|
|
180
|
+
gmtCreate?: number;
|
|
181
|
+
/**
|
|
182
|
+
* @remarks
|
|
183
|
+
* The list of manually specified instance IDs. This is an enumeration type and includes instances synchronized manually in version 1.0.
|
|
184
|
+
*/
|
|
185
|
+
instanceIds?: string[];
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* The name matching rules.
|
|
189
|
+
*/
|
|
190
|
+
nameRules?: ObserveGroupDiscoverRuleNameRules;
|
|
191
|
+
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* The list of region IDs used for region-based filtering.
|
|
194
|
+
*/
|
|
195
|
+
regionIds?: string[];
|
|
196
|
+
/**
|
|
197
|
+
* @remarks
|
|
198
|
+
* The resource group ID used for filtering.
|
|
199
|
+
*/
|
|
200
|
+
resourceGroupId?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* The stable ID of the rule, used as an anchor for editing, deleting, and enabling or disabling operations. Format: dr-<16-character hash>.
|
|
204
|
+
*/
|
|
205
|
+
ruleId?: string;
|
|
206
|
+
/**
|
|
207
|
+
* @remarks
|
|
208
|
+
* The matching method. Valid values: byTag, byResourceGroup, byInstanceName, byManual, and bySpl.
|
|
209
|
+
*/
|
|
210
|
+
ruleType?: string;
|
|
211
|
+
/**
|
|
212
|
+
* @remarks
|
|
213
|
+
* The applicable scope. Valid values: all (all entity types, exclusive) and entity (specified entity types).
|
|
214
|
+
*/
|
|
215
|
+
scope?: string;
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The complete SPL expression for advanced configuration. If this parameter is not empty, it takes precedence over other filter fields.
|
|
219
|
+
*/
|
|
220
|
+
spl?: string;
|
|
221
|
+
/**
|
|
222
|
+
* @remarks
|
|
223
|
+
* The tag matching rules.
|
|
224
|
+
*/
|
|
225
|
+
tagRules?: ObserveGroupDiscoverRuleTagRules;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* The UID of the user to whom the rule belongs.
|
|
229
|
+
*/
|
|
230
|
+
userId?: string;
|
|
231
|
+
static names(): { [key: string]: string } {
|
|
232
|
+
return {
|
|
233
|
+
enabled: 'Enabled',
|
|
234
|
+
entityType: 'EntityType',
|
|
235
|
+
entityTypes: 'EntityTypes',
|
|
236
|
+
gmtCreate: 'GmtCreate',
|
|
237
|
+
instanceIds: 'InstanceIds',
|
|
238
|
+
nameRules: 'NameRules',
|
|
239
|
+
regionIds: 'RegionIds',
|
|
240
|
+
resourceGroupId: 'ResourceGroupId',
|
|
241
|
+
ruleId: 'RuleId',
|
|
242
|
+
ruleType: 'RuleType',
|
|
243
|
+
scope: 'Scope',
|
|
244
|
+
spl: 'Spl',
|
|
245
|
+
tagRules: 'TagRules',
|
|
246
|
+
userId: 'UserId',
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
static types(): { [key: string]: any } {
|
|
251
|
+
return {
|
|
252
|
+
enabled: 'boolean',
|
|
253
|
+
entityType: 'string',
|
|
254
|
+
entityTypes: { 'type': 'array', 'itemType': 'string' },
|
|
255
|
+
gmtCreate: 'number',
|
|
256
|
+
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
257
|
+
nameRules: ObserveGroupDiscoverRuleNameRules,
|
|
258
|
+
regionIds: { 'type': 'array', 'itemType': 'string' },
|
|
259
|
+
resourceGroupId: 'string',
|
|
260
|
+
ruleId: 'string',
|
|
261
|
+
ruleType: 'string',
|
|
262
|
+
scope: 'string',
|
|
263
|
+
spl: 'string',
|
|
264
|
+
tagRules: ObserveGroupDiscoverRuleTagRules,
|
|
265
|
+
userId: 'string',
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
validate() {
|
|
270
|
+
if(Array.isArray(this.entityTypes)) {
|
|
271
|
+
$dara.Model.validateArray(this.entityTypes);
|
|
272
|
+
}
|
|
273
|
+
if(Array.isArray(this.instanceIds)) {
|
|
274
|
+
$dara.Model.validateArray(this.instanceIds);
|
|
275
|
+
}
|
|
276
|
+
if(this.nameRules && typeof (this.nameRules as any).validate === 'function') {
|
|
277
|
+
(this.nameRules as any).validate();
|
|
278
|
+
}
|
|
279
|
+
if(Array.isArray(this.regionIds)) {
|
|
280
|
+
$dara.Model.validateArray(this.regionIds);
|
|
281
|
+
}
|
|
282
|
+
if(this.tagRules && typeof (this.tagRules as any).validate === 'function') {
|
|
283
|
+
(this.tagRules as any).validate();
|
|
284
|
+
}
|
|
285
|
+
super.validate();
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
constructor(map?: { [key: string]: any }) {
|
|
289
|
+
super(map);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ObserveGroupInstance extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entity category (adapted by entityType).
|
|
9
|
+
*/
|
|
10
|
+
category?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The key-value pairs of monitoring dimensions.
|
|
14
|
+
*/
|
|
15
|
+
dimension?: { [key: string]: string };
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The entity domain (such as acs).
|
|
19
|
+
*/
|
|
20
|
+
entityDomain?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @remarks
|
|
23
|
+
* The entity type (such as acs.ecs.instance).
|
|
24
|
+
*/
|
|
25
|
+
entityType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The ID of the observation group to which the entity belongs.
|
|
29
|
+
*/
|
|
30
|
+
groupId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The instance ID.
|
|
34
|
+
*/
|
|
35
|
+
instanceId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The instance name.
|
|
39
|
+
*/
|
|
40
|
+
instanceName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The region ID of the instance.
|
|
44
|
+
*/
|
|
45
|
+
regionId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The resource group ID of the instance.
|
|
49
|
+
*/
|
|
50
|
+
resourceGroupId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The key-value pairs of instance tags.
|
|
54
|
+
*/
|
|
55
|
+
tags?: { [key: string]: string };
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The UID of the user to which the instance belongs.
|
|
59
|
+
*/
|
|
60
|
+
userId?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
category: 'category',
|
|
64
|
+
dimension: 'dimension',
|
|
65
|
+
entityDomain: 'entityDomain',
|
|
66
|
+
entityType: 'entityType',
|
|
67
|
+
groupId: 'groupId',
|
|
68
|
+
instanceId: 'instanceId',
|
|
69
|
+
instanceName: 'instanceName',
|
|
70
|
+
regionId: 'regionId',
|
|
71
|
+
resourceGroupId: 'resourceGroupId',
|
|
72
|
+
tags: 'tags',
|
|
73
|
+
userId: 'userId',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
category: 'string',
|
|
80
|
+
dimension: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
81
|
+
entityDomain: 'string',
|
|
82
|
+
entityType: 'string',
|
|
83
|
+
groupId: 'string',
|
|
84
|
+
instanceId: 'string',
|
|
85
|
+
instanceName: 'string',
|
|
86
|
+
regionId: 'string',
|
|
87
|
+
resourceGroupId: 'string',
|
|
88
|
+
tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
89
|
+
userId: 'string',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(this.dimension) {
|
|
95
|
+
$dara.Model.validateMap(this.dimension);
|
|
96
|
+
}
|
|
97
|
+
if(this.tags) {
|
|
98
|
+
$dara.Model.validateMap(this.tags);
|
|
99
|
+
}
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
@@ -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 ObserveResourceGlobalScopeFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to retrieve only resources that are exclusive to the global scope.
|
|
9
|
+
*/
|
|
10
|
+
eq?: boolean;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
eq: 'eq',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
eq: 'boolean',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -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 ObserveResourceListFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Returns resources if a specified property contains any string in this array.
|
|
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
|
+
|
|
@@ -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 ObserveResourceTypeFilter extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The exact resource type to query. Returns only resources of this type.
|
|
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
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class OpenCmsServiceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Indicates whether the service or commodity is activated.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,7 +13,7 @@ export class OpenCmsServiceResponseBody extends $dara.Model {
|
|
|
13
13
|
enabled?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Id of the request
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 264C3E89-XXXX-XXXX-XXXX-CE9C2196C7DC
|
|
@@ -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
|