diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/cms/2024-03-30 | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/cms/2024-03-30')
| -rw-r--r-- | data/cms/2024-03-30/api-docs.php | 12138 |
1 files changed, 5844 insertions, 6294 deletions
diff --git a/data/cms/2024-03-30/api-docs.php b/data/cms/2024-03-30/api-docs.php index 5ed09f2..4eaede3 100644 --- a/data/cms/2024-03-30/api-docs.php +++ b/data/cms/2024-03-30/api-docs.php @@ -1,91 +1,57 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'Cms', - 'version' => '2024-03-30', - ], + 'info' => ['style' => 'ROA', 'product' => 'Cms', 'version' => '2024-03-30'], 'components' => [ 'schemas' => [ - 'AddonMeta' => [ + 'ActionIntegrationConfig' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'string', - ], - 'language' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'scene' => [ - 'type' => 'string', - ], - 'alias' => [ - 'type' => 'string', - ], - 'icon' => [ - 'type' => 'string', + 'enabled' => ['type' => 'boolean'], + 'actions' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + ], + ], + 'AddonMeta' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'version' => ['type' => 'string'], + 'language' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'scene' => ['type' => 'string'], + 'alias' => ['type' => 'string'], + 'icon' => ['type' => 'string'], 'keywords' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'once' => [ - 'type' => 'boolean', + 'items' => ['type' => 'string'], ], + 'once' => ['type' => 'boolean'], 'environments' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'label' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'label' => ['type' => 'string'], + 'description' => ['type' => 'string'], 'policies' => [ 'type' => 'object', 'properties' => [ - 'defaultInstall' => [ - 'type' => 'boolean', - ], - 'targetAddonName' => [ - 'type' => 'string', - ], - 'alertDefaultStatus' => [ - 'type' => 'string', - ], + 'defaultInstall' => ['type' => 'boolean'], + 'targetAddonName' => ['type' => 'string'], + 'alertDefaultStatus' => ['type' => 'string'], 'protocols' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'label' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'icon' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'label' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'icon' => ['type' => 'string'], ], ], ], @@ -94,38 +60,22 @@ 'properties' => [ 'promQL' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'needRestartAfterIntegration' => [ - 'type' => 'boolean', - ], - 'enableServiceAccount' => [ - 'type' => 'boolean', - ], + 'needRestartAfterIntegration' => ['type' => 'boolean'], + 'enableServiceAccount' => ['type' => 'boolean'], 'bindEntity' => [ 'type' => 'object', 'properties' => [ - 'entityGroupMode' => [ - 'type' => 'boolean', - ], - 'singleEntityMode' => [ - 'type' => 'boolean', - ], - 'entityType' => [ - 'type' => 'string', - ], - 'vpcIdFieldKey' => [ - 'type' => 'string', - ], + 'entityGroupMode' => ['type' => 'boolean'], + 'singleEntityMode' => ['type' => 'boolean'], + 'entityType' => ['type' => 'string'], + 'vpcIdFieldKey' => ['type' => 'string'], ], ], - 'bindDefaultPolicy' => [ - 'type' => 'boolean', - ], + 'bindDefaultPolicy' => ['type' => 'boolean'], ], ], 'dependencies' => [ @@ -133,38 +83,26 @@ 'properties' => [ 'features' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - ], + 'additionalProperties' => ['type' => 'boolean'], ], 'services' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'clusterTypes' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'policyType' => [ - 'type' => 'string', - ], + 'policyType' => ['type' => 'string'], 'commonSchemaRefs' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'group' => [ - 'type' => 'string', - ], - 'version' => [ - 'type' => 'string', - ], + 'group' => ['type' => 'string'], + 'version' => ['type' => 'string'], ], ], ], @@ -173,34 +111,21 @@ ], 'categories' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'dashboards' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'url' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'url' => ['type' => 'string'], + 'description' => ['type' => 'string'], ], ], ], - 'weight' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'latestReleaseCreateTime' => [ - 'type' => 'string', - ], + 'weight' => ['type' => 'integer', 'format' => 'int32'], + 'latestReleaseCreateTime' => ['type' => 'string'], ], ], 'AlertEventIntegrationPolicyForModify' => [ @@ -208,74 +133,34 @@ 'properties' => [ 'transformerSetting' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TransformAction', - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'integrationSetting' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'alertEventIntegrationPolicyName' => [ - 'type' => 'string', - 'required' => true, + 'items' => ['$ref' => '#/components/schemas/TransformAction'], ], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'integrationSetting' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'alertEventIntegrationPolicyName' => ['type' => 'string', 'required' => true], ], ], 'AlertEventIntegrationPolicyForView' => [ 'type' => 'object', 'properties' => [ - 'workspace' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'updateTime' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'alertEventIntegrationPolicyId' => [ - 'type' => 'string', - ], - 'token' => [ - 'type' => 'string', - ], + 'workspace' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'updateTime' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'alertEventIntegrationPolicyId' => ['type' => 'string'], + 'token' => ['type' => 'string'], 'transformerSetting' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TransformAction', - ], - ], - 'createTime' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'integrationSetting' => [ - 'type' => 'string', - ], - 'alertEventIntegrationPolicyName' => [ - 'type' => 'string', - 'required' => true, + 'items' => ['$ref' => '#/components/schemas/TransformAction'], ], + 'createTime' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'integrationSetting' => ['type' => 'string'], + 'alertEventIntegrationPolicyName' => ['type' => 'string', 'required' => true], ], ], 'AlertRuleAction' => [ @@ -283,50 +168,28 @@ 'properties' => [ 'actions' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'AlertRuleAlertMetricFilterDef' => [ 'type' => 'object', 'properties' => [ - 'opt' => [ - 'type' => 'string', - ], - 'hidden' => [ - 'type' => 'boolean', - ], - 'displayNameCn' => [ - 'type' => 'string', - ], - 'dim' => [ - 'type' => 'string', - ], - 'displayNameEn' => [ - 'type' => 'string', - ], - 'labelDisabled' => [ - 'type' => 'boolean', - ], - 'dimDisabled' => [ - 'type' => 'boolean', - ], + 'opt' => ['type' => 'string'], + 'hidden' => ['type' => 'boolean'], + 'displayNameCn' => ['type' => 'string'], + 'dim' => ['type' => 'string'], + 'displayNameEn' => ['type' => 'string'], + 'labelDisabled' => ['type' => 'boolean'], + 'dimDisabled' => ['type' => 'boolean'], 'supportedOpts' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'displayNameCn' => [ - 'type' => 'string', - ], - 'displayNameEn' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'displayNameCn' => ['type' => 'string'], + 'displayNameEn' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], ], @@ -334,143 +197,80 @@ ], 'AlertRuleAlertMetricFilterDef_array' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef', - ], + 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef'], ], 'AlertRuleAlertMetricInput' => [ 'type' => 'object', 'properties' => [ 'filterValues' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue', - ], + 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue'], ], 'paramValues' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/AlertRuleAlertMetricInputParamValue', - ], - ], - 'metricId' => [ - 'type' => 'string', - ], - 'groupId' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricInputParamValue'], ], + 'metricId' => ['type' => 'string'], + 'groupId' => ['type' => 'string'], ], ], 'AlertRuleAlertMetricInputFilterValue' => [ 'type' => 'object', 'properties' => [ - 'opt' => [ - 'type' => 'string', - 'required' => true, - ], - 'dim' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', - ], + 'opt' => ['type' => 'string', 'required' => true], + 'dim' => ['type' => 'string', 'required' => true], + 'value' => ['type' => 'string'], ], ], 'AlertRuleAlertMetricInputParamValue' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => ['type' => 'string', 'required' => true], + 'value' => ['type' => 'string', 'required' => true], ], ], 'AlertRuleAlertMetricParamDef' => [ 'type' => 'object', 'properties' => [ - 'placeholderEn' => [ - 'type' => 'string', - ], - 'placeholderCn' => [ - 'type' => 'string', - ], + 'placeholderEn' => ['type' => 'string'], + 'placeholderCn' => ['type' => 'string'], 'values' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'labelCn' => [ - 'type' => 'string', - ], - 'labelEn' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'labelCn' => ['type' => 'string'], + 'labelEn' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], ], - 'name' => [ - 'type' => 'string', - ], - 'minWidth' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'type' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], - 'maxWidth' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'name' => ['type' => 'string'], + 'minWidth' => ['type' => 'integer', 'format' => 'int32'], + 'type' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'maxWidth' => ['type' => 'integer', 'format' => 'int32'], ], ], 'AlertRuleAlertMetricParamDef_array' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef', - ], + 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef'], ], 'AlertRuleCondition' => [ 'type' => 'object', 'properties' => [ - 'alertCount' => [ - 'type' => 'integer', - 'format' => 'int32', - 'pattern' => '', - ], + 'alertCount' => ['type' => 'integer', 'format' => 'int32', 'pattern' => ''], 'caseList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'condition' => [ - 'type' => 'string', - ], - 'countCondition' => [ - 'type' => 'string', - ], - 'level' => [ - 'type' => 'string', - ], + 'condition' => ['type' => 'string'], + 'countCondition' => ['type' => 'string'], + 'level' => ['type' => 'string'], 'type' => [ 'type' => 'string', - 'enum' => [ - 'HasData', - 'HasDataCount', - 'HasDataMatch', - 'HasDataMatchCount', - ], + 'enum' => ['HasData', 'HasDataCount', 'HasDataMatch', 'HasDataMatchCount'], ], ], ], @@ -480,103 +280,51 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'aggregate' => [ - 'type' => 'string', - ], - 'oper' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'aggregate' => ['type' => 'string'], + 'oper' => ['type' => 'string'], + 'value' => ['type' => 'number', 'format' => 'double'], 'valueLevelList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'level' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'level' => ['type' => 'string'], + 'value' => ['type' => 'number', 'format' => 'double'], ], ], ], - 'yoyTimeUnit' => [ - 'type' => 'string', - ], - 'yoyTimeValue' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'baseUnit' => [ - 'type' => 'string', - ], - 'displayUnit' => [ - 'type' => 'string', - ], + 'yoyTimeUnit' => ['type' => 'string'], + 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'], + 'baseUnit' => ['type' => 'string'], + 'displayUnit' => ['type' => 'string'], ], ], ], - 'noDataAppendValue' => [ - 'type' => 'string', - ], - 'noDataAlertLevel' => [ - 'type' => 'string', - 'pattern' => '', - ], + 'noDataAppendValue' => ['type' => 'string'], + 'noDataAlertLevel' => ['type' => 'string', 'pattern' => ''], 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'SLS_CONDITION', - 'APM_CONDITION', - 'CMS_BASIC_CONDITION', - 'BASIC_CONDITION', - ], + 'enum' => ['SLS_CONDITION', 'APM_CONDITION', 'CMS_BASIC_CONDITION', 'PROMETHEUS_MULTI_CONDITION', 'BASIC_CONDITION', 'LOG_SET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION'], 'pattern' => '', ], - 'relation' => [ - 'type' => 'string', - ], - 'escalationType' => [ - 'type' => 'string', - ], + 'relation' => ['type' => 'string'], + 'escalationType' => ['type' => 'string'], 'simpleEscalation' => [ 'type' => 'object', 'properties' => [ - 'metricName' => [ - 'type' => 'string', - ], - 'period' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'metricName' => ['type' => 'string'], + 'period' => ['type' => 'integer', 'format' => 'int64'], 'escalations' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'level' => [ - 'type' => 'string', - ], - 'comparisonOperator' => [ - 'type' => 'string', - ], - 'statistics' => [ - 'type' => 'string', - ], - 'times' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'threshold' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'level' => ['type' => 'string'], + 'comparisonOperator' => ['type' => 'string'], + 'statistics' => ['type' => 'string'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'threshold' => ['type' => 'number', 'format' => 'double'], ], ], ], @@ -585,38 +333,19 @@ 'compositeEscalation' => [ 'type' => 'object', 'properties' => [ - 'relation' => [ - 'type' => 'string', - ], - 'level' => [ - 'type' => 'string', - ], - 'times' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'relation' => ['type' => 'string'], + 'level' => ['type' => 'string'], + 'times' => ['type' => 'integer', 'format' => 'int32'], 'escalations' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'comparisonOperator' => [ - 'type' => 'string', - ], - 'metricName' => [ - 'type' => 'string', - ], - 'period' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'statistics' => [ - 'type' => 'string', - ], - 'threshold' => [ - 'type' => 'number', - 'format' => 'double', - ], + 'comparisonOperator' => ['type' => 'string'], + 'metricName' => ['type' => 'string'], + 'period' => ['type' => 'integer', 'format' => 'int64'], + 'statistics' => ['type' => 'string'], + 'threshold' => ['type' => 'number', 'format' => 'double'], ], ], ], @@ -625,28 +354,69 @@ 'expressEscalation' => [ 'type' => 'object', 'properties' => [ - 'level' => [ - 'type' => 'string', - ], - 'times' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'rawExpression' => [ - 'type' => 'string', - ], + 'level' => ['type' => 'string'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'rawExpression' => ['type' => 'string'], ], ], - 'noDataPolicy' => [ + 'noDataPolicy' => ['type' => 'string'], + 'oper' => ['type' => 'string'], + 'value' => ['type' => 'number', 'format' => 'double'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + 'matchField' => ['type' => 'string'], + 'matchOperator' => [ 'type' => 'string', + 'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'], ], - 'oper' => [ + 'matchValue' => ['type' => 'string'], + 'countOperator' => [ 'type' => 'string', + 'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'], ], - 'value' => [ - 'type' => 'number', - 'format' => 'double', + 'countThreshold' => ['type' => 'integer', 'format' => 'int64'], + 'thresholdList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'severity' => ['type' => 'string'], + 'threshold' => ['type' => 'number', 'format' => 'double'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + ], + ], ], + 'triggers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'severity' => ['type' => 'string'], + 'durationSecs' => ['type' => 'integer', 'format' => 'int32'], + 'expression' => [ + 'type' => 'object', + 'properties' => [ + 'expressionType' => ['type' => 'string'], + 'logicOperator' => ['type' => 'string'], + 'conditions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'expressionType' => ['type' => 'string'], + 'queryName' => ['type' => 'string'], + 'operator' => ['type' => 'string'], + 'threshold' => ['type' => 'number', 'format' => 'double'], + ], + ], + ], + ], + ], + ], + ], + ], + 'enableSeveritySuppression' => ['type' => 'boolean'], ], ], 'AlertRuleDataSource' => [ @@ -657,52 +427,27 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'project' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], - 'store' => [ - 'type' => 'string', - ], + 'project' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'store' => ['type' => 'string'], 'type' => [ 'type' => 'string', - 'enum' => [ - 'SLS_LOG_DS', - 'SLS_METRIC_DS', - ], + 'enum' => ['SLS_LOG_DS', 'SLS_METRIC_DS'], ], ], ], ], - 'instanceId' => [ - 'type' => 'string', - 'pattern' => '', - ], - 'namespace' => [ - 'type' => 'string', - ], + 'instanceId' => ['type' => 'string', 'pattern' => ''], + 'namespace' => ['type' => 'string'], 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'ENTERPRISE_DS', - 'PROMETHEUS_DS', - 'SLS_MULTI_DS', - 'APM_DS', - 'CMS_BASIC_DS', - 'ENTITY_DS', - 'VIRTUAL_PROMETHEUS_DS', - ], + 'enum' => ['ENTERPRISE_DS', 'PROMETHEUS_DS', 'SLS_MULTI_DS', 'APM_DS', 'CMS_BASIC_DS', 'ENTITY_DS'], 'pattern' => '', ], - 'regionId' => [ - 'type' => 'string', - ], - 'appType' => [ - 'type' => 'string', - ], + 'regionId' => ['type' => 'string'], + 'appType' => ['type' => 'string'], + 'tenantId' => ['type' => 'string'], ], ], 'AlertRuleLabelFilter' => [ @@ -711,16 +456,11 @@ 'opt' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'AND', - 'OR', - ], + 'enum' => ['AND', 'OR'], ], 'labels' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -729,57 +469,43 @@ 'properties' => [ 'contacts' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'customWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'dingWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'fsWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'groups' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'silenceTime' => [ - 'type' => 'integer', - 'format' => 'int64', + 'items' => ['type' => 'string'], ], + 'silenceTime' => ['type' => 'integer', 'format' => 'int64'], 'slackWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'wxWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'notifyTime' => [ - '$ref' => '#/components/schemas/AlertRuleTimeSpan', + 'items' => ['type' => 'string'], ], + 'notifyTime' => ['$ref' => '#/components/schemas/AlertRuleTimeSpan'], 'dingCoolAppWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], + ], + 'qwencloudContacts' => [ + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'boolean'], ], ], ], @@ -789,235 +515,155 @@ 'properties' => [ 'slackWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'wxWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'dingWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'customWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'groups' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'fsWebhooks' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'contacts' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'AlertRuleQuery' => [ 'type' => 'object', 'properties' => [ - 'duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'expr' => [ - 'type' => 'string', - ], + 'duration' => ['type' => 'integer', 'format' => 'int64'], + 'expr' => ['type' => 'string'], 'groupFieldList' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'groupType' => [ 'type' => 'string', - 'enum' => [ - 'none', - 'label', - 'custom', - ], + 'enum' => ['none', 'label', 'custom'], ], 'queries' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'duration' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'end' => [ - 'type' => 'integer', - 'format' => 'int64', - 'pattern' => '', - ], - 'expr' => [ - 'type' => 'string', - 'pattern' => '', - ], - 'start' => [ - 'type' => 'integer', - 'format' => 'int64', - 'pattern' => '', - ], + 'duration' => ['type' => 'integer', 'format' => 'int64'], + 'end' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''], + 'expr' => ['type' => 'string', 'pattern' => ''], + 'start' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''], 'timeUnit' => [ 'type' => 'string', - 'enum' => [ - 'second', - 'minute', - 'hour', - 'day', - ], - 'pattern' => '', - ], - 'window' => [ - 'type' => 'integer', - 'format' => 'int64', + 'enum' => ['second', 'minute', 'hour', 'day'], 'pattern' => '', ], - 'apmAlertMetricId' => [ - 'type' => 'string', - ], + 'window' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''], + 'apmAlertMetricId' => ['type' => 'string'], 'apmFilters' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'dim' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'dim' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], ], 'apmGroupBy' => [ 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'name' => ['type' => 'string'], + 'promQl' => ['type' => 'string'], + 'metricSet' => ['type' => 'string'], + 'metric' => ['type' => 'string'], + 'labelFilters' => [ + 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'operator' => ['type' => 'string'], + ], ], ], ], ], ], - 'firstJoin' => [ - '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin', - ], + 'firstJoin' => ['$ref' => '#/components/schemas/AlertRuleSlsQueryJoin'], 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'PROMQL_QUERY', - 'SLS_MULTI_QUERY', - 'APM_MULTI_QUERY', - 'CMS_BASIC_QUERY', - 'METRIC_SET_QUERY', - ], + 'enum' => ['PROMQL_QUERY', 'SLS_MULTI_QUERY', 'APM_MULTI_QUERY', 'CMS_BASIC_QUERY', 'METRIC_SET_QUERY', 'LOG_SET_QUERY', 'PROMETHEUS_MULTI_QUERY', 'METRIC_SET_MULTI_QUERY'], 'pattern' => '', ], - 'secondJoin' => [ - '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin', - ], - 'checkAfterDataComplete' => [ - 'type' => 'boolean', - ], - 'relationType' => [ - 'type' => 'string', - ], - 'groupId' => [ - 'type' => 'string', - ], - 'namespace' => [ - 'type' => 'string', - ], + 'secondJoin' => ['$ref' => '#/components/schemas/AlertRuleSlsQueryJoin'], + 'checkAfterDataComplete' => ['type' => 'boolean'], + 'relationType' => ['type' => 'string'], + 'groupId' => ['type' => 'string'], + 'namespace' => ['type' => 'string'], 'entityFilter' => [ 'type' => 'object', 'properties' => [ - 'domain' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], + 'domain' => ['type' => 'string'], + 'type' => ['type' => 'string'], 'filters' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'field' => [ - 'type' => 'string', - ], - 'operator' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'field' => ['type' => 'string'], + 'operator' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], ], ], ], - 'domain' => [ - 'type' => 'string', - ], - 'metricSet' => [ - 'type' => 'string', - ], - 'metric' => [ + 'domain' => ['type' => 'string'], + 'metricSet' => ['type' => 'string'], + 'metric' => ['type' => 'string'], + 'logSet' => ['type' => 'string'], + 'windowSecs' => ['type' => 'integer', 'format' => 'int64'], + 'offsetSecs' => ['type' => 'integer', 'format' => 'int64'], + 'aggregate' => [ 'type' => 'string', + 'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'], ], 'dimensions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], 'serviceIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'labelFilters' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], - 'operator' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'operator' => ['type' => 'string'], ], ], ], @@ -1026,12 +672,18 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'field' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'field' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], + ], + ], + 'markTags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], ], @@ -1040,35 +692,21 @@ 'AlertRuleRcaConfig' => [ 'type' => 'object', 'properties' => [ - 'enableRca' => [ - 'type' => 'boolean', - ], - 'digitalEmployeeName' => [ - 'type' => 'string', - ], + 'enableRca' => ['type' => 'boolean'], + 'digitalEmployeeName' => ['type' => 'string'], ], ], 'AlertRuleSend' => [ 'type' => 'object', 'properties' => [ - 'notification' => [ - '$ref' => '#/components/schemas/AlertRuleNotification', - ], - 'action' => [ - '$ref' => '#/components/schemas/AlertRuleAction', - ], - 'sendToArms' => [ - 'type' => 'boolean', - ], + 'notification' => ['$ref' => '#/components/schemas/AlertRuleNotification'], + 'action' => ['$ref' => '#/components/schemas/AlertRuleAction'], + 'sendToArms' => ['type' => 'boolean'], 'notifyStrategies' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'rcaConfig' => [ - '$ref' => '#/components/schemas/AlertRuleRcaConfig', + 'items' => ['type' => 'string'], ], + 'rcaConfig' => ['$ref' => '#/components/schemas/AlertRuleRcaConfig'], ], ], 'AlertRuleSlsQueryJoin' => [ @@ -1080,42 +718,44 @@ 'type' => 'object', 'deprecated' => false, 'properties' => [ - 'oper' => [ - 'type' => 'string', - 'deprecated' => false, - 'pattern' => '', - ], - 'secondField' => [ - 'type' => 'string', - 'deprecated' => false, - 'pattern' => '', - ], - 'firstField' => [ - 'type' => 'string', - 'deprecated' => false, - 'pattern' => '', - ], + 'oper' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''], + 'secondField' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''], + 'firstField' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''], ], ], ], 'type' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'CrossJoin', - 'FullJoin', - 'InnerJoin', - 'LeftExclude', - 'RightExclude', - 'LeftJoin', - 'RightJoin', - 'NoJoin', - 'Concat', - ], + 'enum' => ['CrossJoin', 'FullJoin', 'InnerJoin', 'LeftExclude', 'RightExclude', 'LeftJoin', 'RightJoin', 'NoJoin', 'Concat'], 'pattern' => '', ], ], ], + 'AlertRuleTemplate' => [ + 'type' => 'object', + 'properties' => [ + 'id' => ['type' => 'integer', 'format' => 'int64'], + 'uuid' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], + 'gmtModified' => ['type' => 'integer', 'format' => 'int64'], + 'userId' => ['type' => 'string'], + 'templateName' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'isSystem' => ['type' => 'integer', 'format' => 'int32'], + 'alertType' => ['type' => 'string'], + 'subType' => ['type' => 'string'], + 'status' => ['type' => 'integer', 'format' => 'int32'], + 'applyCount' => ['type' => 'integer', 'format' => 'int64'], + 'ruleConfigs' => ['type' => 'string'], + 'labels' => ['type' => 'string'], + 'datasource' => ['type' => 'string'], + 'scenes' => ['type' => 'string'], + 'sourceType' => ['type' => 'string'], + 'bizType' => ['type' => 'string'], + 'schemaVersion' => ['type' => 'string'], + ], + ], 'AlertRuleTimeSpan' => [ 'type' => 'object', 'properties' => [ @@ -1124,298 +764,461 @@ 'items' => [ 'type' => 'integer', 'format' => 'int32', - 'enum' => [ - '1', - '2', - '3', - '4', - '5', - '6', - '7', - ], + 'enum' => ['1', '2', '3', '4', '5', '6', '7'], ], ], - 'gmtOffset' => [ + 'gmtOffset' => ['type' => 'string'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], + ], + ], + 'AlertRuleV2' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'createdAt' => ['type' => 'string'], + 'updatedAt' => ['type' => 'string'], + 'status' => [ 'type' => 'string', + 'enum' => ['Alarm', 'Ok'], + ], + 'workspace' => ['type' => 'string', 'required' => false], + 'displayName' => ['type' => 'string'], + 'contentTemplate' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'datasourceConfig' => ['$ref' => '#/components/schemas/DatasourceConfigUnified'], + 'queryConfig' => ['$ref' => '#/components/schemas/QueryConfigUnified'], + 'conditionConfig' => ['$ref' => '#/components/schemas/ConditionConfigUnified'], + 'scheduleConfig' => ['$ref' => '#/components/schemas/ScheduleConfigUnified'], + 'notifyConfig' => ['$ref' => '#/components/schemas/NotifyConfigUnified'], + 'actionIntegrationConfig' => ['$ref' => '#/components/schemas/ActionIntegrationConfig'], + 'armsIntegrationConfig' => ['$ref' => '#/components/schemas/ArmsIntegrationConfig'], + 'labels' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'startTime' => [ - 'type' => 'string', + 'annotations' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'endTime' => [ - 'type' => 'string', + 'datasourceType' => ['type' => 'string'], + 'observeResourceType' => ['type' => 'string'], + 'observeResourceGlobalScope' => ['type' => 'boolean'], + 'observeResourceList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'severityLevels' => ['type' => 'string'], + 'notifyStrategyId' => ['type' => 'string'], + 'partitionKey' => ['type' => 'string'], ], ], - 'BizTraceConfig' => [ + 'ApmCompositeCompareConfig' => [ 'type' => 'object', 'properties' => [ - 'workspace' => [ - 'type' => 'string', - ], - 'bizTraceId' => [ - 'type' => 'string', - ], - 'bizTraceName' => [ + 'aggregate' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'], ], - 'bizTraceCode' => [ + 'operator' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['GT', 'GTE', 'LT', 'LTE', 'EQ', 'NE', 'YOY_UP', 'YOY_DOWN'], ], - 'ruleConfig' => [ + 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true], + 'yoyTimeUnit' => [ 'type' => 'string', + 'enum' => ['minute', 'hour', 'day', 'week', 'month'], ], - 'advancedConfig' => [ + 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'ApmFilterConfig' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string', 'required' => true], + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['ALL', 'EQ', 'NE', 'DISABLED'], ], - 'createTime' => [ - 'type' => 'string', + 'value' => ['type' => 'string'], + ], + ], + 'ApmMeasureConfig' => [ + 'type' => 'object', + 'properties' => [ + 'measureCode' => ['type' => 'string', 'required' => true], + 'windowSecs' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'groupBy' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'regionId' => [ + ], + ], + 'ApmThresholdConfig' => [ + 'type' => 'object', + 'properties' => [ + 'severity' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'], ], + 'threshold' => ['type' => 'number', 'format' => 'float'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], ], ], - 'CmsEventForView' => [ + 'ArmsIntegrationConfig' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => ['type' => 'boolean'], + ], + ], + 'BizTraceConfig' => [ 'type' => 'object', 'properties' => [ - 'id' => [ + 'workspace' => ['type' => 'string'], + 'bizTraceId' => ['type' => 'string'], + 'bizTraceName' => ['type' => 'string'], + 'bizTraceCode' => ['type' => 'string'], + 'ruleConfig' => ['type' => 'string'], + 'advancedConfig' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + ], + ], + 'CloudMonitoringCompositeEscalation' => [ + 'type' => 'object', + 'properties' => [ + 'relation' => ['type' => 'string'], + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'dedupId' => [ - 'type' => 'string', + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'escalations' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalationEntry'], ], - 'type' => [ + ], + ], + 'CloudMonitoringCompositeEscalationEntry' => [ + 'type' => 'object', + 'properties' => [ + 'comparisonOperator' => ['type' => 'string'], + 'metricName' => ['type' => 'string'], + 'period' => ['type' => 'integer', 'format' => 'int32'], + 'statistics' => ['type' => 'string'], + 'threshold' => ['type' => 'string'], + 'preCondition' => ['type' => 'string'], + ], + ], + 'CloudMonitoringExpressEscalation' => [ + 'type' => 'object', + 'properties' => [ + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'subtype' => [ + 'rawExpression' => ['type' => 'string'], + ], + ], + 'CloudMonitoringPrometheusEscalation' => [ + 'type' => 'object', + 'properties' => [ + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'source' => [ - 'type' => 'string', + 'promQl' => ['type' => 'string'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'CloudMonitoringSimpleEscalation' => [ + 'type' => 'object', + 'properties' => [ + 'metricName' => ['type' => 'string'], + 'period' => ['type' => 'integer', 'format' => 'int32'], + 'escalations' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/CloudMonitoringSimpleEscalationEntry'], ], - 'time' => [ + ], + ], + 'CloudMonitoringSimpleEscalationEntry' => [ + 'type' => 'object', + 'properties' => [ + 'comparisonOperator' => ['type' => 'string'], + 'statistics' => ['type' => 'string'], + 'threshold' => ['type' => 'string'], + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'subject' => [ + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'preCondition' => ['type' => 'string'], + ], + ], + 'CmsEventForView' => [ + 'type' => 'object', + 'properties' => [ + 'id' => ['type' => 'string'], + 'dedupId' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'subtype' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'time' => ['type' => 'string'], + 'timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'subject' => ['type' => 'string'], + 'severity' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'resource' => ['$ref' => '#/components/schemas/EventResourceForEventView'], + 'labels' => ['type' => 'object'], + 'annotations' => ['type' => 'object'], + 'dataschema' => ['type' => 'string'], + 'datacontenttype' => ['type' => 'string'], + 'data' => ['type' => 'any'], + 'receiveTime' => ['type' => 'integer', 'format' => 'int64'], + 'workspace' => ['type' => 'string'], + 'workspaceTags' => ['type' => 'object'], + 'sysId' => ['type' => 'string'], + 'integrationUuid' => ['type' => 'string'], + 'sourcetype' => ['type' => 'string'], + ], + ], + 'ConditionConfigUnified' => [ + 'type' => 'object', + 'properties' => [ + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['PROMETHEUS_SIMPLE_CONDITION', 'UMODEL_METRICSET_CONDITION', 'UMODEL_LOGSET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION', 'APM_SIMPLE_CONDITION', 'APM_COMPOSITE_CONDITION', 'CLOUD_MONITORING_CONDITION', 'UNKNOWN_CONDITION'], ], + 'durationSecs' => ['type' => 'integer', 'format' => 'int32'], 'severity' => [ 'type' => 'string', + 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'], ], - 'status' => [ + 'operator' => [ 'type' => 'string', + 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'], ], - 'resource' => [ - '$ref' => '#/components/schemas/EventResourceForEventView', - ], - 'labels' => [ - 'type' => 'object', - ], - 'annotations' => [ - 'type' => 'object', + 'threshold' => ['type' => 'number', 'format' => 'double'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + 'aggregate' => [ + 'type' => 'string', + 'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'], ], - 'dataschema' => [ + 'matchField' => ['type' => 'string'], + 'matchOperator' => [ 'type' => 'string', + 'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'], ], - 'datacontenttype' => [ + 'matchValue' => ['type' => 'string'], + 'countOperator' => [ 'type' => 'string', + 'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'], ], - 'data' => [ - 'type' => 'any', + 'countThreshold' => ['type' => 'integer', 'format' => 'int64'], + 'thresholdList' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApmThresholdConfig'], ], - 'receiveTime' => [ - 'type' => 'integer', - 'format' => 'int64', + 'compareList' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApmCompositeCompareConfig'], ], - 'workspace' => [ + 'relation' => [ 'type' => 'string', + 'enum' => ['OR', 'AND'], ], - 'workspaceTags' => [ - 'type' => 'object', - ], - 'sysId' => [ + 'escalationType' => [ 'type' => 'string', + 'enum' => ['simple', 'composite', 'express', 'prometheus'], ], - 'integrationUuid' => [ + 'simpleEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringSimpleEscalation'], + 'compositeEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalation'], + 'expressEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringExpressEscalation'], + 'prometheus' => ['$ref' => '#/components/schemas/CloudMonitoringPrometheusEscalation'], + 'noDataPolicy' => ['type' => 'string'], + 'legacyType' => ['type' => 'string'], + 'yoyTimeUnit' => [ 'type' => 'string', + 'enum' => ['minute', 'hour', 'day', 'week', 'month'], ], - 'sourcetype' => [ - 'type' => 'string', + 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'], + 'triggers' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MetricSetMultiTrigger'], ], + 'enableSeveritySuppression' => ['type' => 'boolean'], + 'legacyRaw' => ['type' => 'string'], ], ], 'ContactForIncidentView' => [ 'type' => 'object', 'properties' => [ - 'contactId' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], + 'contactId' => ['type' => 'string'], + 'name' => ['type' => 'string'], ], ], - 'DataStorageItem' => [ + 'CustomExtractionStrategy' => [ 'type' => 'object', 'properties' => [ - 'storeType' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], - 'dataType' => [ + 'strategyName' => ['type' => 'string'], + 'strategyType' => ['type' => 'string'], + 'extractionPrompt' => ['type' => 'string'], + 'updatePrompt' => ['type' => 'string'], + 'description' => ['type' => 'string'], + ], + ], + 'DatasourceConfigUnified' => [ + 'type' => 'object', + 'properties' => [ + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['PROMETHEUS', 'UMODEL', 'APM', 'CLOUD_MONITORING', 'UNKNOWN'], ], - 'project' => [ + 'instanceId' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'productCategory' => ['type' => 'string'], + 'legacyType' => ['type' => 'string'], + 'legacyRaw' => ['type' => 'string'], + ], + ], + 'DatasourceTypeFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'string'], + ], + ], + 'DirectNotifyChannel' => [ + 'type' => 'object', + 'properties' => [ + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['CONTACT', 'GROUP', 'DINGTALK', 'FEISHU', 'SLACK', 'WEIXIN', 'WEBHOOK'], ], - 'storeName' => [ - 'type' => 'string', + 'identifiers' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string'], ], ], ], + 'DisplayNameFilter' => [ + 'type' => 'object', + 'properties' => [ + 'contains' => ['type' => 'string'], + 'notContains' => ['type' => 'string'], + ], + ], 'EffectTimeRange' => [ 'type' => 'object', 'properties' => [ 'dayInWeek' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'startTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'endTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'timeZone' => [ - 'type' => 'string', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], + 'timeZone' => ['type' => 'string'], + ], + ], + 'EnabledFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'boolean'], ], ], 'EntityDiscoverRule' => [ 'type' => 'object', 'properties' => [ + 'resourceGroupId' => ['type' => 'string'], 'ipMatchRule' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ipFieldKey' => [ - 'type' => 'string', - ], - 'ipCIDR' => [ - 'type' => 'string', - ], - ], - ], - ], - 'instanceIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'ipFieldKey' => ['type' => 'string'], + 'ipCIDR' => ['type' => 'string'], ], - ], - 'fieldRules' => [ - 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'op' => [ - 'type' => 'string', - ], - 'fieldKey' => [ - 'type' => 'string', - ], - 'fieldValues' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], + 'ipFieldKey' => ['type' => 'string'], + 'ipCIDR' => ['type' => 'string'], ], ], ], - 'annotations' => [ + 'tags' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'op' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], + 'tagKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], 'tagValues' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], - 'resourceGroupId' => [ - 'type' => 'string', + 'instanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], 'entityTypes' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'regionIds' => [ 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'labels' => [ + 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], + 'tagValues' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], - 'tags' => [ + 'annotations' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'op' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], + 'tagKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], 'tagValues' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], - 'labels' => [ + 'fieldRules' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'op' => [ - 'type' => 'string', - ], - 'tagKey' => [ - 'type' => 'string', - ], - 'tagValues' => [ + 'fieldKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], + 'fieldValues' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -1425,72 +1228,39 @@ 'EntityGroupBase' => [ 'type' => 'object', 'properties' => [ - 'workspace' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], + 'workspace' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], 'entityQueries' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'entityType' => [ - 'type' => 'string', - ], - 'spl' => [ - 'type' => 'string', - ], + 'entityType' => ['type' => 'string'], + 'spl' => ['type' => 'string'], ], ], ], - 'description' => [ - 'type' => 'string', - ], - 'entityGroupId' => [ - 'type' => 'string', - ], - 'entityRules' => [ - '$ref' => '#/components/schemas/EntityDiscoverRule', - ], - 'entityGroupName' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], + 'description' => ['type' => 'string'], + 'entityGroupId' => ['type' => 'string'], + 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule'], + 'entityGroupName' => ['type' => 'string'], + 'userId' => ['type' => 'string'], ], ], 'Evaluator' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'resultName' => [ - 'type' => 'string', - ], - 'dataScope' => [ - 'type' => 'string', - ], - 'resultType' => [ - 'type' => 'string', - ], - 'config' => [ - 'type' => 'object', - ], + 'name' => ['type' => 'string'], + 'resultName' => ['type' => 'string'], + 'resultType' => ['type' => 'string'], + 'config' => ['type' => 'object'], 'filters' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'variableMapping' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], ], @@ -1500,487 +1270,312 @@ 'entity' => [ 'type' => 'object', 'properties' => [ - 'domain' => [ - 'type' => 'string', - ], - 'entityType' => [ - 'type' => 'string', - ], - 'entityId' => [ - 'type' => 'string', - ], - 'prop' => [ - 'type' => 'object', - ], + 'domain' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'entityId' => ['type' => 'string'], + 'prop' => ['type' => 'object'], ], ], - 'tags' => [ - 'type' => 'object', - ], + 'tags' => ['type' => 'object'], ], ], 'EventResourceForIncidentView' => [ 'type' => 'object', 'properties' => [ - 'tags' => [ - 'type' => 'string', - ], - 'probs' => [ - 'type' => 'string', + 'tags' => ['type' => 'string'], + 'probs' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'entityId' => ['type' => 'string'], + 'domain' => ['type' => 'string'], + ], + ], + 'ExperimentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'label' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'modelName' => ['type' => 'string'], + 'modelProvider' => ['type' => 'string'], + 'modelParameters' => ['$ref' => '#/components/schemas/ModelParameters'], + 'endpointConnectorId' => ['type' => 'string'], + 'promptTemplate' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/PromptTemplateItem'], ], - 'entityType' => [ - 'type' => 'string', + ], + ], + 'ExperimentPlanData' => [ + 'type' => 'object', + 'properties' => [ + 'planId' => ['type' => 'string'], + 'planName' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'datasetId' => ['type' => 'string'], + 'experimentCount' => ['type' => 'integer', 'format' => 'int32'], + 'createdAt' => ['type' => 'integer', 'format' => 'int64'], + 'updatedAt' => ['type' => 'integer', 'format' => 'int64'], + ], + ], + 'ExperimentRecord' => [ + 'type' => 'object', + 'properties' => [ + 'planId' => ['type' => 'string'], + 'experimentName' => ['type' => 'string'], + 'status' => ['type' => 'string'], + 'totalTasks' => ['type' => 'integer', 'format' => 'int32'], + 'failedTasks' => ['type' => 'integer', 'format' => 'int32'], + 'completedTasks' => ['type' => 'integer', 'format' => 'int32'], + 'progress' => ['type' => 'number', 'format' => 'float'], + 'executedAt' => ['type' => 'integer', 'format' => 'int64'], + 'completedAt' => ['type' => 'integer', 'format' => 'int64'], + 'datasetId' => ['type' => 'string'], + 'planName' => ['type' => 'string'], + 'recordId' => ['type' => 'string'], + 'experimentConfig' => ['$ref' => '#/components/schemas/ExperimentConfig'], + 'dataSourceType' => ['type' => 'string'], + 'modelName' => ['type' => 'string'], + 'errorMessage' => ['type' => 'string'], + 'datasetProject' => ['type' => 'string'], + 'evaluators' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/Evaluator'], ], - 'entityId' => [ - 'type' => 'string', + 'input' => ['type' => 'object'], + 'selectedItemIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'domain' => [ + ], + ], + 'Filter' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['$ref' => '#/components/schemas/UuidFilter'], + 'displayName' => ['$ref' => '#/components/schemas/DisplayNameFilter'], + 'labels' => ['$ref' => '#/components/schemas/LabelsFilter'], + 'status' => ['$ref' => '#/components/schemas/StatusFilter'], + 'enabled' => ['$ref' => '#/components/schemas/EnabledFilter'], + ], + ], + 'FilterCondition' => [ + 'type' => 'object', + 'properties' => [ + 'field' => ['type' => 'string'], + 'op' => [ 'type' => 'string', + 'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'KEYWORD', 'KEYWORD_ALL_MATCH', 'KEYWORD_NOT_MATCH', 'INTERSECT', 'NOT_INTERSECT', 'PATTERN', 'PATTERN_ALL_MATCH', 'PATTERN_NOT_IN', 'EXIST'], ], + 'value' => ['type' => 'string'], ], ], 'FilterSetting' => [ 'type' => 'object', 'properties' => [ - 'expression' => [ - 'type' => 'string', - ], + 'expression' => ['type' => 'string'], 'conditions' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'op' => [ - 'type' => 'string', - ], - 'field' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], + 'op' => ['type' => 'string'], + 'field' => ['type' => 'string'], + 'value' => ['type' => 'string'], ], ], 'maxItems' => 10, ], - 'relation' => [ - 'type' => 'string', - ], + 'relation' => ['type' => 'string'], ], ], 'IncidentContactStruct' => [ 'type' => 'object', 'properties' => [ - 'contactId' => [ - 'type' => 'string', - ], + 'contactId' => ['type' => 'string'], 'channel' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'contactType' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'contactType' => ['type' => 'string'], ], ], 'IncidentEscalationPolicyForModify' => [ 'type' => 'object', 'properties' => [ - 'description' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], + 'description' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'name' => ['type' => 'string', 'required' => true], 'escalationStageList' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentEscalationStageForView', - ], + 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageForView'], ], ], ], 'IncidentEscalationPolicyForView' => [ 'type' => 'object', 'properties' => [ - 'createTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'updateTime' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'ownerType' => [ - 'type' => 'string', - ], - 'source' => [ - 'type' => 'string', - ], - 'syncFromType' => [ - 'type' => 'string', - ], - 'uuid' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], + 'createTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'name' => ['type' => 'string', 'required' => true], + 'updateTime' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'ownerType' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'syncFromType' => ['type' => 'string'], + 'uuid' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], 'escalationStageList' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentEscalationStageForView', - ], + 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageForView'], ], ], ], 'IncidentEscalationStageForView' => [ 'type' => 'object', 'properties' => [ - 'cycleNotifyInterval' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'cycleNotifyCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'triggerDelay' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'effectTimeRange' => [ - '$ref' => '#/components/schemas/EffectTimeRange', - ], - 'targetIncidentState' => [ - 'type' => 'string', - ], - 'index' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'cycleNotifyInterval' => ['type' => 'integer', 'format' => 'int32'], + 'cycleNotifyCount' => ['type' => 'integer', 'format' => 'int32'], + 'triggerDelay' => ['type' => 'integer', 'format' => 'int32'], + 'effectTimeRange' => ['$ref' => '#/components/schemas/EffectTimeRange'], + 'targetIncidentState' => ['type' => 'string'], + 'index' => ['type' => 'integer', 'format' => 'int32', 'required' => true], 'notifyChannels' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/NotifyChannel', - ], + 'items' => ['$ref' => '#/components/schemas/NotifyChannel'], ], ], ], 'IncidentEscalationStageStruct' => [ 'type' => 'object', 'properties' => [ - 'stageIndex' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'cycleNotifyTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'stageIndex' => ['type' => 'integer', 'format' => 'int32'], + 'cycleNotifyTime' => ['type' => 'integer', 'format' => 'int32'], 'contact' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentContactStruct', - ], - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'timeZone' => [ - 'type' => 'string', - ], - 'effectTime' => [ - 'type' => 'string', - ], - 'waitToNextStageTime' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'cycleNotifyCount' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['$ref' => '#/components/schemas/IncidentContactStruct'], ], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'timeZone' => ['type' => 'string'], + 'effectTime' => ['type' => 'string'], + 'waitToNextStageTime' => ['type' => 'integer', 'format' => 'int32'], + 'cycleNotifyCount' => ['type' => 'integer', 'format' => 'int32'], ], ], 'IncidentEscalationStruct' => [ 'type' => 'object', 'properties' => [ - 'incidentEscalationId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'modifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'incidentEscalationId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'modifyTime' => ['type' => 'integer', 'format' => 'int64'], 'stage' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentEscalationStageStruct', - ], - ], - 'createTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'regionId' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageStruct'], ], + 'createTime' => ['type' => 'integer', 'format' => 'int64'], + 'regionId' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], ], ], 'IncidentEventForView' => [ 'type' => 'object', 'properties' => [ - 'incidentUuid' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentEventUuid' => [ - 'type' => 'string', - ], - 'title' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'dimension' => [ - 'type' => 'object', - ], - 'labels' => [ - 'type' => 'object', - ], - 'groupBy' => [ - 'type' => 'object', - ], - 'eventResource' => [ - '$ref' => '#/components/schemas/EventResourceForIncidentView', - ], - 'content' => [ - '$ref' => '#/components/schemas/CmsEventForView', - ], - 'severity' => [ - 'type' => 'string', - ], - 'count' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'severityCountMap' => [ - 'type' => 'object', - ], - 'lastTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'recoverTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'autoRecoverTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'state' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'incidentUuid' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentEventUuid' => ['type' => 'string'], + 'title' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'dimension' => ['type' => 'object'], + 'labels' => ['type' => 'object'], + 'groupBy' => ['type' => 'object'], + 'eventResource' => ['$ref' => '#/components/schemas/EventResourceForIncidentView'], + 'content' => ['$ref' => '#/components/schemas/CmsEventForView'], + 'severity' => ['type' => 'string'], + 'count' => ['type' => 'integer', 'format' => 'int32'], + 'severityCountMap' => ['type' => 'object'], + 'lastTime' => ['type' => 'integer', 'format' => 'int64'], + 'recoverTime' => ['type' => 'integer', 'format' => 'int64'], + 'autoRecoverTime' => ['type' => 'integer', 'format' => 'int64'], + 'state' => ['type' => 'integer', 'format' => 'int32'], 'searchIndex' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'textIndex' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'textIndex' => ['type' => 'string'], ], ], 'IncidentEventStruct' => [ 'type' => 'object', 'properties' => [ - 'lastTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'recoverTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'autoRecoverTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'lastTime' => ['type' => 'integer', 'format' => 'int64'], + 'recoverTime' => ['type' => 'integer', 'format' => 'int64'], + 'autoRecoverTime' => ['type' => 'integer', 'format' => 'int64'], 'resource' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'count' => [ - 'type' => 'integer', - 'format' => 'int32', + 'additionalProperties' => ['type' => 'string'], ], + 'count' => ['type' => 'integer', 'format' => 'int32'], 'groupBy' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'title' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'content' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'string', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'incidentEventId' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], + ], + 'title' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'content' => ['type' => 'string'], + 'time' => ['type' => 'string'], + 'incidentId' => ['type' => 'string'], + 'incidentEventId' => ['type' => 'string'], 'dimension' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'status' => [ - 'type' => 'integer', - 'format' => 'int64', + 'additionalProperties' => ['type' => 'string'], ], + 'status' => ['type' => 'integer', 'format' => 'int64'], ], ], 'IncidentForView' => [ 'type' => 'object', 'properties' => [ - 'content' => [ - 'type' => 'string', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'plan' => [ - '$ref' => '#/components/schemas/IncidentResponsePlanForView', - ], - 'severity' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'title' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'groupUuid' => [ - 'type' => 'string', - ], - 'state' => [ - 'type' => 'string', - ], - 'notifyStrategyUuid' => [ - 'type' => 'string', - ], - 'subscriptionUuid' => [ - 'type' => 'string', - ], - 'operator' => [ - '$ref' => '#/components/schemas/ContactForIncidentView', - ], - 'notifyStrategyName' => [ - 'type' => 'string', - ], - 'subscriptionName' => [ - 'type' => 'string', - ], + 'content' => ['type' => 'string'], + 'incidentId' => ['type' => 'string'], + 'plan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForView'], + 'severity' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'title' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'groupUuid' => ['type' => 'string'], + 'state' => ['type' => 'string'], + 'notifyStrategyUuid' => ['type' => 'string'], + 'subscriptionUuid' => ['type' => 'string'], + 'operator' => ['$ref' => '#/components/schemas/ContactForIncidentView'], + 'notifyStrategyName' => ['type' => 'string'], + 'subscriptionName' => ['type' => 'string'], 'escalations' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentEscalationPolicyForView', - ], + 'items' => ['$ref' => '#/components/schemas/IncidentEscalationPolicyForView'], ], 'owners' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ContactForIncidentView', - ], + 'items' => ['$ref' => '#/components/schemas/ContactForIncidentView'], ], 'participants' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ContactForIncidentView', - ], + 'items' => ['$ref' => '#/components/schemas/ContactForIncidentView'], ], 'groupingKeys' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'relatedResources' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/EventResourceForIncidentView', - ], - ], - 'solution' => [ - 'type' => 'string', - ], - 'rootCauseCategory' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/EventResourceForIncidentView'], ], + 'solution' => ['type' => 'string'], + 'rootCauseCategory' => ['type' => 'string'], ], ], 'IncidentMemberStruct' => [ @@ -1989,74 +1584,39 @@ 'acknowledge' => [ 'type' => 'object', 'properties' => [ - 'breakLevel' => [ - 'type' => 'string', - ], - 'verifyTime' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'breakLevel' => ['type' => 'string'], + 'verifyTime' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'incidentMemberId' => [ - 'type' => 'string', - ], - 'contactId' => [ - 'type' => 'string', - ], + 'incidentMemberId' => ['type' => 'string'], + 'contactId' => ['type' => 'string'], 'escalation' => [ 'type' => 'object', 'properties' => [ - 'stageIndex' => [ - 'type' => 'string', - ], - 'incidentEscalationId' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'title' => [ - 'type' => 'string', - ], + 'stageIndex' => ['type' => 'string'], + 'incidentEscalationId' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'title' => ['type' => 'string'], ], ], 'scheduleGroup' => [ 'type' => 'object', 'properties' => [ - 'contactId' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], + 'contactId' => ['type' => 'string'], + 'name' => ['type' => 'string'], ], ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentId' => ['type' => 'string'], + 'userId' => ['type' => 'integer', 'format' => 'int64'], 'contacts' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'contactMask' => [ - 'type' => 'string', - ], - 'channel' => [ - 'type' => 'string', - ], + 'contactMask' => ['type' => 'string'], + 'channel' => ['type' => 'string'], ], ], ], @@ -2065,41 +1625,19 @@ 'IncidentNoteStruct' => [ 'type' => 'object', 'properties' => [ - 'format' => [ - 'type' => 'string', - ], - 'noteId' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'content' => [ - 'type' => 'string', - ], + 'format' => ['type' => 'string'], + 'noteId' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentId' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'content' => ['type' => 'string'], 'operator' => [ 'type' => 'object', 'properties' => [ - 'contactId' => [ - 'type' => 'string', - ], - 'contact' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'contactId' => ['type' => 'string'], + 'contact' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'userId' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -2107,25 +1645,17 @@ 'IncidentPlanCorporationStruct' => [ 'type' => 'object', 'properties' => [ - 'channel' => [ - 'type' => 'string', - ], - 'robotId' => [ - 'type' => 'string', - ], + 'channel' => ['type' => 'string'], + 'robotId' => ['type' => 'string'], ], ], 'IncidentPlanFieldPath' => [ 'type' => 'object', 'properties' => [ - 'fieldAlias' => [ - 'type' => 'string', - ], + 'fieldAlias' => ['type' => 'string'], 'fieldPath' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2134,568 +1664,613 @@ 'properties' => [ 'escalationId' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'gmtModified' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'workspace' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'gmtModified' => ['type' => 'integer', 'format' => 'int64'], + 'workspace' => ['type' => 'string'], 'resourceFiled' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentPlanFieldPath', - ], + 'items' => ['$ref' => '#/components/schemas/IncidentPlanFieldPath'], ], 'corporation' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentPlanCorporationStruct', - ], - ], - 'description' => [ - 'type' => 'string', - ], - 'autoRecoverSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['$ref' => '#/components/schemas/IncidentPlanCorporationStruct'], ], + 'description' => ['type' => 'string'], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'], 'groupBy' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentPlanFieldPath', - ], - ], - 'gmtCreate' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'closeExpire' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'name' => [ - 'type' => 'string', - ], - 'incidentPlanId' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/IncidentPlanFieldPath'], ], + 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], + 'userId' => ['type' => 'integer', 'format' => 'int64'], + 'closeExpire' => ['type' => 'integer', 'format' => 'int64'], + 'name' => ['type' => 'string'], + 'incidentPlanId' => ['type' => 'string'], + 'status' => ['type' => 'string'], ], ], 'IncidentResourceDetail' => [ 'type' => 'object', 'properties' => [ - 'resourceId' => [ - 'type' => 'object', - ], - 'extraId' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], + 'resourceId' => ['type' => 'object'], + 'extraId' => ['type' => 'string'], + 'type' => ['type' => 'string'], ], ], 'IncidentResourceStruct' => [ 'type' => 'object', 'properties' => [ - 'resource' => [ - '$ref' => '#/components/schemas/IncidentResourceDetail', - ], - 'description' => [ - 'type' => 'string', - ], - 'incidentResourceId' => [ - 'type' => 'string', - ], - 'source' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'resource' => ['$ref' => '#/components/schemas/IncidentResourceDetail'], + 'description' => ['type' => 'string'], + 'incidentResourceId' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentId' => ['type' => 'string'], + 'userId' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'IncidentResponsePlanForView' => [ + 'IncidentResponsePlanForModify' => [ 'type' => 'object', 'properties' => [ - 'type' => [ - 'type' => 'string', - ], - 'source' => [ - 'type' => 'string', + 'uuid' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'type' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'mode' => ['type' => 'string'], + 'syncFromType' => ['type' => 'string'], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'escalationId' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'repeatNotifySetting' => ['$ref' => '#/components/schemas/RepeatNotifySetting'], + 'pushingSetting' => ['$ref' => '#/components/schemas/PushingSetting'], + ], + ], + 'IncidentResponsePlanForSNSModify' => [ + 'type' => 'object', + 'properties' => [ 'escalationId' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'repeatNotifySetting' => [ - '$ref' => '#/components/schemas/RepeatNotifySetting', - ], - 'mode' => [ - 'type' => 'string', - ], - 'autoRecoverSeconds' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'syncFromType' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'], + ], ], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'], 'pushingSetting' => [ - '$ref' => '#/components/schemas/PushingSetting', - ], - 'name' => [ - 'type' => 'string', - ], - 'uuid' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'templateUuid' => ['type' => 'string'], + 'alertActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'restoreActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], - 'enabled' => [ - 'type' => 'boolean', + ], + ], + 'IncidentResponsePlanForSNSView' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'syncFromType' => ['type' => 'string'], + 'mode' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'escalationId' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'createTime' => [ - 'type' => 'string', + 'repeatNotifySetting' => [ + 'type' => 'object', + 'properties' => [ + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'], + ], ], - 'updateTime' => [ - 'type' => 'string', + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'pushingSetting' => [ + 'type' => 'object', + 'properties' => [ + 'templateUuid' => ['type' => 'string'], + 'alertActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'restoreActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], + ], + ], + 'IncidentResponsePlanForView' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'escalationId' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'repeatNotifySetting' => ['$ref' => '#/components/schemas/RepeatNotifySetting'], + 'mode' => ['type' => 'string'], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'], + 'syncFromType' => ['type' => 'string'], + 'pushingSetting' => ['$ref' => '#/components/schemas/PushingSetting'], + 'name' => ['type' => 'string'], + 'uuid' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], ], ], 'IncidentStruct' => [ 'type' => 'object', 'properties' => [ - 'severity' => [ - 'type' => 'string', - ], + 'severity' => ['type' => 'string'], 'escalations' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/IncidentEscalationStruct', - ], - ], - 'resource' => [ - '$ref' => '#/components/schemas/IncidentResourceDetail', - ], - 'incidentPlan' => [ - '$ref' => '#/components/schemas/IncidentPlanStruct', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'title' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'content' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', + 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStruct'], ], + 'resource' => ['$ref' => '#/components/schemas/IncidentResourceDetail'], + 'incidentPlan' => ['$ref' => '#/components/schemas/IncidentPlanStruct'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentId' => ['type' => 'string'], + 'title' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'content' => ['type' => 'string'], + 'status' => ['type' => 'string'], ], ], 'IncidentTimeline' => [ 'type' => 'object', 'properties' => [ - 'childType' => [ - 'type' => 'string', - ], - 'incidentTimelineId' => [ - 'type' => 'string', - ], - 'timelineId' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'incidentId' => [ - 'type' => 'string', - ], - 'title' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'content' => [ - 'type' => 'string', - ], + 'childType' => ['type' => 'string'], + 'incidentTimelineId' => ['type' => 'string'], + 'timelineId' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'incidentId' => ['type' => 'string'], + 'title' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'content' => ['type' => 'string'], ], ], 'IncidentTimelineForView' => [ 'type' => 'object', 'properties' => [ - 'incidentUuid' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'time' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'timelineUuid' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', + 'incidentUuid' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'time' => ['type' => 'integer', 'format' => 'int64'], + 'timelineUuid' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'changeType' => ['type' => 'string'], + 'title' => ['type' => 'string'], + 'content' => ['type' => 'any'], + 'workspace' => ['type' => 'string'], + 'operator' => ['$ref' => '#/components/schemas/ContactForIncidentView'], + ], + ], + 'IndexJsonKey' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'chn' => ['type' => 'boolean'], + ], + ], + 'IndexKey' => [ + 'type' => 'object', + 'properties' => [ + 'chn' => ['type' => 'boolean'], + 'type' => ['type' => 'string'], + 'embedding' => ['type' => 'string'], + 'jsonKeys' => [ + 'type' => 'object', + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexJsonKey'], ], - 'changeType' => [ - 'type' => 'string', + ], + ], + 'LabelMatcher' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], + ], + 'LabelsFilter' => [ + 'type' => 'object', + 'properties' => [ + 'anyOf' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/LabelMatcher'], ], - 'title' => [ - 'type' => 'string', + 'allOf' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/LabelMatcher'], ], - 'content' => [ - 'type' => 'any', + ], + ], + 'ListEventMetaCacheAllKeys_DataResult' => [ + 'type' => 'object', + 'properties' => [ + 'label' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'workspace' => [ - 'type' => 'string', + 'annotation' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'operator' => [ - '$ref' => '#/components/schemas/ContactForIncidentView', + 'resourceTag' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], 'MaintainWindowForModify' => [ 'type' => 'object', 'properties' => [ - 'effective' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'maintainWindowName' => [ - 'type' => 'string', - 'required' => true, - ], - 'startTime' => [ - 'type' => 'string', - ], + 'effective' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'maintainWindowName' => ['type' => 'string', 'required' => true], + 'startTime' => ['type' => 'string'], 'effectTimeRange' => [ 'type' => 'object', 'properties' => [ - 'startTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1438', - ], - 'timeZone' => [ - 'type' => 'string', - ], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], 'dayInWeek' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'endTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1439', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], ], ], - 'endTime' => [ - 'type' => 'string', - ], + 'endTime' => ['type' => 'string'], ], ], 'MaintainWindowForView' => [ 'type' => 'object', 'properties' => [ - 'workspace' => [ - 'type' => 'string', - ], - 'maintainWindowId' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'maintainWindowName' => [ - 'type' => 'string', - 'required' => true, - ], - 'updateTime' => [ - 'type' => 'string', - ], + 'workspace' => ['type' => 'string'], + 'maintainWindowId' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'maintainWindowName' => ['type' => 'string', 'required' => true], + 'updateTime' => ['type' => 'string'], 'effectTimeRange' => [ 'type' => 'object', 'properties' => [ - 'startTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1438', - ], - 'timeZone' => [ - 'type' => 'string', - ], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], 'dayInWeek' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'endTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1439', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], ], ], - 'userId' => [ - 'type' => 'string', + 'userId' => ['type' => 'string'], + 'effective' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], + ], + ], + 'ManageAlertRulesResult' => [ + 'type' => 'object', + 'properties' => [ + 'alertRule' => ['$ref' => '#/components/schemas/AlertRuleV2'], + 'deletedCount' => ['type' => 'integer', 'format' => 'int32'], + 'deletedUuidList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'effective' => [ - 'type' => 'string', + 'updatedCount' => ['type' => 'integer', 'format' => 'int32'], + 'updatedUuidList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'createTime' => [ + ], + ], + 'ManageAlertRulesUnifiedActionInput' => [ + 'type' => 'object', + 'properties' => [ + 'action' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['CREATE', 'UPDATE', 'PATCH', 'BATCH_DELETE', 'BATCH_ENABLE', 'BATCH_DISABLE', 'DELETE', 'ENABLE', 'DISABLE'], + ], + 'uuid' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'displayName' => ['type' => 'string'], + 'contentTemplate' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'datasourceConfig' => ['$ref' => '#/components/schemas/DatasourceConfigUnified'], + 'queryConfig' => ['$ref' => '#/components/schemas/QueryConfigUnified'], + 'conditionConfig' => ['$ref' => '#/components/schemas/ConditionConfigUnified'], + 'scheduleConfig' => ['$ref' => '#/components/schemas/ScheduleConfigUnified'], + 'notifyConfig' => ['$ref' => '#/components/schemas/NotifyConfigUnified'], + 'actionIntegrationConfig' => ['$ref' => '#/components/schemas/ActionIntegrationConfig'], + 'armsIntegrationConfig' => ['$ref' => '#/components/schemas/ArmsIntegrationConfig'], + 'observeResourceInstanceId' => ['type' => 'string'], + 'observeResourceType' => ['type' => 'string'], + 'labels' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'enable' => [ - 'type' => 'boolean', - ], - 'startTime' => [ - 'type' => 'string', + 'annotations' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'endTime' => [ - 'type' => 'string', + 'uuidList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], 'MergeContact' => [ 'type' => 'object', 'properties' => [ - 'gmtModified' => [ - 'type' => 'string', - ], - 'name' => [ - 'type' => 'string', - ], - 'gmtCreate' => [ - 'type' => 'string', - ], - 'identifier' => [ - 'type' => 'string', - ], - 'phoneCode' => [ - 'type' => 'string', - ], - 'phone' => [ - 'type' => 'string', - ], - 'phoneVerify' => [ - 'type' => 'boolean', - ], - 'email' => [ - 'type' => 'string', - ], - 'emailVerify' => [ - 'type' => 'boolean', - ], - 'lang' => [ - 'type' => 'string', - ], - 'source' => [ - 'type' => 'string', - ], - 'extend' => [ - 'type' => 'object', - ], + 'gmtModified' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'string'], + 'identifier' => ['type' => 'string'], + 'phoneCode' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'phoneVerify' => ['type' => 'boolean'], + 'email' => ['type' => 'string'], + 'emailVerify' => ['type' => 'boolean'], + 'lang' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'extend' => ['type' => 'object'], ], ], 'MergeContactGroup' => [ 'type' => 'object', 'properties' => [ - 'name' => [ - 'type' => 'string', - ], - 'gmtModified' => [ - 'type' => 'string', - ], - 'identifier' => [ - 'type' => 'string', - ], - 'gmtCreate' => [ - 'type' => 'string', - ], + 'name' => ['type' => 'string'], + 'gmtModified' => ['type' => 'string'], + 'identifier' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'string'], 'contacts' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], + 'extend' => ['type' => 'object'], + 'source' => ['type' => 'string'], + ], + ], + 'MergeOncallSchedule' => [ + 'type' => 'object', + 'properties' => [ + 'gmtModified' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'gmtCreate' => ['type' => 'string'], + 'identifier' => ['type' => 'string'], + 'source' => ['type' => 'string'], + 'detail' => ['type' => 'object'], + 'workspace' => ['type' => 'string'], + ], + ], + 'MergeRobot' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'webhook' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'gmtModified' => ['type' => 'string'], + 'identifier' => ['type' => 'string'], + 'lang' => ['type' => 'string'], 'extend' => [ 'type' => 'object', + 'properties' => [ + 'dailyNoc' => ['type' => 'boolean'], + 'dingSignKey' => ['type' => 'string'], + 'enableOutgoing' => ['type' => 'boolean'], + 'cardTemplate' => ['type' => 'string'], + 'dailyNocTime' => ['type' => 'string'], + 'token' => ['type' => 'string'], + ], ], - 'source' => [ - 'type' => 'string', - ], + 'source' => ['type' => 'string'], ], ], - 'MergeRobot' => [ + 'MergeWebhook' => [ + 'type' => 'object', + 'properties' => [ + 'gmtCreate' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'gmtModified' => ['type' => 'object'], + 'identifier' => ['type' => 'string'], + 'webhook' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'headers' => ['type' => 'string'], + 'method' => ['type' => 'string'], + 'contentType' => ['type' => 'string'], + 'lang' => ['type' => 'string'], + 'extend' => ['type' => 'string'], + 'source' => ['type' => 'string'], + ], + ], + 'MetricSetMultiTrigger' => [ 'type' => 'object', 'properties' => [ - 'name' => [ + 'severity' => [ 'type' => 'string', + 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'], ], - 'webhook' => [ + 'durationSecs' => ['type' => 'integer', 'format' => 'int32'], + 'expressionType' => [ 'type' => 'string', + 'enum' => ['SIMPLE', 'COMPOSITE'], ], - 'type' => [ + 'queryName' => ['type' => 'string'], + 'operator' => [ 'type' => 'string', + 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'], ], - 'createTime' => [ + 'threshold' => ['type' => 'number', 'format' => 'double'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + 'logicOperator' => [ 'type' => 'string', + 'enum' => ['AND', 'OR', 'UNLESS'], ], - 'gmtModified' => [ - 'type' => 'string', + 'conditions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression'], ], - 'identifier' => [ - 'type' => 'string', + ], + ], + 'MetricSetNamedQueryEntry' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'metricSet' => ['type' => 'string'], + 'metric' => ['type' => 'string'], + 'labelFilters' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UmodelLabelFilter'], ], - 'lang' => [ + ], + ], + 'MetricSetTriggerCompositeExpression' => [ + 'type' => 'object', + 'properties' => [ + 'expressionType' => ['type' => 'string'], + 'logicOperator' => [ 'type' => 'string', + 'enum' => ['AND', 'OR', 'UNLESS'], ], - 'extend' => [ - 'type' => 'object', - 'properties' => [ - 'dailyNoc' => [ - 'type' => 'boolean', - ], - 'dingSignKey' => [ - 'type' => 'string', - ], - 'enableOutgoing' => [ - 'type' => 'boolean', - ], - 'cardTemplate' => [ - 'type' => 'string', - ], - 'dailyNocTime' => [ - 'type' => 'string', - ], - 'token' => [ - 'type' => 'string', - ], - ], - ], - 'source' => [ - 'type' => 'string', + 'conditions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression'], ], ], ], - 'MergeWebhook' => [ + 'MetricSetTriggerSimpleExpression' => [ 'type' => 'object', 'properties' => [ - 'gmtCreate' => [ - 'type' => 'string', - ], - 'name' => [ + 'expressionType' => ['type' => 'string'], + 'queryName' => ['type' => 'string'], + 'operator' => [ 'type' => 'string', + 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'], ], - 'gmtModified' => [ - 'type' => 'object', + 'threshold' => ['type' => 'number', 'format' => 'double'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + ], + ], + 'ModelParameters' => [ + 'type' => 'object', + 'properties' => [ + 'temperature' => ['type' => 'number', 'format' => 'float'], + 'maxTokens' => ['type' => 'integer', 'format' => 'int64'], + 'topP' => ['type' => 'number', 'format' => 'float'], + 'topK' => ['type' => 'integer', 'format' => 'int32'], + 'frequencyPenalty' => ['type' => 'number', 'format' => 'float'], + 'presencePenalty' => ['type' => 'number', 'format' => 'float'], + 'stopSequences' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'identifier' => [ - 'type' => 'string', + ], + ], + 'NotifyChannel' => [ + 'type' => 'object', + 'properties' => [ + 'channelType' => ['type' => 'string'], + 'receivers' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'webhook' => [ - 'type' => 'string', + 'enabledSubChannels' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + ], + ], + 'NotifyConfigUnified' => [ + 'type' => 'object', + 'properties' => [ 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['DIRECT_NOTIFY', 'NOTIFY_POLICY'], ], - 'headers' => [ - 'type' => 'string', - ], - 'method' => [ - 'type' => 'string', - ], - 'contentType' => [ - 'type' => 'string', - ], - 'lang' => [ - 'type' => 'string', + 'channels' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/DirectNotifyChannel'], ], - 'extend' => [ - 'type' => 'string', + 'silenceTimeSecs' => ['type' => 'integer', 'format' => 'int32'], + 'activeDays' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], - 'source' => [ - 'type' => 'string', + 'activeStartTime' => ['type' => 'string'], + 'activeEndTime' => ['type' => 'string'], + 'utcOffset' => ['type' => 'string'], + 'notifyStrategies' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], - 'NotifyChannel' => [ + 'NotifyRouteForSubscription' => [ 'type' => 'object', 'properties' => [ - 'channelType' => [ - 'type' => 'string', - ], - 'receivers' => [ + 'channels' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'channelType' => ['type' => 'string'], + 'receivers' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'enabledSubChannels' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], - 'enabledSubChannels' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'effectTimeRange' => [ + 'type' => 'object', + 'properties' => [ + 'timeZone' => ['type' => 'string'], + 'dayInWeek' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], + ], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -2703,40 +2278,22 @@ 'NotifyStrategyForModify' => [ 'type' => 'object', 'properties' => [ - 'description' => [ - 'type' => 'string', - ], + 'description' => ['type' => 'string'], 'groupingSetting' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'groupingKeys' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'periodMin' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'silenceSec' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'times' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['type' => 'string'], ], + 'periodMin' => ['type' => 'integer', 'format' => 'int32'], + 'silenceSec' => ['type' => 'integer', 'format' => 'int32'], + 'times' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'ignoreRestoredNotification' => [ - 'type' => 'boolean', - ], - 'notifyStrategyName' => [ - 'type' => 'string', - 'required' => true, - ], + 'ignoreRestoredNotification' => ['type' => 'boolean'], + 'notifyStrategyName' => ['type' => 'string', 'required' => true], 'routes' => [ 'type' => 'array', 'required' => true, @@ -2751,30 +2308,16 @@ 'channelType' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'DING', - 'WEIXIN', - 'FEISHU', - 'SLACK', - 'TEAMS', - 'CONTACT', - 'GROUP', - 'DUTY', - 'DING_COOL_APP', - ], + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'], ], 'enabledSubChannels' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'receivers' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2784,43 +2327,20 @@ 'properties' => [ 'dayInWeek' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'endTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1439', - ], - 'startTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1438', - ], - 'timeZone' => [ - 'type' => 'string', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], ], ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], 'severities' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'digitalEmployeeName' => [ - 'type' => 'string', - ], - 'enableRca' => [ - 'type' => 'boolean', + 'items' => ['type' => 'string'], ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], ], ], ], @@ -2829,113 +2349,61 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'targetType' => [ - 'type' => 'string', - 'required' => true, - ], - 'templateUuid' => [ - 'type' => 'string', - 'required' => true, - ], + 'targetType' => ['type' => 'string', 'required' => true], + 'templateUuid' => ['type' => 'string', 'required' => true], ], ], ], - 'enableIncidentManagement' => [ - 'type' => 'boolean', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', - ], + 'enableIncidentManagement' => ['type' => 'boolean'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], 'pushingSetting' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', - ], + 'templateUuid' => ['type' => 'string'], 'alertActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'restoreActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'repeatNotifySetting' => [ 'type' => 'object', 'properties' => [ - 'endIncidentState' => [ - 'type' => 'string', - ], - 'repeatInterval' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'autoRecoverSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'], 'escalationId' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'NotifyStrategyForView' => [ + 'NotifyStrategyForSNSModify' => [ 'type' => 'object', 'properties' => [ - 'createTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], + 'description' => ['type' => 'string'], 'groupingSetting' => [ 'type' => 'object', 'required' => true, 'properties' => [ 'groupingKeys' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'periodMin' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'silenceSec' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'times' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['type' => 'string'], ], + 'periodMin' => ['type' => 'integer', 'format' => 'int32'], + 'silenceSec' => ['type' => 'integer', 'format' => 'int32'], + 'times' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'ignoreRestoredNotification' => [ - 'type' => 'boolean', - ], - 'notifyStrategyName' => [ - 'type' => 'string', - 'required' => true, - ], + 'ignoreRestoredNotification' => ['type' => 'boolean'], + 'enableIncidentManagement' => ['type' => 'boolean'], 'routes' => [ 'type' => 'array', 'required' => true, @@ -2950,30 +2418,16 @@ 'channelType' => [ 'type' => 'string', 'required' => true, - 'enum' => [ - 'DING', - 'WEIXIN', - 'FEISHU', - 'SLACK', - 'TEAMS', - 'CONTACT', - 'GROUP', - 'DUTY', - 'DING_COOL_APP', - ], + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'], ], 'enabledSubChannels' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'receivers' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2983,43 +2437,123 @@ 'properties' => [ 'dayInWeek' => [ 'type' => 'array', - 'items' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - 'endTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1439', - ], - 'startTimeInMinute' => [ - 'type' => 'integer', - 'format' => 'int32', - 'minimum' => '0', - 'maximum' => '1438', - ], - 'timeZone' => [ - 'type' => 'string', + 'items' => ['type' => 'integer', 'format' => 'int32'], ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'], + 'timeZone' => ['type' => 'string'], ], ], 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + 'type' => 'object', + 'properties' => [ + 'conditions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'field' => ['type' => 'string'], + 'op' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], + ], + 'maxItems' => 10, + ], + 'expression' => ['type' => 'string'], + 'relation' => ['type' => 'string'], + ], ], 'severities' => [ 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], + ], + ], + ], + 'customTemplateEntries' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'targetType' => ['type' => 'string', 'required' => false], + 'templateUuid' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'NotifyStrategyForSNSView' => [ + 'type' => 'object', + 'properties' => [ + 'notifyStrategyId' => ['type' => 'string'], + 'notifyStrategyName' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'userId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'syncFromType' => ['type' => 'string'], + 'mode' => ['type' => 'string'], + 'enableIncidentManagement' => ['type' => 'boolean'], + 'ignoreRestoredNotification' => ['type' => 'boolean'], + 'incidentResponsePlanId' => ['type' => 'string'], + 'groupingSetting' => [ + 'type' => 'object', + 'properties' => [ + 'groupingKeys' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'periodMin' => ['type' => 'integer', 'format' => 'int32'], + 'silenceSec' => ['type' => 'integer', 'format' => 'int32'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'routes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'channels' => [ + 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'channelType' => [ + 'type' => 'string', + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'], + ], + 'enabledSubChannels' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'receivers' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], - 'digitalEmployeeName' => [ - 'type' => 'string', + 'effectTimeRange' => [ + 'type' => 'object', + 'properties' => [ + 'dayInWeek' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], + ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], + ], ], - 'enableRca' => [ - 'type' => 'boolean', + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'severities' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], ], ], ], @@ -3028,279 +2562,783 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'targetType' => [ - 'type' => 'string', - 'required' => true, - ], - 'templateUuid' => [ - 'type' => 'string', - 'required' => true, - ], + 'targetType' => ['type' => 'string'], + 'templateUuid' => ['type' => 'string'], ], ], ], - 'updateTime' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'notifyStrategyId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], + ], + ], + 'NotifyStrategyForView' => [ + 'type' => 'object', + 'properties' => [ + 'createTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'groupingSetting' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'groupingKeys' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'periodMin' => ['type' => 'integer', 'format' => 'int32'], + 'silenceSec' => ['type' => 'integer', 'format' => 'int32'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + ], ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + 'ignoreRestoredNotification' => ['type' => 'boolean'], + 'notifyStrategyName' => ['type' => 'string', 'required' => true], + 'routes' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'channels' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'channelType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'], + ], + 'enabledSubChannels' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'receivers' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string'], + ], + ], + ], + ], + 'effectTimeRange' => [ + 'type' => 'object', + 'properties' => [ + 'dayInWeek' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], + ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], + ], + ], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'severities' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], + ], + ], ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', + 'customTemplateEntries' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'targetType' => ['type' => 'string', 'required' => true], + 'templateUuid' => ['type' => 'string', 'required' => true], + ], + ], ], + 'updateTime' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'notifyStrategyId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], 'pushingSetting' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', - ], + 'templateUuid' => ['type' => 'string'], 'alertActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'restoreActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], 'repeatNotifySetting' => [ 'type' => 'object', 'properties' => [ - 'endIncidentState' => [ - 'type' => 'string', - ], - 'repeatInterval' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'], ], ], - 'autoRecoverSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'], + 'syncFromType' => ['type' => 'string'], + 'receiverNames' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'syncFromType' => [ - 'type' => 'string', + 'incidentEscalationPolicies' => [ + 'type' => 'array', + 'items' => ['type' => 'any'], ], - 'receiverNames' => [ + ], + ], + 'NotifyStrategyIdFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'string'], + ], + ], + 'ObserveGroup' => [ + 'type' => 'object', + 'properties' => [ + 'groupId' => ['type' => 'string'], + 'groupName' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'aliUid' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'modifyTime' => ['type' => 'string'], + 'groupType' => ['type' => 'string'], + 'discoverRules' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ObserveGroupDiscoverRule'], + ], + 'extraInfo' => ['type' => 'string'], + 'workspaceId' => ['type' => 'string'], + 'sourceOrigin' => ['type' => 'string'], + 'originGroupId' => ['type' => 'string'], + 'entityCounts' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'integer', 'format' => 'int32'], + ], + 'health' => ['type' => 'integer', 'format' => 'int32'], + 'favorited' => ['type' => 'boolean'], + 'ogEntityInfoEnabled' => ['type' => 'boolean'], + 'ogEntityInfoPromInstances' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'], + ], + 'tags' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'tagValue' => ['type' => 'string'], + ], ], ], - 'incidentEscalationPolicies' => [ + ], + ], + 'ObserveGroupDetail' => [ + 'type' => 'object', + 'properties' => [ + 'groupId' => ['type' => 'string'], + 'groupName' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'aliUid' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'groupType' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'modifyTime' => ['type' => 'string'], + 'discoverRules' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ObserveGroupDiscoverRule'], + ], + 'extraInfo' => ['type' => 'string'], + 'workspaceId' => ['type' => 'string'], + 'sourceOrigin' => ['type' => 'string'], + 'originGroupId' => ['type' => 'string'], + 'entitySummaries' => [ 'type' => 'array', 'items' => [ - 'type' => 'any', + 'type' => 'object', + 'properties' => [ + 'entityDomain' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'entityCount' => ['type' => 'integer', 'format' => 'int32'], + 'entityCategory' => ['type' => 'string'], + ], + ], + ], + 'favorited' => ['type' => 'boolean'], + 'ogEntityInfoEnabled' => ['type' => 'boolean'], + 'ogEntityInfoPromInstances' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'], + ], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'tagValue' => ['type' => 'string'], + ], ], ], ], ], - 'PrometheusManagedInstance' => [ + 'ObserveGroupDiscoverRule' => [ 'type' => 'object', 'properties' => [ - 'prometheusInstanceId' => [ - 'type' => 'string', + 'ruleId' => ['type' => 'string'], + 'ruleType' => ['type' => 'string'], + 'scope' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'], + 'entityType' => ['type' => 'string'], + 'entityTypes' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'prometheusInstanceName' => [ - 'type' => 'string', + 'spl' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'tagRules' => [ + 'type' => 'object', + 'properties' => [ + 'op' => ['type' => 'string'], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], + 'tagValues' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], + ], + ], + ], ], - 'regionId' => [ - 'type' => 'string', + 'nameRules' => [ + 'type' => 'object', + 'properties' => [ + 'op' => ['type' => 'string'], + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'op' => ['type' => 'string'], + 'tagValues' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], + ], + ], + ], ], - 'workspace' => [ - 'type' => 'string', + 'instanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'createTime' => [ - 'type' => 'string', + 'regionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'instanceType' => [ - 'type' => 'string', + ], + ], + 'ObserveGroupInstance' => [ + 'type' => 'object', + 'properties' => [ + 'entityDomain' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'instanceId' => ['type' => 'string'], + 'instanceName' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'category' => ['type' => 'string'], + 'groupId' => ['type' => 'string'], + 'tags' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'status' => [ - 'type' => 'string', + 'dimension' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], ], ], - 'PushingSetting' => [ + 'ObserveGroupPromInstance' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', + 'id' => ['type' => 'string'], + 'region' => ['type' => 'string'], + 'kind' => ['type' => 'string'], + 'time' => ['type' => 'string'], + ], + ], + 'ObserveResourceGlobalScopeFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'boolean'], + ], + ], + 'ObserveResourceListFilter' => [ + 'type' => 'object', + 'properties' => [ + 'contains' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + ], + ], + 'ObserveResourceTypeFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'string'], + ], + ], + 'Pagination' => [ + 'type' => 'object', + 'properties' => [ + 'pageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'pageSize' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'PartitionKeyFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'string'], + ], + ], + 'PrometheusManagedInstance' => [ + 'type' => 'object', + 'properties' => [ + 'prometheusInstanceId' => ['type' => 'string'], + 'prometheusInstanceName' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'instanceType' => ['type' => 'string'], + 'status' => ['type' => 'string'], + ], + ], + 'PromptTemplateItem' => [ + 'type' => 'object', + 'properties' => [ + 'role' => ['type' => 'string'], + 'content' => ['type' => 'string'], + ], + ], + 'PushingSetting' => [ + 'type' => 'object', + 'properties' => [ + 'templateUuid' => ['type' => 'string'], 'alertActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'restoreActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], - 'RepeatNotifySetting' => [ + 'QueryAlertRulesFilter' => [ 'type' => 'object', 'properties' => [ - 'endIncidentState' => [ - 'type' => 'string', - ], - 'repeatInterval' => [ - 'type' => 'string', + 'uuid' => ['$ref' => '#/components/schemas/UuidFilter'], + 'displayName' => ['$ref' => '#/components/schemas/DisplayNameFilter'], + 'labels' => ['$ref' => '#/components/schemas/LabelsFilter'], + 'status' => ['$ref' => '#/components/schemas/StatusFilter'], + 'enabled' => ['$ref' => '#/components/schemas/EnabledFilter'], + 'datasourceType' => ['$ref' => '#/components/schemas/DatasourceTypeFilter'], + 'observeResourceType' => ['$ref' => '#/components/schemas/ObserveResourceTypeFilter'], + 'observeResourceGlobalScope' => ['$ref' => '#/components/schemas/ObserveResourceGlobalScopeFilter'], + 'observeResourceList' => ['$ref' => '#/components/schemas/ObserveResourceListFilter'], + 'observeResourceInstanceId' => ['type' => 'string', 'deprecated' => true], + 'severityLevels' => ['$ref' => '#/components/schemas/SeverityLevelsFilter'], + 'notifyStrategyId' => ['$ref' => '#/components/schemas/NotifyStrategyIdFilter'], + 'partitionKey' => ['$ref' => '#/components/schemas/PartitionKeyFilter'], + ], + ], + 'QueryAlertRulesInput' => [ + 'type' => 'object', + 'properties' => [ + 'filter' => ['$ref' => '#/components/schemas/QueryAlertRulesFilter'], + 'pagination' => ['$ref' => '#/components/schemas/Pagination'], + 'workspace' => ['type' => 'string'], + ], + ], + 'QueryAlertRulesResult' => [ + 'type' => 'object', + 'properties' => [ + 'totalCount' => ['type' => 'integer', 'format' => 'int64'], + 'alertRules' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/AlertRuleV2'], ], ], ], - 'RumDnsResponse' => [ + 'QueryConfigUnified' => [ 'type' => 'object', 'properties' => [ - 'domain' => [ + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['PROMETHEUS_SINGLE_QUERY', 'UMODEL_METRICSET_QUERY', 'UMODEL_LOGSET_QUERY', 'APM_MULTI_QUERY', 'CLOUD_MONITORING_QUERY', 'UMODEL_METRICSET_MULTI_QUERY', 'UNKNOWN_QUERY'], ], - 'result' => [ - 'type' => 'boolean', + 'expr' => ['type' => 'string'], + 'promQl' => ['type' => 'string', 'deprecated' => true], + 'enableDataCompleteCheck' => ['type' => 'boolean'], + 'metricSet' => ['type' => 'string'], + 'metric' => ['type' => 'string'], + 'queries' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MetricSetNamedQueryEntry'], ], - 'message' => [ + 'logSet' => ['type' => 'string'], + 'windowSecs' => ['type' => 'integer', 'format' => 'int64'], + 'offsetSecs' => ['type' => 'integer', 'format' => 'int64'], + 'aggregate' => [ 'type' => 'string', + 'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'], + ], + 'entityDomain' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'entityFilters' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UmodelEntityFilter'], + ], + 'labelFilters' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UmodelLabelFilter'], + ], + 'entityFields' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UmodelEntityField'], + ], + 'serviceIdList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'filterList' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApmFilterConfig'], ], + 'measureList' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ApmMeasureConfig'], + ], + 'namespace' => ['type' => 'string'], + 'relationType' => [ + 'type' => 'string', + 'enum' => ['INSTANCE', 'GROUP', 'USER'], + ], + 'dimensions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], + ], + 'groupId' => ['type' => 'string'], + 'legacyType' => ['type' => 'string'], + 'legacyRaw' => ['type' => 'string'], ], ], - 'SubscriptionForModify' => [ + 'RepeatNotifySetting' => [ 'type' => 'object', 'properties' => [ - 'description' => [ - 'type' => 'string', - ], - 'subscriptionName' => [ + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'string'], + ], + ], + 'RumDnsResponse' => [ + 'type' => 'object', + 'properties' => [ + 'domain' => ['type' => 'string'], + 'result' => ['type' => 'boolean'], + 'message' => ['type' => 'string'], + ], + ], + 'ScheduleConfigUnified' => [ + 'type' => 'object', + 'properties' => [ + 'type' => [ 'type' => 'string', 'required' => true, + 'enum' => ['FIXED'], + ], + 'intervalSecs' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'ServerResponseManageAlertRulesResult' => [ + 'type' => 'object', + 'properties' => [ + 'data' => ['$ref' => '#/components/schemas/ManageAlertRulesResult'], + 'code' => ['type' => 'string'], + 'success' => ['type' => 'boolean'], + 'requestId' => ['type' => 'string'], + 'message' => ['type' => 'string'], + 'total' => ['type' => 'integer', 'format' => 'int32'], + 'pageSize' => ['type' => 'integer', 'format' => 'int32'], + 'pageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'nextToken' => ['type' => 'string'], + ], + ], + 'ServerResponseQueryAlertRulesResult' => [ + 'type' => 'object', + 'properties' => [ + 'data' => ['$ref' => '#/components/schemas/QueryAlertRulesResult'], + 'code' => ['type' => 'string'], + 'success' => ['type' => 'boolean'], + 'requestId' => ['type' => 'string'], + 'message' => ['type' => 'string'], + 'total' => ['type' => 'integer', 'format' => 'int32'], + 'pageSize' => ['type' => 'integer', 'format' => 'int32'], + 'pageNumber' => ['type' => 'integer', 'format' => 'int32'], + 'nextToken' => ['type' => 'string'], + ], + ], + 'SeverityLevelsFilter' => [ + 'type' => 'object', + 'properties' => [ + 'contains' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'notifyStrategyId' => [ + ], + ], + 'StatusFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => [ 'type' => 'string', + 'enum' => ['Alarm', 'Ok'], ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + ], + ], + 'SubscriptionAndNotifyStrategyForListView' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'notifyStrategyUuid' => ['type' => 'string'], + 'subscriptionUuid' => ['type' => 'string'], + 'migrationBatchId' => ['type' => 'string'], + 'migrationMeta' => ['type' => 'string'], + 'version' => ['type' => 'integer', 'format' => 'int32'], + 'workspace' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], + 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSView'], + ], + ], + 'SubscriptionAndNotifyStrategyForModify' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'version' => ['type' => 'integer', 'format' => 'int32'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSModify'], + 'subscription' => ['$ref' => '#/components/schemas/SubscriptionForSNSModify'], + 'subscriptions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/SubscriptionOp'], + ], + 'responsePlan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForSNSModify'], + ], + ], + 'SubscriptionAndNotifyStrategyForView' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enabled' => ['type' => 'boolean'], + 'notifyStrategyUuid' => ['type' => 'string'], + 'subscriptionUuid' => ['type' => 'string'], + 'migrationBatchId' => ['type' => 'string'], + 'migrationMeta' => ['type' => 'string'], + 'version' => ['type' => 'integer', 'format' => 'int32'], + 'workspace' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], + 'subscription' => ['$ref' => '#/components/schemas/SubscriptionForSNSView'], + 'responsePlan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForSNSView'], + 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSView'], + 'subscriptions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/SubscriptionForView'], ], + ], + ], + 'SubscriptionForModify' => [ + 'type' => 'object', + 'properties' => [ + 'description' => ['type' => 'string'], + 'subscriptionName' => ['type' => 'string', 'required' => true], + 'notifyStrategyId' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], 'pushingSetting' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', - ], + 'templateUuid' => ['type' => 'string'], 'alertActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'restoreActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'responsePlanId' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'responsePlanId' => ['type' => 'string'], ], ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], + 'agentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'agentUuid' => ['type' => 'string'], + 'routes' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/NotifyRouteForSubscription'], + ], + ], ], + 'subscribeLegacyEvent' => ['type' => 'boolean'], + ], + ], + 'SubscriptionForSNSModify' => [ + 'type' => 'object', + 'properties' => [ + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], + ], + ], + 'SubscriptionForSNSView' => [ + 'type' => 'object', + 'properties' => [ + 'uuid' => ['type' => 'string'], + 'name' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'userId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'notifyStrategyUuid' => ['type' => 'string'], + 'syncFromType' => ['type' => 'string'], + 'mode' => ['type' => 'string'], + 'subscriptionType' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], + 'createTime' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], ], ], 'SubscriptionForView' => [ 'type' => 'object', 'properties' => [ - 'createTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'subscriptionName' => [ - 'type' => 'string', - 'required' => true, - ], - 'notifyStrategyId' => [ - 'type' => 'string', - ], - 'updateTime' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'subscriptionId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], + 'createTime' => ['type' => 'string'], + 'description' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'subscriptionName' => ['type' => 'string', 'required' => true], + 'notifyStrategyId' => ['type' => 'string'], + 'updateTime' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'subscriptionId' => ['type' => 'string'], + 'workspace' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], 'pushingSetting' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', - ], + 'templateUuid' => ['type' => 'string'], 'alertActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'restoreActionIds' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'responsePlanId' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], + 'responsePlanId' => ['type' => 'string'], ], ], - 'syncFromType' => [ + 'syncFromType' => ['type' => 'string'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], + 'subscriptionType' => [ 'type' => 'string', + 'enum' => ['NORMAL', 'AI_AGENT'], ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', + 'agentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'agentUuid' => ['type' => 'string'], + 'routes' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/NotifyRouteForSubscription'], + ], + ], ], + 'subscribeLegacyEvent' => ['type' => 'boolean'], + ], + ], + 'SubscriptionOp' => [ + 'type' => 'object', + 'properties' => [ + 'op' => [ + 'type' => 'string', + 'enum' => ['create', 'update', 'remove'], + ], + 'uuid' => ['type' => 'string'], + 'payload' => ['$ref' => '#/components/schemas/SubscriptionForModify'], ], ], 'Tag' => [ 'type' => 'object', 'properties' => [ - 'key' => [ + 'key' => ['type' => 'string', 'maxLength' => 128], + 'value' => ['type' => 'string', 'maxLength' => 256], + ], + ], + 'TagCondition' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'op' => [ 'type' => 'string', - 'maxLength' => 128, + 'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'EXIST'], + ], + 'value' => ['type' => 'string'], + ], + ], + 'TagSelector' => [ + 'type' => 'object', + 'properties' => [ + 'conditions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TagCondition'], ], - 'value' => [ + 'relation' => [ 'type' => 'string', - 'maxLength' => 256, + 'enum' => ['AND', 'OR'], ], + 'expression' => ['type' => 'string'], ], ], 'TransformAction' => [ @@ -3308,149 +3346,128 @@ 'properties' => [ 'mapping' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'variable' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'source' => [ - 'type' => 'string', - ], - 'labelKey' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - 'value' => [ - 'type' => 'string', - ], - 'regExp' => [ - 'type' => 'string', - ], - 'target' => [ - 'type' => 'string', + 'additionalProperties' => ['type' => 'string'], ], + 'variable' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'source' => ['type' => 'string'], + 'labelKey' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'regExp' => ['type' => 'string'], + 'target' => ['type' => 'string'], ], ], 'TransformerForModify' => [ 'type' => 'object', 'properties' => [ - 'sortId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'quitAfterMatch' => [ - 'type' => 'boolean', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'transformerName' => [ - 'type' => 'string', - 'required' => true, - ], + 'sortId' => ['type' => 'integer', 'format' => 'int32'], + 'quitAfterMatch' => ['type' => 'boolean'], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'transformerName' => ['type' => 'string', 'required' => true], 'actions' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TransformAction', - ], + 'items' => ['$ref' => '#/components/schemas/TransformAction'], ], ], ], 'TransformerForView' => [ 'type' => 'object', 'properties' => [ - 'workspace' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'sortId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'transformerId' => [ - 'type' => 'string', - ], - 'quitAfterMatch' => [ - 'type' => 'boolean', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + 'workspace' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'sortId' => ['type' => 'integer', 'format' => 'int32'], + 'transformerId' => ['type' => 'string'], + 'quitAfterMatch' => ['type' => 'boolean'], + 'description' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'updateTime' => ['type' => 'string'], + 'transformerName' => ['type' => 'string', 'required' => true], + 'actions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TransformAction'], ], - 'updateTime' => [ + 'userId' => ['type' => 'string'], + ], + ], + 'UmodelEntityField' => [ + 'type' => 'object', + 'properties' => [ + 'field' => ['type' => 'string'], + 'value' => ['type' => 'string'], + ], + ], + 'UmodelEntityFilter' => [ + 'type' => 'object', + 'properties' => [ + 'field' => ['type' => 'string'], + 'operator' => [ 'type' => 'string', + 'enum' => ['=', '!='], ], - 'transformerName' => [ + 'value' => ['type' => 'string'], + ], + ], + 'UmodelLabelFilter' => [ + 'type' => 'object', + 'properties' => [ + 'name' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'operator' => [ 'type' => 'string', - 'required' => true, + 'enum' => ['=', '!='], ], - 'actions' => [ + ], + ], + 'UuidFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => ['type' => 'string'], + 'in' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/TransformAction', - ], - ], - 'userId' => [ - 'type' => 'string', + 'items' => ['type' => 'string'], ], ], ], 'WorkspaceFilterSetting' => [ 'type' => 'object', 'properties' => [ - 'tagSelector' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], + 'tagSelector' => ['$ref' => '#/components/schemas/FilterSetting'], 'workspaceUuids' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], ], ], 'apis' => [ - 'PutWorkspace' => [ - 'path' => '/workspace/{workspaceName}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AddContexts' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -3458,384 +3475,653 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'displayName' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 256, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 256, - 'pattern' => '', - ], - 'slsProject' => [ - 'type' => 'string', + 'contextType' => ['type' => 'string', 'required' => true], + 'memoryType' => ['type' => 'string', 'required' => false], + 'items' => [ + 'type' => 'array', 'required' => true, - 'minLength' => 1, - 'maxLength' => 128, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'messages' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + ], + 'content' => ['type' => 'string', 'required' => false], + 'userId' => ['type' => 'string', 'required' => false], + 'agentId' => ['type' => 'string', 'required' => false], + 'appId' => ['type' => 'string', 'required' => false], + 'runId' => ['type' => 'string', 'required' => false], + 'labels' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'metadata' => ['type' => 'object', 'required' => false], + 'infer' => ['type' => 'boolean', 'required' => false], + 'customInstructions' => ['type' => 'string', 'required' => false], + 'timestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'categories' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'immutable' => ['type' => 'boolean', 'required' => false], + 'expirationDate' => ['type' => 'string', 'required' => false], + 'triggerCondition' => ['type' => 'string', 'required' => false], + 'experience' => ['type' => 'object', 'required' => false], + ], + ], ], ], ], ], + ], + ], + 'AddMemories' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'workspaceName', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 56, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'asyncMode' => ['type' => 'boolean', 'required' => false], + 'messages' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => false], + 'role' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'userId' => ['type' => 'string', 'required' => false], + 'agentId' => ['type' => 'string', 'required' => false], + 'appId' => ['type' => 'string', 'required' => false], + 'runId' => ['type' => 'string', 'required' => false], + 'infer' => ['type' => 'boolean', 'required' => false], + 'customInstructions' => ['type' => 'string', 'required' => false], + 'metadata' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'GetWorkspace' => [ - 'path' => '/workspace/{workspaceName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ChangeResourceGroup' => [ + 'path' => '/resourcegroup', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'resourceType' => ['type' => 'string', 'required' => false], + 'resourceId' => ['type' => 'string', 'required' => false], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListWorkspaces' => [ - 'path' => '/workspace', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateAddonRelease' => [ + 'path' => '/integration-policies/{policyId}/addon-releases', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'addonName' => ['type' => 'string', 'required' => true], + 'aliyunLang' => ['type' => 'string', 'required' => false], + 'dryRun' => ['type' => 'boolean', 'required' => false], + 'envType' => ['type' => 'string', 'required' => false], + 'parentAddonReleaseId' => ['type' => 'string', 'required' => false], + 'releaseName' => ['type' => 'string', 'required' => false], + 'values' => ['type' => 'string', 'required' => false], + 'version' => ['type' => 'string', 'required' => true], + 'workspace' => ['type' => 'string', 'required' => false], + 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule', 'required' => false], + ], ], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'CreateAggTaskGroup' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '200', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'workspaceNameList', - 'in' => 'query', - 'style' => 'simple', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'aggTaskGroupConfig' => ['type' => 'string', 'required' => true], + 'aggTaskGroupConfigType' => ['type' => 'string', 'required' => false], + 'aggTaskGroupName' => ['type' => 'string', 'required' => true], + 'cronExpr' => ['type' => 'string', 'required' => false], + 'delay' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '120'], + 'description' => ['type' => 'string', 'required' => false], + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxRetries' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'maxRunTimeInSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'precheckString' => ['type' => 'string', 'required' => false], + 'scheduleMode' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['FixedRate', 'Cron'], + ], + 'scheduleTimeExpr' => ['type' => 'string', 'required' => false], + 'status' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Running', 'Stopped'], + ], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'targetPrometheusId' => ['type' => 'string', 'required' => true], + 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], [ - 'name' => 'region', + 'name' => 'overrideIfExists', 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'CreateAlertWebhook' => [ + 'path' => '/webhook', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'contentType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['JSON', 'FORM'], + ], + 'headers' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'lang' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['zh_CN', 'en_US'], + ], + 'method' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['GET', 'POST'], + ], + 'name' => ['type' => 'string', 'required' => true], + 'url' => ['type' => 'string', 'required' => true], + 'webhookId' => ['type' => 'string', 'required' => false], + 'workspace' => ['type' => 'string'], + ], ], ], ], ], - 'DeleteWorkspace' => [ - 'path' => '/workspace/{workspaceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateBizTrace' => [ + 'path' => '/bizTrace', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'workspace' => ['type' => 'string', 'required' => false], + 'bizTraceCode' => ['type' => 'string', 'required' => false], + 'bizTraceName' => ['type' => 'string', 'required' => false], + 'ruleConfig' => ['type' => 'string', 'required' => false], + 'advancedConfig' => ['type' => 'string', 'required' => false], + ], ], ], ], ], 'CreateCloudResource' => [ 'path' => '/cloudresource', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], - 'GetCloudResource' => [ - 'path' => '/cloudresource', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateContextStore' => [ + 'path' => '/workspace/{workspace}/contextstore', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], - ], - 'GetCloudResourceData' => [ - 'path' => '/cloudresource/data', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'contextStoreName' => ['type' => 'string', 'required' => true], + 'contextType' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'project' => ['type' => 'string', 'required' => false], + 'logstore' => ['type' => 'string', 'required' => false], + 'startTime' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false], + ], + ], + 'metadataField' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + 'dataset' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], ], + ], + 'CreateContextStoreAPIKey' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'from', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'to', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'query', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'DeleteCloudResource' => [ - 'path' => '/cloudresource', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateDataset' => [ + 'path' => '/workspace/{workspace}/dataset', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, - 'parameters' => [], - ], - 'CreateEntityStore' => [ - 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'datasetName' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + 'description' => ['type' => 'string', 'required' => false], + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexKey'], + ], + ], + ], + ], ], + ], + 'CreateDeliveryTask' => [ + 'path' => '/delivery-tasks', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'taskName' => ['type' => 'string', 'required' => true], + 'dataSourceId' => ['type' => 'string', 'required' => true], + 'taskDescription' => ['type' => 'string', 'required' => false], + 'labelFiltersType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Allow', 'Deny'], + ], + 'labelFilters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'externalLabels' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'sinkList' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'sinkType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'], + ], + 'sinkConfigs' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + ], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], ], ], - 'GetEntityStore' => [ + 'CreateEntityStore' => [ 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetEntityStoreData' => [ - 'path' => '/workspace/{workspace}/entitiesAndRelations', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateIntegrationPolicy' => [ + 'path' => '/integration-policies', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'acceptEncoding', - 'in' => 'header', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'entityGroup' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'clusterEntityType' => ['type' => 'string', 'required' => false], + 'clusterId' => ['type' => 'string', 'required' => false], + 'entityUserId' => ['type' => 'string', 'required' => false], + 'entityGroupId' => ['type' => 'string', 'required' => false], + 'vpcId' => ['type' => 'string', 'required' => false], + 'disablePolicyShare' => ['type' => 'boolean', 'required' => false], + 'clusterNamespace' => ['type' => 'string', 'required' => false], + ], + ], + 'policyName' => ['type' => 'string', 'required' => false], + 'policyType' => ['type' => 'string', 'required' => true], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'workspace' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'CreateMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ 'name' => 'body', @@ -3845,86 +4131,157 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'from' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, + 'memoryStoreName' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], + 'shortTermTtl' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'extractionStrategies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], - 'query' => [ - 'type' => 'string', - 'required' => true, + 'customExtractionStrategies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false], ], - 'to' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, + 'sourceType' => ['type' => 'string'], + 'traceSourceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'workspace' => ['type' => 'string'], + 'query' => ['type' => 'string'], + 'includeOutput' => ['type' => 'boolean'], + ], ], ], ], ], ], ], - 'DeleteEntityStore' => [ - 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreatePipeline' => [ + 'path' => '/workspace/{workspace}/pipeline', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspaceName', + 'name' => 'workspace', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'pipelineName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'pipeline' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'nodes' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'id' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + ], + ], + ], + ], + ], + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'logstore' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'project' => ['type' => 'string', 'required' => false], + 'logstore' => ['type' => 'string', 'required' => false], + 'query' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'sink' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'dataset' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'workspace' => ['type' => 'string', 'required' => false], + 'dataset' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'executePolicy' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'mode' => ['type' => 'string', 'required' => false], + 'runOnce' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + 'scheduled' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'interval' => ['type' => 'string', 'required' => false], + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + ], + ], ], ], ], ], - 'CreateUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreatePrometheusInstance' => [ + 'path' => '/prometheus-instances', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -3932,75 +4289,161 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ + 'archiveDuration' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enum' => [], + ], + 'authFreeReadPolicy' => ['type' => 'string', 'required' => false], + 'authFreeWritePolicy' => ['type' => 'string', 'required' => false], + 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false], + 'enableAuthFreeWrite' => ['type' => 'boolean', 'required' => false], + 'enableAuthToken' => ['type' => 'boolean', 'required' => false], + 'prometheusInstanceName' => ['type' => 'string', 'required' => true], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'status' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Running'], + ], + 'storageDuration' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enum' => ['15', '30', '60', '90', '180'], + ], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'workspace' => ['type' => 'string', 'required' => false], + 'paymentType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['POSTPAY', 'POSTPAY_GB'], ], ], ], ], ], ], - 'GetUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreatePrometheusView' => [ + 'path' => '/prometheus-views', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'authFreeReadPolicy' => ['type' => 'string', 'required' => false], + 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false], + 'enableAuthToken' => ['type' => 'boolean', 'required' => false], + 'prometheusInstances' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'prometheusInstanceId' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'userId' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'prometheusViewName' => ['type' => 'string', 'required' => true], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'status' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Running'], + ], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'version' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['V1', 'V2'], + ], + 'workspace' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'UpdateUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'CreatePrometheusVirtualInstance' => [ + 'path' => '/virtual-instances', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'namespace' => ['type' => 'string', 'required' => true], + 'tenantId' => ['type' => 'string'], + ], ], ], + ], + ], + 'CreateService' => [ + 'path' => '/workspace/{workspace}/service', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -4009,82 +4452,83 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', + 'serviceName' => ['type' => 'string', 'required' => true], + 'serviceType' => ['type' => 'string', 'required' => true], + 'displayName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'attributes' => ['type' => 'string', 'required' => false], + 'serviceStatus' => ['type' => 'string', 'required' => false], + 'pid' => ['type' => 'string', 'required' => false], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], ], ], + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'DeleteUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateServiceObservability' => [ + 'path' => '/workspace/{workspace}/service-observability/{type}', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'type', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/graph', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreateServiceRecord' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}/record', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'method', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4094,51 +4538,59 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'content' => [ - 'type' => 'any', - 'required' => false, + 'recordType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['logCorrelation'], ], + 'recordContent' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'UpsertUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/data', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], + 'CreateTicket' => [ + 'path' => '/tickets', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'expirationTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'accessTokenExpirationTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'CreateUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'method', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -4148,877 +4600,719 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'elements' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'any', - 'required' => false, - ], - ], + 'description' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DeleteUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/data', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'DeleteAddonRelease' => [ + 'path' => '/integration-policies/{policyId}/addon-releases', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'releaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'domain', + 'name' => 'force', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'kind', + 'name' => 'addonName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteAggTaskGroup' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteAlertWebhooks' => [ + 'path' => '/webhooks', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', + 'name' => 'webhookIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'DeleteUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'delete', + 'DeleteBizTrace' => [ + 'path' => '/bizTrace/{bizTraceId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'bizTraceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'DeleteCloudResource' => [ + 'path' => '/cloudresource', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'DeleteContext' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'group', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'UpsertUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'patch', + 'DeleteContextStore' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], ], + ], + 'DeleteContextStoreAPIKey' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey/{name}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'name', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteContexts' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'group', + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'version', + 'name' => 'filter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateChat' => [ - 'path' => '/chat', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'DeleteDataset' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/octet-stream', - ], - 'produces' => [ - 'application/octet-stream', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'digitalEmployeeName' => [ - 'type' => 'string', - 'required' => false, - ], - 'threadId' => [ - 'type' => 'string', - 'required' => false, - ], - 'action' => [ - 'type' => 'string', - 'required' => false, - ], - 'variables' => [ - 'type' => 'object', - 'required' => false, - ], - 'messages' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'messageId' => [ - 'type' => 'string', - 'required' => false, - ], - 'role' => [ - 'type' => 'string', - 'required' => false, - ], - 'contents' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'tools' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'CreateDigitalEmployee' => [ - 'path' => '/digital-employee', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteDeliveryTask' => [ + 'path' => '/delivery-task/{taskId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'defaultRule' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'description' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'displayName' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'minLength' => 0, - 'maxLength' => 128, - 'pattern' => '', - ], - 'roleArn' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => true, - 'pattern' => '', - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'knowledges' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'bailian' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'indexId' => [ - 'type' => 'string', - 'required' => false, - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sop' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], - ], - ], - ], + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteEntityStore' => [ + 'path' => '/workspace/{workspaceName}/entitystore', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], + 'DeleteIntegrationPolicy' => [ + 'path' => '/integration-policies/{policyId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'force', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'defaultRule' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'description' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'displayName' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'minLength' => 0, - 'maxLength' => 128, - 'pattern' => '', - ], - 'roleArn' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'knowledges' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'bailian' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'indexId' => [ - 'type' => 'string', - 'required' => false, - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sop' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDigitalEmployees' => [ - 'path' => '/digital-employee', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteMemories' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'name', + 'name' => 'agentId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'employeeType', + 'name' => 'userId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'system', - 'custom', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'displayName', + 'name' => 'runId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tags', + 'name' => 'appId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteMemory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'DeleteDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - 'methods' => [ - 'delete', + 'DeleteMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], ], + ], + 'DeletePipeline' => [ + 'path' => '/workspace/{workspace}/pipeline/{pipelineName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeletePrometheusInstance' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'prometheusInstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateThread' => [ - 'path' => '/digitalEmployee/{name}/thread', - 'methods' => [ - 'post', + 'DeletePrometheusView' => [ + 'path' => '/prometheus-views/{prometheusViewId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'prometheusViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeletePrometheusVirtualInstance' => [ + 'path' => '/virtual-instances/{prometheusInstanceId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'prometheusInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteService' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'variables' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'project' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteServiceRecord' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}/record', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'threadId', + 'name' => 'serviceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'recordType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['logCorrelation'], ], ], ], ], - 'GetThreadData' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}/data', - 'methods' => [ - 'get', + 'DeleteUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteUmodelCommonSchemaRef' => [ + 'path' => '/workspace/{workspace}/umodel/common-schema-ref', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'group', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'DeleteUmodelData' => [ + 'path' => '/workspace/{workspace}/umodel/data', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'threadId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'domain', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', + 'name' => 'kind', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListThreads' => [ - 'path' => '/digitalEmployee/{name}/threads', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteWorkspace' => [ + 'path' => '/workspace/{workspaceName}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeMetricMetaList' => [ + 'path' => '/describe-metric-meta-list', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'threadId', + 'name' => 'namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', + 'name' => 'metaFormat', 'in' => 'query', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'string', 'required' => false, + 'enum' => ['CMS', 'PROM_BASIC'], ], ], [ - 'name' => 'nextToken', + 'name' => 'metricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'filter', + 'name' => 'labels', 'in' => 'query', 'style' => 'json', 'schema' => [ @@ -5028,56 +5322,71 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'keywords', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'UpdateThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'DescribeRegions' => [ + 'path' => '/regions', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'language', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ExecuteQuery' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}/query', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'threadId', + 'name' => 'datasetName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ 'name' => 'body', @@ -5087,1088 +5396,851 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'active', - 'archived', - 'failed', - 'suspended', - 'cancelled', - 'unknown', - ], - ], + 'type' => ['type' => 'string', 'required' => true], + 'query' => ['type' => 'string', 'required' => true], ], ], ], ], ], - 'DeleteThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetAddon' => [ + 'path' => '/addons/{addonName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'name', + 'name' => 'addonName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'threadId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateIntegrationPolicy' => [ - 'path' => '/integration-policies/{integrationPolicyId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetAddonCodeTemplate' => [ + 'path' => '/addons/{addonName}/alert-code-template', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'feePackage' => [ - 'type' => 'string', - 'required' => false, - ], - 'policyName' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'name' => 'addonName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'integrationPolicyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'environmentType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteIntegrationPolicy' => [ - 'path' => '/integration-policies/{policyId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetAddonRelease' => [ + 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'force', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'releaseName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateIntegrationPolicy' => [ - 'path' => '/integration-policies', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetAddonSchema' => [ + 'path' => '/addons/{addonName}/schema', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'entityGroup' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'clusterEntityType' => [ - 'type' => 'string', - 'required' => false, - ], - 'clusterId' => [ - 'type' => 'string', - 'required' => false, - ], - 'entityUserId' => [ - 'type' => 'string', - 'required' => false, - ], - 'entityGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'disablePolicyShare' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'clusterNamespace' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'policyName' => [ - 'type' => 'string', - 'required' => false, - ], - 'policyType' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'addonName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'environmentType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetAggTaskGroup' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'releaseName', + 'name' => 'instanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'addonVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'dryRun' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'values' => [ - 'type' => 'string', - 'required' => false, - ], - 'entityRules' => [ - '$ref' => '#/components/schemas/EntityDiscoverRule', - 'required' => false, - ], - ], - ], - ], - [ - 'name' => 'policyId', + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListIntegrationPolicyStorageRequirements' => [ - 'path' => '/integration-policies/{policyId}/storage-requirements', - 'methods' => [ - 'get', + 'GetBizTrace' => [ + 'path' => '/bizTrace/{bizTraceId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'bizTraceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'GetCloudResource' => [ + 'path' => '/cloudresource', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'GetCloudResourceData' => [ + 'path' => '/cloudresource/data', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'from', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ - 'name' => 'addonName', + 'name' => 'to', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ - 'name' => 'storageType', + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetCmsService' => [ + 'path' => '/cmsservice', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'product', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['prometheus'], ], ], [ - 'name' => 'addonReleaseName', + 'name' => 'service', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['prometheus', 'prometheusgb', 'promethues', 'ackpro'], ], ], ], ], - 'ListIntegrationPolicyPodMonitors' => [ - 'path' => '/integration-policies/{policyId}/pod-monitors', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetContext' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'contextId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], [ - 'name' => 'encryptYaml', + 'name' => 'formatted', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'ListIntegrationPolicyDashboards' => [ - 'path' => '/integration-policies/{policyId}/dashboards', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetContextStore' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'addonName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], + ], + ], + 'GetDataset' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'scene', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'language', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'zh', - 'en', - ], - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'ListIntegrationPolicyCustomScrapeJobRules' => [ - 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetDeliveryTask' => [ + 'path' => '/delivery-task/{taskId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetEntityStore' => [ + 'path' => '/workspace/{workspaceName}/entitystore', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetEntityStoreData' => [ + 'path' => '/workspace/{workspace}/entitiesAndRelations', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'encryptYaml', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'acceptEncoding', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'namespace', - 'in' => 'query', + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'from' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'query' => ['type' => 'string', 'required' => true], + 'to' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], ], ], ], ], - 'ListIntegrationPolicies' => [ - 'path' => '/integration-policies', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetIntegrationPolicy' => [ + 'path' => '/integration-policies/{policyId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'policyId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetIntegrationVersionForCS' => [ + 'path' => '/integration-version/cs', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'policyName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'policyType', + 'name' => 'clusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'addonName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'filterRegionIds', + 'name' => 'clusterType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetMemories' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/query', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'tag', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'properties' => [ + 'userId' => ['type' => 'string', 'required' => false], + 'agentId' => ['type' => 'string', 'required' => false], + 'appId' => ['type' => 'string', 'required' => false], + 'runId' => ['type' => 'string', 'required' => false], + 'filters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], + 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'page' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], + ], + ], + 'GetMemory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'entityGroupIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'workspace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'query', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'prometheusInstanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'bindResourceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'ListAddonReleases' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetMemoryHistory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}/history', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'addonName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'parentAddonReleaseId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'GetIntegrationPolicy' => [ - 'path' => '/integration-policies/{policyId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'GetAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetPipeline' => [ + 'path' => '/workspace/{workspace}/pipeline/{pipelineName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'releaseName', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'policyId', + 'name' => 'pipelineName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetPrometheusInstance' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'releaseName', + 'name' => 'prometheusInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'force', + 'name' => 'aliyunLang', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'GetPrometheusUserSetting' => [ + 'path' => '/prometheus-user-setting', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'policyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'addonName', + 'name' => 'aliyunLang', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetPrometheusView' => [ + 'path' => '/prometheus-views/{prometheusViewId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'prometheusViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetService' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'deprecated' => false, + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'addonName' => [ - 'type' => 'string', - 'required' => true, - ], - 'aliyunLang' => [ - 'type' => 'string', - 'required' => false, - ], - 'dryRun' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'envType' => [ - 'type' => 'string', - 'required' => false, - ], - 'parentAddonReleaseId' => [ - 'type' => 'string', - 'required' => false, - ], - 'releaseName' => [ - 'type' => 'string', - 'required' => false, - ], - 'values' => [ - 'type' => 'string', - 'required' => false, - ], - 'version' => [ - 'type' => 'string', - 'required' => true, - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'entityRules' => [ - '$ref' => '#/components/schemas/EntityDiscoverRule', - 'required' => false, - ], - ], - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'policyId', + 'name' => 'serviceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetServiceObservability' => [ 'path' => '/workspace/{workspace}/service-observability/{type}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'type', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetServiceRecord' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}/record', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'serviceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'recordType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['logCorrelation'], ], ], ], ], - 'UpdateService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'put', + 'GetUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'GetUmodelCommonSchemaRef' => [ + 'path' => '/workspace/{workspace}/umodel/common-schema-ref', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetUmodelData' => [ + 'path' => '/workspace/{workspace}/umodel/graph', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'serviceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'method', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -6178,818 +6250,683 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'displayName' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceStatus' => [ - 'type' => 'string', - 'required' => false, - ], + 'content' => ['type' => 'any', 'required' => false], ], ], ], ], ], - 'GetService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetWorkspace' => [ + 'path' => '/workspace/{workspaceName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListAddonReleases' => [ + 'path' => '/integration-policies/{policyId}/addon-releases', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'serviceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'parentAddonReleaseId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], ], - 'CreateService' => [ - 'path' => '/workspace/{workspace}/service', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListAddons' => [ + 'path' => '/addons', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'serviceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'serviceType' => [ - 'type' => 'string', - 'required' => true, - ], - 'displayName' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceStatus' => [ - 'type' => 'string', - 'required' => false, - ], - 'pid' => [ - 'type' => 'string', - 'required' => false, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regexp', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'ListServices' => [ - 'path' => '/workspace/{workspace}/services', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListAggTaskGroups' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'nextToken', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'filterAggTaskGroupIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'filterAggTaskGroupNames', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Running', 'Stopped'], ], ], [ - 'name' => 'maxResults', + 'name' => 'targetPrometheusId', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, - 'minimum' => '0', - 'exclusiveMinimum' => false, - 'maximum' => '500', + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], [ - 'name' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ - 'name' => 'serviceType', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], + ], + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListAlertActions' => [ + 'path' => '/alertActions', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'alertActionIds', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, - 'enum' => [ - 'TRACE', - 'XTRACE', - 'RUM', - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'serviceName', + 'name' => 'type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['FC', 'MNS', 'OPEN_API', 'SLS', 'ESS', 'PAGER_DUTY', 'WEBHOOK', 'EB', 'FC3'], ], ], [ - 'name' => 'resourceGroupId', + 'name' => 'alertActionName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNumber', 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListAlertRobots' => [ + 'path' => '/robots', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'robotIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'tags', + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'types', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'object', + 'type' => 'string', 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK'], ], ], ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], ], - 'CreatePrometheusVirtualInstance' => [ - 'path' => '/virtual-instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListAlertWebhooks' => [ + 'path' => '/webhooks', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'webhookIds', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'namespace' => [ - 'type' => 'string', - 'required' => true, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], ], - 'ListPrometheusVirtualInstances' => [ - 'path' => '/virtual-instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListBizTraces' => [ + 'path' => '/bizTraces', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'namespace', + 'name' => 'workspace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListContactGroups' => [ + 'path' => '/contactGroups', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'groupId', - 'in' => 'path', + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'contactGroupIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], ], - 'CreateAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListContacts' => [ + 'path' => '/contact', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'contactIds', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'aggTaskGroupConfig' => [ - 'type' => 'string', - 'required' => true, - ], - 'aggTaskGroupConfigType' => [ - 'type' => 'string', - 'required' => false, - ], - 'aggTaskGroupName' => [ - 'type' => 'string', - 'required' => true, - ], - 'cronExpr' => [ - 'type' => 'string', - 'required' => false, - ], - 'delay' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '120', - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'fromTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxRetries' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'maxRunTimeInSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'precheckString' => [ - 'type' => 'string', - 'required' => false, - ], - 'scheduleMode' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'FixedRate', - 'Cron', - ], - ], - 'scheduleTimeExpr' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Running', - 'Stopped', - ], - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'targetPrometheusId' => [ - 'type' => 'string', - 'required' => true, - ], - 'toTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'overrideIfExists', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'phone', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'email', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'groupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'queryUngroupedContacts', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], ], - 'DeleteAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListContextStoreAPIKeys' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', + 'name' => 'contextStoreName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'UpdateAggTaskGroupStatus' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListContextStores' => [ + 'path' => '/workspace/{workspace}/contextstore', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'contextStoreName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'status' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Running', - 'Stopped', - ], - ], - ], - ], + 'name' => 'contextType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListDatasets' => [ + 'path' => '/workspace/{workspace}/dataset', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'datasetName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListDeliveryTasks' => [ + 'path' => '/delivery-tasks', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'keyWords', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], + ], + [ + 'name' => 'tag', + 'in' => 'query', 'style' => 'json', 'schema' => [ - 'type' => 'object', + 'type' => 'array', 'required' => false, - 'properties' => [ - 'aggTaskGroupConfig' => [ - 'type' => 'string', - 'required' => true, - ], - 'aggTaskGroupConfigType' => [ - 'type' => 'string', - 'required' => false, - ], - 'aggTaskGroupName' => [ - 'type' => 'string', - 'required' => false, - ], - 'cronExpr' => [ - 'type' => 'string', - 'required' => false, - ], - 'delay' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '120', - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'fromTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxRetries' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'maxRunTimeInSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'precheckString' => [ - 'type' => 'string', - 'required' => false, - ], - 'scheduleMode' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'FixedRate', - 'Cron', - ], - ], - 'scheduleTimeExpr' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Running', - 'Stopped', - ], - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'targetPrometheusId' => [ - 'type' => 'string', - 'required' => true, - ], - 'toTime' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'key' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], - 'ListAggTaskGroups' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicies' => [ + 'path' => '/integration-policies', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'policyId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'filterAggTaskGroupIds', + 'name' => 'policyName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'filterAggTaskGroupNames', + 'name' => 'policyType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'status', + 'name' => 'addonName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Running', - 'Stopped', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'targetPrometheusId', + 'name' => 'filterRegionIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tags', + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tag', 'in' => 'query', 'style' => 'json', 'schema' => [ @@ -6999,482 +6936,410 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], ], [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'entityGroupIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 128, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'prometheusInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'bindResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeletePrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyAddons' => [ + 'path' => '/integration-policies/{policyId}/addons', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusInstanceId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeletePrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyCollectors' => [ + 'path' => '/integration-policies/{policyId}/collectors', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusViewId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonReleaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'collectorType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'language', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetPrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyCustomScrapeJobRules' => [ + 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusInstanceId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceGroupId', + 'name' => 'addonReleaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'aliyunLang', + 'name' => 'encryptYaml', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetPrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyDashboards' => [ + 'path' => '/integration-policies/{policyId}/dashboards', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusViewId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceGroupId', + 'name' => 'addonName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'aliyunLang', + 'name' => 'scene', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'language', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['zh', 'en'], ], ], ], ], - 'ListPrometheusDashboards' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyPodMonitors' => [ + 'path' => '/integration-policies/{policyId}/pod-monitors', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusInstanceId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceGroupId', + 'name' => 'addonReleaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'aliyunLang', + 'name' => 'namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'encryptYaml', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdatePrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyServiceMonitors' => [ + 'path' => '/integration-policies/{policyId}/service-monitors', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonReleaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'encryptYaml', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListIntegrationPolicyStorageRequirements' => [ + 'path' => '/integration-policies/{policyId}/storage-requirements', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusViewId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'authFreeReadPolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAuthFreeRead' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthToken' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'prometheusInstances' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prometheusInstanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'userId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'prometheusViewName' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'storageType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'addonReleaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdatePrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'put', + 'ListMemoryStores' => [ + 'path' => '/workspace/{workspace}/memorystore', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ListPipelines' => [ + 'path' => '/workspace/{workspace}/pipeline', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pipelineName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListPrometheusDashboards' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'prometheusInstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'archiveDuration' => [ - 'type' => 'integer', - 'required' => false, - 'enum' => [], - ], - 'authFreeReadPolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'authFreeWritePolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAuthFreeRead' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthFreeWrite' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthToken' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'prometheusInstanceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - ], - 'storageDuration' => [ - 'type' => 'integer', - 'required' => false, - 'enum' => [ - '15', - '30', - '60', - '90', - '180', - '365', - ], - ], - 'paymentType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'POSTPAY_GB', - 'POSTPAY', - ], - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPrometheusViews' => [ - 'path' => '/prometheus-views', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListPrometheusInstances' => [ + 'path' => '/prometheus-instances', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusViewIds', + 'name' => 'prometheusInstanceIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'prometheusViewName', + 'name' => 'prometheusInstanceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'workspace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'version', @@ -7482,10 +7347,7 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'V1', - 'V2', - ], + 'enum' => ['V1', 'V2'], ], ], [ @@ -7494,23 +7356,18 @@ 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => [], ], ], [ 'name' => 'filterRegionIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'resourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'tag', @@ -7523,14 +7380,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], @@ -7538,69 +7389,42 @@ [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 128, - ], + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], ], ], ], - 'ListPrometheusInstances' => [ - 'path' => '/prometheus-instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListPrometheusViews' => [ + 'path' => '/prometheus-views', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusInstanceIds', + 'name' => 'prometheusViewIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'prometheusInstanceName', + 'name' => 'prometheusViewName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'workspace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'version', @@ -7608,36 +7432,23 @@ 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'V1', - 'V2', - ], + 'enum' => ['V1', 'V2'], ], ], [ 'name' => 'resourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'filterRegionIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'resourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'tag', @@ -7650,14 +7461,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], @@ -7665,582 +7470,382 @@ [ 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], ], [ 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 128, - ], + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], ], ], ], - 'CreatePrometheusInstance' => [ - 'path' => '/prometheus-instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListPrometheusVirtualInstances' => [ + 'path' => '/virtual-instances', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'archiveDuration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enum' => [], - ], - 'authFreeReadPolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'authFreeWritePolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAuthFreeRead' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthFreeWrite' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthToken' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'prometheusInstanceName' => [ - 'type' => 'string', - 'required' => true, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Running', - ], - ], - 'storageDuration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enum' => [ - '15', - '30', - '60', - '90', - '180', - ], - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'paymentType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'POSTPAY', - 'POSTPAY_GB', - ], - ], - ], - ], + 'name' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tenantId', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], ], ], ], - 'CreatePrometheusView' => [ - 'path' => '/prometheus-views', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListServiceRecords' => [ + 'path' => '/workspace/{workspace}/service-records', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'recordType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'authFreeReadPolicy' => [ - 'type' => 'string', - 'required' => false, - ], - 'enableAuthFreeRead' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'enableAuthToken' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'prometheusInstances' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'prometheusInstanceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'userId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'prometheusViewName' => [ - 'type' => 'string', - 'required' => true, - ], - 'resourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'Running', - ], - ], - 'tags' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'version' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'V1', - 'V2', - ], - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'type' => 'string', + 'required' => true, + 'enum' => ['logCorrelation'], ], ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'ListAlertActions' => [ - 'path' => '/alertActions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListServices' => [ + 'path' => '/workspace/{workspace}/services', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'alertActionIds', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => false, 'maximum' => '500'], + ], + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['TRACE', 'XTRACE', 'RUM'], + ], + ], + [ + 'name' => 'serviceName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], ], ], ], + ], + ], + 'ListTagResources' => [ + 'path' => '/tags', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'type', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'resourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'FC', - 'MNS', - 'OPEN_API', - 'SLS', - 'ESS', - 'PAGER_DUTY', - 'WEBHOOK', - 'EB', - 'FC3', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'alertActionName', + 'name' => 'resourceId', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'pageNumber', + 'name' => 'tag', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], ], ], [ - 'name' => 'pageSize', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'UpdateSubscription' => [ - 'path' => '/subscriptions/{subscriptionId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListWorkspaces' => [ + 'path' => '/workspace', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', + 'name' => 'workspaceName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '200'], + ], + [ + 'name' => 'workspaceNameList', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - '$ref' => '#/components/schemas/SubscriptionForModify', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'subscriptionId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'region', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateAlertWebhook' => [ - 'path' => '/webhook', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ManageAlertRules' => [ + 'path' => '/manageAlertRules', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', - 'in' => 'body', + 'in' => 'formData', 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'contentType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'JSON', - 'FORM', - ], - ], - 'headers' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'lang' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'zh_CN', - 'en_US', - ], - ], - 'method' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'GET', - 'POST', - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'url' => [ - 'type' => 'string', - 'required' => true, - ], - 'webhookId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'schema' => ['$ref' => '#/components/schemas/ManageAlertRulesUnifiedActionInput', 'required' => false], ], ], ], - 'DeleteAlertWebhooks' => [ - 'path' => '/webhooks', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'OpenCmsService' => [ + 'path' => '/cmsservice', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'PutWorkspace' => [ + 'path' => '/workspace/{workspaceName}', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'webhookIds', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'displayName' => ['type' => 'string', 'required' => false, 'maxLength' => 256], + 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 256, 'pattern' => ''], + 'slsProject' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 128], ], ], ], + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 56], + ], ], ], - 'ListAlertWebhooks' => [ - 'path' => '/webhooks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'QueryAlertRules' => [ + 'path' => '/queryAlertRules', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'pageSize', + 'name' => 'nextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNumber', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'webhookIds', + 'name' => 'clientToken', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'name', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'body', + 'in' => 'formData', + 'style' => 'json', + 'schema' => ['$ref' => '#/components/schemas/QueryAlertRulesInput', 'required' => false], ], ], ], - 'UpdateAlertWebhook' => [ - 'path' => '/webhook/{webhookId}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], + 'SearchContext' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/search', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'webhookId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ 'name' => 'body', @@ -8250,157 +7855,83 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'contentType' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'JSON', - 'FORM', - ], - ], - 'headers' => [ + 'query' => ['type' => 'string', 'required' => true], + 'formatted' => ['type' => 'boolean', 'required' => false], + 'filter' => [ 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'type' => 'string', - ], - ], - 'lang' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'zh_CN', - 'en_US', - ], - ], - 'method' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'GET', - 'POST', - ], - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'url' => [ - 'type' => 'string', - 'required' => false, + 'additionalProperties' => ['type' => 'any'], ], + 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'threshold' => ['type' => 'number', 'format' => 'double', 'required' => false], + 'retrievalOption' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdateNotifyStrategy' => [ - 'path' => '/notifyStrategies/{notifyStrategyId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'SearchMemories' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/search', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'schema' => [ - '$ref' => '#/components/schemas/NotifyStrategyForModify', - 'required' => false, - ], - ], - [ - 'name' => 'notifyStrategyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], - ], - ], - 'CreateTicket' => [ - 'path' => '/tickets', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'expirationTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'accessTokenExpirationTime', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'query' => ['type' => 'string', 'required' => false], + 'userId' => ['type' => 'string', 'required' => false], + 'topK' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'agentId' => ['type' => 'string', 'required' => false], + 'appId' => ['type' => 'string', 'required' => false], + 'runId' => ['type' => 'string', 'required' => false], + 'rerank' => ['type' => 'boolean', 'required' => false], + 'filters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + 'threshold' => ['type' => 'number', 'format' => 'double', 'required' => false], + 'retrievalOption' => ['type' => 'string', 'required' => false], + 'searchType' => ['type' => 'string', 'required' => false], + ], ], ], ], ], 'TagResources' => [ 'path' => '/tags', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -8411,27 +7942,18 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceType' => [ - 'type' => 'string', - 'required' => true, - ], + 'resourceType' => ['type' => 'string', 'required' => true], 'resourceId' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 50, ], 'tag' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false], 'maxItems' => 20, ], ], @@ -8441,32 +7963,21 @@ ], 'UntagResources' => [ 'path' => '/tags', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'resourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'resourceId', @@ -8475,10 +7986,7 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'minItems' => 1, 'maxItems' => 50, ], @@ -8490,118 +7998,80 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'all', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'ListTagResources' => [ - 'path' => '/tags', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAddonRelease' => [ + 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'resourceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], + 'name' => 'releaseName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tag', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, + 'properties' => [ + 'addonVersion' => ['type' => 'string', 'required' => false], + 'dryRun' => ['type' => 'boolean', 'required' => false], + 'values' => ['type' => 'string', 'required' => false], + 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule', 'required' => false], ], ], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ChangeResourceGroup' => [ - 'path' => '/resourcegroup', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAggTaskGroup' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -8609,124 +8079,106 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceType' => [ + 'aggTaskGroupConfig' => ['type' => 'string', 'required' => true], + 'aggTaskGroupConfigType' => ['type' => 'string', 'required' => false], + 'aggTaskGroupName' => ['type' => 'string', 'required' => false], + 'cronExpr' => ['type' => 'string', 'required' => false], + 'delay' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '120'], + 'description' => ['type' => 'string', 'required' => false], + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxRetries' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'maxRunTimeInSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'precheckString' => ['type' => 'string', 'required' => false], + 'scheduleMode' => [ 'type' => 'string', 'required' => false, + 'enum' => ['FixedRate', 'Cron'], ], - 'resourceId' => [ + 'scheduleTimeExpr' => ['type' => 'string', 'required' => false], + 'status' => [ 'type' => 'string', 'required' => false, + 'enum' => ['Running', 'Stopped'], ], - 'resourceGroupId' => [ - 'type' => 'string', + 'tags' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], + 'targetPrometheusId' => ['type' => 'string', 'required' => true], + 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], ], ], - 'DescribeRegions' => [ - 'path' => '/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAggTaskGroupStatus' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'language', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetCmsService' => [ - 'path' => '/cmsservice', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'product', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'prometheus', - ], - ], + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'service', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'prometheus', - 'prometheusgb', - 'promethues', - 'ackpro', + 'properties' => [ + 'status' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['Running', 'Stopped'], + ], ], ], ], ], ], - 'CreateBizTrace' => [ - 'path' => '/bizTrace', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateAlertWebhook' => [ + 'path' => '/webhook/{webhookId}', + 'methods' => ['patch'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ + 'name' => 'webhookId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', @@ -8734,631 +8186,829 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'bizTraceCode' => [ + 'contentType' => [ 'type' => 'string', 'required' => false, + 'enum' => ['JSON', 'FORM'], ], - 'bizTraceName' => [ - 'type' => 'string', + 'headers' => [ + 'type' => 'object', 'required' => false, + 'additionalProperties' => ['type' => 'string'], ], - 'ruleConfig' => [ + 'lang' => [ 'type' => 'string', 'required' => false, + 'enum' => ['zh_CN', 'en_US'], ], - 'advancedConfig' => [ + 'method' => [ 'type' => 'string', 'required' => false, + 'enum' => ['GET', 'POST'], ], + 'name' => ['type' => 'string', 'required' => false], + 'url' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateServiceObservability' => [ - 'path' => '/workspace/{workspace}/service-observability/{type}', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateBizTrace' => [ + 'path' => '/bizTrace/{bizTraceId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'bizTraceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'bizTraceName' => ['type' => 'string', 'required' => false], + 'workspace' => ['type' => 'string', 'required' => false], + 'ruleConfig' => ['type' => 'string', 'required' => false], + 'advancedConfig' => ['type' => 'string', 'required' => false], + ], + ], + ], ], - 'produces' => [ - 'application/json', + ], + 'UpdateContext' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'type', + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'content' => ['type' => 'string', 'required' => false], + 'payload' => ['type' => 'object', 'required' => false], + 'triggerCondition' => ['type' => 'string', 'required' => false], + 'experience' => ['type' => 'object', 'required' => false], + 'metadata' => ['type' => 'object', 'required' => false], + ], ], ], ], ], - 'DeleteBizTrace' => [ - 'path' => '/bizTrace/{bizTraceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'UpdateContextStore' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'bizTraceId', + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextStoreName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'config' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'metadataField' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'startTime' => ['type' => 'string', 'required' => false], + 'logstore' => ['type' => 'string', 'required' => false], + 'project' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'contextType' => ['type' => 'string', 'required' => false], + 'dataset' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + ], + ], + ], ], ], ], ], - 'GetAddon' => [ - 'path' => '/addons/{addonName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateDataset' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addonName', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'version', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'aliyunLang', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetAddonCodeTemplate' => [ - 'path' => '/addons/{addonName}/alert-code-template', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateDeliveryTask' => [ + 'path' => '/delivery-task/{taskId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addonName', + 'name' => 'taskId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'aliyunLang', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'taskName' => ['type' => 'string', 'required' => false], + 'dataSourceId' => ['type' => 'string', 'required' => false], + 'taskDescription' => ['type' => 'string', 'required' => false], + 'status' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Running', 'Disable'], + ], + 'labelFiltersType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Allow', 'Deny'], + ], + 'labelFilters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'externalLabels' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'sinkList' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'sinkType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'], + ], + 'sinkConfigs' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + ], + ], + ], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'UpdateIntegrationPolicy' => [ + 'path' => '/integration-policies/{integrationPolicyId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'environmentType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'version', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'feePackage' => ['type' => 'string', 'required' => false], + 'policyName' => ['type' => 'string', 'required' => false], + 'resourceGroupId' => ['type' => 'string', 'required' => false], + 'tags' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], ], + [ + 'name' => 'integrationPolicyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], ], - 'GetAddonSchema' => [ - 'path' => '/addons/{addonName}/schema', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateMemory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addonName', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'aliyunLang', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'environmentType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], [ - 'name' => 'version', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'metadata' => ['type' => 'object', 'required' => false], + 'text' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'GetBizTrace' => [ - 'path' => '/bizTrace/{bizTraceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'bizTraceId', + 'name' => 'workspace', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'shortTermTtl' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'extractionStrategies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + 'customExtractionStrategies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false], + ], + ], ], ], ], ], - 'GetIntegrationVersionForCS' => [ - 'path' => '/integration-version/cs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateNotifyStrategy' => [ + 'path' => '/notifyStrategies/{notifyStrategyId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'clusterId', + 'name' => 'workspace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clusterType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'body', + 'in' => 'body', + 'schema' => ['$ref' => '#/components/schemas/NotifyStrategyForModify', 'required' => false], + ], + [ + 'name' => 'notifyStrategyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetPrometheusUserSetting' => [ - 'path' => '/prometheus-user-setting', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePipeline' => [ + 'path' => '/workspace/{workspace}/pipeline/{pipelineName}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'aliyunLang', - 'in' => 'query', + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + 'source' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'logstore' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'logstore' => ['type' => 'string', 'required' => false], + 'query' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'pipeline' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'nodes' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'id' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'parameters' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'any'], + ], + ], + ], + ], + ], + ], + 'sink' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'dataset' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'workspace' => ['type' => 'string', 'required' => false], + 'dataset' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + 'executePolicy' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'mode' => ['type' => 'string', 'required' => false], + 'runOnce' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + 'scheduled' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'interval' => ['type' => 'string', 'required' => false], + 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + ], + ], ], ], ], ], - 'ListAddons' => [ - 'path' => '/addons', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePrometheusInstance' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'aliyunLang', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'prometheusInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'category', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'archiveDuration' => [ + 'type' => 'integer', + 'required' => false, + 'enum' => [], + ], + 'authFreeReadPolicy' => ['type' => 'string', 'required' => false], + 'authFreeWritePolicy' => ['type' => 'string', 'required' => false], + 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false], + 'enableAuthFreeWrite' => ['type' => 'boolean', 'required' => false], + 'enableAuthToken' => ['type' => 'boolean', 'required' => false], + 'prometheusInstanceName' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + 'storageDuration' => [ + 'type' => 'integer', + 'required' => false, + 'enum' => ['15', '30', '60', '90', '180', '365'], + ], + 'paymentType' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['POSTPAY_GB', 'POSTPAY'], + ], + 'workspace' => ['type' => 'string', 'required' => false], + ], ], ], + ], + ], + 'UpdatePrometheusUserSetting' => [ + 'path' => '/prometheus-user-setting/{settingKey}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'regexp', + 'name' => 'settingKey', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'settingValue', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListBizTraces' => [ - 'path' => '/bizTraces', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePrometheusView' => [ + 'path' => '/prometheus-views/{prometheusViewId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'prometheusViewId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'nextToken', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'authFreeReadPolicy' => ['type' => 'string', 'required' => false], + 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false], + 'enableAuthToken' => ['type' => 'boolean', 'required' => false], + 'prometheusInstances' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'prometheusInstanceId' => ['type' => 'string', 'required' => false], + 'regionId' => ['type' => 'string', 'required' => false], + 'userId' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'prometheusViewName' => ['type' => 'string', 'required' => false], + 'status' => ['type' => 'string', 'required' => false], + 'workspace' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListIntegrationPolicyAddons' => [ - 'path' => '/integration-policies/{policyId}/addons', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateService' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'displayName' => ['type' => 'string', 'required' => false], + 'description' => ['type' => 'string', 'required' => false], + 'attributes' => ['type' => 'string', 'required' => false], + 'serviceStatus' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'ListIntegrationPolicyCollectors' => [ - 'path' => '/integration-policies/{policyId}/collectors', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateServiceRecord' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}/record', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'collectorType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'language', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'recordType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['logCorrelation'], + ], + 'recordContent' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'ListIntegrationPolicyServiceMonitors' => [ - 'path' => '/integration-policies/{policyId}/service-monitors', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateSubscription' => [ + 'path' => '/subscriptions/{subscriptionId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'addonReleaseName', + 'name' => 'workspace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'body', + 'in' => 'body', + 'schema' => ['$ref' => '#/components/schemas/SubscriptionForModify', 'required' => false], ], [ - 'name' => 'encryptYaml', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'subscriptionId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateBizTrace' => [ - 'path' => '/bizTrace/{bizTraceId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpdateUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'bizTraceId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -9368,227 +9018,127 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'bizTraceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'ruleConfig' => [ - 'type' => 'string', - 'required' => false, - ], - 'advancedConfig' => [ - 'type' => 'string', - 'required' => false, - ], + 'description' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'UpdatePrometheusUserSetting' => [ - 'path' => '/prometheus-user-setting/{settingKey}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpsertUmodelCommonSchemaRef' => [ + 'path' => '/workspace/{workspace}/umodel/common-schema-ref', + 'methods' => ['patch'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'group', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'UpsertUmodelData' => [ + 'path' => '/workspace/{workspace}/umodel/data', + 'methods' => ['patch'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'settingKey', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'settingValue', + 'name' => 'method', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'elements' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'any', 'required' => false], + ], + ], ], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'cms.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cms.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-jva', - 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-nanjing', - 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fuzhou', - 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan-lr', - 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhongwei', - 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'metrics.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'metrics.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'metrics.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'metrics.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'na-south-1', - 'endpoint' => 'metrics.na-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-southeast-1', - 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'metrics.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'metrics.me-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'metrics.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan-acdr-1', - 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-beijing.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhengzhou-jva', 'regionName' => '郑州(联通合营)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhengzhou-jva.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-heyuan.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-3.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-5.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-5.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-6.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-7.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-8.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-8.aliyuncs.com', 'vpc' => 'cms-vpc.ap-southeast-8.aliyuncs.com'], + ['regionId' => 'cn-zhongwei', 'regionName' => '西北2(中卫)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhongwei.aliyuncs.com', 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com', 'vpc' => 'cms-vpc.cn-zhongwei.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-qingdao.aliyuncs.com', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wuhan-lr.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shanghai.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hongkong.aliyuncs.com', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shenzhen.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-nanjing.aliyuncs.com', 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-nanjing.aliyuncs.com'], + ['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-fuzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-fuzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-chengdu.aliyuncs.com', 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-guangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-huhehaote.aliyuncs.com', 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-southeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-1.aliyuncs.com', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-west-2', 'regionName' => '法国(巴黎)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-2.aliyuncs.com', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com', 'vpc' => 'cms-vpc.eu-west-2.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-central-1.aliyuncs.com', 'endpoint' => 'metrics.eu-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-east-1.aliyuncs.com', 'endpoint' => 'metrics.us-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-west-1.aliyuncs.com', 'endpoint' => 'metrics.us-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.na-south-1.aliyuncs.com', 'endpoint' => 'metrics.na-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.na-south-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-east-1.aliyuncs.com', 'endpoint' => 'metrics.me-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-east-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.ap-south-1.aliyuncs.com', 'endpoint' => 'metrics.ap-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-south-1.aliyuncs.com'], + ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-central-1.aliyuncs.com', 'endpoint' => 'metrics.me-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou-finance.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => '华北6(乌兰察布)通用行业云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'cms-vpc.cn-wulanchabu-gic-1.aliyuncs.com'], + ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan-acdr-1.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-north-2-gov-1.aliyuncs.com'], ], ]; |
