summaryrefslogtreecommitdiff
path: root/data/cms/2024-03-30/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-14 10:08:30 +0800
committerZhineng Li <[email protected]>2026-02-14 10:08:30 +0800
commiteccd5cd5a067f5659982685afdeea209b1888efb (patch)
tree1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/cms/2024-03-30/api-docs.php
downloadacs-metadata-eccd5cd5a067f5659982685afdeea209b1888efb.tar.gz
acs-metadata-eccd5cd5a067f5659982685afdeea209b1888efb.zip
Diffstat (limited to 'data/cms/2024-03-30/api-docs.php')
-rw-r--r--data/cms/2024-03-30/api-docs.php9594
1 files changed, 9594 insertions, 0 deletions
diff --git a/data/cms/2024-03-30/api-docs.php b/data/cms/2024-03-30/api-docs.php
new file mode 100644
index 0000000..5ed09f2
--- /dev/null
+++ b/data/cms/2024-03-30/api-docs.php
@@ -0,0 +1,9594 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'Cms',
+ 'version' => '2024-03-30',
+ ],
+ 'components' => [
+ 'schemas' => [
+ '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',
+ ],
+ 'environments' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'protocols' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'type' => 'string',
+ ],
+ 'label' => [
+ 'type' => 'string',
+ ],
+ 'description' => [
+ 'type' => 'string',
+ ],
+ 'icon' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'metricCheckRule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'promQL' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'needRestartAfterIntegration' => [
+ 'type' => 'boolean',
+ ],
+ 'enableServiceAccount' => [
+ 'type' => 'boolean',
+ ],
+ 'bindEntity' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'entityGroupMode' => [
+ 'type' => 'boolean',
+ ],
+ 'singleEntityMode' => [
+ 'type' => 'boolean',
+ ],
+ 'entityType' => [
+ 'type' => 'string',
+ ],
+ 'vpcIdFieldKey' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'bindDefaultPolicy' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ 'dependencies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'features' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ 'services' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'clusterTypes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'policyType' => [
+ 'type' => 'string',
+ ],
+ 'commonSchemaRefs' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'group' => [
+ 'type' => 'string',
+ ],
+ 'version' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'categories' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'dashboards' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'type' => 'string',
+ ],
+ 'url' => [
+ 'type' => 'string',
+ ],
+ 'description' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'weight' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'latestReleaseCreateTime' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'AlertEventIntegrationPolicyForModify' => [
+ 'type' => 'object',
+ '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,
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'transformerSetting' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/TransformAction',
+ ],
+ ],
+ 'createTime' => [
+ 'type' => 'string',
+ ],
+ 'enable' => [
+ 'type' => 'boolean',
+ ],
+ 'integrationSetting' => [
+ 'type' => 'string',
+ ],
+ 'alertEventIntegrationPolicyName' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'AlertRuleAction' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'actions' => [
+ 'type' => 'array',
+ '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',
+ ],
+ 'supportedOpts' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'displayNameCn' => [
+ 'type' => 'string',
+ ],
+ 'displayNameEn' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AlertRuleAlertMetricFilterDef_array' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef',
+ ],
+ ],
+ 'AlertRuleAlertMetricInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'filterValues' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue',
+ ],
+ ],
+ 'paramValues' => [
+ 'type' => 'array',
+ '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',
+ ],
+ ],
+ ],
+ 'AlertRuleAlertMetricInputParamValue' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'AlertRuleAlertMetricParamDef' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'placeholderEn' => [
+ 'type' => 'string',
+ ],
+ 'placeholderCn' => [
+ 'type' => 'string',
+ ],
+ 'values' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ 'AlertRuleAlertMetricParamDef_array' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef',
+ ],
+ ],
+ 'AlertRuleCondition' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'alertCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'pattern' => '',
+ ],
+ 'caseList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'condition' => [
+ 'type' => 'string',
+ ],
+ 'countCondition' => [
+ 'type' => 'string',
+ ],
+ 'level' => [
+ 'type' => 'string',
+ ],
+ 'type' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'HasData',
+ 'HasDataCount',
+ 'HasDataMatch',
+ 'HasDataMatchCount',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'compareList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'yoyTimeUnit' => [
+ 'type' => 'string',
+ ],
+ 'yoyTimeValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'baseUnit' => [
+ 'type' => 'string',
+ ],
+ 'displayUnit' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'noDataAppendValue' => [
+ 'type' => 'string',
+ ],
+ 'noDataAlertLevel' => [
+ 'type' => 'string',
+ 'pattern' => '',
+ ],
+ 'type' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'SLS_CONDITION',
+ 'APM_CONDITION',
+ 'CMS_BASIC_CONDITION',
+ 'BASIC_CONDITION',
+ ],
+ 'pattern' => '',
+ ],
+ 'relation' => [
+ 'type' => 'string',
+ ],
+ 'escalationType' => [
+ 'type' => 'string',
+ ],
+ 'simpleEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'compositeEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'expressEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'level' => [
+ 'type' => 'string',
+ ],
+ 'times' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'rawExpression' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'noDataPolicy' => [
+ 'type' => 'string',
+ ],
+ 'oper' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'number',
+ 'format' => 'double',
+ ],
+ ],
+ ],
+ 'AlertRuleDataSource' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'dsList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'project' => [
+ 'type' => 'string',
+ ],
+ 'regionId' => [
+ 'type' => 'string',
+ ],
+ 'store' => [
+ 'type' => 'string',
+ ],
+ 'type' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'SLS_LOG_DS',
+ 'SLS_METRIC_DS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'pattern' => '',
+ ],
+ 'regionId' => [
+ 'type' => 'string',
+ ],
+ 'appType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'AlertRuleLabelFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'opt' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'AND',
+ 'OR',
+ ],
+ ],
+ 'labels' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'AlertRuleNotification' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contacts' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'customWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'dingWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'fsWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'groups' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'silenceTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'slackWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'wxWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'notifyTime' => [
+ '$ref' => '#/components/schemas/AlertRuleTimeSpan',
+ ],
+ 'dingCoolAppWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'AlertRuleNotificationFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'slackWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'wxWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'dingWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'customWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'groups' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'fsWebhooks' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'contacts' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'AlertRuleQuery' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'duration' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'expr' => [
+ 'type' => 'string',
+ ],
+ 'groupFieldList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'groupType' => [
+ 'type' => 'string',
+ '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' => '',
+ ],
+ 'timeUnit' => [
+ 'type' => 'string',
+ 'enum' => [
+ 'second',
+ 'minute',
+ 'hour',
+ 'day',
+ ],
+ 'pattern' => '',
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'apmGroupBy' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'pattern' => '',
+ ],
+ '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',
+ ],
+ 'filters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => [
+ 'type' => 'string',
+ ],
+ 'operator' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'metricSet' => [
+ 'type' => 'string',
+ ],
+ 'metric' => [
+ 'type' => 'string',
+ ],
+ 'dimensions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'serviceIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'labelFilters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ 'operator' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'entityFields' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'AlertRuleRcaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'enableRca' => [
+ 'type' => 'boolean',
+ ],
+ 'digitalEmployeeName' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'AlertRuleSend' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'notification' => [
+ '$ref' => '#/components/schemas/AlertRuleNotification',
+ ],
+ 'action' => [
+ '$ref' => '#/components/schemas/AlertRuleAction',
+ ],
+ 'sendToArms' => [
+ 'type' => 'boolean',
+ ],
+ 'notifyStrategies' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'rcaConfig' => [
+ '$ref' => '#/components/schemas/AlertRuleRcaConfig',
+ ],
+ ],
+ ],
+ 'AlertRuleSlsQueryJoin' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'deprecated' => false,
+ 'properties' => [
+ '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',
+ ],
+ 'pattern' => '',
+ ],
+ ],
+ ],
+ 'AlertRuleTimeSpan' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'dayOfWeek' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'enum' => [
+ '1',
+ '2',
+ '3',
+ '4',
+ '5',
+ '6',
+ '7',
+ ],
+ ],
+ ],
+ 'gmtOffset' => [
+ 'type' => 'string',
+ ],
+ 'startTime' => [
+ 'type' => 'string',
+ ],
+ 'endTime' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'BizTraceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'workspace' => [
+ 'type' => 'string',
+ ],
+ 'bizTraceId' => [
+ 'type' => 'string',
+ ],
+ 'bizTraceName' => [
+ 'type' => 'string',
+ ],
+ 'bizTraceCode' => [
+ 'type' => 'string',
+ ],
+ 'ruleConfig' => [
+ 'type' => 'string',
+ ],
+ 'advancedConfig' => [
+ 'type' => 'string',
+ ],
+ 'createTime' => [
+ 'type' => 'string',
+ ],
+ 'regionId' => [
+ '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',
+ ],
+ ],
+ ],
+ 'ContactForIncidentView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contactId' => [
+ 'type' => 'string',
+ ],
+ 'name' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'DataStorageItem' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'storeType' => [
+ 'type' => 'string',
+ ],
+ 'regionId' => [
+ 'type' => 'string',
+ ],
+ 'dataType' => [
+ 'type' => 'string',
+ ],
+ 'project' => [
+ 'type' => 'string',
+ ],
+ 'storeName' => [
+ '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',
+ ],
+ ],
+ ],
+ 'EntityDiscoverRule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ipMatchRule' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ipFieldKey' => [
+ 'type' => 'string',
+ ],
+ 'ipCIDR' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'instanceIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'fieldRules' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ ],
+ 'fieldKey' => [
+ 'type' => 'string',
+ ],
+ 'fieldValues' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'annotations' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ ],
+ 'tagKey' => [
+ 'type' => 'string',
+ ],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'resourceGroupId' => [
+ 'type' => 'string',
+ ],
+ 'entityTypes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'regionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ ],
+ 'tagKey' => [
+ 'type' => 'string',
+ ],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'labels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ ],
+ 'tagKey' => [
+ 'type' => 'string',
+ ],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EntityGroupBase' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'workspace' => [
+ 'type' => 'string',
+ ],
+ 'regionId' => [
+ 'type' => 'string',
+ ],
+ 'entityQueries' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'entityType' => [
+ 'type' => 'string',
+ ],
+ 'spl' => [
+ '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',
+ ],
+ 'filters' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'variableMapping' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'EventResourceForEventView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'entity' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'entityType' => [
+ 'type' => 'string',
+ ],
+ 'entityId' => [
+ 'type' => 'string',
+ ],
+ 'prop' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'tags' => [
+ 'type' => 'object',
+ ],
+ ],
+ ],
+ 'EventResourceForIncidentView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tags' => [
+ 'type' => 'string',
+ ],
+ 'probs' => [
+ 'type' => 'string',
+ ],
+ 'entityType' => [
+ 'type' => 'string',
+ ],
+ 'entityId' => [
+ 'type' => 'string',
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'FilterSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'expression' => [
+ 'type' => 'string',
+ ],
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ ],
+ 'field' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'maxItems' => 10,
+ ],
+ 'relation' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'IncidentContactStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contactId' => [
+ 'type' => 'string',
+ ],
+ 'channel' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'contactType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'IncidentEscalationPolicyForModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'type' => 'string',
+ ],
+ 'enable' => [
+ 'type' => 'boolean',
+ ],
+ 'name' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'escalationStageList' => [
+ 'type' => 'array',
+ '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',
+ ],
+ 'escalationStageList' => [
+ 'type' => 'array',
+ '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,
+ ],
+ 'notifyChannels' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/NotifyChannel',
+ ],
+ ],
+ ],
+ ],
+ 'IncidentEscalationStageStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ 'IncidentEscalationStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'searchIndex' => [
+ 'type' => 'array',
+ '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',
+ ],
+ 'resource' => [
+ 'type' => 'object',
+ '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',
+ ],
+ 'dimension' => [
+ 'type' => 'object',
+ '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',
+ ],
+ 'escalations' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/IncidentEscalationPolicyForView',
+ ],
+ ],
+ 'owners' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/ContactForIncidentView',
+ ],
+ ],
+ 'participants' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/ContactForIncidentView',
+ ],
+ ],
+ 'groupingKeys' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'relatedResources' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/EventResourceForIncidentView',
+ ],
+ ],
+ 'solution' => [
+ 'type' => 'string',
+ ],
+ 'rootCauseCategory' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'IncidentMemberStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'acknowledge' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'breakLevel' => [
+ 'type' => 'string',
+ ],
+ 'verifyTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'scheduleGroup' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contactId' => [
+ 'type' => 'string',
+ ],
+ 'name' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'IncidentNoteStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'IncidentPlanCorporationStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channel' => [
+ 'type' => 'string',
+ ],
+ 'robotId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'IncidentPlanFieldPath' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'fieldAlias' => [
+ 'type' => 'string',
+ ],
+ 'fieldPath' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'IncidentPlanStruct' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'escalationId' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'gmtModified' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'workspace' => [
+ 'type' => 'string',
+ ],
+ 'resourceFiled' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/IncidentPlanFieldPath',
+ ],
+ ],
+ 'corporation' => [
+ 'type' => 'array',
+ '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',
+ ],
+ ],
+ ],
+ 'IncidentResourceDetail' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'IncidentTimelineForView' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ 'MaintainWindowForModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ 'dayInWeek' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ 'endTimeInMinute' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'minimum' => '0',
+ 'maximum' => '1439',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'effectTimeRange' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ 'userId' => [
+ 'type' => 'string',
+ ],
+ 'effective' => [
+ 'type' => 'string',
+ ],
+ 'createTime' => [
+ 'type' => 'string',
+ ],
+ 'enable' => [
+ 'type' => 'boolean',
+ ],
+ 'startTime' => [
+ 'type' => 'string',
+ ],
+ 'endTime' => [
+ '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',
+ ],
+ ],
+ ],
+ 'MergeContactGroup' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'type' => 'string',
+ ],
+ 'gmtModified' => [
+ 'type' => 'string',
+ ],
+ 'identifier' => [
+ 'type' => 'string',
+ ],
+ 'gmtCreate' => [
+ 'type' => 'string',
+ ],
+ 'contacts' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'extend' => [
+ 'type' => 'object',
+ ],
+ 'source' => [
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'NotifyChannel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channelType' => [
+ 'type' => 'string',
+ ],
+ 'receivers' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'enabledSubChannels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'NotifyStrategyForModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ 'customTemplateEntries' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'targetType' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'templateUuid' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'enableIncidentManagement' => [
+ 'type' => 'boolean',
+ ],
+ 'filterSetting' => [
+ '$ref' => '#/components/schemas/FilterSetting',
+ ],
+ 'workspaceFilterSetting' => [
+ '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ ],
+ 'pushingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => [
+ 'type' => 'string',
+ ],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'repeatNotifySetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'endIncidentState' => [
+ 'type' => 'string',
+ ],
+ 'repeatInterval' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'autoRecoverSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'escalationId' => [
+ 'type' => 'array',
+ 'items' => [
+ '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',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'repeatNotifySetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'endIncidentState' => [
+ 'type' => 'string',
+ ],
+ 'repeatInterval' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ 'autoRecoverSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'syncFromType' => [
+ 'type' => 'string',
+ ],
+ 'receiverNames' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'incidentEscalationPolicies' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'any',
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ 'PushingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => [
+ 'type' => 'string',
+ ],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'RepeatNotifySetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'endIncidentState' => [
+ 'type' => 'string',
+ ],
+ 'repeatInterval' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'RumDnsResponse' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'result' => [
+ 'type' => 'boolean',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'responsePlanId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'workspaceFilterSetting' => [
+ '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ ],
+ ],
+ ],
+ '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',
+ ],
+ 'pushingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => [
+ 'type' => 'string',
+ ],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'responsePlanId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'syncFromType' => [
+ 'type' => 'string',
+ ],
+ 'workspaceFilterSetting' => [
+ '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ ],
+ ],
+ ],
+ 'Tag' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'maxLength' => 128,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'maxLength' => 256,
+ ],
+ ],
+ ],
+ 'TransformAction' => [
+ 'type' => 'object',
+ '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',
+ ],
+ ],
+ ],
+ '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,
+ ],
+ 'actions' => [
+ 'type' => 'array',
+ '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',
+ ],
+ 'updateTime' => [
+ 'type' => 'string',
+ ],
+ 'transformerName' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'actions' => [
+ 'type' => 'array',
+ 'items' => [
+ '$ref' => '#/components/schemas/TransformAction',
+ ],
+ ],
+ 'userId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'WorkspaceFilterSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tagSelector' => [
+ '$ref' => '#/components/schemas/FilterSetting',
+ ],
+ 'workspaceUuids' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'apis' => [
+ 'PutWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'ListWorkspaces' => [
+ 'path' => '/workspace',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ '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,
+ 'minimum' => '0',
+ 'maximum' => '200',
+ ],
+ ],
+ [
+ 'name' => 'workspaceNameList',
+ 'in' => 'query',
+ 'style' => 'simple',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'CreateCloudResource' => [
+ 'path' => '/cloudresource',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'GetCloudResource' => [
+ 'path' => '/cloudresource',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'from',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'to',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteCloudResource' => [
+ 'path' => '/cloudresource',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'CreateEntityStore' => [
+ 'path' => '/workspace/{workspaceName}/entitystore',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetEntityStore' => [
+ 'path' => '/workspace/{workspaceName}/entitystore',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetEntityStoreData' => [
+ 'path' => '/workspace/{workspace}/entitiesAndRelations',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'acceptEncoding',
+ 'in' => 'header',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'from' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'query' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'to' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteEntityStore' => [
+ 'path' => '/workspace/{workspaceName}/entitystore',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ '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' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'description' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'description' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ [
+ 'name' => 'method',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'content' => [
+ 'type' => 'any',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpsertUmodelData' => [
+ 'path' => '/workspace/{workspace}/umodel/data',
+ 'methods' => [
+ 'patch',
+ ],
+ '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,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'elements' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'any',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteUmodelData' => [
+ 'path' => '/workspace/{workspace}/umodel/data',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'domain',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'kind',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'GetUmodelCommonSchemaRef' => [
+ 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'UpsertUmodelCommonSchemaRef' => [
+ 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
+ 'methods' => [
+ 'patch',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'CreateChat' => [
+ 'path' => '/chat',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/octet-stream',
+ ],
+ 'produces' => [
+ 'application/octet-stream',
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateDigitalEmployee' => [
+ 'path' => '/digital-employee',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetDigitalEmployee' => [
+ 'path' => '/digital-employee/{name}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateDigitalEmployee' => [
+ 'path' => '/digital-employee/{name}',
+ 'methods' => [
+ 'patch',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListDigitalEmployees' => [
+ 'path' => '/digital-employee',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'maximum' => '100',
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'employeeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'system',
+ 'custom',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'displayName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ '$ref' => '#/components/schemas/Tag',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteDigitalEmployee' => [
+ 'path' => '/digital-employee/{name}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'CreateThread' => [
+ 'path' => '/digitalEmployee/{name}/thread',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetThread' => [
+ 'path' => '/digitalEmployee/{name}/thread/{threadId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'threadId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetThreadData' => [
+ 'path' => '/digitalEmployee/{name}/thread/{threadId}/data',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'threadId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListThreads' => [
+ 'path' => '/digitalEmployee/{name}/threads',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'threadId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'filter',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateThread' => [
+ 'path' => '/digitalEmployee/{name}/thread/{threadId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'threadId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'title' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'status' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'active',
+ 'archived',
+ 'failed',
+ 'suspended',
+ 'cancelled',
+ 'unknown',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteThread' => [
+ 'path' => '/digitalEmployee/{name}/thread/{threadId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'threadId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateIntegrationPolicy' => [
+ 'path' => '/integration-policies/{integrationPolicyId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'integrationPolicyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteIntegrationPolicy' => [
+ 'path' => '/integration-policies/{policyId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'force',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'CreateIntegrationPolicy' => [
+ 'path' => '/integration-policies',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'releaseName',
+ 'in' => 'path',
+ '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',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyStorageRequirements' => [
+ 'path' => '/integration-policies/{policyId}/storage-requirements',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyPodMonitors' => [
+ 'path' => '/integration-policies/{policyId}/pod-monitors',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyDashboards' => [
+ 'path' => '/integration-policies/{policyId}/dashboards',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'addonName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'scene',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'zh',
+ 'en',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyCustomScrapeJobRules' => [
+ 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'encryptYaml',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicies' => [
+ 'path' => '/integration-policies',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'policyName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'policyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'addonName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'filterRegionIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ '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,
+ ],
+ ],
+ [
+ 'name' => 'entityGroupIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'bindResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListAddonReleases' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetIntegrationPolicy' => [
+ 'path' => '/integration-policies/{policyId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'releaseName',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'releaseName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'force',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'addonName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'CreateAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ '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' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetServiceObservability' => [
+ 'path' => '/workspace/{workspace}/service-observability/{type}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ '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' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'displayName' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'description' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'attributes' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'serviceStatus' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GetService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'CreateService' => [
+ 'path' => '/workspace/{workspace}/service',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'workspace',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'ListServices' => [
+ 'path' => '/workspace/{workspace}/services',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ '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' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreatePrometheusVirtualInstance' => [
+ 'path' => '/virtual-instances',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListPrometheusVirtualInstances' => [
+ 'path' => '/virtual-instances',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'GetAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ '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' => 'groupId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'CreateAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ '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' => 'overrideIfExists',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAggTaskGroupStatus' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'status' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'Running',
+ 'Stopped',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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',
+ 'schema' => [
+ 'type' => 'object',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAggTaskGroups' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
+ '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' => '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' => 'targetPrometheusId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'maximum' => '100',
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'maxLength' => 128,
+ ],
+ ],
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'DeletePrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeletePrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusViewId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetPrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusInstanceId',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetPrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'UpdatePrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusViewId',
+ 'in' => 'path',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdatePrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'path',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListPrometheusViews' => [
+ 'path' => '/prometheus-views',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusViewIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'prometheusViewName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'V1',
+ 'V2',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'filterRegionIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'maximum' => '100',
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'maxLength' => 128,
+ ],
+ ],
+ ],
+ ],
+ 'ListPrometheusInstances' => [
+ 'path' => '/prometheus-instances',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusInstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'prometheusInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'V1',
+ 'V2',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'resourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [],
+ ],
+ ],
+ [
+ 'name' => 'filterRegionIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'maximum' => '100',
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'maxLength' => 128,
+ ],
+ ],
+ ],
+ ],
+ 'CreatePrometheusInstance' => [
+ 'path' => '/prometheus-instances',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreatePrometheusView' => [
+ 'path' => '/prometheus-views',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ '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' => 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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'FC',
+ 'MNS',
+ 'OPEN_API',
+ 'SLS',
+ 'ESS',
+ 'PAGER_DUTY',
+ 'WEBHOOK',
+ 'EB',
+ 'FC3',
+ ],
+ ],
+ ],
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateSubscription' => [
+ 'path' => '/subscriptions/{subscriptionId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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/SubscriptionForModify',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'subscriptionId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ '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' => '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteAlertWebhooks' => [
+ 'path' => '/webhooks',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'webhookIds',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ListAlertWebhooks' => [
+ 'path' => '/webhooks',
+ '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' => 'webhookIds',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateAlertWebhook' => [
+ 'path' => '/webhook/{webhookId}',
+ 'methods' => [
+ 'patch',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'webhookId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ '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' => false,
+ ],
+ 'url' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdateNotifyStrategy' => [
+ 'path' => '/notifyStrategies/{notifyStrategyId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ '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' => 'accessTokenExpirationTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'TagResources' => [
+ 'path' => '/tags',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'resourceType' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'resourceId' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 50,
+ ],
+ 'tag' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ '$ref' => '#/components/schemas/Tag',
+ 'required' => false,
+ ],
+ 'maxItems' => 20,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UntagResources' => [
+ 'path' => '/tags',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'tagKey',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'all',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListTagResources' => [
+ 'path' => '/tags',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'tag',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ '$ref' => '#/components/schemas/Tag',
+ 'required' => false,
+ ],
+ ],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ChangeResourceGroup' => [
+ 'path' => '/resourcegroup',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'resourceType' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'resourceId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'resourceGroupId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeRegions' => [
+ 'path' => '/regions',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'product',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'prometheus',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'service',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'prometheus',
+ 'prometheusgb',
+ 'promethues',
+ 'ackpro',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateBizTrace' => [
+ 'path' => '/bizTrace',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateServiceObservability' => [
+ 'path' => '/workspace/{workspace}/service-observability/{type}',
+ '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' => 'type',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'DeleteBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'bizTraceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'GetAddon' => [
+ 'path' => '/addons/{addonName}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'addonName',
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetAddonCodeTemplate' => [
+ 'path' => '/addons/{addonName}/alert-code-template',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetAddonSchema' => [
+ 'path' => '/addons/{addonName}/schema',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'GetBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'bizTraceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'GetIntegrationVersionForCS' => [
+ 'path' => '/integration-version/cs',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'clusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'clusterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'GetPrometheusUserSetting' => [
+ 'path' => '/prometheus-user-setting',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListAddons' => [
+ 'path' => '/addons',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'ListBizTraces' => [
+ 'path' => '/bizTraces',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyAddons' => [
+ 'path' => '/integration-policies/{policyId}/addons',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyCollectors' => [
+ 'path' => '/integration-policies/{policyId}/collectors',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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' => 'collectorType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ListIntegrationPolicyServiceMonitors' => [
+ 'path' => '/integration-policies/{policyId}/service-monitors',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ 'UpdateBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ '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,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UpdatePrometheusUserSetting' => [
+ 'path' => '/prometheus-user-setting/{settingKey}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'settingKey',
+ 'in' => 'path',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'settingValue',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+];