@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
package/dist/client.js
CHANGED
|
@@ -48,7 +48,52 @@ __exportStar(require("./models/model"), exports);
|
|
|
48
48
|
class Client extends openapi_core_1.default {
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
|
-
this._endpointRule = "";
|
|
51
|
+
this._endpointRule = "regional";
|
|
52
|
+
this._endpointMap = {
|
|
53
|
+
'us-west-1': "metrics.us-west-1.aliyuncs.com",
|
|
54
|
+
'us-southeast-1': "metrics.us-southeast-1.aliyuncs.com",
|
|
55
|
+
'us-east-1': "metrics.us-east-1.aliyuncs.com",
|
|
56
|
+
'na-south-1': "metrics.na-south-1.aliyuncs.com",
|
|
57
|
+
'me-east-1': "metrics.me-east-1.aliyuncs.com",
|
|
58
|
+
'me-central-1': "metrics.me-central-1.aliyuncs.com",
|
|
59
|
+
'eu-west-2': "metrics.eu-west-2.aliyuncs.com",
|
|
60
|
+
'eu-west-1': "metrics.eu-west-1.aliyuncs.com",
|
|
61
|
+
'eu-central-1': "metrics.eu-central-1.aliyuncs.com",
|
|
62
|
+
'cn-zhongwei': "metrics.cn-zhongwei.aliyuncs.com",
|
|
63
|
+
'cn-zhengzhou-jva': "metrics.cn-zhengzhou-jva.aliyuncs.com",
|
|
64
|
+
'cn-zhangjiakou': "metrics.cn-zhangjiakou.aliyuncs.com",
|
|
65
|
+
'cn-wulanchabu-gic-1': "metrics.cn-wulanchabu-gic-1.aliyuncs.com",
|
|
66
|
+
'cn-wulanchabu': "metrics.cn-wulanchabu.aliyuncs.com",
|
|
67
|
+
'cn-wuhan-lr': "metrics.cn-wuhan-lr.aliyuncs.com",
|
|
68
|
+
'cn-shenzhen-finance-1': "metrics.cn-shenzhen-finance-1.aliyuncs.com",
|
|
69
|
+
'cn-shenzhen': "metrics.cn-shenzhen.aliyuncs.com",
|
|
70
|
+
'cn-shanghai-finance-1': "metrics.cn-shanghai-finance-1.aliyuncs.com",
|
|
71
|
+
'cn-shanghai': "metrics.cn-shanghai.aliyuncs.com",
|
|
72
|
+
'cn-qingdao': "metrics.cn-qingdao.aliyuncs.com",
|
|
73
|
+
'cn-north-2-gov-1': "metrics.cn-north-2-gov-1.aliyuncs.com",
|
|
74
|
+
'cn-nanjing': "metrics.cn-nanjing.aliyuncs.com",
|
|
75
|
+
'cn-huhehaote': "metrics.cn-huhehaote.aliyuncs.com",
|
|
76
|
+
'cn-hongkong': "metrics.cn-hongkong.aliyuncs.com",
|
|
77
|
+
'cn-heyuan-acdr-1': "metrics.cn-heyuan-acdr-1.aliyuncs.com",
|
|
78
|
+
'cn-heyuan': "metrics.cn-heyuan.aliyuncs.com",
|
|
79
|
+
'cn-hangzhou-finance': "metrics.cn-hangzhou-finance.aliyuncs.com",
|
|
80
|
+
'cn-hangzhou': "metrics.cn-hangzhou.aliyuncs.com",
|
|
81
|
+
'cn-guangzhou': "metrics.cn-guangzhou.aliyuncs.com",
|
|
82
|
+
'cn-fuzhou': "metrics.cn-fuzhou.aliyuncs.com",
|
|
83
|
+
'cn-chengdu': "metrics.cn-chengdu.aliyuncs.com",
|
|
84
|
+
'cn-beijing-finance-1': "metrics.cn-beijing-finance-1.aliyuncs.com",
|
|
85
|
+
'cn-beijing': "metrics.cn-beijing.aliyuncs.com",
|
|
86
|
+
'ap-southeast-8': "metrics.ap-southeast-8.aliyuncs.com",
|
|
87
|
+
'ap-southeast-7': "metrics.ap-southeast-7.aliyuncs.com",
|
|
88
|
+
'ap-southeast-6': "metrics.ap-southeast-6.aliyuncs.com",
|
|
89
|
+
'ap-southeast-5': "metrics.ap-southeast-5.aliyuncs.com",
|
|
90
|
+
'ap-southeast-3': "metrics.ap-southeast-3.aliyuncs.com",
|
|
91
|
+
'ap-southeast-2': "metrics.ap-southeast-2.aliyuncs.com",
|
|
92
|
+
'ap-southeast-1': "metrics.ap-southeast-1.aliyuncs.com",
|
|
93
|
+
'ap-south-1': "metrics.ap-south-1.aliyuncs.com",
|
|
94
|
+
'ap-northeast-2': "metrics.ap-northeast-2.aliyuncs.com",
|
|
95
|
+
'ap-northeast-1': "metrics.ap-northeast-1.aliyuncs.com",
|
|
96
|
+
};
|
|
52
97
|
this.checkConfig(config);
|
|
53
98
|
this._endpoint = this.getEndpoint("cms", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
54
99
|
}
|
|
@@ -302,7 +347,7 @@ class Client extends openapi_core_1.default {
|
|
|
302
347
|
return await this.createAddonReleaseWithOptions(policyId, request, headers, runtime);
|
|
303
348
|
}
|
|
304
349
|
/**
|
|
305
|
-
*
|
|
350
|
+
* Create an aggregation task group.
|
|
306
351
|
*
|
|
307
352
|
* @param request - CreateAggTaskGroupRequest
|
|
308
353
|
* @param headers - map
|
|
@@ -383,7 +428,7 @@ class Client extends openapi_core_1.default {
|
|
|
383
428
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAggTaskGroupResponse({}));
|
|
384
429
|
}
|
|
385
430
|
/**
|
|
386
|
-
*
|
|
431
|
+
* Create an aggregation task group.
|
|
387
432
|
*
|
|
388
433
|
* @param request - CreateAggTaskGroupRequest
|
|
389
434
|
* @returns CreateAggTaskGroupResponse
|
|
@@ -977,7 +1022,7 @@ class Client extends openapi_core_1.default {
|
|
|
977
1022
|
return await this.createPipelineWithOptions(workspace, request, headers, runtime);
|
|
978
1023
|
}
|
|
979
1024
|
/**
|
|
980
|
-
* Creates a
|
|
1025
|
+
* Creates a Managed Service for Prometheus instance.
|
|
981
1026
|
*
|
|
982
1027
|
* @param request - CreatePrometheusInstanceRequest
|
|
983
1028
|
* @param headers - map
|
|
@@ -1011,6 +1056,9 @@ class Client extends openapi_core_1.default {
|
|
|
1011
1056
|
if (!$dara.isNull(request.prometheusInstanceName)) {
|
|
1012
1057
|
body["prometheusInstanceName"] = request.prometheusInstanceName;
|
|
1013
1058
|
}
|
|
1059
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
1060
|
+
body["resourceGroupId"] = request.resourceGroupId;
|
|
1061
|
+
}
|
|
1014
1062
|
if (!$dara.isNull(request.status)) {
|
|
1015
1063
|
body["status"] = request.status;
|
|
1016
1064
|
}
|
|
@@ -1041,7 +1089,7 @@ class Client extends openapi_core_1.default {
|
|
|
1041
1089
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePrometheusInstanceResponse({}));
|
|
1042
1090
|
}
|
|
1043
1091
|
/**
|
|
1044
|
-
* Creates a
|
|
1092
|
+
* Creates a Managed Service for Prometheus instance.
|
|
1045
1093
|
*
|
|
1046
1094
|
* @param request - CreatePrometheusInstanceRequest
|
|
1047
1095
|
* @returns CreatePrometheusInstanceResponse
|
|
@@ -1055,7 +1103,7 @@ class Client extends openapi_core_1.default {
|
|
|
1055
1103
|
* Creates a Prometheus view.
|
|
1056
1104
|
*
|
|
1057
1105
|
* @remarks
|
|
1058
|
-
*
|
|
1106
|
+
* Creates a site monitoring task.
|
|
1059
1107
|
*
|
|
1060
1108
|
* @param request - CreatePrometheusViewRequest
|
|
1061
1109
|
* @param headers - map
|
|
@@ -1116,7 +1164,7 @@ class Client extends openapi_core_1.default {
|
|
|
1116
1164
|
* Creates a Prometheus view.
|
|
1117
1165
|
*
|
|
1118
1166
|
* @remarks
|
|
1119
|
-
*
|
|
1167
|
+
* Creates a site monitoring task.
|
|
1120
1168
|
*
|
|
1121
1169
|
* @param request - CreatePrometheusViewRequest
|
|
1122
1170
|
* @returns CreatePrometheusViewResponse
|
|
@@ -1280,6 +1328,51 @@ class Client extends openapi_core_1.default {
|
|
|
1280
1328
|
let headers = {};
|
|
1281
1329
|
return await this.createServiceObservabilityWithOptions(workspace, type, request, headers, runtime);
|
|
1282
1330
|
}
|
|
1331
|
+
/**
|
|
1332
|
+
* Creates a service-linked entry for associating configurations with the application monitoring service, such as log association.
|
|
1333
|
+
*
|
|
1334
|
+
* @param request - CreateServiceRecordRequest
|
|
1335
|
+
* @param headers - map
|
|
1336
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1337
|
+
* @returns CreateServiceRecordResponse
|
|
1338
|
+
*/
|
|
1339
|
+
async createServiceRecordWithOptions(workspace, serviceId, request, headers, runtime) {
|
|
1340
|
+
request.validate();
|
|
1341
|
+
let body = {};
|
|
1342
|
+
if (!$dara.isNull(request.recordContent)) {
|
|
1343
|
+
body["recordContent"] = request.recordContent;
|
|
1344
|
+
}
|
|
1345
|
+
if (!$dara.isNull(request.recordType)) {
|
|
1346
|
+
body["recordType"] = request.recordType;
|
|
1347
|
+
}
|
|
1348
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1349
|
+
headers: headers,
|
|
1350
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1351
|
+
});
|
|
1352
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1353
|
+
action: "CreateServiceRecord",
|
|
1354
|
+
version: "2024-03-30",
|
|
1355
|
+
protocol: "HTTPS",
|
|
1356
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/service/${$dara.URL.percentEncode(serviceId)}/record`,
|
|
1357
|
+
method: "POST",
|
|
1358
|
+
authType: "AK",
|
|
1359
|
+
style: "ROA",
|
|
1360
|
+
reqBodyType: "json",
|
|
1361
|
+
bodyType: "json",
|
|
1362
|
+
});
|
|
1363
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServiceRecordResponse({}));
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Creates a service-linked entry for associating configurations with the application monitoring service, such as log association.
|
|
1367
|
+
*
|
|
1368
|
+
* @param request - CreateServiceRecordRequest
|
|
1369
|
+
* @returns CreateServiceRecordResponse
|
|
1370
|
+
*/
|
|
1371
|
+
async createServiceRecord(workspace, serviceId, request) {
|
|
1372
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1373
|
+
let headers = {};
|
|
1374
|
+
return await this.createServiceRecordWithOptions(workspace, serviceId, request, headers, runtime);
|
|
1375
|
+
}
|
|
1283
1376
|
/**
|
|
1284
1377
|
* To share a console page or embed it into a third-party system without requiring a password, you can call the CreateTicket operation to generate a ticket. You can then use the ticket to create a password-free link.
|
|
1285
1378
|
*
|
|
@@ -2206,6 +2299,54 @@ class Client extends openapi_core_1.default {
|
|
|
2206
2299
|
let headers = {};
|
|
2207
2300
|
return await this.deleteServiceWithOptions(workspace, serviceId, request, headers, runtime);
|
|
2208
2301
|
}
|
|
2302
|
+
/**
|
|
2303
|
+
* Deletes a service association entry.
|
|
2304
|
+
*
|
|
2305
|
+
* @remarks
|
|
2306
|
+
* Deletes a created service association entry.
|
|
2307
|
+
*
|
|
2308
|
+
* @param request - DeleteServiceRecordRequest
|
|
2309
|
+
* @param headers - map
|
|
2310
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2311
|
+
* @returns DeleteServiceRecordResponse
|
|
2312
|
+
*/
|
|
2313
|
+
async deleteServiceRecordWithOptions(workspace, serviceId, request, headers, runtime) {
|
|
2314
|
+
request.validate();
|
|
2315
|
+
let query = {};
|
|
2316
|
+
if (!$dara.isNull(request.recordType)) {
|
|
2317
|
+
query["recordType"] = request.recordType;
|
|
2318
|
+
}
|
|
2319
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2320
|
+
headers: headers,
|
|
2321
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2322
|
+
});
|
|
2323
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2324
|
+
action: "DeleteServiceRecord",
|
|
2325
|
+
version: "2024-03-30",
|
|
2326
|
+
protocol: "HTTPS",
|
|
2327
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/service/${$dara.URL.percentEncode(serviceId)}/record`,
|
|
2328
|
+
method: "DELETE",
|
|
2329
|
+
authType: "AK",
|
|
2330
|
+
style: "ROA",
|
|
2331
|
+
reqBodyType: "json",
|
|
2332
|
+
bodyType: "json",
|
|
2333
|
+
});
|
|
2334
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteServiceRecordResponse({}));
|
|
2335
|
+
}
|
|
2336
|
+
/**
|
|
2337
|
+
* Deletes a service association entry.
|
|
2338
|
+
*
|
|
2339
|
+
* @remarks
|
|
2340
|
+
* Deletes a created service association entry.
|
|
2341
|
+
*
|
|
2342
|
+
* @param request - DeleteServiceRecordRequest
|
|
2343
|
+
* @returns DeleteServiceRecordResponse
|
|
2344
|
+
*/
|
|
2345
|
+
async deleteServiceRecord(workspace, serviceId, request) {
|
|
2346
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2347
|
+
let headers = {};
|
|
2348
|
+
return await this.deleteServiceRecordWithOptions(workspace, serviceId, request, headers, runtime);
|
|
2349
|
+
}
|
|
2209
2350
|
/**
|
|
2210
2351
|
* Deletes a Umodel configuration.
|
|
2211
2352
|
*
|
|
@@ -2383,10 +2524,10 @@ class Client extends openapi_core_1.default {
|
|
|
2383
2524
|
return await this.deleteWorkspaceWithOptions(workspaceName, request, headers, runtime);
|
|
2384
2525
|
}
|
|
2385
2526
|
/**
|
|
2386
|
-
*
|
|
2527
|
+
* Queries metric metadata.
|
|
2387
2528
|
*
|
|
2388
2529
|
* @remarks
|
|
2389
|
-
* Queries the details of CloudMonitor
|
|
2530
|
+
* Queries the details of CloudMonitor monitoring metrics metadata.
|
|
2390
2531
|
*
|
|
2391
2532
|
* @param tmpReq - DescribeMetricMetaListRequest
|
|
2392
2533
|
* @param headers - map
|
|
@@ -2440,10 +2581,10 @@ class Client extends openapi_core_1.default {
|
|
|
2440
2581
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeMetricMetaListResponse({}));
|
|
2441
2582
|
}
|
|
2442
2583
|
/**
|
|
2443
|
-
*
|
|
2584
|
+
* Queries metric metadata.
|
|
2444
2585
|
*
|
|
2445
2586
|
* @remarks
|
|
2446
|
-
* Queries the details of CloudMonitor
|
|
2587
|
+
* Queries the details of CloudMonitor monitoring metrics metadata.
|
|
2447
2588
|
*
|
|
2448
2589
|
* @param request - DescribeMetricMetaListRequest
|
|
2449
2590
|
* @returns DescribeMetricMetaListResponse
|
|
@@ -2844,7 +2985,15 @@ class Client extends openapi_core_1.default {
|
|
|
2844
2985
|
return await this.getCloudResourceWithOptions(headers, runtime);
|
|
2845
2986
|
}
|
|
2846
2987
|
/**
|
|
2847
|
-
* Queries
|
|
2988
|
+
* Queries all entity information of a specific cloud service within a specified time range.
|
|
2989
|
+
*
|
|
2990
|
+
* @remarks
|
|
2991
|
+
* ## Operation description
|
|
2992
|
+
* - This operation queries all entities of a specific cloud service within a specified time range.
|
|
2993
|
+
* - The `from` and `to` parameters specify the time range of the query in seconds-level timestamps.
|
|
2994
|
+
* - The `spl` parameter supports entityStore query statements to filter or select the required entities and their properties.
|
|
2995
|
+
* - If you need only specific fields, use the `project` clause in `spl` to filter them.
|
|
2996
|
+
* - The response contains the specific property values of each entity and the corresponding list of property names for easy parsing and processing.
|
|
2848
2997
|
*
|
|
2849
2998
|
* @param request - GetCloudResourceDataRequest
|
|
2850
2999
|
* @param headers - map
|
|
@@ -2881,7 +3030,15 @@ class Client extends openapi_core_1.default {
|
|
|
2881
3030
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCloudResourceDataResponse({}));
|
|
2882
3031
|
}
|
|
2883
3032
|
/**
|
|
2884
|
-
* Queries
|
|
3033
|
+
* Queries all entity information of a specific cloud service within a specified time range.
|
|
3034
|
+
*
|
|
3035
|
+
* @remarks
|
|
3036
|
+
* ## Operation description
|
|
3037
|
+
* - This operation queries all entities of a specific cloud service within a specified time range.
|
|
3038
|
+
* - The `from` and `to` parameters specify the time range of the query in seconds-level timestamps.
|
|
3039
|
+
* - The `spl` parameter supports entityStore query statements to filter or select the required entities and their properties.
|
|
3040
|
+
* - If you need only specific fields, use the `project` clause in `spl` to filter them.
|
|
3041
|
+
* - The response contains the specific property values of each entity and the corresponding list of property names for easy parsing and processing.
|
|
2885
3042
|
*
|
|
2886
3043
|
* @param request - GetCloudResourceDataRequest
|
|
2887
3044
|
* @returns GetCloudResourceDataResponse
|
|
@@ -3059,7 +3216,10 @@ class Client extends openapi_core_1.default {
|
|
|
3059
3216
|
return await this.getDatasetWithOptions(workspace, datasetName, request, headers, runtime);
|
|
3060
3217
|
}
|
|
3061
3218
|
/**
|
|
3062
|
-
*
|
|
3219
|
+
* Retrieves the details of a data delivery task.
|
|
3220
|
+
*
|
|
3221
|
+
* @remarks
|
|
3222
|
+
* Deletes a specified site monitoring task.
|
|
3063
3223
|
*
|
|
3064
3224
|
* @param request - GetDeliveryTaskRequest
|
|
3065
3225
|
* @param headers - map
|
|
@@ -3085,7 +3245,10 @@ class Client extends openapi_core_1.default {
|
|
|
3085
3245
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDeliveryTaskResponse({}));
|
|
3086
3246
|
}
|
|
3087
3247
|
/**
|
|
3088
|
-
*
|
|
3248
|
+
* Retrieves the details of a data delivery task.
|
|
3249
|
+
*
|
|
3250
|
+
* @remarks
|
|
3251
|
+
* Deletes a specified site monitoring task.
|
|
3089
3252
|
*
|
|
3090
3253
|
* @param request - GetDeliveryTaskRequest
|
|
3091
3254
|
* @returns GetDeliveryTaskResponse
|
|
@@ -3188,7 +3351,7 @@ class Client extends openapi_core_1.default {
|
|
|
3188
3351
|
return await this.getEntityStoreDataWithOptions(workspace, request, headers, runtime);
|
|
3189
3352
|
}
|
|
3190
3353
|
/**
|
|
3191
|
-
*
|
|
3354
|
+
* Query integration center policy information.
|
|
3192
3355
|
*
|
|
3193
3356
|
* @param request - GetIntegrationPolicyRequest
|
|
3194
3357
|
* @param headers - map
|
|
@@ -3214,7 +3377,7 @@ class Client extends openapi_core_1.default {
|
|
|
3214
3377
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetIntegrationPolicyResponse({}));
|
|
3215
3378
|
}
|
|
3216
3379
|
/**
|
|
3217
|
-
*
|
|
3380
|
+
* Query integration center policy information.
|
|
3218
3381
|
*
|
|
3219
3382
|
* @param request - GetIntegrationPolicyRequest
|
|
3220
3383
|
* @returns GetIntegrationPolicyResponse
|
|
@@ -3410,7 +3573,12 @@ class Client extends openapi_core_1.default {
|
|
|
3410
3573
|
return await this.getMemoryHistoryWithOptions(workspace, memoryStoreName, memoryId, request, headers, runtime);
|
|
3411
3574
|
}
|
|
3412
3575
|
/**
|
|
3413
|
-
*
|
|
3576
|
+
* Queries a memory store.
|
|
3577
|
+
*
|
|
3578
|
+
* @remarks
|
|
3579
|
+
* Typically used together with the QueryMetricMeta operation for querying metrics and the QueryMetricList/QueryMetricLast operation for querying monitoring data.
|
|
3580
|
+
* ## Request type
|
|
3581
|
+
* POST|GET.
|
|
3414
3582
|
*
|
|
3415
3583
|
* @param request - GetMemoryStoreRequest
|
|
3416
3584
|
* @param headers - map
|
|
@@ -3436,7 +3604,12 @@ class Client extends openapi_core_1.default {
|
|
|
3436
3604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
|
|
3437
3605
|
}
|
|
3438
3606
|
/**
|
|
3439
|
-
*
|
|
3607
|
+
* Queries a memory store.
|
|
3608
|
+
*
|
|
3609
|
+
* @remarks
|
|
3610
|
+
* Typically used together with the QueryMetricMeta operation for querying metrics and the QueryMetricList/QueryMetricLast operation for querying monitoring data.
|
|
3611
|
+
* ## Request type
|
|
3612
|
+
* POST|GET.
|
|
3440
3613
|
*
|
|
3441
3614
|
* @param request - GetMemoryStoreRequest
|
|
3442
3615
|
* @returns GetMemoryStoreResponse
|
|
@@ -3484,10 +3657,10 @@ class Client extends openapi_core_1.default {
|
|
|
3484
3657
|
return await this.getPipelineWithOptions(workspace, pipelineName, request, headers, runtime);
|
|
3485
3658
|
}
|
|
3486
3659
|
/**
|
|
3487
|
-
*
|
|
3660
|
+
* Queries the details of a specified Managed Service for Prometheus instance.
|
|
3488
3661
|
*
|
|
3489
3662
|
* @remarks
|
|
3490
|
-
*
|
|
3663
|
+
* Retrieves the details of a Managed Service for Prometheus instance.
|
|
3491
3664
|
*
|
|
3492
3665
|
* @param request - GetPrometheusInstanceRequest
|
|
3493
3666
|
* @param headers - map
|
|
@@ -3521,10 +3694,10 @@ class Client extends openapi_core_1.default {
|
|
|
3521
3694
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPrometheusInstanceResponse({}));
|
|
3522
3695
|
}
|
|
3523
3696
|
/**
|
|
3524
|
-
*
|
|
3697
|
+
* Queries the details of a specified Managed Service for Prometheus instance.
|
|
3525
3698
|
*
|
|
3526
3699
|
* @remarks
|
|
3527
|
-
*
|
|
3700
|
+
* Retrieves the details of a Managed Service for Prometheus instance.
|
|
3528
3701
|
*
|
|
3529
3702
|
* @param request - GetPrometheusInstanceRequest
|
|
3530
3703
|
* @returns GetPrometheusInstanceResponse
|
|
@@ -3577,10 +3750,10 @@ class Client extends openapi_core_1.default {
|
|
|
3577
3750
|
return await this.getPrometheusUserSettingWithOptions(request, headers, runtime);
|
|
3578
3751
|
}
|
|
3579
3752
|
/**
|
|
3580
|
-
*
|
|
3753
|
+
* Queries the details of a specified Prometheus view instance.
|
|
3581
3754
|
*
|
|
3582
3755
|
* @remarks
|
|
3583
|
-
*
|
|
3756
|
+
* Queries a specified Prometheus view instance.
|
|
3584
3757
|
*
|
|
3585
3758
|
* @param request - GetPrometheusViewRequest
|
|
3586
3759
|
* @param headers - map
|
|
@@ -3614,10 +3787,10 @@ class Client extends openapi_core_1.default {
|
|
|
3614
3787
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPrometheusViewResponse({}));
|
|
3615
3788
|
}
|
|
3616
3789
|
/**
|
|
3617
|
-
*
|
|
3790
|
+
* Queries the details of a specified Prometheus view instance.
|
|
3618
3791
|
*
|
|
3619
3792
|
* @remarks
|
|
3620
|
-
*
|
|
3793
|
+
* Queries a specified Prometheus view instance.
|
|
3621
3794
|
*
|
|
3622
3795
|
* @param request - GetPrometheusViewRequest
|
|
3623
3796
|
* @returns GetPrometheusViewResponse
|
|
@@ -3701,6 +3874,54 @@ class Client extends openapi_core_1.default {
|
|
|
3701
3874
|
let headers = {};
|
|
3702
3875
|
return await this.getServiceObservabilityWithOptions(workspace, type, request, headers, runtime);
|
|
3703
3876
|
}
|
|
3877
|
+
/**
|
|
3878
|
+
* Queries a service-linked entry.
|
|
3879
|
+
*
|
|
3880
|
+
* @remarks
|
|
3881
|
+
* Retrieves a service-linked entry.
|
|
3882
|
+
*
|
|
3883
|
+
* @param request - GetServiceRecordRequest
|
|
3884
|
+
* @param headers - map
|
|
3885
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3886
|
+
* @returns GetServiceRecordResponse
|
|
3887
|
+
*/
|
|
3888
|
+
async getServiceRecordWithOptions(workspace, serviceId, request, headers, runtime) {
|
|
3889
|
+
request.validate();
|
|
3890
|
+
let query = {};
|
|
3891
|
+
if (!$dara.isNull(request.recordType)) {
|
|
3892
|
+
query["recordType"] = request.recordType;
|
|
3893
|
+
}
|
|
3894
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3895
|
+
headers: headers,
|
|
3896
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3897
|
+
});
|
|
3898
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3899
|
+
action: "GetServiceRecord",
|
|
3900
|
+
version: "2024-03-30",
|
|
3901
|
+
protocol: "HTTPS",
|
|
3902
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/service/${$dara.URL.percentEncode(serviceId)}/record`,
|
|
3903
|
+
method: "GET",
|
|
3904
|
+
authType: "AK",
|
|
3905
|
+
style: "ROA",
|
|
3906
|
+
reqBodyType: "json",
|
|
3907
|
+
bodyType: "json",
|
|
3908
|
+
});
|
|
3909
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetServiceRecordResponse({}));
|
|
3910
|
+
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Queries a service-linked entry.
|
|
3913
|
+
*
|
|
3914
|
+
* @remarks
|
|
3915
|
+
* Retrieves a service-linked entry.
|
|
3916
|
+
*
|
|
3917
|
+
* @param request - GetServiceRecordRequest
|
|
3918
|
+
* @returns GetServiceRecordResponse
|
|
3919
|
+
*/
|
|
3920
|
+
async getServiceRecord(workspace, serviceId, request) {
|
|
3921
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3922
|
+
let headers = {};
|
|
3923
|
+
return await this.getServiceRecordWithOptions(workspace, serviceId, request, headers, runtime);
|
|
3924
|
+
}
|
|
3704
3925
|
/**
|
|
3705
3926
|
* Retrieves the configuration of a Umodel.
|
|
3706
3927
|
*
|
|
@@ -3986,7 +4207,7 @@ class Client extends openapi_core_1.default {
|
|
|
3986
4207
|
return await this.listAddonsWithOptions(request, headers, runtime);
|
|
3987
4208
|
}
|
|
3988
4209
|
/**
|
|
3989
|
-
* Queries
|
|
4210
|
+
* Queries the list of aggregation task groups.
|
|
3990
4211
|
*
|
|
3991
4212
|
* @param tmpReq - ListAggTaskGroupsRequest
|
|
3992
4213
|
* @param headers - map
|
|
@@ -4043,7 +4264,7 @@ class Client extends openapi_core_1.default {
|
|
|
4043
4264
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAggTaskGroupsResponse({}));
|
|
4044
4265
|
}
|
|
4045
4266
|
/**
|
|
4046
|
-
* Queries
|
|
4267
|
+
* Queries the list of aggregation task groups.
|
|
4047
4268
|
*
|
|
4048
4269
|
* @param request - ListAggTaskGroupsRequest
|
|
4049
4270
|
* @returns ListAggTaskGroupsResponse
|
|
@@ -4113,7 +4334,7 @@ class Client extends openapi_core_1.default {
|
|
|
4113
4334
|
return await this.listAlertActionsWithOptions(request, headers, runtime);
|
|
4114
4335
|
}
|
|
4115
4336
|
/**
|
|
4116
|
-
* Queries
|
|
4337
|
+
* Queries alert chatbots.
|
|
4117
4338
|
*
|
|
4118
4339
|
* @param tmpReq - ListAlertRobotsRequest
|
|
4119
4340
|
* @param headers - map
|
|
@@ -4167,7 +4388,7 @@ class Client extends openapi_core_1.default {
|
|
|
4167
4388
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAlertRobotsResponse({}));
|
|
4168
4389
|
}
|
|
4169
4390
|
/**
|
|
4170
|
-
* Queries
|
|
4391
|
+
* Queries alert chatbots.
|
|
4171
4392
|
*
|
|
4172
4393
|
* @param request - ListAlertRobotsRequest
|
|
4173
4394
|
* @returns ListAlertRobotsResponse
|
|
@@ -4559,7 +4780,10 @@ class Client extends openapi_core_1.default {
|
|
|
4559
4780
|
return await this.listDatasetsWithOptions(workspace, request, headers, runtime);
|
|
4560
4781
|
}
|
|
4561
4782
|
/**
|
|
4562
|
-
* Retrieves
|
|
4783
|
+
* Retrieves the list of data delivery tasks.
|
|
4784
|
+
*
|
|
4785
|
+
* @remarks
|
|
4786
|
+
* Deletes a specified site monitoring task.
|
|
4563
4787
|
*
|
|
4564
4788
|
* @param tmpReq - ListDeliveryTasksRequest
|
|
4565
4789
|
* @param headers - map
|
|
@@ -4607,7 +4831,10 @@ class Client extends openapi_core_1.default {
|
|
|
4607
4831
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDeliveryTasksResponse({}));
|
|
4608
4832
|
}
|
|
4609
4833
|
/**
|
|
4610
|
-
* Retrieves
|
|
4834
|
+
* Retrieves the list of data delivery tasks.
|
|
4835
|
+
*
|
|
4836
|
+
* @remarks
|
|
4837
|
+
* Deletes a specified site monitoring task.
|
|
4611
4838
|
*
|
|
4612
4839
|
* @param request - ListDeliveryTasksRequest
|
|
4613
4840
|
* @returns ListDeliveryTasksResponse
|
|
@@ -4618,10 +4845,10 @@ class Client extends openapi_core_1.default {
|
|
|
4618
4845
|
return await this.listDeliveryTasksWithOptions(request, headers, runtime);
|
|
4619
4846
|
}
|
|
4620
4847
|
/**
|
|
4621
|
-
* Queries
|
|
4848
|
+
* Queries the list of access center policies.
|
|
4622
4849
|
*
|
|
4623
4850
|
* @remarks
|
|
4624
|
-
* Queries
|
|
4851
|
+
* Queries the integration list.
|
|
4625
4852
|
*
|
|
4626
4853
|
* @param tmpReq - ListIntegrationPoliciesRequest
|
|
4627
4854
|
* @param headers - map
|
|
@@ -4696,10 +4923,10 @@ class Client extends openapi_core_1.default {
|
|
|
4696
4923
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListIntegrationPoliciesResponse({}));
|
|
4697
4924
|
}
|
|
4698
4925
|
/**
|
|
4699
|
-
* Queries
|
|
4926
|
+
* Queries the list of access center policies.
|
|
4700
4927
|
*
|
|
4701
4928
|
* @remarks
|
|
4702
|
-
* Queries
|
|
4929
|
+
* Queries the integration list.
|
|
4703
4930
|
*
|
|
4704
4931
|
* @param request - ListIntegrationPoliciesRequest
|
|
4705
4932
|
* @returns ListIntegrationPoliciesResponse
|
|
@@ -5109,7 +5336,7 @@ class Client extends openapi_core_1.default {
|
|
|
5109
5336
|
return await this.listMemoryStoresWithOptions(workspace, request, headers, runtime);
|
|
5110
5337
|
}
|
|
5111
5338
|
/**
|
|
5112
|
-
*
|
|
5339
|
+
* Lists pipelines.
|
|
5113
5340
|
*
|
|
5114
5341
|
* @param request - ListPipelinesRequest
|
|
5115
5342
|
* @param headers - map
|
|
@@ -5146,7 +5373,7 @@ class Client extends openapi_core_1.default {
|
|
|
5146
5373
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelinesResponse({}));
|
|
5147
5374
|
}
|
|
5148
5375
|
/**
|
|
5149
|
-
*
|
|
5376
|
+
* Lists pipelines.
|
|
5150
5377
|
*
|
|
5151
5378
|
* @param request - ListPipelinesRequest
|
|
5152
5379
|
* @returns ListPipelinesResponse
|
|
@@ -5208,10 +5435,10 @@ class Client extends openapi_core_1.default {
|
|
|
5208
5435
|
return await this.listPrometheusDashboardsWithOptions(prometheusInstanceId, request, headers, runtime);
|
|
5209
5436
|
}
|
|
5210
5437
|
/**
|
|
5211
|
-
*
|
|
5438
|
+
* Retrieves a list of Managed Service for Prometheus instances.
|
|
5212
5439
|
*
|
|
5213
5440
|
* @remarks
|
|
5214
|
-
*
|
|
5441
|
+
* Retrieves a list of Managed Service for Prometheus instances.
|
|
5215
5442
|
*
|
|
5216
5443
|
* @param tmpReq - ListPrometheusInstancesRequest
|
|
5217
5444
|
* @param headers - map
|
|
@@ -5274,10 +5501,10 @@ class Client extends openapi_core_1.default {
|
|
|
5274
5501
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrometheusInstancesResponse({}));
|
|
5275
5502
|
}
|
|
5276
5503
|
/**
|
|
5277
|
-
*
|
|
5504
|
+
* Retrieves a list of Managed Service for Prometheus instances.
|
|
5278
5505
|
*
|
|
5279
5506
|
* @remarks
|
|
5280
|
-
*
|
|
5507
|
+
* Retrieves a list of Managed Service for Prometheus instances.
|
|
5281
5508
|
*
|
|
5282
5509
|
* @param request - ListPrometheusInstancesRequest
|
|
5283
5510
|
* @returns ListPrometheusInstancesResponse
|
|
@@ -5288,10 +5515,10 @@ class Client extends openapi_core_1.default {
|
|
|
5288
5515
|
return await this.listPrometheusInstancesWithOptions(request, headers, runtime);
|
|
5289
5516
|
}
|
|
5290
5517
|
/**
|
|
5291
|
-
*
|
|
5518
|
+
* Queries the list of Prometheus view instances.
|
|
5292
5519
|
*
|
|
5293
5520
|
* @remarks
|
|
5294
|
-
*
|
|
5521
|
+
* Queries the list of Prometheus view instances.
|
|
5295
5522
|
*
|
|
5296
5523
|
* @param tmpReq - ListPrometheusViewsRequest
|
|
5297
5524
|
* @param headers - map
|
|
@@ -5354,10 +5581,10 @@ class Client extends openapi_core_1.default {
|
|
|
5354
5581
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPrometheusViewsResponse({}));
|
|
5355
5582
|
}
|
|
5356
5583
|
/**
|
|
5357
|
-
*
|
|
5584
|
+
* Queries the list of Prometheus view instances.
|
|
5358
5585
|
*
|
|
5359
5586
|
* @remarks
|
|
5360
|
-
*
|
|
5587
|
+
* Queries the list of Prometheus view instances.
|
|
5361
5588
|
*
|
|
5362
5589
|
* @param request - ListPrometheusViewsRequest
|
|
5363
5590
|
* @returns ListPrometheusViewsResponse
|
|
@@ -5418,6 +5645,63 @@ class Client extends openapi_core_1.default {
|
|
|
5418
5645
|
let headers = {};
|
|
5419
5646
|
return await this.listPrometheusVirtualInstancesWithOptions(request, headers, runtime);
|
|
5420
5647
|
}
|
|
5648
|
+
/**
|
|
5649
|
+
* Lists service-linked entries.
|
|
5650
|
+
*
|
|
5651
|
+
* @remarks
|
|
5652
|
+
* Queries a paginated list of service-linked entries.
|
|
5653
|
+
*
|
|
5654
|
+
* @param request - ListServiceRecordsRequest
|
|
5655
|
+
* @param headers - map
|
|
5656
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5657
|
+
* @returns ListServiceRecordsResponse
|
|
5658
|
+
*/
|
|
5659
|
+
async listServiceRecordsWithOptions(workspace, request, headers, runtime) {
|
|
5660
|
+
request.validate();
|
|
5661
|
+
let query = {};
|
|
5662
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5663
|
+
query["maxResults"] = request.maxResults;
|
|
5664
|
+
}
|
|
5665
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5666
|
+
query["nextToken"] = request.nextToken;
|
|
5667
|
+
}
|
|
5668
|
+
if (!$dara.isNull(request.recordType)) {
|
|
5669
|
+
query["recordType"] = request.recordType;
|
|
5670
|
+
}
|
|
5671
|
+
if (!$dara.isNull(request.search)) {
|
|
5672
|
+
query["search"] = request.search;
|
|
5673
|
+
}
|
|
5674
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5675
|
+
headers: headers,
|
|
5676
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5677
|
+
});
|
|
5678
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5679
|
+
action: "ListServiceRecords",
|
|
5680
|
+
version: "2024-03-30",
|
|
5681
|
+
protocol: "HTTPS",
|
|
5682
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/service-records`,
|
|
5683
|
+
method: "GET",
|
|
5684
|
+
authType: "AK",
|
|
5685
|
+
style: "ROA",
|
|
5686
|
+
reqBodyType: "json",
|
|
5687
|
+
bodyType: "json",
|
|
5688
|
+
});
|
|
5689
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListServiceRecordsResponse({}));
|
|
5690
|
+
}
|
|
5691
|
+
/**
|
|
5692
|
+
* Lists service-linked entries.
|
|
5693
|
+
*
|
|
5694
|
+
* @remarks
|
|
5695
|
+
* Queries a paginated list of service-linked entries.
|
|
5696
|
+
*
|
|
5697
|
+
* @param request - ListServiceRecordsRequest
|
|
5698
|
+
* @returns ListServiceRecordsResponse
|
|
5699
|
+
*/
|
|
5700
|
+
async listServiceRecords(workspace, request) {
|
|
5701
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5702
|
+
let headers = {};
|
|
5703
|
+
return await this.listServiceRecordsWithOptions(workspace, request, headers, runtime);
|
|
5704
|
+
}
|
|
5421
5705
|
/**
|
|
5422
5706
|
* Queries a list of application observability services.
|
|
5423
5707
|
*
|
|
@@ -5649,7 +5933,7 @@ class Client extends openapi_core_1.default {
|
|
|
5649
5933
|
return await this.manageAlertRulesWithOptions(request, headers, runtime);
|
|
5650
5934
|
}
|
|
5651
5935
|
/**
|
|
5652
|
-
*
|
|
5936
|
+
* Activates CloudMonitor services, including Hybrid Cloud Monitoring, Managed Service for Prometheus, and Simple Log Service (SLS).
|
|
5653
5937
|
*
|
|
5654
5938
|
* @param request - OpenCmsServiceRequest
|
|
5655
5939
|
* @param headers - map
|
|
@@ -5675,7 +5959,7 @@ class Client extends openapi_core_1.default {
|
|
|
5675
5959
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenCmsServiceResponse({}));
|
|
5676
5960
|
}
|
|
5677
5961
|
/**
|
|
5678
|
-
*
|
|
5962
|
+
* Activates CloudMonitor services, including Hybrid Cloud Monitoring, Managed Service for Prometheus, and Simple Log Service (SLS).
|
|
5679
5963
|
*
|
|
5680
5964
|
* @param request - OpenCmsServiceRequest
|
|
5681
5965
|
* @returns OpenCmsServiceResponse
|
|
@@ -5734,10 +6018,10 @@ class Client extends openapi_core_1.default {
|
|
|
5734
6018
|
return await this.putWorkspaceWithOptions(workspaceName, request, headers, runtime);
|
|
5735
6019
|
}
|
|
5736
6020
|
/**
|
|
5737
|
-
*
|
|
6021
|
+
* Queries alert rules.
|
|
5738
6022
|
*
|
|
5739
6023
|
* @remarks
|
|
5740
|
-
* This topic provides an example
|
|
6024
|
+
* This topic provides an example on how to query a list of alert templates. The response shows that the alert template list contains two alert templates: `ECS_Template1` and `ECS_Template2`.
|
|
5741
6025
|
*
|
|
5742
6026
|
* @param tmpReq - QueryAlertRulesRequest
|
|
5743
6027
|
* @param headers - map
|
|
@@ -5784,10 +6068,10 @@ class Client extends openapi_core_1.default {
|
|
|
5784
6068
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryAlertRulesResponse({}));
|
|
5785
6069
|
}
|
|
5786
6070
|
/**
|
|
5787
|
-
*
|
|
6071
|
+
* Queries alert rules.
|
|
5788
6072
|
*
|
|
5789
6073
|
* @remarks
|
|
5790
|
-
* This topic provides an example
|
|
6074
|
+
* This topic provides an example on how to query a list of alert templates. The response shows that the alert template list contains two alert templates: `ECS_Template1` and `ECS_Template2`.
|
|
5791
6075
|
*
|
|
5792
6076
|
* @param request - QueryAlertRulesRequest
|
|
5793
6077
|
* @returns QueryAlertRulesResponse
|
|
@@ -5855,7 +6139,11 @@ class Client extends openapi_core_1.default {
|
|
|
5855
6139
|
return await this.searchContextWithOptions(workspace, contextStoreName, request, headers, runtime);
|
|
5856
6140
|
}
|
|
5857
6141
|
/**
|
|
5858
|
-
*
|
|
6142
|
+
* Searches for memories based on query conditions and filters.
|
|
6143
|
+
*
|
|
6144
|
+
* @remarks
|
|
6145
|
+
* This topic provides an example on how to create a threshold alert rule for the cpu_total metric of the Elastic Computing Service `acs_ecs_dashboard` instance `i-uf6j91r34rnwawoo****`. The alert contact group of the alert rule is `ECS_Group`, the alert rule name is `test123`, the alert rule ID is `a151cd6023eacee2f0978e03863cc1697c89508****`, the statistical method for the Critical level is `Average`, the comparison operator for the Critical level is `GreaterThanOrEqualToThreshold`, the threshold for the Critical level is `90`, and the retry count for the Critical level is `3`.
|
|
6146
|
+
* > 2024-08-15: Statistics validation is added. Only the Statistics value that corresponds to the metric can be specified. For information about how to obtain the value of this parameter, see [Cloud service monitoring metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
5859
6147
|
*
|
|
5860
6148
|
* @param request - SearchMemoriesRequest
|
|
5861
6149
|
* @param headers - map
|
|
@@ -5916,7 +6204,11 @@ class Client extends openapi_core_1.default {
|
|
|
5916
6204
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
|
|
5917
6205
|
}
|
|
5918
6206
|
/**
|
|
5919
|
-
*
|
|
6207
|
+
* Searches for memories based on query conditions and filters.
|
|
6208
|
+
*
|
|
6209
|
+
* @remarks
|
|
6210
|
+
* This topic provides an example on how to create a threshold alert rule for the cpu_total metric of the Elastic Computing Service `acs_ecs_dashboard` instance `i-uf6j91r34rnwawoo****`. The alert contact group of the alert rule is `ECS_Group`, the alert rule name is `test123`, the alert rule ID is `a151cd6023eacee2f0978e03863cc1697c89508****`, the statistical method for the Critical level is `Average`, the comparison operator for the Critical level is `GreaterThanOrEqualToThreshold`, the threshold for the Critical level is `90`, and the retry count for the Critical level is `3`.
|
|
6211
|
+
* > 2024-08-15: Statistics validation is added. Only the Statistics value that corresponds to the metric can be specified. For information about how to obtain the value of this parameter, see [Cloud service monitoring metrics](https://www.alibabacloud.com/help/en/cms/support/appendix-1-metrics).
|
|
5920
6212
|
*
|
|
5921
6213
|
* @param request - SearchMemoriesRequest
|
|
5922
6214
|
* @returns SearchMemoriesResponse
|
|
@@ -6376,7 +6668,11 @@ class Client extends openapi_core_1.default {
|
|
|
6376
6668
|
return await this.updateContextWithOptions(workspace, contextStoreName, contextId, request, headers, runtime);
|
|
6377
6669
|
}
|
|
6378
6670
|
/**
|
|
6379
|
-
*
|
|
6671
|
+
* Modifies the configuration of a context store.
|
|
6672
|
+
*
|
|
6673
|
+
* @remarks
|
|
6674
|
+
* Only Alibaba Cloud accounts that have activated Network Analysis and Monitoring can create one-time detection tasks.
|
|
6675
|
+
* This topic provides an example of how to create a one-time detection task. The detection task is named `task1`, the detection address is `http://www.aliyun.com`, the detection type is `HTTP`, and the number of detection points is `1`.
|
|
6380
6676
|
*
|
|
6381
6677
|
* @param request - UpdateContextStoreRequest
|
|
6382
6678
|
* @param headers - map
|
|
@@ -6416,7 +6712,11 @@ class Client extends openapi_core_1.default {
|
|
|
6416
6712
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContextStoreResponse({}));
|
|
6417
6713
|
}
|
|
6418
6714
|
/**
|
|
6419
|
-
*
|
|
6715
|
+
* Modifies the configuration of a context store.
|
|
6716
|
+
*
|
|
6717
|
+
* @remarks
|
|
6718
|
+
* Only Alibaba Cloud accounts that have activated Network Analysis and Monitoring can create one-time detection tasks.
|
|
6719
|
+
* This topic provides an example of how to create a one-time detection task. The detection task is named `task1`, the detection address is `http://www.aliyun.com`, the detection type is `HTTP`, and the number of detection points is `1`.
|
|
6420
6720
|
*
|
|
6421
6721
|
* @param request - UpdateContextStoreRequest
|
|
6422
6722
|
* @returns UpdateContextStoreResponse
|
|
@@ -6469,7 +6769,10 @@ class Client extends openapi_core_1.default {
|
|
|
6469
6769
|
return await this.updateDatasetWithOptions(workspace, datasetName, request, headers, runtime);
|
|
6470
6770
|
}
|
|
6471
6771
|
/**
|
|
6472
|
-
* Updates a delivery task.
|
|
6772
|
+
* Updates a data delivery task. The update uses patch semantics: fields that are not specified remain unchanged.
|
|
6773
|
+
*
|
|
6774
|
+
* @remarks
|
|
6775
|
+
* Deletes a specified site monitoring task.
|
|
6473
6776
|
*
|
|
6474
6777
|
* @param request - UpdateDeliveryTaskRequest
|
|
6475
6778
|
* @param headers - map
|
|
@@ -6524,7 +6827,10 @@ class Client extends openapi_core_1.default {
|
|
|
6524
6827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateDeliveryTaskResponse({}));
|
|
6525
6828
|
}
|
|
6526
6829
|
/**
|
|
6527
|
-
* Updates a delivery task.
|
|
6830
|
+
* Updates a data delivery task. The update uses patch semantics: fields that are not specified remain unchanged.
|
|
6831
|
+
*
|
|
6832
|
+
* @remarks
|
|
6833
|
+
* Deletes a specified site monitoring task.
|
|
6528
6834
|
*
|
|
6529
6835
|
* @param request - UpdateDeliveryTaskRequest
|
|
6530
6836
|
* @returns UpdateDeliveryTaskResponse
|
|
@@ -6779,10 +7085,10 @@ class Client extends openapi_core_1.default {
|
|
|
6779
7085
|
return await this.updatePipelineWithOptions(workspace, pipelineName, request, headers, runtime);
|
|
6780
7086
|
}
|
|
6781
7087
|
/**
|
|
6782
|
-
* Updates the information of a Prometheus instance.
|
|
7088
|
+
* Updates the information of a Managed Service for Prometheus instance.
|
|
6783
7089
|
*
|
|
6784
7090
|
* @remarks
|
|
6785
|
-
*
|
|
7091
|
+
* Updates the information of a Managed Service for Prometheus instance.
|
|
6786
7092
|
*
|
|
6787
7093
|
* @param request - UpdatePrometheusInstanceRequest
|
|
6788
7094
|
* @param headers - map
|
|
@@ -6843,10 +7149,10 @@ class Client extends openapi_core_1.default {
|
|
|
6843
7149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePrometheusInstanceResponse({}));
|
|
6844
7150
|
}
|
|
6845
7151
|
/**
|
|
6846
|
-
* Updates the information of a Prometheus instance.
|
|
7152
|
+
* Updates the information of a Managed Service for Prometheus instance.
|
|
6847
7153
|
*
|
|
6848
7154
|
* @remarks
|
|
6849
|
-
*
|
|
7155
|
+
* Updates the information of a Managed Service for Prometheus instance.
|
|
6850
7156
|
*
|
|
6851
7157
|
* @param request - UpdatePrometheusInstanceRequest
|
|
6852
7158
|
* @returns UpdatePrometheusInstanceResponse
|
|
@@ -7015,6 +7321,57 @@ class Client extends openapi_core_1.default {
|
|
|
7015
7321
|
let headers = {};
|
|
7016
7322
|
return await this.updateServiceWithOptions(workspace, serviceId, request, headers, runtime);
|
|
7017
7323
|
}
|
|
7324
|
+
/**
|
|
7325
|
+
* Updates a service-linked entry.
|
|
7326
|
+
*
|
|
7327
|
+
* @remarks
|
|
7328
|
+
* Updates an existing service-linked entry.
|
|
7329
|
+
*
|
|
7330
|
+
* @param request - UpdateServiceRecordRequest
|
|
7331
|
+
* @param headers - map
|
|
7332
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7333
|
+
* @returns UpdateServiceRecordResponse
|
|
7334
|
+
*/
|
|
7335
|
+
async updateServiceRecordWithOptions(workspace, serviceId, request, headers, runtime) {
|
|
7336
|
+
request.validate();
|
|
7337
|
+
let body = {};
|
|
7338
|
+
if (!$dara.isNull(request.recordContent)) {
|
|
7339
|
+
body["recordContent"] = request.recordContent;
|
|
7340
|
+
}
|
|
7341
|
+
if (!$dara.isNull(request.recordType)) {
|
|
7342
|
+
body["recordType"] = request.recordType;
|
|
7343
|
+
}
|
|
7344
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7345
|
+
headers: headers,
|
|
7346
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7347
|
+
});
|
|
7348
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7349
|
+
action: "UpdateServiceRecord",
|
|
7350
|
+
version: "2024-03-30",
|
|
7351
|
+
protocol: "HTTPS",
|
|
7352
|
+
pathname: `/workspace/${$dara.URL.percentEncode(workspace)}/service/${$dara.URL.percentEncode(serviceId)}/record`,
|
|
7353
|
+
method: "PUT",
|
|
7354
|
+
authType: "AK",
|
|
7355
|
+
style: "ROA",
|
|
7356
|
+
reqBodyType: "json",
|
|
7357
|
+
bodyType: "json",
|
|
7358
|
+
});
|
|
7359
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServiceRecordResponse({}));
|
|
7360
|
+
}
|
|
7361
|
+
/**
|
|
7362
|
+
* Updates a service-linked entry.
|
|
7363
|
+
*
|
|
7364
|
+
* @remarks
|
|
7365
|
+
* Updates an existing service-linked entry.
|
|
7366
|
+
*
|
|
7367
|
+
* @param request - UpdateServiceRecordRequest
|
|
7368
|
+
* @returns UpdateServiceRecordResponse
|
|
7369
|
+
*/
|
|
7370
|
+
async updateServiceRecord(workspace, serviceId, request) {
|
|
7371
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7372
|
+
let headers = {};
|
|
7373
|
+
return await this.updateServiceRecordWithOptions(workspace, serviceId, request, headers, runtime);
|
|
7374
|
+
}
|
|
7018
7375
|
/**
|
|
7019
7376
|
* Updates a subscription.
|
|
7020
7377
|
*
|