@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
|
@@ -45,7 +45,7 @@ export class ListPrometheusViewsRequestTag extends $dara.Model {
|
|
|
45
45
|
export class ListPrometheusViewsRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* Filters by region ID.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* cn-zhangjiakou,cn-beijing
|
|
@@ -75,7 +75,7 @@ export class ListPrometheusViewsRequest extends $dara.Model {
|
|
|
75
75
|
nextToken?: string;
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The
|
|
78
|
+
* The list of Prometheus view instance IDs.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* view-xxx
|
|
@@ -83,7 +83,7 @@ export class ListPrometheusViewsRequest extends $dara.Model {
|
|
|
83
83
|
prometheusViewIds?: string;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* The
|
|
86
|
+
* The Prometheus view name.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* view1
|
|
@@ -112,7 +112,7 @@ export class ListPrometheusViewsRequest extends $dara.Model {
|
|
|
112
112
|
tag?: ListPrometheusViewsRequestTag[];
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The instance version
|
|
115
|
+
* The instance version: V1 or V2.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* V2
|
|
@@ -120,7 +120,7 @@ export class ListPrometheusViewsRequest extends $dara.Model {
|
|
|
120
120
|
version?: string;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The name
|
|
123
|
+
* The workspace name.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* workspace-test
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance creation time in UTC+0, in the format of yyyy-MM-ddTHH:mmZ.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 2025-07-12T02:18:36Z
|
|
@@ -13,7 +13,9 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
13
13
|
createTime?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The instance type
|
|
16
|
+
* The instance type:
|
|
17
|
+
* prom-view: aggregated view of the new version.
|
|
18
|
+
* global-view: aggregated view of the legacy version.
|
|
17
19
|
*
|
|
18
20
|
* @example
|
|
19
21
|
* prom-view
|
|
@@ -21,7 +23,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
21
23
|
instanceType?: string;
|
|
22
24
|
/**
|
|
23
25
|
* @remarks
|
|
24
|
-
* The billing
|
|
26
|
+
* The billing type. Currently, the fixed value is FREE.
|
|
25
27
|
*
|
|
26
28
|
* @example
|
|
27
29
|
* FREE
|
|
@@ -29,7 +31,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
29
31
|
paymentType?: string;
|
|
30
32
|
/**
|
|
31
33
|
* @remarks
|
|
32
|
-
* The product to which the Prometheus instance belongs
|
|
34
|
+
* The product to which the Prometheus instance belongs (arms or cms).
|
|
33
35
|
*
|
|
34
36
|
* @example
|
|
35
37
|
* cms
|
|
@@ -37,7 +39,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
37
39
|
product?: string;
|
|
38
40
|
/**
|
|
39
41
|
* @remarks
|
|
40
|
-
* The number of Prometheus instances in the view.
|
|
42
|
+
* The number of Prometheus instances included in the view.
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
43
45
|
* 2
|
|
@@ -53,7 +55,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
53
55
|
prometheusViewId?: string;
|
|
54
56
|
/**
|
|
55
57
|
* @remarks
|
|
56
|
-
* The
|
|
58
|
+
* The Prometheus view name.
|
|
57
59
|
*
|
|
58
60
|
* @example
|
|
59
61
|
* view1
|
|
@@ -69,7 +71,15 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
69
71
|
regionId?: string;
|
|
70
72
|
/**
|
|
71
73
|
* @remarks
|
|
72
|
-
* The resource
|
|
74
|
+
* The resource group ID.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* rg-acfm3gn5i6bigbi
|
|
78
|
+
*/
|
|
79
|
+
resourceGroupId?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The fixed value: PrometheusView.
|
|
73
83
|
*
|
|
74
84
|
* @example
|
|
75
85
|
* PrometheusView
|
|
@@ -77,7 +87,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
77
87
|
resourceType?: string;
|
|
78
88
|
/**
|
|
79
89
|
* @remarks
|
|
80
|
-
* The
|
|
90
|
+
* The backend data storage status.
|
|
81
91
|
*
|
|
82
92
|
* @example
|
|
83
93
|
* Running
|
|
@@ -117,6 +127,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
117
127
|
prometheusViewId: 'prometheusViewId',
|
|
118
128
|
prometheusViewName: 'prometheusViewName',
|
|
119
129
|
regionId: 'regionId',
|
|
130
|
+
resourceGroupId: 'resourceGroupId',
|
|
120
131
|
resourceType: 'resourceType',
|
|
121
132
|
status: 'status',
|
|
122
133
|
userId: 'userId',
|
|
@@ -135,6 +146,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
135
146
|
prometheusViewId: 'string',
|
|
136
147
|
prometheusViewName: 'string',
|
|
137
148
|
regionId: 'string',
|
|
149
|
+
resourceGroupId: 'string',
|
|
138
150
|
resourceType: 'string',
|
|
139
151
|
status: 'string',
|
|
140
152
|
userId: 'string',
|
|
@@ -155,7 +167,7 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
|
|
|
155
167
|
export class ListPrometheusViewsResponseBody extends $dara.Model {
|
|
156
168
|
/**
|
|
157
169
|
* @remarks
|
|
158
|
-
* The maximum number of records
|
|
170
|
+
* The maximum number of records to return.
|
|
159
171
|
*
|
|
160
172
|
* @example
|
|
161
173
|
* 10
|
|
@@ -179,7 +191,7 @@ export class ListPrometheusViewsResponseBody extends $dara.Model {
|
|
|
179
191
|
prometheusViews?: ListPrometheusViewsResponseBodyPrometheusViews[];
|
|
180
192
|
/**
|
|
181
193
|
* @remarks
|
|
182
|
-
*
|
|
194
|
+
* Id of the request
|
|
183
195
|
*
|
|
184
196
|
* @example
|
|
185
197
|
* 0CEC5375-C554-562B-A65F-9A629907C1F0
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListPrometheusViewsShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Filters by region ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cn-zhangjiakou,cn-beijing
|
|
@@ -35,7 +35,7 @@ export class ListPrometheusViewsShrinkRequest extends $dara.Model {
|
|
|
35
35
|
nextToken?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The list of Prometheus view instance IDs.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* view-xxx
|
|
@@ -43,7 +43,7 @@ export class ListPrometheusViewsShrinkRequest extends $dara.Model {
|
|
|
43
43
|
prometheusViewIds?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The Prometheus view name.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* view1
|
|
@@ -72,7 +72,7 @@ export class ListPrometheusViewsShrinkRequest extends $dara.Model {
|
|
|
72
72
|
tagShrink?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The instance version
|
|
75
|
+
* The instance version: V1 or V2.
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* V2
|
|
@@ -80,7 +80,7 @@ export class ListPrometheusViewsShrinkRequest extends $dara.Model {
|
|
|
80
80
|
version?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* The name
|
|
83
|
+
* The workspace name.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* workspace-test
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListServiceRecordsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of entries to return. Maximum value: 200.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 100
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The pagination token.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* xxxxx
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The type of the linked entry. Currently supported:
|
|
25
|
+
* logCorrelation, which indicates application log association.
|
|
26
|
+
*
|
|
27
|
+
* This parameter is required.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* logCorrelation
|
|
31
|
+
*/
|
|
32
|
+
recordType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The filter information for service-linked entries.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* {
|
|
39
|
+
* "serviceName": "my-service",
|
|
40
|
+
* "storeName": "my-logstore"
|
|
41
|
+
* }
|
|
42
|
+
*/
|
|
43
|
+
search?: string;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
maxResults: 'maxResults',
|
|
47
|
+
nextToken: 'nextToken',
|
|
48
|
+
recordType: 'recordType',
|
|
49
|
+
search: 'search',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
maxResults: 'number',
|
|
56
|
+
nextToken: 'string',
|
|
57
|
+
recordType: 'string',
|
|
58
|
+
search: 'string',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListServiceRecordsResponseBody } from "./ListServiceRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListServiceRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListServiceRecordsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListServiceRecordsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListServiceRecordsResponseBodyRecords extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entry content in JSON string format. The format varies depending on the recordType.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* "project": "proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou",
|
|
13
|
+
* "storeName": "app-biz-log",
|
|
14
|
+
* "regionId": "cn-hangzhou",
|
|
15
|
+
* "bindType": "logstore",
|
|
16
|
+
* "traceIdRelateField": ""
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
recordContent?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The type of the linked entry. Currently supported:
|
|
23
|
+
* logCorrelation, which indicates application log association.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* logCorrelation
|
|
27
|
+
*/
|
|
28
|
+
recordType?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* The unique identifier of the service.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* gaddp9ap8q@f8ca37734da3eda787dbb
|
|
35
|
+
*/
|
|
36
|
+
serviceId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The workspace.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* workspace-test
|
|
43
|
+
*/
|
|
44
|
+
workspace?: string;
|
|
45
|
+
static names(): { [key: string]: string } {
|
|
46
|
+
return {
|
|
47
|
+
recordContent: 'recordContent',
|
|
48
|
+
recordType: 'recordType',
|
|
49
|
+
serviceId: 'serviceId',
|
|
50
|
+
workspace: 'workspace',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
static types(): { [key: string]: any } {
|
|
55
|
+
return {
|
|
56
|
+
recordContent: 'string',
|
|
57
|
+
recordType: 'string',
|
|
58
|
+
serviceId: 'string',
|
|
59
|
+
workspace: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class ListServiceRecordsResponseBody extends $dara.Model {
|
|
73
|
+
/**
|
|
74
|
+
* @remarks
|
|
75
|
+
* The maximum number of entries returned.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* 100
|
|
79
|
+
*/
|
|
80
|
+
maxResults?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The pagination token.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 2-ba4d-4b9f-aa24-dcb067a30f1c
|
|
87
|
+
*/
|
|
88
|
+
nextToken?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The list of ticket operation records.
|
|
92
|
+
*/
|
|
93
|
+
records?: ListServiceRecordsResponseBodyRecords[];
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* Id of the request
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 0CEC5375-XXXX-XXXX-XXXX-9A629907C1F0
|
|
100
|
+
*/
|
|
101
|
+
requestId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The total number of entries.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* 100
|
|
108
|
+
*/
|
|
109
|
+
totalCount?: number;
|
|
110
|
+
static names(): { [key: string]: string } {
|
|
111
|
+
return {
|
|
112
|
+
maxResults: 'maxResults',
|
|
113
|
+
nextToken: 'nextToken',
|
|
114
|
+
records: 'records',
|
|
115
|
+
requestId: 'requestId',
|
|
116
|
+
totalCount: 'totalCount',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
static types(): { [key: string]: any } {
|
|
121
|
+
return {
|
|
122
|
+
maxResults: 'number',
|
|
123
|
+
nextToken: 'string',
|
|
124
|
+
records: { 'type': 'array', 'itemType': ListServiceRecordsResponseBodyRecords },
|
|
125
|
+
requestId: 'string',
|
|
126
|
+
totalCount: 'number',
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
validate() {
|
|
131
|
+
if(Array.isArray(this.records)) {
|
|
132
|
+
$dara.Model.validateArray(this.records);
|
|
133
|
+
}
|
|
134
|
+
super.validate();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
constructor(map?: { [key: string]: any }) {
|
|
138
|
+
super(map);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -6,7 +6,7 @@ import { ManageAlertRulesUnifiedActionInput } from "./ManageAlertRulesUnifiedAct
|
|
|
6
6
|
export class ManageAlertRulesRequest extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* The request body for managing alert rules. This body is shared by CREATE, UPDATE, PATCH, and BATCH_DELETE operations. Specify fields based on the action.
|
|
10
10
|
*/
|
|
11
11
|
body?: ManageAlertRulesUnifiedActionInput;
|
|
12
12
|
static names(): { [key: string]: string } {
|
|
@@ -19,11 +19,23 @@ export class ManageAlertRulesResult extends $dara.Model {
|
|
|
19
19
|
* A list of UUIDs of deleted alert rules.
|
|
20
20
|
*/
|
|
21
21
|
deletedUuidList?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of updated alert rules.
|
|
25
|
+
*/
|
|
26
|
+
updatedCount?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* A list of UUIDs of updated alert rules.
|
|
30
|
+
*/
|
|
31
|
+
updatedUuidList?: string[];
|
|
22
32
|
static names(): { [key: string]: string } {
|
|
23
33
|
return {
|
|
24
34
|
alertRule: 'alertRule',
|
|
25
35
|
deletedCount: 'deletedCount',
|
|
26
36
|
deletedUuidList: 'deletedUuidList',
|
|
37
|
+
updatedCount: 'updatedCount',
|
|
38
|
+
updatedUuidList: 'updatedUuidList',
|
|
27
39
|
};
|
|
28
40
|
}
|
|
29
41
|
|
|
@@ -32,6 +44,8 @@ export class ManageAlertRulesResult extends $dara.Model {
|
|
|
32
44
|
alertRule: AlertRuleV2,
|
|
33
45
|
deletedCount: 'number',
|
|
34
46
|
deletedUuidList: { 'type': 'array', 'itemType': 'string' },
|
|
47
|
+
updatedCount: 'number',
|
|
48
|
+
updatedUuidList: { 'type': 'array', 'itemType': 'string' },
|
|
35
49
|
};
|
|
36
50
|
}
|
|
37
51
|
|
|
@@ -42,6 +56,9 @@ export class ManageAlertRulesResult extends $dara.Model {
|
|
|
42
56
|
if(Array.isArray(this.deletedUuidList)) {
|
|
43
57
|
$dara.Model.validateArray(this.deletedUuidList);
|
|
44
58
|
}
|
|
59
|
+
if(Array.isArray(this.updatedUuidList)) {
|
|
60
|
+
$dara.Model.validateArray(this.updatedUuidList);
|
|
61
|
+
}
|
|
45
62
|
super.validate();
|
|
46
63
|
}
|
|
47
64
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ManageAlertRulesShrinkRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The request body for managing alert rules. This body is shared by CREATE, UPDATE, PATCH, and BATCH_DELETE operations. Specify fields based on the action.
|
|
9
9
|
*/
|
|
10
10
|
bodyShrink?: string;
|
|
11
11
|
static names(): { [key: string]: string } {
|
|
@@ -12,85 +12,25 @@ import { ScheduleConfigUnified } from "./ScheduleConfigUnified";
|
|
|
12
12
|
export class ManageAlertRulesUnifiedActionInput extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The action to perform on the alert rule. For example, `create` or `update`.
|
|
16
|
-
*
|
|
17
15
|
* This parameter is required.
|
|
18
16
|
*/
|
|
19
17
|
action?: string;
|
|
20
|
-
/**
|
|
21
|
-
* @remarks
|
|
22
|
-
* The action integration configuration for triggering automated workflows or actions in external systems.
|
|
23
|
-
*/
|
|
24
18
|
actionIntegrationConfig?: ActionIntegrationConfig;
|
|
25
|
-
/**
|
|
26
|
-
* @remarks
|
|
27
|
-
* A collection of key-value pairs attached to the alert as annotations. Use annotations to provide additional, non-identifying information, such as descriptions or runbook links.
|
|
28
|
-
*/
|
|
29
19
|
annotations?: { [key: string]: string };
|
|
30
|
-
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* Configuration for integrating with Application Real-Time Monitoring Service (ARMS).
|
|
33
|
-
*/
|
|
34
20
|
armsIntegrationConfig?: ArmsIntegrationConfig;
|
|
35
|
-
/**
|
|
36
|
-
* @remarks
|
|
37
|
-
* The condition configuration that specifies the trigger criteria for the alert.
|
|
38
|
-
*/
|
|
39
21
|
conditionConfig?: ConditionConfigUnified;
|
|
40
|
-
/**
|
|
41
|
-
* @remarks
|
|
42
|
-
* The content template for the alert notification. You can use variables to customize the message.
|
|
43
|
-
*/
|
|
44
22
|
contentTemplate?: string;
|
|
45
|
-
/**
|
|
46
|
-
* @remarks
|
|
47
|
-
* The data source configuration for the alert rule.
|
|
48
|
-
*/
|
|
49
23
|
datasourceConfig?: DatasourceConfigUnified;
|
|
50
|
-
/**
|
|
51
|
-
* @remarks
|
|
52
|
-
* The display name of the alert rule, as shown in the console.
|
|
53
|
-
*/
|
|
54
24
|
displayName?: string;
|
|
55
|
-
/**
|
|
56
|
-
* @remarks
|
|
57
|
-
* Specifies whether the alert rule is enabled. A value of `true` indicates the rule is active, and `false` indicates it is inactive. Default: `true`.
|
|
58
|
-
*/
|
|
59
25
|
enabled?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* @remarks
|
|
62
|
-
* A collection of key-value pairs attached to the alert rule as labels. Use labels for categorization and filtering.
|
|
63
|
-
*/
|
|
64
26
|
labels?: { [key: string]: string };
|
|
65
|
-
/**
|
|
66
|
-
* @remarks
|
|
67
|
-
* The notification configuration that specifies how and where to send alert notifications.
|
|
68
|
-
*/
|
|
69
27
|
notifyConfig?: NotifyConfigUnified;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
* The query configuration that defines the data for rule evaluation.
|
|
73
|
-
*/
|
|
28
|
+
observeResourceInstanceId?: string;
|
|
29
|
+
observeResourceType?: string;
|
|
74
30
|
queryConfig?: QueryConfigUnified;
|
|
75
|
-
/**
|
|
76
|
-
* @remarks
|
|
77
|
-
* The schedule configuration that determines how often the system evaluates the rule.
|
|
78
|
-
*/
|
|
79
31
|
scheduleConfig?: ScheduleConfigUnified;
|
|
80
|
-
/**
|
|
81
|
-
* @remarks
|
|
82
|
-
* The unique identifier (UUID) of the alert rule. This parameter is required when you update or delete an existing rule.
|
|
83
|
-
*/
|
|
84
32
|
uuid?: string;
|
|
85
|
-
/**
|
|
86
|
-
* @remarks
|
|
87
|
-
* A list of UUIDs. Use this parameter to perform bulk actions on multiple rules, such as batch deletion.
|
|
88
|
-
*/
|
|
89
33
|
uuidList?: string[];
|
|
90
|
-
/**
|
|
91
|
-
* @remarks
|
|
92
|
-
* The ID of the workspace that contains the alert rule.
|
|
93
|
-
*/
|
|
94
34
|
workspace?: string;
|
|
95
35
|
static names(): { [key: string]: string } {
|
|
96
36
|
return {
|
|
@@ -105,6 +45,8 @@ export class ManageAlertRulesUnifiedActionInput extends $dara.Model {
|
|
|
105
45
|
enabled: 'enabled',
|
|
106
46
|
labels: 'labels',
|
|
107
47
|
notifyConfig: 'notifyConfig',
|
|
48
|
+
observeResourceInstanceId: 'observeResourceInstanceId',
|
|
49
|
+
observeResourceType: 'observeResourceType',
|
|
108
50
|
queryConfig: 'queryConfig',
|
|
109
51
|
scheduleConfig: 'scheduleConfig',
|
|
110
52
|
uuid: 'uuid',
|
|
@@ -126,6 +68,8 @@ export class ManageAlertRulesUnifiedActionInput extends $dara.Model {
|
|
|
126
68
|
enabled: 'boolean',
|
|
127
69
|
labels: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
128
70
|
notifyConfig: NotifyConfigUnified,
|
|
71
|
+
observeResourceInstanceId: 'string',
|
|
72
|
+
observeResourceType: 'string',
|
|
129
73
|
queryConfig: QueryConfigUnified,
|
|
130
74
|
scheduleConfig: ScheduleConfigUnified,
|
|
131
75
|
uuid: 'string',
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { MetricSetTriggerSimpleExpression } from "./MetricSetTriggerSimpleExpression";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class MetricSetMultiTrigger extends $dara.Model {
|
|
7
|
+
conditions?: MetricSetTriggerSimpleExpression[];
|
|
8
|
+
durationSecs?: number;
|
|
9
|
+
expressionType?: string;
|
|
10
|
+
logicOperator?: string;
|
|
11
|
+
max?: number;
|
|
12
|
+
min?: number;
|
|
13
|
+
operator?: string;
|
|
14
|
+
queryName?: string;
|
|
15
|
+
severity?: string;
|
|
16
|
+
threshold?: number;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
conditions: 'conditions',
|
|
20
|
+
durationSecs: 'durationSecs',
|
|
21
|
+
expressionType: 'expressionType',
|
|
22
|
+
logicOperator: 'logicOperator',
|
|
23
|
+
max: 'max',
|
|
24
|
+
min: 'min',
|
|
25
|
+
operator: 'operator',
|
|
26
|
+
queryName: 'queryName',
|
|
27
|
+
severity: 'severity',
|
|
28
|
+
threshold: 'threshold',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
conditions: { 'type': 'array', 'itemType': MetricSetTriggerSimpleExpression },
|
|
35
|
+
durationSecs: 'number',
|
|
36
|
+
expressionType: 'string',
|
|
37
|
+
logicOperator: 'string',
|
|
38
|
+
max: 'number',
|
|
39
|
+
min: 'number',
|
|
40
|
+
operator: 'string',
|
|
41
|
+
queryName: 'string',
|
|
42
|
+
severity: 'string',
|
|
43
|
+
threshold: 'number',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
if(Array.isArray(this.conditions)) {
|
|
49
|
+
$dara.Model.validateArray(this.conditions);
|
|
50
|
+
}
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|