@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,10 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstanceTags extends $da
|
|
|
45
45
|
export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The access type. Valid values:
|
|
49
|
+
* - readWrite
|
|
50
|
+
* - readOnly
|
|
51
|
+
* - httpReadOnly
|
|
49
52
|
*
|
|
50
53
|
* @example
|
|
51
54
|
* readOnly
|
|
@@ -53,7 +56,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
53
56
|
accessType?: string;
|
|
54
57
|
/**
|
|
55
58
|
* @remarks
|
|
56
|
-
* The number of days
|
|
59
|
+
* The number of days that data is automatically archived after the storage period expires. A value of 0 indicates that data is not archived. A value of 3650 indicates that data is permanently retained.
|
|
57
60
|
*
|
|
58
61
|
* @example
|
|
59
62
|
* 90
|
|
@@ -61,7 +64,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
61
64
|
archiveDuration?: number;
|
|
62
65
|
/**
|
|
63
66
|
* @remarks
|
|
64
|
-
* The
|
|
67
|
+
* The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.
|
|
65
68
|
*
|
|
66
69
|
* @example
|
|
67
70
|
* {
|
|
@@ -78,7 +81,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
78
81
|
authFreeReadPolicy?: string;
|
|
79
82
|
/**
|
|
80
83
|
* @remarks
|
|
81
|
-
* The
|
|
84
|
+
* The authentication-free write policy. IP CIDR blocks and VPC IDs are supported.
|
|
82
85
|
*
|
|
83
86
|
* @example
|
|
84
87
|
* {
|
|
@@ -103,7 +106,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
103
106
|
authToken?: string;
|
|
104
107
|
/**
|
|
105
108
|
* @remarks
|
|
106
|
-
* The time when the instance was created. The
|
|
109
|
+
* The time when the instance was created. The time is in UTC+0 and in the yyyy-MM-ddTHH:mmZ format.
|
|
107
110
|
*
|
|
108
111
|
* @example
|
|
109
112
|
* 2025-08-10T02:07:53Z
|
|
@@ -111,7 +114,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
111
114
|
createTime?: string;
|
|
112
115
|
/**
|
|
113
116
|
* @remarks
|
|
114
|
-
* Indicates whether
|
|
117
|
+
* Indicates whether authentication-free read is enabled.
|
|
115
118
|
*
|
|
116
119
|
* @example
|
|
117
120
|
* true
|
|
@@ -119,7 +122,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
119
122
|
enableAuthFreeRead?: boolean;
|
|
120
123
|
/**
|
|
121
124
|
* @remarks
|
|
122
|
-
* Indicates whether
|
|
125
|
+
* Indicates whether authentication-free write is enabled.
|
|
123
126
|
*
|
|
124
127
|
* @example
|
|
125
128
|
* true
|
|
@@ -127,7 +130,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
127
130
|
enableAuthFreeWrite?: boolean;
|
|
128
131
|
/**
|
|
129
132
|
* @remarks
|
|
130
|
-
* Indicates whether
|
|
133
|
+
* Indicates whether the authentication token is enabled.
|
|
131
134
|
*
|
|
132
135
|
* @example
|
|
133
136
|
* true
|
|
@@ -135,12 +138,12 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
135
138
|
enableAuthToken?: boolean;
|
|
136
139
|
/**
|
|
137
140
|
* @remarks
|
|
138
|
-
*
|
|
141
|
+
* The extended information.
|
|
139
142
|
*/
|
|
140
143
|
extraInfo?: { [key: string]: string };
|
|
141
144
|
/**
|
|
142
145
|
* @remarks
|
|
143
|
-
* The
|
|
146
|
+
* The dashboard directory URL.
|
|
144
147
|
*
|
|
145
148
|
* @example
|
|
146
149
|
* https://gnew.console.aliyun.com/dashboards/f/c49a80d2a551d4a20a8c4b996b0be4e52/xxxxxxx
|
|
@@ -148,7 +151,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
148
151
|
folderUrl?: string;
|
|
149
152
|
/**
|
|
150
153
|
* @remarks
|
|
151
|
-
* The ID of the
|
|
154
|
+
* The instance ID of the attached managed Grafana instance.
|
|
152
155
|
*
|
|
153
156
|
* @example
|
|
154
157
|
* SHARED
|
|
@@ -159,12 +162,12 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
159
162
|
* The name of the associated managed Grafana instance.
|
|
160
163
|
*
|
|
161
164
|
* @example
|
|
162
|
-
*
|
|
165
|
+
* 共享版
|
|
163
166
|
*/
|
|
164
167
|
grafanaInstanceName?: string;
|
|
165
168
|
/**
|
|
166
169
|
* @remarks
|
|
167
|
-
* The
|
|
170
|
+
* The HTTP public endpoint.
|
|
168
171
|
*
|
|
169
172
|
* @example
|
|
170
173
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -172,7 +175,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
172
175
|
httpApiInterUrl?: string;
|
|
173
176
|
/**
|
|
174
177
|
* @remarks
|
|
175
|
-
* The
|
|
178
|
+
* The HTTP internal endpoint.
|
|
176
179
|
*
|
|
177
180
|
* @example
|
|
178
181
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -180,7 +183,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
180
183
|
httpApiInternalUrl?: string;
|
|
181
184
|
/**
|
|
182
185
|
* @remarks
|
|
183
|
-
* The
|
|
186
|
+
* The HTTP private endpoint.
|
|
184
187
|
*
|
|
185
188
|
* @example
|
|
186
189
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -188,7 +191,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
188
191
|
httpApiIntraUrl?: string;
|
|
189
192
|
/**
|
|
190
193
|
* @remarks
|
|
191
|
-
* The
|
|
194
|
+
* The Prometheus instance type.
|
|
192
195
|
*
|
|
193
196
|
* @example
|
|
194
197
|
* remote-write
|
|
@@ -196,7 +199,9 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
196
199
|
instanceType?: string;
|
|
197
200
|
/**
|
|
198
201
|
* @remarks
|
|
199
|
-
* The billing method. Valid values
|
|
202
|
+
* The billing method. Valid values:
|
|
203
|
+
* - POSTPAY: pay-as-you-go based on the number of reported metrics.
|
|
204
|
+
* - POSTPAY_GB: pay-as-you-go based on the volume of written metrics.
|
|
200
205
|
*
|
|
201
206
|
* @example
|
|
202
207
|
* POSTPAY
|
|
@@ -204,7 +209,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
204
209
|
paymentType?: string;
|
|
205
210
|
/**
|
|
206
211
|
* @remarks
|
|
207
|
-
* The time when the billing method
|
|
212
|
+
* The time when the billing method of the instance was last modified, in UTC format.
|
|
208
213
|
*
|
|
209
214
|
* @example
|
|
210
215
|
* 2025-08-10T02:07:53Z
|
|
@@ -212,7 +217,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
212
217
|
paymentTypeUpdateTime?: string;
|
|
213
218
|
/**
|
|
214
219
|
* @remarks
|
|
215
|
-
* The
|
|
220
|
+
* The product to which the Prometheus instance belongs (arms or cms).
|
|
216
221
|
*
|
|
217
222
|
* @example
|
|
218
223
|
* cms
|
|
@@ -236,7 +241,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
236
241
|
prometheusInstanceName?: string;
|
|
237
242
|
/**
|
|
238
243
|
* @remarks
|
|
239
|
-
* The public
|
|
244
|
+
* The PushGateway public endpoint.
|
|
240
245
|
*
|
|
241
246
|
* @example
|
|
242
247
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -244,7 +249,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
244
249
|
pushGatewayInterUrl?: string;
|
|
245
250
|
/**
|
|
246
251
|
* @remarks
|
|
247
|
-
* The internal
|
|
252
|
+
* The PushGateway internal endpoint.
|
|
248
253
|
*
|
|
249
254
|
* @example
|
|
250
255
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -252,7 +257,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
252
257
|
pushGatewayInternalUrl?: string;
|
|
253
258
|
/**
|
|
254
259
|
* @remarks
|
|
255
|
-
* The private
|
|
260
|
+
* The PushGateway private endpoint.
|
|
256
261
|
*
|
|
257
262
|
* @example
|
|
258
263
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -268,7 +273,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
268
273
|
regionId?: string;
|
|
269
274
|
/**
|
|
270
275
|
* @remarks
|
|
271
|
-
* The public
|
|
276
|
+
* The public read endpoint.
|
|
272
277
|
*
|
|
273
278
|
* @example
|
|
274
279
|
* http://workspace-default-cms-xxxxxxx
|
|
@@ -276,7 +281,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
276
281
|
remoteReadInterUrl?: string;
|
|
277
282
|
/**
|
|
278
283
|
* @remarks
|
|
279
|
-
* The internal
|
|
284
|
+
* The RemoteRead internal endpoint.
|
|
280
285
|
*
|
|
281
286
|
* @example
|
|
282
287
|
* https://workspace-default-cms-1xxxxxxxxxx
|
|
@@ -284,7 +289,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
284
289
|
remoteReadInternalUrl?: string;
|
|
285
290
|
/**
|
|
286
291
|
* @remarks
|
|
287
|
-
* The private
|
|
292
|
+
* The private read endpoint.
|
|
288
293
|
*
|
|
289
294
|
* @example
|
|
290
295
|
* https://workspace-default-cms-1xxxxxxxxxx
|
|
@@ -292,7 +297,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
292
297
|
remoteReadIntraUrl?: string;
|
|
293
298
|
/**
|
|
294
299
|
* @remarks
|
|
295
|
-
* The public
|
|
300
|
+
* The public write endpoint.
|
|
296
301
|
*
|
|
297
302
|
* @example
|
|
298
303
|
* https://workspace-default-cms-xxxxxxxxxx
|
|
@@ -300,7 +305,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
300
305
|
remoteWriteInterUrl?: string;
|
|
301
306
|
/**
|
|
302
307
|
* @remarks
|
|
303
|
-
* The internal
|
|
308
|
+
* The RemoteWrite internal endpoint.
|
|
304
309
|
*
|
|
305
310
|
* @example
|
|
306
311
|
* https://workspace-default-cms-xxxxxxxxxx
|
|
@@ -308,7 +313,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
308
313
|
remoteWriteInternalUrl?: string;
|
|
309
314
|
/**
|
|
310
315
|
* @remarks
|
|
311
|
-
* The private
|
|
316
|
+
* The private write endpoint.
|
|
312
317
|
*
|
|
313
318
|
* @example
|
|
314
319
|
* https://workspace-default-cms-xxxxxxxxxx
|
|
@@ -324,7 +329,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
324
329
|
resourceGroupId?: string;
|
|
325
330
|
/**
|
|
326
331
|
* @remarks
|
|
327
|
-
*
|
|
332
|
+
* Fixed value: PrometheusInstance.
|
|
328
333
|
*
|
|
329
334
|
* @example
|
|
330
335
|
* Prometheus
|
|
@@ -348,7 +353,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
348
353
|
storageDuration?: number;
|
|
349
354
|
/**
|
|
350
355
|
* @remarks
|
|
351
|
-
* The supported
|
|
356
|
+
* The supported authentication types.
|
|
352
357
|
*/
|
|
353
358
|
supportAuthTypes?: string[];
|
|
354
359
|
/**
|
|
@@ -374,7 +379,7 @@ export class GetPrometheusInstanceResponseBodyPrometheusInstance extends $dara.M
|
|
|
374
379
|
version?: string;
|
|
375
380
|
/**
|
|
376
381
|
* @remarks
|
|
377
|
-
* The workspace
|
|
382
|
+
* The workspace to which the Prometheus instance belongs.
|
|
378
383
|
*
|
|
379
384
|
* @example
|
|
380
385
|
* ws1
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetPrometheusViewRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The language. Valid values: zh
|
|
8
|
+
* The language. Default value: zh. Valid values: zh and en.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* zh
|
|
@@ -13,7 +13,7 @@ export class GetPrometheusViewRequest extends $dara.Model {
|
|
|
13
13
|
aliyunLang?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The resource group ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* rg-aek2bhocin5e2na
|
|
@@ -55,7 +55,7 @@ export class GetPrometheusViewResponseBodyPrometheusViewPrometheusInstances exte
|
|
|
55
55
|
export class GetPrometheusViewResponseBodyPrometheusViewTags extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The integration key
|
|
58
|
+
* The integration key of PagerDuty.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* global_score_series
|
|
@@ -95,7 +95,7 @@ export class GetPrometheusViewResponseBodyPrometheusViewTags extends $dara.Model
|
|
|
95
95
|
export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
96
96
|
/**
|
|
97
97
|
* @remarks
|
|
98
|
-
* The
|
|
98
|
+
* The authentication-free read policy. IP CIDR blocks and VPC IDs are supported.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* {
|
|
@@ -112,7 +112,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
112
112
|
authFreeReadPolicy?: string;
|
|
113
113
|
/**
|
|
114
114
|
* @remarks
|
|
115
|
-
* The
|
|
115
|
+
* The authentication token string.
|
|
116
116
|
*
|
|
117
117
|
* @example
|
|
118
118
|
* eJxxxxxx
|
|
@@ -120,7 +120,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
120
120
|
authToken?: string;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
* The time when the instance was created. The time is in UTC and
|
|
123
|
+
* The time when the instance was created. The time is in UTC+0 and in the yyyy-MM-ddTHH:mmZ format.
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
126
|
* 2025-08-10T02:07:53Z
|
|
@@ -128,7 +128,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
128
128
|
createTime?: string;
|
|
129
129
|
/**
|
|
130
130
|
* @remarks
|
|
131
|
-
* Indicates whether
|
|
131
|
+
* Indicates whether authentication-free read is enabled.
|
|
132
132
|
*
|
|
133
133
|
* @example
|
|
134
134
|
* true
|
|
@@ -136,7 +136,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
136
136
|
enableAuthFreeRead?: boolean;
|
|
137
137
|
/**
|
|
138
138
|
* @remarks
|
|
139
|
-
* Indicates whether
|
|
139
|
+
* Indicates whether the authentication token is enabled.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* true
|
|
@@ -144,7 +144,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
144
144
|
enableAuthToken?: boolean;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The URL
|
|
147
|
+
* The dashboard URL.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* https://xxxx
|
|
@@ -152,7 +152,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
152
152
|
folderUrl?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
* The ID of the attached managed Grafana instance.
|
|
155
|
+
* The instance ID of the attached managed Grafana instance.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* g-xxx
|
|
@@ -160,7 +160,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
160
160
|
grafanaInstanceId?: string;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The name of the
|
|
163
|
+
* The name of the associated managed Grafana instance.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* gxxx
|
|
@@ -168,16 +168,23 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
168
168
|
grafanaInstanceName?: string;
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* The HTTP
|
|
171
|
+
* The public HTTP URL.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* http://xxxxxxxx
|
|
175
175
|
*/
|
|
176
176
|
httpApiInterUrl?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* The internal HTTP URL.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* https://workspace-xxx.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-xxx/aliyun-prom-rw-xxx
|
|
183
|
+
*/
|
|
177
184
|
httpApiInternalUrl?: string;
|
|
178
185
|
/**
|
|
179
186
|
* @remarks
|
|
180
|
-
* The HTTP
|
|
187
|
+
* The internal HTTP URL.
|
|
181
188
|
*
|
|
182
189
|
* @example
|
|
183
190
|
* http://xxxxxxxx
|
|
@@ -185,7 +192,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
185
192
|
httpApiIntraUrl?: string;
|
|
186
193
|
/**
|
|
187
194
|
* @remarks
|
|
188
|
-
* The instance type. The value is fixed
|
|
195
|
+
* The instance type. The value is fixed as prom-view.
|
|
189
196
|
*
|
|
190
197
|
* @example
|
|
191
198
|
* prom-view
|
|
@@ -193,7 +200,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
193
200
|
instanceType?: string;
|
|
194
201
|
/**
|
|
195
202
|
* @remarks
|
|
196
|
-
* The billing
|
|
203
|
+
* The billing type. The value is currently fixed as FREE.
|
|
197
204
|
*
|
|
198
205
|
* @example
|
|
199
206
|
* FREE
|
|
@@ -209,12 +216,12 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
209
216
|
product?: string;
|
|
210
217
|
/**
|
|
211
218
|
* @remarks
|
|
212
|
-
*
|
|
219
|
+
* The list of Prometheus instances.
|
|
213
220
|
*/
|
|
214
221
|
prometheusInstances?: GetPrometheusViewResponseBodyPrometheusViewPrometheusInstances[];
|
|
215
222
|
/**
|
|
216
223
|
* @remarks
|
|
217
|
-
* The
|
|
224
|
+
* The Prometheus view ID.
|
|
218
225
|
*
|
|
219
226
|
* @example
|
|
220
227
|
* view-xxx
|
|
@@ -222,7 +229,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
222
229
|
prometheusViewId?: string;
|
|
223
230
|
/**
|
|
224
231
|
* @remarks
|
|
225
|
-
* The
|
|
232
|
+
* The Prometheus view name.
|
|
226
233
|
*
|
|
227
234
|
* @example
|
|
228
235
|
* view1
|
|
@@ -238,16 +245,23 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
238
245
|
regionId?: string;
|
|
239
246
|
/**
|
|
240
247
|
* @remarks
|
|
241
|
-
* The
|
|
248
|
+
* The public URL for remote read.
|
|
242
249
|
*
|
|
243
250
|
* @example
|
|
244
251
|
* http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read
|
|
245
252
|
*/
|
|
246
253
|
remoteReadInterUrl?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @remarks
|
|
256
|
+
* The internal endpoint for remote read.
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-internal.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read
|
|
260
|
+
*/
|
|
247
261
|
remoteReadInternalUrl?: string;
|
|
248
262
|
/**
|
|
249
263
|
* @remarks
|
|
250
|
-
* The
|
|
264
|
+
* The internal URL for remote read.
|
|
251
265
|
*
|
|
252
266
|
* @example
|
|
253
267
|
* http://workspace-default-cms-xxx-cn-hangzhou.cn-hangzhou-intranet.log.aliyuncs.com/prometheus/workspace-default-cms-xxx-cn-hangzhou/xxx/api/v1/read
|
|
@@ -263,7 +277,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
263
277
|
resourceGroupId?: string;
|
|
264
278
|
/**
|
|
265
279
|
* @remarks
|
|
266
|
-
* The value is fixed
|
|
280
|
+
* The resource type. The value is fixed as PrometheusView.
|
|
267
281
|
*
|
|
268
282
|
* @example
|
|
269
283
|
* RegistryModule
|
|
@@ -284,7 +298,7 @@ export class GetPrometheusViewResponseBodyPrometheusView extends $dara.Model {
|
|
|
284
298
|
supportAuthTypes?: string[];
|
|
285
299
|
/**
|
|
286
300
|
* @remarks
|
|
287
|
-
* The
|
|
301
|
+
* The tag keys of the instance.
|
|
288
302
|
*/
|
|
289
303
|
tags?: GetPrometheusViewResponseBodyPrometheusViewTags[];
|
|
290
304
|
/**
|
|
@@ -405,7 +419,7 @@ export class GetPrometheusViewResponseBody extends $dara.Model {
|
|
|
405
419
|
prometheusView?: GetPrometheusViewResponseBodyPrometheusView;
|
|
406
420
|
/**
|
|
407
421
|
* @remarks
|
|
408
|
-
*
|
|
422
|
+
* Id of the request
|
|
409
423
|
*
|
|
410
424
|
* @example
|
|
411
425
|
* 0B9377D9-C56B-5C2E-A8A4-A01D6CC3F4B8
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetServiceRecordRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The type of the linked entry. Currently supported values:
|
|
9
|
+
* logCorrelation: indicates application log association.
|
|
10
|
+
*
|
|
11
|
+
* This parameter is required.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* logCorrelation
|
|
15
|
+
*/
|
|
16
|
+
recordType?: string;
|
|
17
|
+
static names(): { [key: string]: string } {
|
|
18
|
+
return {
|
|
19
|
+
recordType: 'recordType',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
recordType: 'string',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
validate() {
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetServiceRecordResponseBody } from "./GetServiceRecordResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetServiceRecordResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetServiceRecordResponseBody;
|
|
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: GetServiceRecordResponseBody,
|
|
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,105 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetServiceRecordResponseBodyRecord extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The entry content in JSON string format. The returned content varies depending on the recordType.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {"project":"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou","storeName":"app-biz-log","regionId":"cn-hangzhou","bindType":"logstore","traceIdRelateField":""}
|
|
12
|
+
*/
|
|
13
|
+
recordContent?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The type of the linked entry. Currently supported values:
|
|
17
|
+
* logCorrelation: indicates application log association.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* logCorrelation
|
|
21
|
+
*/
|
|
22
|
+
recordType?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The unique identifier of the service.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ckj0xn6ma3@b96491402f8e1f15a8c79
|
|
29
|
+
*/
|
|
30
|
+
serviceId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The workspace.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* default-cms-1610600919225911-cn-beijing
|
|
37
|
+
*/
|
|
38
|
+
workspace?: string;
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
recordContent: 'recordContent',
|
|
42
|
+
recordType: 'recordType',
|
|
43
|
+
serviceId: 'serviceId',
|
|
44
|
+
workspace: 'workspace',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
static types(): { [key: string]: any } {
|
|
49
|
+
return {
|
|
50
|
+
recordContent: 'string',
|
|
51
|
+
recordType: 'string',
|
|
52
|
+
serviceId: 'string',
|
|
53
|
+
workspace: 'string',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
validate() {
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export class GetServiceRecordResponseBody extends $dara.Model {
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The record.
|
|
70
|
+
*/
|
|
71
|
+
record?: GetServiceRecordResponseBodyRecord;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Id of the request
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
78
|
+
*/
|
|
79
|
+
requestId?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
record: 'record',
|
|
83
|
+
requestId: 'requestId',
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static types(): { [key: string]: any } {
|
|
88
|
+
return {
|
|
89
|
+
record: GetServiceRecordResponseBodyRecord,
|
|
90
|
+
requestId: 'string',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
validate() {
|
|
95
|
+
if(this.record && typeof (this.record as any).validate === 'function') {
|
|
96
|
+
(this.record as any).validate();
|
|
97
|
+
}
|
|
98
|
+
super.validate();
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|