summaryrefslogtreecommitdiff
path: root/data/cms
diff options
context:
space:
mode:
Diffstat (limited to 'data/cms')
-rw-r--r--data/cms/2015-04-20/api-docs.php274
-rw-r--r--data/cms/2015-08-01/api-docs.php579
-rw-r--r--data/cms/2015-10-20/api-docs.php416
-rw-r--r--data/cms/2016-03-18/api-docs.php416
-rw-r--r--data/cms/2016-09-22/api-docs.php713
-rw-r--r--data/cms/2017-03-01/api-docs.php808
-rw-r--r--data/cms/2017-08-24/api-docs.php374
-rw-r--r--data/cms/2018-03-08/api-docs.php2739
-rw-r--r--data/cms/2019-01-01/api-docs.php12235
-rw-r--r--data/cms/2024-03-30/api-docs.php12138
10 files changed, 10354 insertions, 20338 deletions
diff --git a/data/cms/2015-04-20/api-docs.php b/data/cms/2015-04-20/api-docs.php
deleted file mode 100644
index 2daf1e1..0000000
--- a/data/cms/2015-04-20/api-docs.php
+++ /dev/null
@@ -1,274 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2015-04-20',
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'DescribeMetricDatum' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => true,
- 'parameters' => [
- [
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'MetricName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Dimensions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Statistics',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GroupName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
- ],
-];
diff --git a/data/cms/2015-08-01/api-docs.php b/data/cms/2015-08-01/api-docs.php
deleted file mode 100644
index 7cf54d1..0000000
--- a/data/cms/2015-08-01/api-docs.php
+++ /dev/null
@@ -1,579 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2015-08-01',
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'BatchPutDimTableData' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'DimTableName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Body',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'BatchQueryMetric' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Project',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Metric',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Dimensions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Extend',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Filter',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DescribeMetricList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Project',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Metric',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Dimensions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetMetricStatistics' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MetricName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Interval',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Dimensions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ListProject' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'ProjectOwner',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'QueryMetric' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Project',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Metric',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Dimensions',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Extend',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
- ],
-];
diff --git a/data/cms/2015-10-20/api-docs.php b/data/cms/2015-10-20/api-docs.php
index 87d5bea..3fe170c 100644
--- a/data/cms/2015-10-20/api-docs.php
+++ b/data/cms/2015-10-20/api-docs.php
@@ -1,22 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2015-10-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2015-10-20'],
'components' => [
'schemas' => [],
],
'apis' => [
'DescribeMetricDatum' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26,94 +17,58 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Extend',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PutDimTableData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -123,37 +78,23 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DimTableName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Body',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetric' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -163,93 +104,58 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Extend',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -259,254 +165,104 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2016-03-18/api-docs.php b/data/cms/2016-03-18/api-docs.php
index dd089fc..21ebf52 100644
--- a/data/cms/2016-03-18/api-docs.php
+++ b/data/cms/2016-03-18/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2016-03-18',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2016-03-18'],
'components' => [
'schemas' => [],
],
'apis' => [
'PutDimTableData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,37 +17,23 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DimTableName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Body',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryEvent' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -67,101 +43,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EventName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Filter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'QueryMetricLast' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -171,93 +109,58 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -267,246 +170,99 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2016-09-22/api-docs.php b/data/cms/2016-09-22/api-docs.php
index 10ca522..b6fd390 100644
--- a/data/cms/2016-09-22/api-docs.php
+++ b/data/cms/2016-09-22/api-docs.php
@@ -1,22 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2016-09-22',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2016-09-22'],
'components' => [
'schemas' => [],
],
'apis' => [
'GetMetricStatistics' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -26,88 +17,53 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'GetMetrics' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -117,37 +73,23 @@
[
'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricStreamName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListMetrics' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -157,55 +99,33 @@
[
'name' => 'ProjectName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricStreamName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
'NodeAgentVersion' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -214,13 +134,8 @@
'parameters' => [],
],
'NodeInstall' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -230,37 +145,23 @@
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'NodeStatus' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -270,22 +171,13 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'PutDimTableData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -295,37 +187,23 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DimTableName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Body',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryEvent' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -335,101 +213,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EventName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Filter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'QueryMetric' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -439,93 +279,58 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Extend',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricLast' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -535,101 +340,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -639,101 +406,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricTop' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -743,254 +472,104 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Orderby',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2017-03-01/api-docs.php b/data/cms/2017-03-01/api-docs.php
index 1d93549..037dfec 100644
--- a/data/cms/2017-03-01/api-docs.php
+++ b/data/cms/2017-03-01/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2017-03-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2017-03-01'],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,148 +17,88 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -178,30 +108,18 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DescribeAlarms' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -211,102 +129,63 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertState',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NameKeyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DisableAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -316,30 +195,18 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'EnableAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -349,30 +216,18 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'ListAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -382,88 +237,53 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'ListAlarmHistory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -473,62 +293,38 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'NodeInstall' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -538,37 +334,23 @@
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'NodeStatus' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -578,21 +360,13 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'NodeStatusList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -602,21 +376,13 @@
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'PutCustomMetric' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -626,21 +392,13 @@
[
'name' => 'MetricList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricLast' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -651,101 +409,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricList' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -755,102 +475,63 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UpdateAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -860,284 +541,119 @@
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2017-08-24/api-docs.php b/data/cms/2017-08-24/api-docs.php
deleted file mode 100644
index 55efb96..0000000
--- a/data/cms/2017-08-24/api-docs.php
+++ /dev/null
@@ -1,374 +0,0 @@
-<?php return [
- 'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2017-08-24',
- ],
- 'components' => [
- 'schemas' => [],
- ],
- 'apis' => [
- 'CreateTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'alertName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'taskId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'clientIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'taskType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'taskName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'taskState',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'agentGroup',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'agentType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'reportProject',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'address',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'interval',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'endTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ispCity',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'options',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'alertInfo',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'alertRule',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ip',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetAgentIspTrend' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'taskIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'startTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'endTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'taskType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
- ],
-];
diff --git a/data/cms/2018-03-08/api-docs.php b/data/cms/2018-03-08/api-docs.php
index f5e6699..cf4b27f 100644
--- a/data/cms/2018-03-08/api-docs.php
+++ b/data/cms/2018-03-08/api-docs.php
@@ -1,23 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2018-03-08',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2018-03-08'],
'components' => [
'schemas' => [],
],
'apis' => [
'QueryMetricLast' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -27,94 +17,58 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricMeta' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -124,56 +78,33 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'QueryMetricList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -183,86 +114,53 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'AccessKeyGet' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -272,23 +170,13 @@
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
'AddMyGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -298,31 +186,18 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'Instances',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -332,148 +207,88 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'CreateMonitoringTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -483,70 +298,43 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'AlertTemplatesJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SystemEventTemplates',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProcessMonitorTemplates',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'HostAvailabilityTemplate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateMyGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -556,63 +344,38 @@
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'BindUrl',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Options',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -622,94 +385,58 @@
[
'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IspCity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Options',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertRule',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'caller',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IntervalUnit',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -719,22 +446,13 @@
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteCustomMetric' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -744,48 +462,28 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Md5',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UUID',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteMetricRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'delete',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'delete', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -795,10 +493,7 @@
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TargetIds',
@@ -807,23 +502,15 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'maxItems' => 5,
],
],
],
],
'DeleteMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -837,23 +524,15 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'maxItems' => 100,
],
],
],
],
'DeleteMyGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -863,47 +542,28 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'InstanceIdList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DeleteMyGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -913,23 +573,13 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
'DeleteTasks' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -939,31 +589,18 @@
[
'name' => 'TaskIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'IsDeleteAlarms',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'DescribeAlarmHistory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -973,120 +610,73 @@
[
'name' => 'AlertName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Ascending',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'OnlyCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'DescribeAlarms' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1096,102 +686,63 @@
[
'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertState',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NameKeyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeAlarmsForResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1201,78 +752,48 @@
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertState',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DescribeAlertHistoryList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1282,120 +803,73 @@
[
'name' => 'AlertName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Ascending',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'OnlyCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'DescribeContact' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1405,22 +879,13 @@
[
'name' => 'ContactName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DescribeISPAreaCity' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1430,30 +895,18 @@
[
'name' => 'Isp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'City',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeMetricRuleList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1463,94 +916,58 @@
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertState',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'RuleIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeTaskDetail' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1560,22 +977,13 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'DescribeTasks' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1585,56 +993,33 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'DisableAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1644,22 +1029,13 @@
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'EnableAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1669,22 +1045,13 @@
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetContacts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1694,22 +1061,13 @@
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetMonitoringTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1719,30 +1077,18 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetMyGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1752,63 +1098,38 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SelectContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BindUrl',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1818,80 +1139,48 @@
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'ListAlarmHistory' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1901,55 +1190,33 @@
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListContactGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1959,33 +1226,18 @@
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'ListEventRules' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1995,46 +1247,28 @@
[
'name' => 'NamePrefix',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListMyGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2044,73 +1278,43 @@
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Total',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ListMyGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2120,80 +1324,48 @@
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SelectContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'BindUrls',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'ModifyTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2203,94 +1375,58 @@
[
'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IspCity',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Options',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertRule',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'caller',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'IntervalUnit',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'NodeList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2300,89 +1436,53 @@
[
'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'HostName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SerialNumbers',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'NodeProcessCreate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2392,54 +1492,33 @@
[
'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProcessUser',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Command',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'NodeProcesses' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2449,22 +1528,13 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'NodeStatusList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2474,22 +1544,13 @@
[
'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'NodeUninstall' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2499,22 +1560,13 @@
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PutCustomMetric' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2524,22 +1576,13 @@
[
'name' => 'MetricList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PutEvent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2549,23 +1592,13 @@
[
'name' => 'EventInfo',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'PutEventRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2575,18 +1608,12 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EventType',
@@ -2594,19 +1621,13 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'SYSTEM',
- 'BUSSINESS',
- ],
+ 'enum' => ['SYSTEM', 'BUSSINESS'],
],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'State',
@@ -2614,10 +1635,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'ENABLED',
- 'DISABLED',
- ],
+ 'enum' => ['ENABLED', 'DISABLED'],
],
],
[
@@ -2634,41 +1652,26 @@
'EventTypeList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 5,
],
'StatusList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 5,
],
- 'Product' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Product' => ['type' => 'string', 'required' => false],
'LevelList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 5,
],
'NameList' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 50,
],
],
@@ -2679,15 +1682,8 @@
],
],
'PutEventTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2697,10 +1693,7 @@
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'FcParameters',
@@ -2713,22 +1706,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'FunctionName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ServiceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'FunctionName' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'ServiceName' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 5,
@@ -2745,18 +1726,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ContactGroupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'ContactGroupName' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 5,
@@ -2773,18 +1745,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Queue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'Queue' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 5,
@@ -2801,22 +1764,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Url' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Method' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Protocol' => ['type' => 'string', 'required' => false],
+ 'Url' => ['type' => 'string', 'required' => false],
+ 'Method' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 5,
@@ -2833,22 +1784,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'LogStore' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Project' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'LogStore' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'Project' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 5,
@@ -2857,15 +1796,8 @@
],
],
'PutMetricRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2875,18 +1807,12 @@
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Actions',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Targets',
@@ -2898,17 +1824,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string'],
],
],
'maxItems' => 5,
@@ -2917,15 +1835,8 @@
],
],
'PutResourceMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2935,218 +1846,133 @@
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NoEffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EmailSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Critical.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Critical.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Critical.Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Critical.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Escalations.Warn.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Warn.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Warn.Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Warn.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Escalations.Info.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Info.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Info.Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Escalations.Info.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'QueryCustomMetricList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3156,62 +1982,38 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Md5',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3221,78 +2023,48 @@
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryMetricTop' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3302,94 +2074,58 @@
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Orderby',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'OrderDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryProjectMeta' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3399,40 +2135,23 @@
[
'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'QueryStaticsAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3442,30 +2161,18 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TimeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QueryStaticsResponseTime' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3475,30 +2182,18 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'TimeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QuerySystemEventCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3508,22 +2203,13 @@
[
'name' => 'QueryJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'QuerySystemEventDemo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3533,30 +2219,18 @@
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EventName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'QueryTaskConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3565,14 +2239,8 @@
'parameters' => [],
],
'QueryTaskMonitorData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3582,79 +2250,48 @@
[
'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'metricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'TaskConfigList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3664,58 +2301,33 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
'UpdateAlarm' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3725,132 +2337,78 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
'UpdateMonitoringTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3860,79 +2418,48 @@
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'AlertTemplatesJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'RestVersion',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'SystemEventTemplates',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ProcessMonitorTemplates',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'HostAvailabilityTemplate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'GetLogColumnTranslateResult' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3943,27 +2470,18 @@
[
'name' => 'ColumnValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'TranslateConfig',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'GetLineSplitResult' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3974,49 +2492,33 @@
[
'name' => 'SplitType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Line',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Prefix',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'SelectContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Regex',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'DeleteHybridDoubleWrite' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4027,31 +2529,18 @@
[
'name' => 'SourceUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'SourceNamespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'CreateHybridDoubleWrite' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4062,47 +2551,28 @@
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'SourceUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
'name' => 'SourceNamespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
'DescribeHybridDoubleWrite' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4113,198 +2583,69 @@
[
'name' => 'SourceNamespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'SourceUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TargetUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'TargetNamespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2019-01-01/api-docs.php b/data/cms/2019-01-01/api-docs.php
index c26efae..da47697 100644
--- a/data/cms/2019-01-01/api-docs.php
+++ b/data/cms/2019-01-01/api-docs.php
@@ -1,1079 +1,51 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2019-01-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2019-01-01'],
'components' => [
'schemas' => [
- 'AlertEvent' => [
- 'type' => 'object',
- 'properties' => [
- 'TraceId' => [
- 'type' => 'string',
- ],
- 'DeDupId' => [
- 'type' => 'string',
- ],
- 'AlertStatus' => [
- 'type' => 'string',
- ],
- 'Source' => [
- 'type' => 'string',
- ],
- 'Severity' => [
- 'type' => 'string',
- ],
- 'ResourceInfo' => [
- 'type' => 'object',
- ],
- 'CustomLabels' => [
- 'type' => 'object',
- ],
- 'Details' => [
- 'type' => 'string',
- ],
- 'AlertName' => [
- 'type' => 'string',
- ],
- 'RuleName' => [
- 'type' => 'string',
- ],
- 'EventName' => [
- 'type' => 'string',
- ],
- 'Summary' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'Timestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Expression' => [
- 'type' => 'string',
- ],
- 'Metrics' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'MetricNameEn' => [
- 'type' => 'string',
- ],
- 'Unit' => [
- 'type' => 'string',
- ],
- 'MetricName' => [
- 'type' => 'string',
- ],
- 'Threshold' => [
- 'type' => 'string',
- ],
- 'UnitFactor' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'Operator' => [
- 'type' => 'string',
- ],
- 'CurValue' => [
- 'type' => 'string',
- ],
- 'Statistics' => [
- 'type' => 'string',
- ],
- 'MetricNameZh' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'Content' => [
- 'type' => 'string',
- ],
- 'EventType' => [
- 'type' => 'string',
- ],
- 'Product' => [
- 'type' => 'string',
- ],
- 'Arn' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'AlertStrategyRelation' => [
- 'type' => 'object',
- 'properties' => [
- 'AlertName' => [
- 'type' => 'string',
- ],
- 'StrategyUuid' => [
- 'type' => 'string',
- ],
- ],
- ],
'Dimension' => [
'type' => 'object',
'properties' => [
- 'Label' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'EscalationRule' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'Escalations' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EscalateMin' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ContactGroups' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'ContactGroupsByLevel' => [
- 'type' => 'object',
- 'properties' => [
- 'Critical' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Error' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Warning' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Info' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Resolve' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'BackupContactGroups' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'maxItems' => 6,
- ],
- ],
- ],
- 'Incident' => [
- 'type' => 'object',
- 'properties' => [
- 'IncidentId' => [
- 'type' => 'string',
- ],
- 'GroupingId' => [
- 'type' => 'string',
- ],
- 'GroupingKey' => [
- 'type' => 'string',
- ],
- 'GroupingData' => [
- 'type' => 'object',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'Severity' => [
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'EndTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ActionTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'IncidentStatus' => [
- 'type' => 'string',
- ],
- 'AlertCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'StrategyUuid' => [
- 'type' => 'string',
- ],
+ 'Label' => ['type' => 'string'],
+ 'Value' => ['type' => 'string'],
],
],
'Matcher' => [
'type' => 'object',
'properties' => [
- 'Value' => [
- 'type' => 'string',
- ],
- 'Label' => [
- 'type' => 'string',
- ],
- 'Operator' => [
- 'type' => 'string',
- ],
+ 'Value' => ['type' => 'string'],
+ 'Label' => ['type' => 'string'],
+ 'Operator' => ['type' => 'string'],
],
],
'MetricStat' => [
'type' => 'object',
'properties' => [
- 'Namespace' => [
- 'type' => 'string',
- ],
- 'Metric' => [
- 'type' => 'string',
- ],
- 'Period' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Timestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Namespace' => ['type' => 'string'],
+ 'Metric' => ['type' => 'string'],
+ 'Period' => ['type' => 'integer', 'format' => 'int32'],
+ 'Timestamp' => ['type' => 'integer', 'format' => 'int64'],
'Dimensions' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Dimension',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Dimension'],
],
'Associated' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'Measurements' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'any',
- ],
- ],
- 'LogTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- 'MigrationJob' => [
- 'type' => 'object',
- 'properties' => [
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'RuleNames' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Detail' => [
- 'type' => 'string',
- ],
- 'JobStatus' => [
- 'type' => 'string',
- ],
- 'Source' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Rule' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'KeywordFilter' => [
- 'type' => 'object',
- 'properties' => [
- 'Relation' => [
- 'type' => 'string',
- ],
- 'Keywords' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'PrimaryFilters' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- ],
- 'OpType' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Targets' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Content' => [
- 'type' => 'object',
- 'properties' => [
- 'Level' => [
- 'type' => 'string',
- ],
- 'Group' => [
- 'type' => 'string',
- ],
- 'Method' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
- 'Region' => [
- 'type' => 'string',
- ],
- 'ResourcePath' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Plan' => [
- 'type' => 'object',
- 'properties' => [
- 'Subscriptions' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'StrategyUuid' => [
- 'type' => 'string',
- ],
- 'Conditions' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- ],
- 'Op' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Strategies' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'EscalationSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'escalationUuid' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'PushingSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'TargetUuids' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Escalations' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Escalations' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Groups' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'LevelGroups' => [
- 'type' => 'object',
- 'properties' => [
- 'Critical' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Warning' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Info' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Resolved' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Targets' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'HttpRequestTarget' => [
- 'type' => 'object',
- 'properties' => [
- 'Method' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
- 'ContentType' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'Arn' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'Contacts' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Channels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'Level' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'Groups' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- ],
- 'Contacts' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- 'RuleNames' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'NotificationStrategy' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'FilterSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'WhiteList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Op' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- 'BlackList' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Op' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- ],
- ],
- 'GroupingSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'GroupingItems' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Keys' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- 'SilenceSec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'PeriodMin' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'EnableRawAlertDispatching' => [
- 'type' => 'boolean',
- ],
- ],
- ],
- 'EscalationSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'Range' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EscalationLevel' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EscalationUuid' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'AutoResolveMin' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'RetriggerMin' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'CustomChannels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ChannelType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'TemplateUuid' => [
- 'type' => 'string',
- ],
- 'Severities' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'maxItems' => 20,
- ],
- ],
- ],
- 'PushingSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'TemplateUuid' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Range' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TargetUuids' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- ],
- 'maxItems' => 20,
- ],
- 'PushingDataFormat' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'RouteSetting' => [
- 'type' => 'object',
- 'properties' => [
- 'Routes' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Conditions' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- ],
- 'Op' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'EscalationUuid' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'Product' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'NotificationTemplate' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'Type' => [
- 'type' => 'string',
- ],
- 'WraperType' => [
- 'type' => 'string',
- ],
- 'ZhTitle' => [
- 'type' => 'string',
- ],
- 'EnTitle' => [
- 'type' => 'string',
- ],
- 'ZhContent' => [
- 'type' => 'string',
- ],
- 'EnContent' => [
- 'type' => 'string',
- ],
- 'ZhItemContent' => [
- 'type' => 'string',
- ],
- 'EnItemContent' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'PushingTarget' => [
- 'type' => 'object',
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'UserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'TemplateUuid' => [
- 'type' => 'string',
- ],
- 'HttpRequestTarget' => [
- 'type' => 'object',
- 'properties' => [
- 'EncryptTimestampKey' => [
- 'type' => 'string',
- ],
- 'EncryptString' => [
- 'type' => 'string',
- ],
- 'ContentType' => [
- 'type' => 'string',
- ],
- 'EncryptSignatureKey' => [
- 'type' => 'string',
- ],
- 'Headers' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'type' => 'string',
- ],
- 'Key' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- 'Method' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'Range' => [
- 'type' => 'string',
- ],
- 'Arn' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'Subscription' => [
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'Uuid' => [
- 'type' => 'string',
- ],
- 'CreateTime' => [
- 'type' => 'string',
- ],
- 'UpdateTime' => [
- 'type' => 'string',
- ],
- 'StrategyUuid' => [
- 'type' => 'string',
- ],
- 'Conditions' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Field' => [
- 'type' => 'string',
- ],
- 'Operator' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- 'Relation' => [
- 'type' => 'string',
- ],
- 'Enabled' => [
- 'type' => 'boolean',
- ],
- 'Product' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'any'],
],
+ 'LogTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
],
'apis' => [
- 'CreateMonitorGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'GroupName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ContactGroups',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ModifyMonitorGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddTags' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1081,66 +53,39 @@
],
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => true],
+ 'Value' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'GroupName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ContactGroups',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DeleteMonitorGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'GroupId',
+ 'name' => 'GroupIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DescribeMonitorGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ApplyMetricRuleTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1148,171 +93,64 @@
],
'parameters' => [
[
- 'name' => 'SelectContactGroups',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GroupName',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'IncludeTemplateHistory',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Type',
+ 'name' => 'TemplateIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'custom',
- 'ehpc_cluster',
- 'kubernetes',
- 'tag',
- 'aone_group',
- 'resMgr',
- 'ess',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'DynamicTagRuleId',
+ 'name' => 'EnableStartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'GroupFounderTagKey',
+ 'name' => 'EnableEndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'GroupFounderTagValue',
+ 'name' => 'NotifyLevel',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'ApplyMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Tag',
+ 'name' => 'Webhook',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Types',
+ 'name' => 'AppendMode',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateMonitorGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchCreateInstantSiteMonitor' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Instances',
+ 'name' => 'TaskList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
@@ -1322,55 +160,31 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'InstanceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'RegionId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Address' => ['type' => 'string', 'required' => false],
+ 'IspCities' => ['type' => 'string', 'required' => false],
+ 'OptionsJson' => ['type' => 'string', 'required' => false],
+ 'TaskName' => ['type' => 'string', 'required' => false],
+ 'TaskType' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 2000,
+ 'minItems' => 1,
+ 'maxItems' => 200,
],
],
],
],
- 'ModifyMonitorGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchCreateOnceSiteMonitor' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => true,
'parameters' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Instances',
+ 'name' => 'TaskList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
@@ -1378,108 +192,65 @@
'required' => true,
'items' => [
'type' => 'object',
- 'required' => false,
'properties' => [
- 'InstanceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'RegionId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Address' => ['type' => 'string'],
+ 'IspCities' => ['type' => 'string'],
+ 'OptionsJson' => ['type' => 'string'],
+ 'TaskName' => ['type' => 'string'],
+ 'TaskType' => ['type' => 'string'],
],
],
- 'maxItems' => 2000,
+ 'minItems' => 1,
+ 'maxItems' => 200,
],
],
],
],
- 'DescribeMonitorGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'BatchExport' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'name' => 'Metric',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Category',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Cursor',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Length',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'InstanceIds',
- 'in' => 'query',
+ 'name' => 'Measurements',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'DescribeMonitorGroupDynamicRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateDynamicTagGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1487,284 +258,151 @@
],
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DescribeMonitorGroupInstanceAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'ContactGroupList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Total',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Category',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DeleteMonitorGroupDynamicRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'GroupId',
+ 'name' => 'MatchExpress',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'TagValueMatchFunction' => ['type' => 'string', 'required' => false],
+ 'TagValue' => ['type' => 'string', 'required' => false],
+ 'TagName' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 4,
],
],
[
- 'name' => 'Category',
+ 'name' => 'TagRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteMonitorGroupInstances' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'GroupId',
+ 'name' => 'EnableSubscribeEvent',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'InstanceIdList',
+ 'name' => 'EnableInstallAgent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Category',
+ 'name' => 'MatchExpressFilterRelation',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- ],
- 'DescribeMonitorGroupCategories' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'TemplateIdList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 10,
],
],
],
],
- 'PutMonitorGroupDynamicRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateGroupMetricRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'GroupRules',
+ 'name' => 'GroupMetricRules',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'FilterRelation' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Filters' => [
+ 'Escalations.Info.Threshold' => ['type' => 'string', 'required' => false],
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Escalations.Warn.Threshold' => ['type' => 'string', 'required' => false],
+ 'EffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'NoEffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'RuleId' => ['type' => 'string', 'required' => true],
+ 'Escalations.Critical.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Dimensions' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Threshold' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'SilenceTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'Namespace' => ['type' => 'string', 'required' => true],
+ 'EmailSubject' => ['type' => 'string', 'required' => false],
+ 'Period' => ['type' => 'string', 'required' => false],
+ 'RuleName' => ['type' => 'string', 'required' => true],
+ 'Escalations.Info.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Info.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Interval' => ['type' => 'string', 'required' => false],
+ 'Category' => ['type' => 'string', 'required' => true],
+ 'Escalations.Critical.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Statistics' => ['type' => 'string', 'required' => false],
+ 'NoDataPolicy' => ['type' => 'string', 'required' => false],
+ 'ContactGroups' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Function' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 10,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => true,
+ 'minItems' => 0,
+ 'maxItems' => 20,
],
+ 'Options' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 50,
- ],
- ],
- [
- 'name' => 'IsAsync',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'maxItems' => 200,
],
],
],
],
'CreateGroupMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1774,26 +412,17 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MatchExpressFilterRelation',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MatchExpress',
@@ -1806,18 +435,9 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Function' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Name' => ['type' => 'string', 'required' => false],
+ 'Function' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 3,
@@ -1834,42 +454,15 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'SilenceTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ComparisonOperator' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EscalationsLevel' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoEffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Threshold' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Statistics' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'SilenceTime' => ['type' => 'string', 'required' => false],
+ 'ComparisonOperator' => ['type' => 'string', 'required' => true],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'string', 'required' => true],
+ 'EscalationsLevel' => ['type' => 'string', 'required' => true],
+ 'EffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'NoEffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'Threshold' => ['type' => 'string', 'required' => true],
+ 'Statistics' => ['type' => 'string', 'required' => true],
'TargetList' => [
'type' => 'array',
'required' => false,
@@ -1877,22 +470,10 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
],
],
],
@@ -1903,15 +484,9 @@
],
],
],
- 'ModifyGroupMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1919,292 +494,151 @@
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'GroupId',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MatchExpressFilterRelation',
+ 'name' => 'TaskScope',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertConfig',
+ 'name' => 'TaskType',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SilenceTime' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ComparisonOperator' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EscalationsLevel' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoEffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Threshold' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TargetList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'maxItems' => 3,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DeleteGroupMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TaskOption.HttpURI',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'TaskOption.TelnetOrPingHost',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Id',
+ 'name' => 'TaskOption.HttpResponseCharset',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeGroupMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TaskOption.HttpPostContent',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'TaskOption.HttpResponseMatchContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ProcessName',
+ 'name' => 'TaskOption.HttpMethod',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'TaskOption.HttpNegative',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'TaskOption.HttpHeader',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateMonitorGroupNotifyPolicy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TaskOption.Interval',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'PolicyType',
+ 'name' => 'AlertConfig.NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'PauseNotify',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'GroupId',
+ 'name' => 'AlertConfig.StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'AlertConfig.EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'AlertConfig.SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'DeleteMonitorGroupNotifyPolicy' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'AlertConfig.WebHook',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'PolicyType',
+ 'name' => 'AlertConfigEscalationList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
- 'enum' => [
- 'PauseNotify',
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ 'Aggregate' => ['type' => 'string', 'required' => false],
+ ],
],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'GroupId',
+ 'name' => 'InstanceList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 1000,
+ ],
+ ],
+ [
+ 'name' => 'AlertConfigTargetList',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'DescribeMonitorGroupNotifyPolicyList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateHybridMonitorNamespace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2212,53 +646,39 @@
],
'parameters' => [
[
- 'name' => 'PolicyType',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'PauseNotify',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Spec',
'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'string',
'required' => false,
+ 'enum' => [],
],
],
[
- 'name' => 'GroupId',
+ 'name' => 'NamespaceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'NamespaceRegion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'AddTags' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateHybridMonitorSLSGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2266,54 +686,41 @@
],
'parameters' => [
[
- 'name' => 'Tag',
+ 'name' => 'SLSGroupName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GroupIds',
+ 'name' => 'SLSGroupDescription',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'SLSGroupConfig',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'SLSRegion' => ['type' => 'string', 'required' => true],
+ 'SLSProject' => ['type' => 'string', 'required' => true],
+ 'SLSLogstore' => ['type' => 'string', 'required' => true],
+ 'SLSUserId' => ['type' => 'string', 'required' => false],
+ ],
],
- 'maxItems' => 20,
+ 'minItems' => 1,
+ 'maxItems' => 30,
],
],
],
],
- 'CreateDynamicTagGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateHybridMonitorTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2321,242 +728,215 @@
],
'parameters' => [
[
- 'name' => 'TagKey',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ContactGroupList',
+ 'name' => 'Description',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MatchExpress',
+ 'name' => 'TaskName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'TagValueMatchFunction' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TagValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TagName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 3,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TagRegionId',
+ 'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableSubscribeEvent',
+ 'name' => 'CollectTargetType',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableInstallAgent',
+ 'name' => 'CollectInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MatchExpressFilterRelation',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TemplateIdList',
+ 'name' => 'YARMConfig',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AttachLabels',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Name' => ['type' => 'string', 'required' => false],
+ ],
],
'maxItems' => 10,
],
],
- ],
- ],
- 'DeleteDynamicTagGroup' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TargetUserIdList',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'DynamicTagRuleId',
+ 'name' => 'SLSProcessConfig',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Filter' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Relation' => ['type' => 'string', 'required' => false],
+ 'Filters' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Operator' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['>', '>=', '=', '<=', '<', '!=', 'contain', 'notContain'],
+ ],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Statistics' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Function' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ 'Parameter1' => ['type' => 'string', 'required' => false],
+ 'Parameter2' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GroupBy' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ ],
+ ],
+ ],
+ 'Express' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Express' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ [
+ 'name' => 'CloudAccessId',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
+ 'maxItems' => 50,
],
],
],
],
- 'DescribeTagValueList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateInstantSiteMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TagKey',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DescribeTagKeyList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'IspCities',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'OptionsJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeProductResourceTagKeyList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'RandomIspCity',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'NextToken',
+ 'name' => 'AgentGroup',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['PC', 'MOBILE'],
],
],
],
],
- 'DescribeDynamicTagRuleList' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMetricRuleBlackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2564,119 +944,79 @@
],
'parameters' => [
[
- 'name' => 'TagRegionId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TagKey',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TagValue',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'ScopeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'ScopeValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DynamicTagRuleId',
+ 'name' => 'EnableStartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'RemoveTags' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EnableEndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Tag',
+ 'name' => 'EffectiveTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Instances',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 10,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
],
[
- 'name' => 'GroupIds',
+ 'name' => 'Metrics',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Resource' => ['type' => 'string', 'required' => false],
+ ],
],
- 'maxItems' => 20,
+ 'maxItems' => 10,
],
],
],
],
- 'CreateHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMetricRuleResources' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2684,248 +1024,177 @@
],
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskName',
+ 'name' => 'Overwrite',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskScope',
+ 'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CreateMetricRuleTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TaskType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'TaskOption.HttpURI',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.TelnetOrPingHost',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.HttpResponseCharset',
+ 'name' => 'AlertTemplates',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Escalations.Info.Threshold' => ['type' => 'string', 'required' => false],
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Threshold' => ['type' => 'string', 'required' => false],
+ 'Namespace' => ['type' => 'string', 'required' => true],
+ 'Period' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'RuleName' => ['type' => 'string', 'required' => true],
+ 'Escalations.Critical.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Selector' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Info.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Category' => ['type' => 'string', 'required' => true],
+ 'Escalations.Critical.Threshold' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Warn.Statistics' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 200,
],
],
+ ],
+ ],
+ 'CreateMonitorAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TaskOption.HttpPostContent',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'TaskOption.HttpResponseMatchContent',
+ 'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.HttpMethod',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.HttpNegative',
+ 'name' => 'ProcessUser',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'CreateMonitorGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TaskOption.HttpHeader',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'TaskOption.Interval',
+ 'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertConfig.NotifyType',
+ 'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'CreateMonitorGroupByResourceGroupId' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AlertConfig.StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'AlertConfig.EndTime',
+ 'name' => 'EnableSubscribeEvent',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'AlertConfig.SilenceTime',
+ 'name' => 'EnableInstallAgent',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'AlertConfig.WebHook',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertConfigEscalationList',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Aggregate' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceList',
+ 'name' => 'ResourceGroupName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 1000,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertConfigTargetList',
+ 'name' => 'ContactGroupList',
'in' => 'query',
- 'style' => 'flat',
+ 'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DeleteHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMonitorGroupInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2933,31 +1202,35 @@
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Instances',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'InstanceName' => ['type' => 'string', 'required' => true],
+ 'Category' => ['type' => 'string', 'required' => true],
+ 'InstanceId' => ['type' => 'string', 'required' => true],
+ 'RegionId' => ['type' => 'string', 'required' => true],
+ ],
],
- 'maxItems' => 20,
+ 'maxItems' => 2000,
],
],
],
],
- 'EnableHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMonitorGroupNotifyPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2965,63 +1238,34 @@
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'PolicyType',
'in' => 'query',
- 'style' => 'repeatList',
'schema' => [
- 'type' => 'array',
+ 'type' => 'string',
'required' => true,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'maxItems' => 20,
+ 'enum' => ['PauseNotify'],
],
],
- ],
- ],
- 'DisableHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'StartTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'ModifyHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'CreateMonitoringAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3029,350 +1273,215 @@
],
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Id',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'ProcessUser',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'CreateSiteMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'TaskScope',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'TaskOption.HttpURI',
+ 'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.TelnetOrPingHost',
+ 'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.HttpResponseCharset',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskOption.HttpPostContent',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.HttpResponseMatchContent',
+ 'name' => 'IspCities',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.HttpMethod',
+ 'name' => 'OptionsJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.HttpNegative',
+ 'name' => 'AlertIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.HttpHeader',
+ 'name' => 'AgentGroup',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskOption.Interval',
+ 'name' => 'CustomSchedule',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertConfig.NotifyType',
+ 'name' => 'VpcConfig',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'Cursor' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AlertConfig.StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'AlertConfig.EndTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertConfig.SilenceTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'Metric',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertConfig.WebHook',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'Period',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'AlertConfigEscalationList',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Aggregate' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'name' => 'StartTime',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceList',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 1000,
- ],
+ 'name' => 'EndTime',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertConfigTargetList',
- 'in' => 'query',
- 'style' => 'flat',
+ 'name' => 'Matchers',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'items' => ['$ref' => '#/components/schemas/Matcher', 'required' => false],
],
],
],
],
- 'DescribeUnhealthyHostAvailability' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteContact' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'ContactName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeHostAvailabilityList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteContactGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'ContactGroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteCustomMetric' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Ids',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'TaskName',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Md5',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'UUID',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'InstallMonitoringAgent' => [
- 'methods' => [
- 'post',
- 'get',
+ 'DeleteDynamicTagGroup' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'DynamicTagRuleId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteEventRuleTargets' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3380,177 +1489,140 @@
],
'parameters' => [
[
- 'name' => 'Force',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'Ids',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 10,
- ],
- ],
- [
- 'name' => 'InstallCommand',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DescribeMonitoringAgentHosts' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteEventRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'KeyWord',
+ 'name' => 'RuleNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
+ ],
+ ],
+ 'DeleteExporterOutput' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'HostName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'InstanceIds',
+ 'name' => 'DestName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteExporterRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SerialNumbers',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteGroupMonitoringAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'InstanceRegionId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AliyunHost',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DeleteHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'SysomStatus',
+ 'name' => 'Id',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DescribeMonitoringAgentAccessKey' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteHybridMonitorNamespace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'parameters' => [],
- ],
- 'DescribeMonitoringAgentConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
+ 'parameters' => [
[
- 'AK' => [],
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
- 'parameters' => [],
],
- 'DescribeMonitoringAgentStatuses' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteHybridMonitorSLSGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3558,32 +1630,15 @@
],
'parameters' => [
[
- 'name' => 'InstanceIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'HostAvailabilityTaskId',
+ 'name' => 'SLSGroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyHostInfo' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteHybridMonitorTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3591,48 +1646,41 @@
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'HostName',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeMonitoringConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteLogMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'parameters' => [],
- ],
- 'PutMonitoringConfig' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'LogId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
],
+ ],
+ 'DeleteMetricRuleBlackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3640,32 +1688,15 @@
],
'parameters' => [
[
- 'name' => 'AutoInstall',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EnableInstallAgentNewECS',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UninstallMonitoringAgent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMetricRuleResources' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3673,24 +1704,20 @@
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMetricRuleTargets' => [
+ 'methods' => ['post', 'get', 'delete', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3698,81 +1725,82 @@
],
'parameters' => [
[
- 'name' => 'ProcessName',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'InstanceId',
+ 'name' => 'TargetIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 5,
],
],
+ ],
+ ],
+ 'DeleteMetricRuleTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ProcessUser',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateMonitorAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMetricRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'ProcessName',
+ 'name' => 'Id',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
],
+ ],
+ ],
+ 'DeleteMonitorGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'ProcessUser',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'DescribeMonitoringAgentProcesses' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMonitorGroupDynamicRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3780,24 +1808,20 @@
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteMonitoringAgentProcess' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMonitorGroupInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3805,40 +1829,25 @@
],
'parameters' => [
[
- 'name' => 'InstanceId',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'ProcessName',
+ 'name' => 'InstanceIdList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ProcessId',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeSystemEventHistogram' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteMonitorGroupNotifyPolicy' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3846,212 +1855,161 @@
],
'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'PolicyType',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['PauseNotify'],
],
],
[
- 'name' => 'EventType',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteMonitoringAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Level',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Status',
+ 'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteSiteMonitors' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SearchKeywords',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'TaskIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EndTime',
+ 'name' => 'IsDeleteAlarms',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DescribeSystemEventMetaList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeActiveMetricRuleList' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'parameters' => [],
- ],
- 'DescribeSystemEventAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DescribeAlertHistoryList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
+ 'deprecated' => true,
'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventType',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SearchKeywords',
+ 'name' => 'Ascending',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DescribeSystemEventCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAlertLogCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4059,227 +2017,100 @@
],
'parameters' => [
[
- 'name' => 'Product',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EventType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Name',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'Status',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SearchKeywords',
+ 'name' => 'SearchKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DescribeMonitorResourceQuotaAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
- [
- 'name' => 'ShowUsed',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'SendDryRunSystemEvent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
[
'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventName',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'SendStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventContent',
+ 'name' => 'ContactGroup',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeCustomEventCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventId',
+ 'name' => 'LastMin',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SearchKeywords',
+ 'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeCustomEventHistogram' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAlertLogHistogram' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4287,206 +2118,100 @@
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'EventId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SearchKeywords',
+ 'name' => 'SearchKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeCustomEventAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventId',
+ 'name' => 'SendStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'ContactGroup',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SearchKeywords',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'LastMin',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'PutCustomEvent' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EventType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'EventInfo',
+ 'name' => 'RuleId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'EventName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Time' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'GroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Content' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 50,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PutCustomMetric' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAlertLogList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4494,208 +2219,100 @@
],
'parameters' => [
[
- 'name' => 'MetricList',
+ 'name' => 'StartTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Type' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Time' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'GroupId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Values' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Dimensions' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Period' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 100,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- ],
- 'PutCustomMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'RuleId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'RuleName',
+ 'name' => 'SearchKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Resources',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ContactGroups',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Webhook',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EffectiveInterval',
+ 'name' => 'SendStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SilenceTime',
+ 'name' => 'ContactGroup',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Period',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EmailSubject',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Threshold',
+ 'name' => 'LastMin',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EvaluationCount',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Statistics',
+ 'name' => 'SourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ComparisonOperator',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeCustomMetricList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAlertingMetricRuleResources' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4703,316 +2320,214 @@
],
'parameters' => [
[
+ 'name' => 'RuleId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Dimension',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Md5',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'AlertBeforeTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteCustomMetric' => [
- 'methods' => [
- 'post',
- 'get',
+ 'DescribeContactGroupList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
+ ],
+ 'DescribeContactList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Md5',
+ 'name' => 'ContactName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'UUID',
+ 'name' => 'ChanelType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ChanelValue',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PutLogMonitor' => [
- 'methods' => [
- 'post',
- 'put',
+ 'DescribeContactListByContactGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ContactGroupName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DescribeCustomEventAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'LogId',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SlsRegionId',
+ 'name' => 'EventId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SlsProject',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SlsLogstore',
+ 'name' => 'SearchKeywords',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricExpress',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'ValueFilterRelation',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
+ ],
+ ],
+ 'DescribeCustomEventCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Tumblingwindows',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Unit',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Aggregates',
+ 'name' => 'EventId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'FieldName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Function' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Groupbys',
+ 'name' => 'GroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'FieldName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ValueFilter',
+ 'name' => 'SearchKeywords',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteLogMonitor' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'LogId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeLogMonitorList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeCustomEventHistogram' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5020,75 +2535,45 @@
],
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SearchValue',
+ 'name' => 'EventId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeLogMonitorAttribute' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'SearchKeywords',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'MetricName',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateMonitorGroupByResourceGroupId' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeCustomMetricList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5096,168 +2581,103 @@
],
'parameters' => [
[
- 'name' => 'EnableSubscribeEvent',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EnableInstallAgent',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RegionId',
+ 'name' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'Md5',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ContactGroupList',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateSiteMonitor' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeDynamicTagRuleList' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Address',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TaskType',
+ 'name' => 'TagRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskName',
+ 'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Interval',
+ 'name' => 'TagValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IspCities',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'OptionsJson',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertIds',
+ 'name' => 'DynamicTagRuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeEventRuleAttribute' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'AgentGroup',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'CustomSchedule',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'VpcConfig',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateInstantSiteMonitor' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeEventRuleList' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5266,166 +2686,72 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'Address',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TaskType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TaskName',
+ 'name' => 'NamePrefix',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IspCities',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'OptionsJson',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RandomIspCity',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AgentGroup',
+ 'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'PC',
- 'MOBILE',
- ],
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'BatchCreateInstantSiteMonitor' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeEventRuleTargetList' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'TaskList',
+ 'name' => 'RuleName',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Address' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'IspCities' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'OptionsJson' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TaskName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'TaskType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 200,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteSiteMonitors' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeExporterOutputList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'TaskIds',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'IsDeleteAlarms',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DisableSiteMonitors' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeExporterRuleList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5433,24 +2759,20 @@
],
'parameters' => [
[
- 'name' => 'TaskIds',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ModifySiteMonitor' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeGroupMonitoringAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5458,88 +2780,71 @@
],
'parameters' => [
[
- 'name' => 'Address',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskId',
+ 'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TaskName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Interval',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
+ ],
+ ],
+ 'DescribeHostAvailabilityList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'IspCities',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'OptionsJson',
+ 'name' => 'Ids',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertIds',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IntervalUnit',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'CustomSchedule',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'EnableSiteMonitors' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeHybridMonitorDataList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5547,73 +2852,35 @@
],
'parameters' => [
[
- 'name' => 'TaskIds',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DescribeSiteMonitorQuota' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PromSQL',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'parameters' => [],
- ],
- 'DescribeSiteMonitorAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Start',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
- ],
- 'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'End',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'IncludeAlert',
+ 'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeSiteMonitorISPCityList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeHybridMonitorNamespaceList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5621,56 +2888,35 @@
],
'parameters' => [
[
- 'name' => 'Isp',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'City',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'IPV6',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IPV4',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ViewAll',
+ 'name' => 'ShowTaskStatistic',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DescribeSiteMonitorData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeHybridMonitorSLSGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5678,211 +2924,133 @@
],
'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Type',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'SLSGroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeHybridMonitorTaskList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'EndTime',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Period',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NextToken',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Length',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeSiteMonitorStatistics' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TimeRange',
+ 'name' => 'IncludeAliyunTask',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'TaskType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'TargetUserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'DescribeSiteMonitorList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeLogMonitorAttribute' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'TaskType',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeLogMonitorList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Page',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TaskState',
+ 'name' => 'SearchValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AgentGroup',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'PC',
- 'MOBILE',
- 'FC',
- ],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'DescribeSiteMonitorLog' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMetricData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5890,113 +3058,50 @@
],
'parameters' => [
[
- 'name' => 'TaskIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Isp',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'City',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MetricName',
+ 'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Filter',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'BrowserInfo',
+ 'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Browser',
+ 'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Device',
+ 'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeMetricLast' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6006,86 +3111,53 @@
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeMetricList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6095,86 +3167,89 @@
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeMetricData' => [
- 'methods' => [
- 'post',
- 'get',
+ 'DescribeMetricMetaList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MetricName',
+ '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],
+ ],
],
+ ],
+ 'DescribeMetricRuleBlackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6184,78 +3259,70 @@
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Period',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'StartTime',
+ 'name' => 'Order',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Dimensions',
+ 'name' => 'Ids',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'Express',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Length',
+ 'name' => 'ScopeType',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'IsEnable',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 10,
],
],
],
],
- 'DescribeMetricMetaList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMetricRuleCount' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6265,98 +3332,80 @@
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Labels',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMetricRuleList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'DescribeProjectMeta' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'AlertState',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Labels',
+ 'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'RuleIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteExporterOutput' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMetricRuleTargets' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6364,118 +3413,89 @@
],
'parameters' => [
[
- 'name' => 'DestName',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteExporterRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMetricRuleTemplateAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeExporterOutputList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMetricRuleTemplateList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageNumber',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeExporterRuleList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
- ],
- 'parameters' => [
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'History',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'Order',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'OrderBy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DescribeMetricTop' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6485,93 +3505,58 @@
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Orderby',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'OrderDesc',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PutExporterOutput' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMonitorGroupCategories' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6579,235 +3564,153 @@
],
'parameters' => [
[
- 'name' => 'DestName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ConfigJson',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
+ ],
+ ],
+ 'DescribeMonitorGroupDynamicRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Desc',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'DestType',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
],
],
- 'PutExporterRule' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMonitorGroupInstanceAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Namespace',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TargetWindows',
+ 'name' => 'Total',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Describe',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DstNames',
+ 'name' => 'Keyword',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeAlertHistoryList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMonitorGroupInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => true,
'parameters' => [
[
- 'name' => 'RuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'RuleName',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Namespace',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'GroupId',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Status',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'State',
+ 'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMonitorGroupNotifyPolicyList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Ascending',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'PolicyType',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => ['PauseNotify'],
],
],
[
- 'name' => 'EndTime',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Page',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeAlertLogCount' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeMonitorGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6815,164 +3718,133 @@
],
'parameters' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'EndTime',
+ 'name' => 'SelectContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SearchKey',
+ 'name' => 'Keyword',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Namespace',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'GroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Product',
+ 'name' => 'IncludeTemplateHistory',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'Type',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['custom', 'ehpc_cluster', 'kubernetes', 'tag', 'aone_group', 'resMgr', 'ess'],
],
],
[
- 'name' => 'SendStatus',
+ 'name' => 'DynamicTagRuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ContactGroup',
+ 'name' => 'GroupFounderTagKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RuleName',
+ 'name' => 'GroupFounderTagValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricName',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LastMin',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'GroupBy',
+ 'name' => 'Types',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMonitorResourceQuotaAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'EventType',
+ 'name' => 'ShowUsed',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMonitoringAgentAccessKey' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
],
+ 'parameters' => [],
],
- 'DescribeAlertLogList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'DescribeMonitoringAgentConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'parameters' => [],
+ ],
+ 'DescribeMonitoringAgentHosts' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6980,164 +3852,159 @@
],
'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'KeyWord',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EndTime',
+ 'name' => 'HostName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'SerialNumbers',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SearchKey',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Namespace',
+ 'name' => 'InstanceRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Product',
+ 'name' => 'AliyunHost',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Level',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SendStatus',
+ 'name' => 'SysomStatus',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMonitoringAgentProcesses' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ContactGroup',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeMonitoringAgentStatuses' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'MetricName',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'LastMin',
+ 'name' => 'HostAvailabilityTaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeMonitoringConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'GroupBy',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [],
+ ],
+ 'DescribeProductResourceTagKeyList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeProductsOfActiveMetricRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RuleId',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [],
+ ],
+ 'DescribeProjectMeta' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Labels',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SourceType',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'EventType',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DescribeAlertLogHistogram' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSiteInstantMonitorLog' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7145,593 +4012,369 @@
],
'parameters' => [
[
- 'name' => 'StartTime',
+ 'name' => 'TaskIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EndTime',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SearchKey',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Product',
+ 'name' => 'Filter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
+ ],
+ ],
+ 'DescribeSiteMonitorAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Level',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'SendStatus',
+ 'name' => 'IncludeAlert',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
+ ],
+ ],
+ 'DescribeSiteMonitorData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ContactGroup',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'RuleName',
+ 'name' => 'Type',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LastMin',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupBy',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SourceType',
+ 'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventType',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RuleId',
+ 'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DescribeProductsOfActiveMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSiteMonitorISPCityList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'parameters' => [],
- ],
- 'DescribeActiveMetricRuleList' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
+ 'parameters' => [
[
- 'AK' => [],
+ 'name' => 'Isp',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'City',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'EnableActiveMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'IPV6',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'IPV4',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ViewAll',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DisableActiveMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSiteMonitorList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Product',
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'TaskState',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AgentGroup',
'in' => 'query',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['PC', 'MOBILE', 'FC'],
],
],
],
],
- 'CreateMetricRuleTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSiteMonitorLog' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'TaskIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Description',
+ 'name' => 'Isp',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertTemplates',
+ 'name' => 'City',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Escalations.Info.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Namespace' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Period' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'RuleName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Critical.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Selector' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Info.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Critical.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Warn.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 200,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'Filter',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'BrowserInfo',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Browser',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Device',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteMetricRuleTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'DescribeSiteMonitorQuota' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'parameters' => [],
+ ],
+ 'DescribeSiteMonitorStatistics' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'TimeRange',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ModifyMetricRuleTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSyntheticProbeList' => [
+ 'path' => '',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'TemplateId',
+ 'name' => 'Isp',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'City',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'Ipv4',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'RestVersion',
+ 'name' => 'Ipv6',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'AlertTemplates',
+ 'name' => 'ViewAll',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Escalations.Info.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetricName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Namespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Period' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'RuleName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Selector' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Info.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Warn.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 200,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'DescribeMetricRuleTemplateAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'MbProbe',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'LmProbe',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'TemplateId',
+ 'name' => 'IdcProbe',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DescribeMetricRuleTemplateList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSystemEventAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7740,83 +4383,65 @@
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'EventType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Keyword',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TemplateId',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'SearchKeywords',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'History',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Order',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'OrderBy',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ApplyMetricRuleTemplate' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSystemEventCount' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7824,373 +4449,142 @@
],
'parameters' => [
[
- 'name' => 'SilenceTime',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TemplateIds',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EnableStartTime',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EnableEndTime',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NotifyLevel',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ApplyMode',
+ 'name' => 'SearchKeywords',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Webhook',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AppendMode',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DescribeMetricRuleList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeSystemEventHistogram' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'MetricName',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EnableState',
+ 'name' => 'EventType',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Namespace',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Page',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AlertState',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Dimensions',
+ 'name' => 'SearchKeywords',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'RuleName',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeSystemEventMetaList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RuleIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
],
+ 'parameters' => [],
],
- 'CreateGroupMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeTagKeyList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'GroupId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'GroupMetricRules',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Escalations.Info.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Warn.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoEffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'RuleId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Critical.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Dimensions' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'SilenceTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Namespace' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EmailSubject' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Period' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'RuleName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Info.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Info.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Interval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Category' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Critical.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoDataPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ContactGroups' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 0,
- 'maxItems' => 20,
- ],
- 'Options' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 200,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'CreateMetricRuleResources' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeTagValueList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8198,42 +4592,25 @@
],
'parameters' => [
[
- 'name' => 'RuleId',
+ 'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Overwrite',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Resources',
+ 'name' => 'TagKey',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteMetricRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'delete',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeUnhealthyHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8241,104 +4618,60 @@
],
'parameters' => [
[
- 'name' => 'RuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TargetIds',
+ 'name' => 'Id',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 5,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DeleteMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DisableActiveMetricRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'Product',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteMetricRuleResources' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DisableEventRules' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Resources',
+ 'name' => 'RuleNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'EnableMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DisableHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8346,30 +4679,21 @@
],
'parameters' => [
[
- 'name' => 'RuleId',
+ 'name' => 'Id',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
'DisableMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8383,25 +4707,15 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'maxItems' => 100,
],
],
],
],
- 'DescribeMetricRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DisableSiteMonitors' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8409,23 +4723,15 @@
],
'parameters' => [
[
- 'name' => 'RuleId',
+ 'name' => 'TaskIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeMetricRuleCount' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'EnableActiveMetricRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8433,107 +4739,81 @@
],
'parameters' => [
[
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MetricName',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DescribeAlertingMetricRuleResources' => [
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'EnableEventRules' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'GroupId',
+ 'name' => 'RuleNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
+ ],
+ ],
+ 'EnableHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'Id',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxItems' => 20,
],
],
+ ],
+ ],
+ 'EnableMetricRuleBlackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Dimensions',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'AlertBeforeTime',
+ 'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => true],
],
],
],
- 'PutMetricRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'EnableMetricRules' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -8543,818 +4823,564 @@
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Targets',
- 'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Id' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
],
],
],
- 'PutResourceMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
+ 'EnableSiteMonitors' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'TaskIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'InstallMonitoringAgent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleId',
+ 'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'RuleName',
+ 'name' => 'InstanceIds',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'Namespace',
+ 'name' => 'InstallCommand',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ModifyGroupMonitoringAgentProcess' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'MetricName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Resources',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ContactGroups',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Webhook',
+ 'name' => 'MatchExpressFilterRelation',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EffectiveInterval',
+ 'name' => 'AlertConfig',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SilenceTime' => ['type' => 'string', 'required' => false],
+ 'ComparisonOperator' => ['type' => 'string', 'required' => true],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'string', 'required' => true],
+ 'EscalationsLevel' => ['type' => 'string', 'required' => true],
+ 'EffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'NoEffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'Threshold' => ['type' => 'string', 'required' => true],
+ 'Statistics' => ['type' => 'string', 'required' => false],
+ 'TargetList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'maxItems' => 3,
],
],
+ ],
+ ],
+ 'ModifyHostAvailability' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'NoEffectiveInterval',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'SilenceTime',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Period',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Interval',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EmailSubject',
+ 'name' => 'TaskScope',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Critical.Statistics',
+ 'name' => 'TaskOption.HttpURI',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Critical.ComparisonOperator',
+ 'name' => 'TaskOption.TelnetOrPingHost',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Critical.Threshold',
+ 'name' => 'TaskOption.HttpResponseCharset',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Critical.Times',
+ 'name' => 'TaskOption.HttpPostContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Warn.Statistics',
+ 'name' => 'TaskOption.HttpResponseMatchContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Warn.ComparisonOperator',
+ 'name' => 'TaskOption.HttpMethod',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Warn.Threshold',
+ 'name' => 'TaskOption.HttpNegative',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Escalations.Warn.Times',
+ 'name' => 'TaskOption.HttpHeader',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Info.Statistics',
+ 'name' => 'TaskOption.Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Escalations.Info.ComparisonOperator',
+ 'name' => 'AlertConfig.NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'Escalations.Info.Threshold',
+ 'name' => 'AlertConfig.StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Escalations.Info.Times',
+ 'name' => 'AlertConfig.EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'NoDataPolicy',
+ 'name' => 'AlertConfig.SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'CompositeExpression',
+ 'name' => 'AlertConfig.WebHook',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ExpressionList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'MetricName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Period' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'ExpressionListJoin' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExpressionRaw' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Labels',
+ 'name' => 'AlertConfigEscalationList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ 'Aggregate' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 20,
+ 'maxItems' => 10,
],
],
[
- 'name' => 'Prometheus',
+ 'name' => 'InstanceList',
'in' => 'query',
- 'style' => 'json',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'PromQL' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Annotations' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 1000,
],
],
- ],
- ],
- 'PutResourceMetricRules' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
[
- 'name' => 'Rules',
+ 'name' => 'AlertConfigTargetList',
'in' => 'query',
- 'style' => 'repeatList',
+ 'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Escalations.Info.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'MetricName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'EffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoEffectiveInterval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'RuleId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Critical.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Critical.Threshold' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Info.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Resources' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SilenceTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Webhook' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ContactGroups' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Namespace' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'EmailSubject' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Period' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'RuleName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Escalations.Info.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'Escalations.Info.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Interval' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Critical.ComparisonOperator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Escalations.Warn.Statistics' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoDataPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 0,
- 'maxItems' => 20,
- ],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 500,
],
],
],
],
- 'PutGroupMetricRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyHostInfo' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'GroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'RuleId',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Category',
+ 'name' => 'HostName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'ModifyHybridMonitorNamespace' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'RuleName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'MetricName',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Dimensions',
+ 'name' => 'Spec',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => [],
],
],
+ ],
+ ],
+ 'ModifyHybridMonitorSLSGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ExtraDimensionJson',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'EffectiveInterval',
+ 'name' => 'SLSGroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'NoEffectiveInterval',
+ 'name' => 'SLSGroupDescription',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SilenceTime',
+ 'name' => 'SLSGroupConfig',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'SLSRegion' => ['type' => 'string', 'required' => true],
+ 'SLSProject' => ['type' => 'string', 'required' => true],
+ 'SLSLogstore' => ['type' => 'string', 'required' => true],
+ 'SLSUserId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 30,
],
],
+ ],
+ ],
+ 'ModifyHybridMonitorTask' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Period',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Interval',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Webhook',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EmailSubject',
+ 'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ContactGroups',
+ 'name' => 'CollectInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Critical.Statistics',
+ 'name' => 'AttachLabels',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Name' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'Escalations.Critical.ComparisonOperator',
+ 'name' => 'SLSProcessConfig',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Filter' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Relation' => ['type' => 'string', 'required' => false],
+ 'Filters' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Operator' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['>', '>=', '=', '<=', '<', '!=', 'contain', 'notContain'],
+ ],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Statistics' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Function' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ 'Parameter1' => ['type' => 'string', 'required' => false],
+ 'Parameter2' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'GroupBy' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'SLSKeyName' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ ],
+ ],
+ ],
+ 'Express' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Express' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'],
+ ],
+ ],
+ ],
+ ],
],
],
+ ],
+ ],
+ 'ModifyMetricRuleBlackList' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Escalations.Critical.Threshold',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'Escalations.Critical.Times',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Escalations.Warn.Statistics',
+ 'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Escalations.Warn.ComparisonOperator',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Escalations.Warn.Threshold',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Escalations.Warn.Times',
+ 'name' => 'ScopeType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Info.Statistics',
+ 'name' => 'ScopeValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Info.ComparisonOperator',
+ 'name' => 'EnableStartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Info.Threshold',
+ 'name' => 'EnableEndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Escalations.Info.Times',
+ 'name' => 'EffectiveTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NoDataPolicy',
+ 'name' => 'Instances',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
],
[
- 'name' => 'Labels',
+ 'name' => 'Metrics',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
@@ -9364,40 +5390,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Resource' => ['type' => 'string', 'required' => false],
],
],
- 'minItems' => 0,
- 'maxItems' => 20,
- ],
- ],
- [
- 'name' => 'Options',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'maxItems' => 100,
],
],
],
],
- 'DeleteEventRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyMetricRuleTemplate' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9405,544 +5409,276 @@
],
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'TemplateId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'Ids',
+ 'name' => 'Name',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteEventRules' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'RuleNames',
+ 'name' => 'RestVersion',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'AlertTemplates',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Escalations.Info.Threshold' => ['type' => 'string', 'required' => false],
+ 'MetricName' => ['type' => 'string', 'required' => false],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Threshold' => ['type' => 'string', 'required' => false],
+ 'Namespace' => ['type' => 'string', 'required' => false],
+ 'Period' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'RuleName' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Selector' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Info.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Category' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Threshold' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Warn.Statistics' => ['type' => 'string', 'required' => false],
+ ],
],
- 'maxItems' => 20,
+ 'maxItems' => 200,
],
],
],
],
- 'EnableEventRules' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyMonitorGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleNames',
+ 'name' => 'GroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ContactGroups',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DisableEventRules' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyMonitorGroupInstances' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleNames',
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ ],
+ [
+ 'name' => 'Instances',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => true,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'InstanceName' => ['type' => 'string', 'required' => true],
+ 'Category' => ['type' => 'string', 'required' => true],
+ 'InstanceId' => ['type' => 'string', 'required' => true],
+ 'RegionId' => ['type' => 'string', 'required' => true],
+ ],
],
- 'maxItems' => 20,
+ 'maxItems' => 2000,
],
],
],
],
- 'DescribeEventRuleAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifySiteMonitor' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'Address',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SilenceTime',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DescribeEventRuleList' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'NamePrefix',
+ 'name' => 'TaskName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageSize',
+ 'name' => 'IspCities',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'GroupId',
+ 'name' => 'OptionsJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IsEnable',
+ 'name' => 'AlertIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeEventRuleTargetList' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'IntervalUnit',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'CustomSchedule',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PutEventRuleTargets' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutContact' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'ContactName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'FcParameters',
+ 'name' => 'Describe',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'FunctionName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ServiceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ContactParameters',
+ 'name' => 'Channels.SMS',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ContactGroupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Level' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MnsParameters',
+ 'name' => 'Channels.Mail',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Queue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Topic' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'WebhookParameters',
+ 'name' => 'Channels.AliIM',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Protocol' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Url' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Method' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SlsParameters',
+ 'name' => 'Channels.DingWebHook',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'LogStore' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Project' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'OpenApiParameters',
+ 'name' => 'Lang',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Action' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Arn' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Id' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Product' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Role' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Version' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'JsonParams' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 5,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'PutEventRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutContactGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'RuleName',
+ 'name' => 'ContactGroupName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GroupId',
+ 'name' => 'Describe',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EventType',
+ 'name' => 'EnableSubscribed',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'SYSTEM',
- 'CUSTOM',
- ],
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'ContactNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 100,
],
],
+ ],
+ ],
+ 'PutCustomEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'State',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'ENABLED',
- 'DISABLED',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'EventPattern',
+ 'name' => 'EventInfo',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
@@ -9952,80 +5688,20 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'EventTypeList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 5,
- ],
- 'StatusList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 5,
- ],
- 'Product' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'LevelList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 5,
- ],
- 'NameList' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
- 'CustomFilters' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SQLFilter' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'EventName' => ['type' => 'string', 'required' => true],
+ 'Time' => ['type' => 'string', 'required' => false],
+ 'GroupId' => ['type' => 'string', 'required' => false],
+ 'Content' => ['type' => 'string', 'required' => true],
],
],
'maxItems' => 50,
],
],
- [
- 'name' => 'SilenceTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
],
],
'PutCustomEventRule' => [
- 'methods' => [
- 'post',
- 'get',
- 'put',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10035,102 +5711,63 @@
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EventName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'EmailSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateMetricRuleBlackList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutCustomMetric' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10138,270 +5775,217 @@
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'MetricList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Type' => ['type' => 'string', 'required' => true],
+ 'MetricName' => ['type' => 'string', 'required' => true],
+ 'Time' => ['type' => 'string', 'required' => false],
+ 'GroupId' => ['type' => 'string', 'required' => true],
+ 'Values' => ['type' => 'string', 'required' => true],
+ 'Dimensions' => ['type' => 'string', 'required' => true],
+ 'Period' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 100,
],
],
+ ],
+ ],
+ 'PutCustomMetricRule' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Namespace',
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Category',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ScopeType',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ScopeValue',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableStartTime',
+ 'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableEndTime',
+ 'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EffectiveTime',
+ 'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Instances',
+ 'name' => 'EffectiveInterval',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Metrics',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Resource' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'ModifyMetricRuleBlackList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'EmailSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Name',
+ 'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Namespace',
+ 'name' => 'Level',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Category',
+ 'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'ScopeType',
+ 'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ScopeValue',
+ 'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'PutEventRule' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'EnableStartTime',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'EnableEndTime',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EffectiveTime',
+ 'name' => 'EventType',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['SYSTEM', 'CUSTOM'],
],
],
[
- 'name' => 'Instances',
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'State',
'in' => 'query',
- 'style' => 'repeatList',
'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['ENABLED', 'DISABLED'],
],
],
[
- 'name' => 'Metrics',
+ 'name' => 'EventPattern',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'MetricName' => [
- 'type' => 'string',
- 'required' => true,
+ 'EventTypeList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 5,
+ ],
+ 'StatusList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 5,
+ ],
+ 'Product' => ['type' => 'string', 'required' => true],
+ 'LevelList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 5,
],
- 'Resource' => [
- 'type' => 'string',
+ 'NameList' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
+ 'CustomFilters' => ['type' => 'string', 'required' => false],
+ 'SQLFilter' => ['type' => 'string', 'required' => false],
],
],
- 'maxItems' => 100,
+ 'maxItems' => 50,
],
],
- ],
- ],
- 'DeleteMetricRuleBlackList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
- 'DescribeMetricRuleBlackList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutEventRuleTargets' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10409,111 +5993,138 @@
],
'parameters' => [
[
- 'name' => 'Namespace',
- '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,
- ],
- ],
- [
- 'name' => 'Order',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Category',
+ 'name' => 'FcParameters',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'FunctionName' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'ServiceName' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'Ids',
+ 'name' => 'ContactParameters',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ContactGroupName' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ ],
],
- 'maxItems' => 20,
+ 'maxItems' => 5,
],
],
[
- 'name' => 'Name',
+ 'name' => 'MnsParameters',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'Queue' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Topic' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'ScopeType',
+ 'name' => 'WebhookParameters',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Protocol' => ['type' => 'string', 'required' => false],
+ 'Url' => ['type' => 'string', 'required' => false],
+ 'Method' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'IsEnable',
+ 'name' => 'SlsParameters',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'LogStore' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'Project' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
[
- 'name' => 'InstanceIds',
+ 'name' => 'OpenApiParameters',
'in' => 'query',
- 'style' => 'flat',
+ 'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Action' => ['type' => 'string', 'required' => false],
+ 'Arn' => ['type' => 'string', 'required' => false],
+ 'Id' => ['type' => 'string', 'required' => false],
+ 'Product' => ['type' => 'string', 'required' => false],
+ 'Region' => ['type' => 'string', 'required' => false],
+ 'Role' => ['type' => 'string', 'required' => false],
+ 'Version' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
+ ],
],
- 'maxItems' => 10,
+ 'maxItems' => 5,
],
],
],
],
- 'EnableMetricRuleBlackList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutExporterOutput' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10521,58 +6132,30 @@
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'DestName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'IsEnable',
+ 'name' => 'ConfigJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'DeleteContactGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Desc',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ContactGroupName',
+ 'name' => 'DestType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteContact' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutExporterRule' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10581,86 +6164,46 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ContactName',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeContactListByContactGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ContactGroupName',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DescribeContactGroupList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'TargetWindows',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'Describe',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'DstNames',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DescribeContactList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutGroupMetricRule' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10669,312 +6212,179 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'PageSize',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ContactName',
+ 'name' => 'Category',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ChanelType',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ChanelValue',
+ 'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'PutContact' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ContactName',
+ 'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Describe',
+ 'name' => 'ExtraDimensionJson',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Channels.SMS',
+ 'name' => 'EffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Channels.Mail',
+ 'name' => 'NoEffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Channels.AliIM',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Channels.DingWebHook',
+ 'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Lang',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'PutContactGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Webhook',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'ContactGroupName',
+ 'name' => 'EmailSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Describe',
+ 'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'EnableSubscribed',
+ 'name' => 'Escalations.Critical.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ContactNames',
+ 'name' => 'Escalations.Critical.ComparisonOperator',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 100,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateHybridMonitorNamespace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Escalations.Critical.Threshold',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'Escalations.Critical.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'Escalations.Warn.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Spec',
+ 'name' => 'Escalations.Warn.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NamespaceType',
+ 'name' => 'Escalations.Warn.Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'NamespaceRegion',
+ 'name' => 'Escalations.Warn.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'ModifyHybridMonitorNamespace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Escalations.Info.Statistics',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'Escalations.Info.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'Escalations.Info.Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Spec',
+ 'name' => 'Escalations.Info.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'DeleteHybridMonitorNamespace' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'NoDataPolicy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'Labels',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 0,
+ 'maxItems' => 20,
],
],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'DescribeHybridMonitorNamespaceList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutHybridMonitorMetricData' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -10982,58 +6392,48 @@
],
'parameters' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PageNumber',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ShowTaskStatistic',
+ 'name' => 'MetricList',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Name' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 128, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]*$'],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 20,
+ ],
+ 'Value' => ['type' => 'string', 'required' => true, 'pattern' => '^[0-9\\.]*$'],
+ 'TS' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'minItems' => 1,
+ 'maxItems' => 100,
],
],
],
],
- 'CreateHybridMonitorTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutLogMonitor' => [
+ 'methods' => ['post', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11041,258 +6441,116 @@
],
'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'LogId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Description',
+ 'name' => 'SlsRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'SlsProject',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskType',
+ 'name' => 'SlsLogstore',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CollectTargetType',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'CollectInterval',
+ 'name' => 'MetricExpress',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'YARMConfig',
+ 'name' => 'ValueFilterRelation',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TargetUserId',
+ 'name' => 'Tumblingwindows',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'AttachLabels',
+ 'name' => 'Unit',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Aggregates',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'FieldName' => ['type' => 'string', 'required' => true],
+ 'Function' => ['type' => 'string', 'required' => true],
+ 'Alias' => ['type' => 'string', 'required' => true],
],
],
'maxItems' => 10,
],
],
[
- 'name' => 'TargetUserIdList',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'SLSProcessConfig',
+ 'name' => 'Groupbys',
'in' => 'query',
- 'style' => 'flat',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'Filter' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Relation' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Filters' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- '>',
- '>=',
- '=',
- '<=',
- '<',
- '!=',
- 'contain',
- 'notContain',
- ],
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'Statistics' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Function' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
- ],
- 'Parameter1' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Parameter2' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GroupBy' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
- ],
- ],
- ],
- ],
- 'Express' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Express' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
- ],
- ],
- ],
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'FieldName' => ['type' => 'string', 'required' => false],
+ 'Alias' => ['type' => 'string', 'required' => false],
],
],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'CloudAccessId',
+ 'name' => 'ValueFilter',
'in' => 'query',
- 'style' => 'flat',
+ 'style' => 'repeatList',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ ],
],
- 'minItems' => 1,
- 'maxItems' => 50,
+ 'maxItems' => 20,
],
],
],
],
- 'ModifyHybridMonitorTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutMetricRuleTargets' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11300,195 +6558,88 @@
],
'parameters' => [
[
- 'name' => 'TaskId',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskName',
+ 'name' => 'Targets',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Id' => ['type' => 'string', 'required' => true],
+ 'Arn' => ['type' => 'string', 'required' => true],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'JsonParams' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 5,
],
],
+ ],
+ ],
+ 'PutMonitorGroupDynamicRule' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'CollectInterval',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
],
[
- 'name' => 'AttachLabels',
+ 'name' => 'GroupRules',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 10,
- ],
- ],
- [
- 'name' => 'SLSProcessConfig',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Filter' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Relation' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Filters' => [
- 'type' => 'array',
+ 'FilterRelation' => ['type' => 'string', 'required' => true],
+ 'Filters' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- '>',
- '>=',
- '=',
- '<=',
- '<',
- '!=',
- 'contain',
- 'notContain',
- ],
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- 'Statistics' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Function' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'minLength' => 0,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
- ],
- 'Parameter1' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Parameter2' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GroupBy' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'SLSKeyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
- ],
- ],
- ],
- ],
- 'Express' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Express' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Alias' => [
- 'type' => 'string',
- 'required' => false,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$',
+ 'properties' => [
+ 'Value' => ['type' => 'string', 'required' => true],
+ 'Name' => ['type' => 'string', 'required' => true],
+ 'Function' => ['type' => 'string', 'required' => true],
],
],
+ 'maxItems' => 10,
],
+ 'Category' => ['type' => 'string', 'required' => true],
],
],
+ 'maxItems' => 50,
],
],
+ [
+ 'name' => 'IsAsync',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
],
- 'DeleteHybridMonitorTask' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutMonitoringConfig' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -11496,843 +6647,437 @@
],
'parameters' => [
[
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Namespace',
+ 'name' => 'AutoInstall',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'TargetUserId',
+ 'name' => 'EnableInstallAgentNewECS',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'DescribeHybridMonitorTaskList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutResourceMetricRule' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Keyword',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'TaskId',
+ 'name' => 'RuleId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'GroupId',
+ 'name' => 'RuleName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageSize',
+ 'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Resources',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'IncludeAliyunTask',
+ 'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'TaskType',
+ 'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'TargetUserId',
+ 'name' => 'EffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'PutHybridMonitorMetricData' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'NoEffectiveInterval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'MetricList',
+ 'name' => 'SilenceTime',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'Name' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 128,
- 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]*$',
- ],
- 'Labels' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 20,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- 'pattern' => '^[0-9\\.]*$',
- ],
- 'TS' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 100,
- ],
- ],
- ],
- ],
- 'DescribeHybridMonitorDataList' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Namespace',
+ 'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'PromSQL',
+ 'name' => 'Interval',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Start',
+ 'name' => 'EmailSubject',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'End',
+ 'name' => 'Escalations.Critical.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Period',
+ 'name' => 'Escalations.Critical.ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'CreateHybridMonitorSLSGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Escalations.Critical.Threshold',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'SLSGroupName',
+ 'name' => 'Escalations.Critical.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SLSGroupDescription',
+ 'name' => 'Escalations.Warn.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SLSGroupConfig',
+ 'name' => 'Escalations.Warn.ComparisonOperator',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'SLSRegion' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSProject' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSLogstore' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSUserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 30,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'ModifyHybridMonitorSLSGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Escalations.Warn.Threshold',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'SLSGroupName',
+ 'name' => 'Escalations.Warn.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'SLSGroupDescription',
+ 'name' => 'Escalations.Info.Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'SLSGroupConfig',
+ 'name' => 'Escalations.Info.ComparisonOperator',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => true,
- 'properties' => [
- 'SLSRegion' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSProject' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSLogstore' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'SLSUserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'minItems' => 1,
- 'maxItems' => 30,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- ],
- 'DeleteHybridMonitorSLSGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'Escalations.Info.Threshold',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'SLSGroupName',
+ 'name' => 'Escalations.Info.Times',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
- ],
- ],
- 'DescribeHybridMonitorSLSGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'NoDataPolicy',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'parameters' => [
[
- 'name' => 'Keyword',
+ 'name' => 'CompositeExpression',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'ExpressionList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'MetricName' => ['type' => 'string', 'required' => false],
+ 'Period' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'Statistics' => ['type' => 'string', 'required' => false],
+ 'ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Threshold' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'ExpressionListJoin' => ['type' => 'string', 'required' => false],
+ 'ExpressionRaw' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Labels',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'PageNumber',
+ 'name' => 'Prometheus',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'PromQL' => ['type' => 'string', 'required' => false],
+ 'Level' => ['type' => 'string', 'required' => false],
+ 'Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Annotations' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
[
- 'name' => 'SLSGroupName',
+ 'name' => 'SendOK',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'Cursor' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'PutResourceMetricRules' => [
+ 'methods' => ['post', 'get', 'put'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Namespace',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Metric',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Period',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Matchers',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'Rules',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
- '$ref' => '#/components/schemas/Matcher',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Escalations.Info.Threshold' => ['type' => 'string', 'required' => false],
+ 'MetricName' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Threshold' => ['type' => 'string', 'required' => false],
+ 'EffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'NoEffectiveInterval' => ['type' => 'string', 'required' => false],
+ 'RuleId' => ['type' => 'string', 'required' => true],
+ 'Escalations.Critical.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Critical.Threshold' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Info.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Resources' => ['type' => 'string', 'required' => true],
+ 'SilenceTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Webhook' => ['type' => 'string', 'required' => false],
+ 'ContactGroups' => ['type' => 'string', 'required' => true],
+ 'Namespace' => ['type' => 'string', 'required' => true],
+ 'EmailSubject' => ['type' => 'string', 'required' => false],
+ 'Period' => ['type' => 'string', 'required' => false],
+ 'RuleName' => ['type' => 'string', 'required' => true],
+ 'Escalations.Info.Statistics' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Times' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'Escalations.Info.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Interval' => ['type' => 'string', 'required' => false],
+ 'Escalations.Critical.ComparisonOperator' => ['type' => 'string', 'required' => false],
+ 'Escalations.Warn.Statistics' => ['type' => 'string', 'required' => false],
+ 'NoDataPolicy' => ['type' => 'string', 'required' => false],
+ 'Labels' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'minItems' => 0,
+ 'maxItems' => 20,
+ ],
+ 'SendOK' => ['type' => 'boolean', 'required' => false],
+ ],
],
+ 'maxItems' => 500,
],
],
],
],
- 'BatchExport' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RemoveTags' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Namespace',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Metric',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Cursor',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Length',
- 'in' => 'formData',
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => true],
+ 'Value' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ 'maxItems' => 10,
],
],
[
- 'name' => 'Measurements',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'GroupIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
],
],
- 'DescribeSyntheticProbeList' => [
- 'path' => '',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SendDryRunSystemEvent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'deprecated' => false,
'parameters' => [
[
- 'name' => 'Isp',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'City',
+ 'name' => 'Product',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Ipv4',
+ 'name' => 'EventName',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Ipv6',
+ 'name' => 'GroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ViewAll',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MbProbe',
+ 'name' => 'EventContent',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'UninstallMonitoringAgent' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'LmProbe',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'parameters' => [
[
- 'name' => 'IdcProbe',
+ 'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ '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',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-beijing.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-jva', 'regionName' => '郑州(联通合营)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhengzhou-jva.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-heyuan.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-3.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-5.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-5.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-6.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-6.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-7.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-8.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-8.aliyuncs.com', 'vpc' => 'cms-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'regionName' => '西北2(中卫)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhongwei.aliyuncs.com', 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com', 'vpc' => 'cms-vpc.cn-zhongwei.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-qingdao.aliyuncs.com', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shanghai.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hongkong.aliyuncs.com', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shenzhen.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-nanjing.aliyuncs.com', 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-nanjing.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-fuzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-fuzhou.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-chengdu.aliyuncs.com', 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-guangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-huhehaote.aliyuncs.com', 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-1.aliyuncs.com', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'regionName' => '法国(巴黎)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-2.aliyuncs.com', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com', 'vpc' => 'cms-vpc.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-central-1.aliyuncs.com', 'endpoint' => 'metrics.eu-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-east-1.aliyuncs.com', 'endpoint' => 'metrics.us-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-west-1.aliyuncs.com', 'endpoint' => 'metrics.us-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.na-south-1.aliyuncs.com', 'endpoint' => 'metrics.na-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.na-south-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-east-1.aliyuncs.com', 'endpoint' => 'metrics.me-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.ap-south-1.aliyuncs.com', 'endpoint' => 'metrics.ap-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-central-1.aliyuncs.com', 'endpoint' => 'metrics.me-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => '华北6(乌兰察布)通用行业云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'cms-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
];
diff --git a/data/cms/2024-03-30/api-docs.php b/data/cms/2024-03-30/api-docs.php
index 5ed09f2..4eaede3 100644
--- a/data/cms/2024-03-30/api-docs.php
+++ b/data/cms/2024-03-30/api-docs.php
@@ -1,91 +1,57 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'Cms',
- 'version' => '2024-03-30',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'Cms', 'version' => '2024-03-30'],
'components' => [
'schemas' => [
- 'AddonMeta' => [
+ 'ActionIntegrationConfig' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
- 'language' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'scene' => [
- 'type' => 'string',
- ],
- 'alias' => [
- 'type' => 'string',
- ],
- 'icon' => [
- 'type' => 'string',
+ 'enabled' => ['type' => 'boolean'],
+ 'actions' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ ],
+ ],
+ 'AddonMeta' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
+ 'language' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'scene' => ['type' => 'string'],
+ 'alias' => ['type' => 'string'],
+ 'icon' => ['type' => 'string'],
'keywords' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'once' => [
- 'type' => 'boolean',
+ 'items' => ['type' => 'string'],
],
+ 'once' => ['type' => 'boolean'],
'environments' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'label' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'label' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
'policies' => [
'type' => 'object',
'properties' => [
- 'defaultInstall' => [
- 'type' => 'boolean',
- ],
- 'targetAddonName' => [
- 'type' => 'string',
- ],
- 'alertDefaultStatus' => [
- 'type' => 'string',
- ],
+ 'defaultInstall' => ['type' => 'boolean'],
+ 'targetAddonName' => ['type' => 'string'],
+ 'alertDefaultStatus' => ['type' => 'string'],
'protocols' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'label' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'icon' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'label' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'icon' => ['type' => 'string'],
],
],
],
@@ -94,38 +60,22 @@
'properties' => [
'promQL' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'needRestartAfterIntegration' => [
- 'type' => 'boolean',
- ],
- 'enableServiceAccount' => [
- 'type' => 'boolean',
- ],
+ 'needRestartAfterIntegration' => ['type' => 'boolean'],
+ 'enableServiceAccount' => ['type' => 'boolean'],
'bindEntity' => [
'type' => 'object',
'properties' => [
- 'entityGroupMode' => [
- 'type' => 'boolean',
- ],
- 'singleEntityMode' => [
- 'type' => 'boolean',
- ],
- 'entityType' => [
- 'type' => 'string',
- ],
- 'vpcIdFieldKey' => [
- 'type' => 'string',
- ],
+ 'entityGroupMode' => ['type' => 'boolean'],
+ 'singleEntityMode' => ['type' => 'boolean'],
+ 'entityType' => ['type' => 'string'],
+ 'vpcIdFieldKey' => ['type' => 'string'],
],
],
- 'bindDefaultPolicy' => [
- 'type' => 'boolean',
- ],
+ 'bindDefaultPolicy' => ['type' => 'boolean'],
],
],
'dependencies' => [
@@ -133,38 +83,26 @@
'properties' => [
'features' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'boolean',
- ],
+ 'additionalProperties' => ['type' => 'boolean'],
],
'services' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'clusterTypes' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'policyType' => [
- 'type' => 'string',
- ],
+ 'policyType' => ['type' => 'string'],
'commonSchemaRefs' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'group' => [
- 'type' => 'string',
- ],
- 'version' => [
- 'type' => 'string',
- ],
+ 'group' => ['type' => 'string'],
+ 'version' => ['type' => 'string'],
],
],
],
@@ -173,34 +111,21 @@
],
'categories' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'dashboards' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'url' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'url' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
],
],
],
- 'weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'latestReleaseCreateTime' => [
- 'type' => 'string',
- ],
+ 'weight' => ['type' => 'integer', 'format' => 'int32'],
+ 'latestReleaseCreateTime' => ['type' => 'string'],
],
],
'AlertEventIntegrationPolicyForModify' => [
@@ -208,74 +133,34 @@
'properties' => [
'transformerSetting' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TransformAction',
- ],
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'integrationSetting' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'alertEventIntegrationPolicyName' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => ['$ref' => '#/components/schemas/TransformAction'],
],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'integrationSetting' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'alertEventIntegrationPolicyName' => ['type' => 'string', 'required' => true],
],
],
'AlertEventIntegrationPolicyForView' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'updateTime' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'alertEventIntegrationPolicyId' => [
- 'type' => 'string',
- ],
- 'token' => [
- 'type' => 'string',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'updateTime' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'alertEventIntegrationPolicyId' => ['type' => 'string'],
+ 'token' => ['type' => 'string'],
'transformerSetting' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TransformAction',
- ],
- ],
- 'createTime' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'integrationSetting' => [
- 'type' => 'string',
- ],
- 'alertEventIntegrationPolicyName' => [
- 'type' => 'string',
- 'required' => true,
+ 'items' => ['$ref' => '#/components/schemas/TransformAction'],
],
+ 'createTime' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'integrationSetting' => ['type' => 'string'],
+ 'alertEventIntegrationPolicyName' => ['type' => 'string', 'required' => true],
],
],
'AlertRuleAction' => [
@@ -283,50 +168,28 @@
'properties' => [
'actions' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'AlertRuleAlertMetricFilterDef' => [
'type' => 'object',
'properties' => [
- 'opt' => [
- 'type' => 'string',
- ],
- 'hidden' => [
- 'type' => 'boolean',
- ],
- 'displayNameCn' => [
- 'type' => 'string',
- ],
- 'dim' => [
- 'type' => 'string',
- ],
- 'displayNameEn' => [
- 'type' => 'string',
- ],
- 'labelDisabled' => [
- 'type' => 'boolean',
- ],
- 'dimDisabled' => [
- 'type' => 'boolean',
- ],
+ 'opt' => ['type' => 'string'],
+ 'hidden' => ['type' => 'boolean'],
+ 'displayNameCn' => ['type' => 'string'],
+ 'dim' => ['type' => 'string'],
+ 'displayNameEn' => ['type' => 'string'],
+ 'labelDisabled' => ['type' => 'boolean'],
+ 'dimDisabled' => ['type' => 'boolean'],
'supportedOpts' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'displayNameCn' => [
- 'type' => 'string',
- ],
- 'displayNameEn' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'displayNameCn' => ['type' => 'string'],
+ 'displayNameEn' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
@@ -334,143 +197,80 @@
],
'AlertRuleAlertMetricFilterDef_array' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef',
- ],
+ 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricFilterDef'],
],
'AlertRuleAlertMetricInput' => [
'type' => 'object',
'properties' => [
'filterValues' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue',
- ],
+ 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricInputFilterValue'],
],
'paramValues' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AlertRuleAlertMetricInputParamValue',
- ],
- ],
- 'metricId' => [
- 'type' => 'string',
- ],
- 'groupId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricInputParamValue'],
],
+ 'metricId' => ['type' => 'string'],
+ 'groupId' => ['type' => 'string'],
],
],
'AlertRuleAlertMetricInputFilterValue' => [
'type' => 'object',
'properties' => [
- 'opt' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'dim' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'opt' => ['type' => 'string', 'required' => true],
+ 'dim' => ['type' => 'string', 'required' => true],
+ 'value' => ['type' => 'string'],
],
],
'AlertRuleAlertMetricInputParamValue' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'value' => ['type' => 'string', 'required' => true],
],
],
'AlertRuleAlertMetricParamDef' => [
'type' => 'object',
'properties' => [
- 'placeholderEn' => [
- 'type' => 'string',
- ],
- 'placeholderCn' => [
- 'type' => 'string',
- ],
+ 'placeholderEn' => ['type' => 'string'],
+ 'placeholderCn' => ['type' => 'string'],
'values' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'labelCn' => [
- 'type' => 'string',
- ],
- 'labelEn' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'labelCn' => ['type' => 'string'],
+ 'labelEn' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
- 'name' => [
- 'type' => 'string',
- ],
- 'minWidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
- 'maxWidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'name' => ['type' => 'string'],
+ 'minWidth' => ['type' => 'integer', 'format' => 'int32'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'maxWidth' => ['type' => 'integer', 'format' => 'int32'],
],
],
'AlertRuleAlertMetricParamDef_array' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef',
- ],
+ 'items' => ['$ref' => '#/components/schemas/AlertRuleAlertMetricParamDef'],
],
'AlertRuleCondition' => [
'type' => 'object',
'properties' => [
- 'alertCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'pattern' => '',
- ],
+ 'alertCount' => ['type' => 'integer', 'format' => 'int32', 'pattern' => ''],
'caseList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'condition' => [
- 'type' => 'string',
- ],
- 'countCondition' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
+ 'condition' => ['type' => 'string'],
+ 'countCondition' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
'type' => [
'type' => 'string',
- 'enum' => [
- 'HasData',
- 'HasDataCount',
- 'HasDataMatch',
- 'HasDataMatchCount',
- ],
+ 'enum' => ['HasData', 'HasDataCount', 'HasDataMatch', 'HasDataMatchCount'],
],
],
],
@@ -480,103 +280,51 @@
'items' => [
'type' => 'object',
'properties' => [
- 'aggregate' => [
- 'type' => 'string',
- ],
- 'oper' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'aggregate' => ['type' => 'string'],
+ 'oper' => ['type' => 'string'],
+ 'value' => ['type' => 'number', 'format' => 'double'],
'valueLevelList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'level' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'level' => ['type' => 'string'],
+ 'value' => ['type' => 'number', 'format' => 'double'],
],
],
],
- 'yoyTimeUnit' => [
- 'type' => 'string',
- ],
- 'yoyTimeValue' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'baseUnit' => [
- 'type' => 'string',
- ],
- 'displayUnit' => [
- 'type' => 'string',
- ],
+ 'yoyTimeUnit' => ['type' => 'string'],
+ 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'],
+ 'baseUnit' => ['type' => 'string'],
+ 'displayUnit' => ['type' => 'string'],
],
],
],
- 'noDataAppendValue' => [
- 'type' => 'string',
- ],
- 'noDataAlertLevel' => [
- 'type' => 'string',
- 'pattern' => '',
- ],
+ 'noDataAppendValue' => ['type' => 'string'],
+ 'noDataAlertLevel' => ['type' => 'string', 'pattern' => ''],
'type' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'SLS_CONDITION',
- 'APM_CONDITION',
- 'CMS_BASIC_CONDITION',
- 'BASIC_CONDITION',
- ],
+ 'enum' => ['SLS_CONDITION', 'APM_CONDITION', 'CMS_BASIC_CONDITION', 'PROMETHEUS_MULTI_CONDITION', 'BASIC_CONDITION', 'LOG_SET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION'],
'pattern' => '',
],
- 'relation' => [
- 'type' => 'string',
- ],
- 'escalationType' => [
- 'type' => 'string',
- ],
+ 'relation' => ['type' => 'string'],
+ 'escalationType' => ['type' => 'string'],
'simpleEscalation' => [
'type' => 'object',
'properties' => [
- 'metricName' => [
- 'type' => 'string',
- ],
- 'period' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'metricName' => ['type' => 'string'],
+ 'period' => ['type' => 'integer', 'format' => 'int64'],
'escalations' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'level' => [
- 'type' => 'string',
- ],
- 'comparisonOperator' => [
- 'type' => 'string',
- ],
- 'statistics' => [
- 'type' => 'string',
- ],
- 'times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'threshold' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'level' => ['type' => 'string'],
+ 'comparisonOperator' => ['type' => 'string'],
+ 'statistics' => ['type' => 'string'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
],
],
],
@@ -585,38 +333,19 @@
'compositeEscalation' => [
'type' => 'object',
'properties' => [
- 'relation' => [
- 'type' => 'string',
- ],
- 'level' => [
- 'type' => 'string',
- ],
- 'times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'relation' => ['type' => 'string'],
+ 'level' => ['type' => 'string'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
'escalations' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'comparisonOperator' => [
- 'type' => 'string',
- ],
- 'metricName' => [
- 'type' => 'string',
- ],
- 'period' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'statistics' => [
- 'type' => 'string',
- ],
- 'threshold' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
+ 'comparisonOperator' => ['type' => 'string'],
+ 'metricName' => ['type' => 'string'],
+ 'period' => ['type' => 'integer', 'format' => 'int64'],
+ 'statistics' => ['type' => 'string'],
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
],
],
],
@@ -625,28 +354,69 @@
'expressEscalation' => [
'type' => 'object',
'properties' => [
- 'level' => [
- 'type' => 'string',
- ],
- 'times' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'rawExpression' => [
- 'type' => 'string',
- ],
+ 'level' => ['type' => 'string'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ 'rawExpression' => ['type' => 'string'],
],
],
- 'noDataPolicy' => [
+ 'noDataPolicy' => ['type' => 'string'],
+ 'oper' => ['type' => 'string'],
+ 'value' => ['type' => 'number', 'format' => 'double'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
+ 'matchField' => ['type' => 'string'],
+ 'matchOperator' => [
'type' => 'string',
+ 'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'],
],
- 'oper' => [
+ 'matchValue' => ['type' => 'string'],
+ 'countOperator' => [
'type' => 'string',
+ 'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'],
],
- 'value' => [
- 'type' => 'number',
- 'format' => 'double',
+ 'countThreshold' => ['type' => 'integer', 'format' => 'int64'],
+ 'thresholdList' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'severity' => ['type' => 'string'],
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
+ ],
+ ],
],
+ 'triggers' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'severity' => ['type' => 'string'],
+ 'durationSecs' => ['type' => 'integer', 'format' => 'int32'],
+ 'expression' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'expressionType' => ['type' => 'string'],
+ 'logicOperator' => ['type' => 'string'],
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'expressionType' => ['type' => 'string'],
+ 'queryName' => ['type' => 'string'],
+ 'operator' => ['type' => 'string'],
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'enableSeveritySuppression' => ['type' => 'boolean'],
],
],
'AlertRuleDataSource' => [
@@ -657,52 +427,27 @@
'items' => [
'type' => 'object',
'properties' => [
- 'project' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'store' => [
- 'type' => 'string',
- ],
+ 'project' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'store' => ['type' => 'string'],
'type' => [
'type' => 'string',
- 'enum' => [
- 'SLS_LOG_DS',
- 'SLS_METRIC_DS',
- ],
+ 'enum' => ['SLS_LOG_DS', 'SLS_METRIC_DS'],
],
],
],
],
- 'instanceId' => [
- 'type' => 'string',
- 'pattern' => '',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
+ 'instanceId' => ['type' => 'string', 'pattern' => ''],
+ 'namespace' => ['type' => 'string'],
'type' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'ENTERPRISE_DS',
- 'PROMETHEUS_DS',
- 'SLS_MULTI_DS',
- 'APM_DS',
- 'CMS_BASIC_DS',
- 'ENTITY_DS',
- 'VIRTUAL_PROMETHEUS_DS',
- ],
+ 'enum' => ['ENTERPRISE_DS', 'PROMETHEUS_DS', 'SLS_MULTI_DS', 'APM_DS', 'CMS_BASIC_DS', 'ENTITY_DS'],
'pattern' => '',
],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'appType' => [
- 'type' => 'string',
- ],
+ 'regionId' => ['type' => 'string'],
+ 'appType' => ['type' => 'string'],
+ 'tenantId' => ['type' => 'string'],
],
],
'AlertRuleLabelFilter' => [
@@ -711,16 +456,11 @@
'opt' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'AND',
- 'OR',
- ],
+ 'enum' => ['AND', 'OR'],
],
'labels' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
@@ -729,57 +469,43 @@
'properties' => [
'contacts' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'customWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'dingWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'fsWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'groups' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'silenceTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['type' => 'string'],
],
+ 'silenceTime' => ['type' => 'integer', 'format' => 'int64'],
'slackWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'wxWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'notifyTime' => [
- '$ref' => '#/components/schemas/AlertRuleTimeSpan',
+ 'items' => ['type' => 'string'],
],
+ 'notifyTime' => ['$ref' => '#/components/schemas/AlertRuleTimeSpan'],
'dingCoolAppWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
+ ],
+ 'qwencloudContacts' => [
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'boolean'],
],
],
],
@@ -789,235 +515,155 @@
'properties' => [
'slackWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'wxWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'dingWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'customWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'groups' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'fsWebhooks' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'contacts' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'AlertRuleQuery' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'expr' => [
- 'type' => 'string',
- ],
+ 'duration' => ['type' => 'integer', 'format' => 'int64'],
+ 'expr' => ['type' => 'string'],
'groupFieldList' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'groupType' => [
'type' => 'string',
- 'enum' => [
- 'none',
- 'label',
- 'custom',
- ],
+ 'enum' => ['none', 'label', 'custom'],
],
'queries' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'duration' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'end' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'pattern' => '',
- ],
- 'expr' => [
- 'type' => 'string',
- 'pattern' => '',
- ],
- 'start' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'pattern' => '',
- ],
+ 'duration' => ['type' => 'integer', 'format' => 'int64'],
+ 'end' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''],
+ 'expr' => ['type' => 'string', 'pattern' => ''],
+ 'start' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''],
'timeUnit' => [
'type' => 'string',
- 'enum' => [
- 'second',
- 'minute',
- 'hour',
- 'day',
- ],
- 'pattern' => '',
- ],
- 'window' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'enum' => ['second', 'minute', 'hour', 'day'],
'pattern' => '',
],
- 'apmAlertMetricId' => [
- 'type' => 'string',
- ],
+ 'window' => ['type' => 'integer', 'format' => 'int64', 'pattern' => ''],
+ 'apmAlertMetricId' => ['type' => 'string'],
'apmFilters' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'dim' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'dim' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
'apmGroupBy' => [
'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'name' => ['type' => 'string'],
+ 'promQl' => ['type' => 'string'],
+ 'metricSet' => ['type' => 'string'],
+ 'metric' => ['type' => 'string'],
+ 'labelFilters' => [
+ 'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'operator' => ['type' => 'string'],
+ ],
],
],
],
],
],
- 'firstJoin' => [
- '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin',
- ],
+ 'firstJoin' => ['$ref' => '#/components/schemas/AlertRuleSlsQueryJoin'],
'type' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'PROMQL_QUERY',
- 'SLS_MULTI_QUERY',
- 'APM_MULTI_QUERY',
- 'CMS_BASIC_QUERY',
- 'METRIC_SET_QUERY',
- ],
+ 'enum' => ['PROMQL_QUERY', 'SLS_MULTI_QUERY', 'APM_MULTI_QUERY', 'CMS_BASIC_QUERY', 'METRIC_SET_QUERY', 'LOG_SET_QUERY', 'PROMETHEUS_MULTI_QUERY', 'METRIC_SET_MULTI_QUERY'],
'pattern' => '',
],
- 'secondJoin' => [
- '$ref' => '#/components/schemas/AlertRuleSlsQueryJoin',
- ],
- 'checkAfterDataComplete' => [
- 'type' => 'boolean',
- ],
- 'relationType' => [
- 'type' => 'string',
- ],
- 'groupId' => [
- 'type' => 'string',
- ],
- 'namespace' => [
- 'type' => 'string',
- ],
+ 'secondJoin' => ['$ref' => '#/components/schemas/AlertRuleSlsQueryJoin'],
+ 'checkAfterDataComplete' => ['type' => 'boolean'],
+ 'relationType' => ['type' => 'string'],
+ 'groupId' => ['type' => 'string'],
+ 'namespace' => ['type' => 'string'],
'entityFilter' => [
'type' => 'object',
'properties' => [
- 'domain' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
+ 'domain' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
'filters' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'field' => [
- 'type' => 'string',
- ],
- 'operator' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'field' => ['type' => 'string'],
+ 'operator' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
],
],
- 'domain' => [
- 'type' => 'string',
- ],
- 'metricSet' => [
- 'type' => 'string',
- ],
- 'metric' => [
+ 'domain' => ['type' => 'string'],
+ 'metricSet' => ['type' => 'string'],
+ 'metric' => ['type' => 'string'],
+ 'logSet' => ['type' => 'string'],
+ 'windowSecs' => ['type' => 'integer', 'format' => 'int64'],
+ 'offsetSecs' => ['type' => 'integer', 'format' => 'int64'],
+ 'aggregate' => [
'type' => 'string',
+ 'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'],
],
'dimensions' => [
'type' => 'array',
'items' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
'serviceIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'labelFilters' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
- 'operator' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'operator' => ['type' => 'string'],
],
],
],
@@ -1026,12 +672,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'field' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'field' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'markTags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
],
@@ -1040,35 +692,21 @@
'AlertRuleRcaConfig' => [
'type' => 'object',
'properties' => [
- 'enableRca' => [
- 'type' => 'boolean',
- ],
- 'digitalEmployeeName' => [
- 'type' => 'string',
- ],
+ 'enableRca' => ['type' => 'boolean'],
+ 'digitalEmployeeName' => ['type' => 'string'],
],
],
'AlertRuleSend' => [
'type' => 'object',
'properties' => [
- 'notification' => [
- '$ref' => '#/components/schemas/AlertRuleNotification',
- ],
- 'action' => [
- '$ref' => '#/components/schemas/AlertRuleAction',
- ],
- 'sendToArms' => [
- 'type' => 'boolean',
- ],
+ 'notification' => ['$ref' => '#/components/schemas/AlertRuleNotification'],
+ 'action' => ['$ref' => '#/components/schemas/AlertRuleAction'],
+ 'sendToArms' => ['type' => 'boolean'],
'notifyStrategies' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'rcaConfig' => [
- '$ref' => '#/components/schemas/AlertRuleRcaConfig',
+ 'items' => ['type' => 'string'],
],
+ 'rcaConfig' => ['$ref' => '#/components/schemas/AlertRuleRcaConfig'],
],
],
'AlertRuleSlsQueryJoin' => [
@@ -1080,42 +718,44 @@
'type' => 'object',
'deprecated' => false,
'properties' => [
- 'oper' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'pattern' => '',
- ],
- 'secondField' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'pattern' => '',
- ],
- 'firstField' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'pattern' => '',
- ],
+ 'oper' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''],
+ 'secondField' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''],
+ 'firstField' => ['type' => 'string', 'deprecated' => false, 'pattern' => ''],
],
],
],
'type' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'CrossJoin',
- 'FullJoin',
- 'InnerJoin',
- 'LeftExclude',
- 'RightExclude',
- 'LeftJoin',
- 'RightJoin',
- 'NoJoin',
- 'Concat',
- ],
+ 'enum' => ['CrossJoin', 'FullJoin', 'InnerJoin', 'LeftExclude', 'RightExclude', 'LeftJoin', 'RightJoin', 'NoJoin', 'Concat'],
'pattern' => '',
],
],
],
+ 'AlertRuleTemplate' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'integer', 'format' => 'int64'],
+ 'uuid' => ['type' => 'string'],
+ 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'],
+ 'gmtModified' => ['type' => 'integer', 'format' => 'int64'],
+ 'userId' => ['type' => 'string'],
+ 'templateName' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'isSystem' => ['type' => 'integer', 'format' => 'int32'],
+ 'alertType' => ['type' => 'string'],
+ 'subType' => ['type' => 'string'],
+ 'status' => ['type' => 'integer', 'format' => 'int32'],
+ 'applyCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'ruleConfigs' => ['type' => 'string'],
+ 'labels' => ['type' => 'string'],
+ 'datasource' => ['type' => 'string'],
+ 'scenes' => ['type' => 'string'],
+ 'sourceType' => ['type' => 'string'],
+ 'bizType' => ['type' => 'string'],
+ 'schemaVersion' => ['type' => 'string'],
+ ],
+ ],
'AlertRuleTimeSpan' => [
'type' => 'object',
'properties' => [
@@ -1124,298 +764,461 @@
'items' => [
'type' => 'integer',
'format' => 'int32',
- 'enum' => [
- '1',
- '2',
- '3',
- '4',
- '5',
- '6',
- '7',
- ],
+ 'enum' => ['1', '2', '3', '4', '5', '6', '7'],
],
],
- 'gmtOffset' => [
+ 'gmtOffset' => ['type' => 'string'],
+ 'startTime' => ['type' => 'string'],
+ 'endTime' => ['type' => 'string'],
+ ],
+ ],
+ 'AlertRuleV2' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'createdAt' => ['type' => 'string'],
+ 'updatedAt' => ['type' => 'string'],
+ 'status' => [
'type' => 'string',
+ 'enum' => ['Alarm', 'Ok'],
+ ],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'displayName' => ['type' => 'string'],
+ 'contentTemplate' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'datasourceConfig' => ['$ref' => '#/components/schemas/DatasourceConfigUnified'],
+ 'queryConfig' => ['$ref' => '#/components/schemas/QueryConfigUnified'],
+ 'conditionConfig' => ['$ref' => '#/components/schemas/ConditionConfigUnified'],
+ 'scheduleConfig' => ['$ref' => '#/components/schemas/ScheduleConfigUnified'],
+ 'notifyConfig' => ['$ref' => '#/components/schemas/NotifyConfigUnified'],
+ 'actionIntegrationConfig' => ['$ref' => '#/components/schemas/ActionIntegrationConfig'],
+ 'armsIntegrationConfig' => ['$ref' => '#/components/schemas/ArmsIntegrationConfig'],
+ 'labels' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'startTime' => [
- 'type' => 'string',
+ 'annotations' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'endTime' => [
- 'type' => 'string',
+ 'datasourceType' => ['type' => 'string'],
+ 'observeResourceType' => ['type' => 'string'],
+ 'observeResourceGlobalScope' => ['type' => 'boolean'],
+ 'observeResourceList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ 'severityLevels' => ['type' => 'string'],
+ 'notifyStrategyId' => ['type' => 'string'],
+ 'partitionKey' => ['type' => 'string'],
],
],
- 'BizTraceConfig' => [
+ 'ApmCompositeCompareConfig' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'bizTraceId' => [
- 'type' => 'string',
- ],
- 'bizTraceName' => [
+ 'aggregate' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'],
],
- 'bizTraceCode' => [
+ 'operator' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['GT', 'GTE', 'LT', 'LTE', 'EQ', 'NE', 'YOY_UP', 'YOY_DOWN'],
],
- 'ruleConfig' => [
+ 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true],
+ 'yoyTimeUnit' => [
'type' => 'string',
+ 'enum' => ['minute', 'hour', 'day', 'week', 'month'],
],
- 'advancedConfig' => [
+ 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'ApmFilterConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => true],
+ 'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['ALL', 'EQ', 'NE', 'DISABLED'],
],
- 'createTime' => [
- 'type' => 'string',
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'ApmMeasureConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'measureCode' => ['type' => 'string', 'required' => true],
+ 'windowSecs' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'groupBy' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'regionId' => [
+ ],
+ ],
+ 'ApmThresholdConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'severity' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
],
+ 'threshold' => ['type' => 'number', 'format' => 'float'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
],
],
- 'CmsEventForView' => [
+ 'ArmsIntegrationConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'enabled' => ['type' => 'boolean'],
+ ],
+ ],
+ 'BizTraceConfig' => [
'type' => 'object',
'properties' => [
- 'id' => [
+ 'workspace' => ['type' => 'string'],
+ 'bizTraceId' => ['type' => 'string'],
+ 'bizTraceName' => ['type' => 'string'],
+ 'bizTraceCode' => ['type' => 'string'],
+ 'ruleConfig' => ['type' => 'string'],
+ 'advancedConfig' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ ],
+ ],
+ 'CloudMonitoringCompositeEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'relation' => ['type' => 'string'],
+ 'severity' => [
'type' => 'string',
+ 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
],
- 'dedupId' => [
- 'type' => 'string',
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ 'escalations' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalationEntry'],
],
- 'type' => [
+ ],
+ ],
+ 'CloudMonitoringCompositeEscalationEntry' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'comparisonOperator' => ['type' => 'string'],
+ 'metricName' => ['type' => 'string'],
+ 'period' => ['type' => 'integer', 'format' => 'int32'],
+ 'statistics' => ['type' => 'string'],
+ 'threshold' => ['type' => 'string'],
+ 'preCondition' => ['type' => 'string'],
+ ],
+ ],
+ 'CloudMonitoringExpressEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ 'severity' => [
'type' => 'string',
+ 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
],
- 'subtype' => [
+ 'rawExpression' => ['type' => 'string'],
+ ],
+ ],
+ 'CloudMonitoringPrometheusEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'severity' => [
'type' => 'string',
+ 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
],
- 'source' => [
- 'type' => 'string',
+ 'promQl' => ['type' => 'string'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'CloudMonitoringSimpleEscalation' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'metricName' => ['type' => 'string'],
+ 'period' => ['type' => 'integer', 'format' => 'int32'],
+ 'escalations' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/CloudMonitoringSimpleEscalationEntry'],
],
- 'time' => [
+ ],
+ ],
+ 'CloudMonitoringSimpleEscalationEntry' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'comparisonOperator' => ['type' => 'string'],
+ 'statistics' => ['type' => 'string'],
+ 'threshold' => ['type' => 'string'],
+ 'severity' => [
'type' => 'string',
+ 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'],
],
- 'timestamp' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'subject' => [
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ 'preCondition' => ['type' => 'string'],
+ ],
+ ],
+ 'CmsEventForView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => ['type' => 'string'],
+ 'dedupId' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'subtype' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'time' => ['type' => 'string'],
+ 'timestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'subject' => ['type' => 'string'],
+ 'severity' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'resource' => ['$ref' => '#/components/schemas/EventResourceForEventView'],
+ 'labels' => ['type' => 'object'],
+ 'annotations' => ['type' => 'object'],
+ 'dataschema' => ['type' => 'string'],
+ 'datacontenttype' => ['type' => 'string'],
+ 'data' => ['type' => 'any'],
+ 'receiveTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'workspace' => ['type' => 'string'],
+ 'workspaceTags' => ['type' => 'object'],
+ 'sysId' => ['type' => 'string'],
+ 'integrationUuid' => ['type' => 'string'],
+ 'sourcetype' => ['type' => 'string'],
+ ],
+ ],
+ 'ConditionConfigUnified' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['PROMETHEUS_SIMPLE_CONDITION', 'UMODEL_METRICSET_CONDITION', 'UMODEL_LOGSET_CONDITION', 'UMODEL_METRICSET_MULTI_CONDITION', 'APM_SIMPLE_CONDITION', 'APM_COMPOSITE_CONDITION', 'CLOUD_MONITORING_CONDITION', 'UNKNOWN_CONDITION'],
],
+ 'durationSecs' => ['type' => 'integer', 'format' => 'int32'],
'severity' => [
'type' => 'string',
+ 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
],
- 'status' => [
+ 'operator' => [
'type' => 'string',
+ 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
],
- 'resource' => [
- '$ref' => '#/components/schemas/EventResourceForEventView',
- ],
- 'labels' => [
- 'type' => 'object',
- ],
- 'annotations' => [
- 'type' => 'object',
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
+ 'aggregate' => [
+ 'type' => 'string',
+ 'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'],
],
- 'dataschema' => [
+ 'matchField' => ['type' => 'string'],
+ 'matchOperator' => [
'type' => 'string',
+ 'enum' => ['PRESENT', 'NOT_PRESENT', 'CONTAINS', 'EQUALS', 'REGEX'],
],
- 'datacontenttype' => [
+ 'matchValue' => ['type' => 'string'],
+ 'countOperator' => [
'type' => 'string',
+ 'enum' => ['GTE', 'GT', 'EQ', 'LTE', 'LT'],
],
- 'data' => [
- 'type' => 'any',
+ 'countThreshold' => ['type' => 'integer', 'format' => 'int64'],
+ 'thresholdList' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ApmThresholdConfig'],
],
- 'receiveTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'compareList' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ApmCompositeCompareConfig'],
],
- 'workspace' => [
+ 'relation' => [
'type' => 'string',
+ 'enum' => ['OR', 'AND'],
],
- 'workspaceTags' => [
- 'type' => 'object',
- ],
- 'sysId' => [
+ 'escalationType' => [
'type' => 'string',
+ 'enum' => ['simple', 'composite', 'express', 'prometheus'],
],
- 'integrationUuid' => [
+ 'simpleEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringSimpleEscalation'],
+ 'compositeEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalation'],
+ 'expressEscalation' => ['$ref' => '#/components/schemas/CloudMonitoringExpressEscalation'],
+ 'prometheus' => ['$ref' => '#/components/schemas/CloudMonitoringPrometheusEscalation'],
+ 'noDataPolicy' => ['type' => 'string'],
+ 'legacyType' => ['type' => 'string'],
+ 'yoyTimeUnit' => [
'type' => 'string',
+ 'enum' => ['minute', 'hour', 'day', 'week', 'month'],
],
- 'sourcetype' => [
- 'type' => 'string',
+ 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'],
+ 'triggers' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MetricSetMultiTrigger'],
],
+ 'enableSeveritySuppression' => ['type' => 'boolean'],
+ 'legacyRaw' => ['type' => 'string'],
],
],
'ContactForIncidentView' => [
'type' => 'object',
'properties' => [
- 'contactId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'contactId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
- 'DataStorageItem' => [
+ 'CustomExtractionStrategy' => [
'type' => 'object',
'properties' => [
- 'storeType' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'dataType' => [
+ 'strategyName' => ['type' => 'string'],
+ 'strategyType' => ['type' => 'string'],
+ 'extractionPrompt' => ['type' => 'string'],
+ 'updatePrompt' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ ],
+ ],
+ 'DatasourceConfigUnified' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['PROMETHEUS', 'UMODEL', 'APM', 'CLOUD_MONITORING', 'UNKNOWN'],
],
- 'project' => [
+ 'instanceId' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'productCategory' => ['type' => 'string'],
+ 'legacyType' => ['type' => 'string'],
+ 'legacyRaw' => ['type' => 'string'],
+ ],
+ ],
+ 'DatasourceTypeFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'string'],
+ ],
+ ],
+ 'DirectNotifyChannel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['CONTACT', 'GROUP', 'DINGTALK', 'FEISHU', 'SLACK', 'WEIXIN', 'WEBHOOK'],
],
- 'storeName' => [
- 'type' => 'string',
+ 'identifiers' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string'],
],
],
],
+ 'DisplayNameFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contains' => ['type' => 'string'],
+ 'notContains' => ['type' => 'string'],
+ ],
+ ],
'EffectTimeRange' => [
'type' => 'object',
'properties' => [
'dayInWeek' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'startTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'endTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'timeZone' => [
- 'type' => 'string',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
+ 'timeZone' => ['type' => 'string'],
+ ],
+ ],
+ 'EnabledFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'boolean'],
],
],
'EntityDiscoverRule' => [
'type' => 'object',
'properties' => [
+ 'resourceGroupId' => ['type' => 'string'],
'ipMatchRule' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ipFieldKey' => [
- 'type' => 'string',
- ],
- 'ipCIDR' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'instanceIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'ipFieldKey' => ['type' => 'string'],
+ 'ipCIDR' => ['type' => 'string'],
],
- ],
- 'fieldRules' => [
- 'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'op' => [
- 'type' => 'string',
- ],
- 'fieldKey' => [
- 'type' => 'string',
- ],
- 'fieldValues' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
+ 'ipFieldKey' => ['type' => 'string'],
+ 'ipCIDR' => ['type' => 'string'],
],
],
],
- 'annotations' => [
+ 'tags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'op' => [
- 'type' => 'string',
- ],
- 'tagKey' => [
- 'type' => 'string',
- ],
+ 'tagKey' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
'tagValues' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
- 'resourceGroupId' => [
- 'type' => 'string',
+ 'instanceIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
'entityTypes' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'regionIds' => [
'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'labels' => [
+ 'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'tagKey' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
],
- 'tags' => [
+ 'annotations' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'op' => [
- 'type' => 'string',
- ],
- 'tagKey' => [
- 'type' => 'string',
- ],
+ 'tagKey' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
'tagValues' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
- 'labels' => [
+ 'fieldRules' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'op' => [
- 'type' => 'string',
- ],
- 'tagKey' => [
- 'type' => 'string',
- ],
- 'tagValues' => [
+ 'fieldKey' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
+ 'fieldValues' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -1425,72 +1228,39 @@
'EntityGroupBase' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
'entityQueries' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'entityType' => [
- 'type' => 'string',
- ],
- 'spl' => [
- 'type' => 'string',
- ],
+ 'entityType' => ['type' => 'string'],
+ 'spl' => ['type' => 'string'],
],
],
],
- 'description' => [
- 'type' => 'string',
- ],
- 'entityGroupId' => [
- 'type' => 'string',
- ],
- 'entityRules' => [
- '$ref' => '#/components/schemas/EntityDiscoverRule',
- ],
- 'entityGroupName' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
+ 'description' => ['type' => 'string'],
+ 'entityGroupId' => ['type' => 'string'],
+ 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule'],
+ 'entityGroupName' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
],
],
'Evaluator' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'resultName' => [
- 'type' => 'string',
- ],
- 'dataScope' => [
- 'type' => 'string',
- ],
- 'resultType' => [
- 'type' => 'string',
- ],
- 'config' => [
- 'type' => 'object',
- ],
+ 'name' => ['type' => 'string'],
+ 'resultName' => ['type' => 'string'],
+ 'resultType' => ['type' => 'string'],
+ 'config' => ['type' => 'object'],
'filters' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'variableMapping' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
@@ -1500,487 +1270,312 @@
'entity' => [
'type' => 'object',
'properties' => [
- 'domain' => [
- 'type' => 'string',
- ],
- 'entityType' => [
- 'type' => 'string',
- ],
- 'entityId' => [
- 'type' => 'string',
- ],
- 'prop' => [
- 'type' => 'object',
- ],
+ 'domain' => ['type' => 'string'],
+ 'entityType' => ['type' => 'string'],
+ 'entityId' => ['type' => 'string'],
+ 'prop' => ['type' => 'object'],
],
],
- 'tags' => [
- 'type' => 'object',
- ],
+ 'tags' => ['type' => 'object'],
],
],
'EventResourceForIncidentView' => [
'type' => 'object',
'properties' => [
- 'tags' => [
- 'type' => 'string',
- ],
- 'probs' => [
- 'type' => 'string',
+ 'tags' => ['type' => 'string'],
+ 'probs' => ['type' => 'string'],
+ 'entityType' => ['type' => 'string'],
+ 'entityId' => ['type' => 'string'],
+ 'domain' => ['type' => 'string'],
+ ],
+ ],
+ 'ExperimentConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'label' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'modelProvider' => ['type' => 'string'],
+ 'modelParameters' => ['$ref' => '#/components/schemas/ModelParameters'],
+ 'endpointConnectorId' => ['type' => 'string'],
+ 'promptTemplate' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/PromptTemplateItem'],
],
- 'entityType' => [
- 'type' => 'string',
+ ],
+ ],
+ 'ExperimentPlanData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'planId' => ['type' => 'string'],
+ 'planName' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'datasetId' => ['type' => 'string'],
+ 'experimentCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'createdAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'updatedAt' => ['type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
+ 'ExperimentRecord' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'planId' => ['type' => 'string'],
+ 'experimentName' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ 'totalTasks' => ['type' => 'integer', 'format' => 'int32'],
+ 'failedTasks' => ['type' => 'integer', 'format' => 'int32'],
+ 'completedTasks' => ['type' => 'integer', 'format' => 'int32'],
+ 'progress' => ['type' => 'number', 'format' => 'float'],
+ 'executedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'completedAt' => ['type' => 'integer', 'format' => 'int64'],
+ 'datasetId' => ['type' => 'string'],
+ 'planName' => ['type' => 'string'],
+ 'recordId' => ['type' => 'string'],
+ 'experimentConfig' => ['$ref' => '#/components/schemas/ExperimentConfig'],
+ 'dataSourceType' => ['type' => 'string'],
+ 'modelName' => ['type' => 'string'],
+ 'errorMessage' => ['type' => 'string'],
+ 'datasetProject' => ['type' => 'string'],
+ 'evaluators' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/Evaluator'],
],
- 'entityId' => [
- 'type' => 'string',
+ 'input' => ['type' => 'object'],
+ 'selectedItemIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'domain' => [
+ ],
+ ],
+ 'Filter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['$ref' => '#/components/schemas/UuidFilter'],
+ 'displayName' => ['$ref' => '#/components/schemas/DisplayNameFilter'],
+ 'labels' => ['$ref' => '#/components/schemas/LabelsFilter'],
+ 'status' => ['$ref' => '#/components/schemas/StatusFilter'],
+ 'enabled' => ['$ref' => '#/components/schemas/EnabledFilter'],
+ ],
+ ],
+ 'FilterCondition' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => ['type' => 'string'],
+ 'op' => [
'type' => 'string',
+ 'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'KEYWORD', 'KEYWORD_ALL_MATCH', 'KEYWORD_NOT_MATCH', 'INTERSECT', 'NOT_INTERSECT', 'PATTERN', 'PATTERN_ALL_MATCH', 'PATTERN_NOT_IN', 'EXIST'],
],
+ 'value' => ['type' => 'string'],
],
],
'FilterSetting' => [
'type' => 'object',
'properties' => [
- 'expression' => [
- 'type' => 'string',
- ],
+ 'expression' => ['type' => 'string'],
'conditions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'op' => [
- 'type' => 'string',
- ],
- 'field' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
+ 'op' => ['type' => 'string'],
+ 'field' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
],
],
'maxItems' => 10,
],
- 'relation' => [
- 'type' => 'string',
- ],
+ 'relation' => ['type' => 'string'],
],
],
'IncidentContactStruct' => [
'type' => 'object',
'properties' => [
- 'contactId' => [
- 'type' => 'string',
- ],
+ 'contactId' => ['type' => 'string'],
'channel' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'contactType' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'contactType' => ['type' => 'string'],
],
],
'IncidentEscalationPolicyForModify' => [
'type' => 'object',
'properties' => [
- 'description' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'description' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'name' => ['type' => 'string', 'required' => true],
'escalationStageList' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentEscalationStageForView',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageForView'],
],
],
],
'IncidentEscalationPolicyForView' => [
'type' => 'object',
'properties' => [
- 'createTime' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'updateTime' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'ownerType' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'string',
- ],
- 'syncFromType' => [
- 'type' => 'string',
- ],
- 'uuid' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
+ 'createTime' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'updateTime' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'ownerType' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'syncFromType' => ['type' => 'string'],
+ 'uuid' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
'escalationStageList' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentEscalationStageForView',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageForView'],
],
],
],
'IncidentEscalationStageForView' => [
'type' => 'object',
'properties' => [
- 'cycleNotifyInterval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'cycleNotifyCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'triggerDelay' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'effectTimeRange' => [
- '$ref' => '#/components/schemas/EffectTimeRange',
- ],
- 'targetIncidentState' => [
- 'type' => 'string',
- ],
- 'index' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'cycleNotifyInterval' => ['type' => 'integer', 'format' => 'int32'],
+ 'cycleNotifyCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'triggerDelay' => ['type' => 'integer', 'format' => 'int32'],
+ 'effectTimeRange' => ['$ref' => '#/components/schemas/EffectTimeRange'],
+ 'targetIncidentState' => ['type' => 'string'],
+ 'index' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
'notifyChannels' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/NotifyChannel',
- ],
+ 'items' => ['$ref' => '#/components/schemas/NotifyChannel'],
],
],
],
'IncidentEscalationStageStruct' => [
'type' => 'object',
'properties' => [
- 'stageIndex' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'cycleNotifyTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'stageIndex' => ['type' => 'integer', 'format' => 'int32'],
+ 'cycleNotifyTime' => ['type' => 'integer', 'format' => 'int32'],
'contact' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentContactStruct',
- ],
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'timeZone' => [
- 'type' => 'string',
- ],
- 'effectTime' => [
- 'type' => 'string',
- ],
- 'waitToNextStageTime' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'cycleNotifyCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['$ref' => '#/components/schemas/IncidentContactStruct'],
],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'timeZone' => ['type' => 'string'],
+ 'effectTime' => ['type' => 'string'],
+ 'waitToNextStageTime' => ['type' => 'integer', 'format' => 'int32'],
+ 'cycleNotifyCount' => ['type' => 'integer', 'format' => 'int32'],
],
],
'IncidentEscalationStruct' => [
'type' => 'object',
'properties' => [
- 'incidentEscalationId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'modifyTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'incidentEscalationId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'modifyTime' => ['type' => 'integer', 'format' => 'int64'],
'stage' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentEscalationStageStruct',
- ],
- ],
- 'createTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStageStruct'],
],
+ 'createTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'regionId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
],
],
'IncidentEventForView' => [
'type' => 'object',
'properties' => [
- 'incidentUuid' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentEventUuid' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'dimension' => [
- 'type' => 'object',
- ],
- 'labels' => [
- 'type' => 'object',
- ],
- 'groupBy' => [
- 'type' => 'object',
- ],
- 'eventResource' => [
- '$ref' => '#/components/schemas/EventResourceForIncidentView',
- ],
- 'content' => [
- '$ref' => '#/components/schemas/CmsEventForView',
- ],
- 'severity' => [
- 'type' => 'string',
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'severityCountMap' => [
- 'type' => 'object',
- ],
- 'lastTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'recoverTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'autoRecoverTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'state' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'incidentUuid' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentEventUuid' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'dimension' => ['type' => 'object'],
+ 'labels' => ['type' => 'object'],
+ 'groupBy' => ['type' => 'object'],
+ 'eventResource' => ['$ref' => '#/components/schemas/EventResourceForIncidentView'],
+ 'content' => ['$ref' => '#/components/schemas/CmsEventForView'],
+ 'severity' => ['type' => 'string'],
+ 'count' => ['type' => 'integer', 'format' => 'int32'],
+ 'severityCountMap' => ['type' => 'object'],
+ 'lastTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'recoverTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'autoRecoverTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'state' => ['type' => 'integer', 'format' => 'int32'],
'searchIndex' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'textIndex' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'textIndex' => ['type' => 'string'],
],
],
'IncidentEventStruct' => [
'type' => 'object',
'properties' => [
- 'lastTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'recoverTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'autoRecoverTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'lastTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'recoverTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'autoRecoverTime' => ['type' => 'integer', 'format' => 'int64'],
'resource' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'count' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'count' => ['type' => 'integer', 'format' => 'int32'],
'groupBy' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'string',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'incidentEventId' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'title' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
+ 'time' => ['type' => 'string'],
+ 'incidentId' => ['type' => 'string'],
+ 'incidentEventId' => ['type' => 'string'],
'dimension' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'status' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'status' => ['type' => 'integer', 'format' => 'int64'],
],
],
'IncidentForView' => [
'type' => 'object',
'properties' => [
- 'content' => [
- 'type' => 'string',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'plan' => [
- '$ref' => '#/components/schemas/IncidentResponsePlanForView',
- ],
- 'severity' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'groupUuid' => [
- 'type' => 'string',
- ],
- 'state' => [
- 'type' => 'string',
- ],
- 'notifyStrategyUuid' => [
- 'type' => 'string',
- ],
- 'subscriptionUuid' => [
- 'type' => 'string',
- ],
- 'operator' => [
- '$ref' => '#/components/schemas/ContactForIncidentView',
- ],
- 'notifyStrategyName' => [
- 'type' => 'string',
- ],
- 'subscriptionName' => [
- 'type' => 'string',
- ],
+ 'content' => ['type' => 'string'],
+ 'incidentId' => ['type' => 'string'],
+ 'plan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForView'],
+ 'severity' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'title' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'groupUuid' => ['type' => 'string'],
+ 'state' => ['type' => 'string'],
+ 'notifyStrategyUuid' => ['type' => 'string'],
+ 'subscriptionUuid' => ['type' => 'string'],
+ 'operator' => ['$ref' => '#/components/schemas/ContactForIncidentView'],
+ 'notifyStrategyName' => ['type' => 'string'],
+ 'subscriptionName' => ['type' => 'string'],
'escalations' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentEscalationPolicyForView',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IncidentEscalationPolicyForView'],
],
'owners' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ContactForIncidentView',
- ],
+ 'items' => ['$ref' => '#/components/schemas/ContactForIncidentView'],
],
'participants' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ContactForIncidentView',
- ],
+ 'items' => ['$ref' => '#/components/schemas/ContactForIncidentView'],
],
'groupingKeys' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
+ 'additionalProperties' => ['type' => 'string'],
],
'relatedResources' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/EventResourceForIncidentView',
- ],
- ],
- 'solution' => [
- 'type' => 'string',
- ],
- 'rootCauseCategory' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/EventResourceForIncidentView'],
],
+ 'solution' => ['type' => 'string'],
+ 'rootCauseCategory' => ['type' => 'string'],
],
],
'IncidentMemberStruct' => [
@@ -1989,74 +1584,39 @@
'acknowledge' => [
'type' => 'object',
'properties' => [
- 'breakLevel' => [
- 'type' => 'string',
- ],
- 'verifyTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'breakLevel' => ['type' => 'string'],
+ 'verifyTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
- 'incidentMemberId' => [
- 'type' => 'string',
- ],
- 'contactId' => [
- 'type' => 'string',
- ],
+ 'incidentMemberId' => ['type' => 'string'],
+ 'contactId' => ['type' => 'string'],
'escalation' => [
'type' => 'object',
'properties' => [
- 'stageIndex' => [
- 'type' => 'string',
- ],
- 'incidentEscalationId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
+ 'stageIndex' => ['type' => 'string'],
+ 'incidentEscalationId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
],
],
'scheduleGroup' => [
'type' => 'object',
'properties' => [
- 'contactId' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
+ 'contactId' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
],
],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentId' => ['type' => 'string'],
+ 'userId' => ['type' => 'integer', 'format' => 'int64'],
'contacts' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'contactMask' => [
- 'type' => 'string',
- ],
- 'channel' => [
- 'type' => 'string',
- ],
+ 'contactMask' => ['type' => 'string'],
+ 'channel' => ['type' => 'string'],
],
],
],
@@ -2065,41 +1625,19 @@
'IncidentNoteStruct' => [
'type' => 'object',
'properties' => [
- 'format' => [
- 'type' => 'string',
- ],
- 'noteId' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
+ 'format' => ['type' => 'string'],
+ 'noteId' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentId' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
'operator' => [
'type' => 'object',
'properties' => [
- 'contactId' => [
- 'type' => 'string',
- ],
- 'contact' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'contactId' => ['type' => 'string'],
+ 'contact' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'userId' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -2107,25 +1645,17 @@
'IncidentPlanCorporationStruct' => [
'type' => 'object',
'properties' => [
- 'channel' => [
- 'type' => 'string',
- ],
- 'robotId' => [
- 'type' => 'string',
- ],
+ 'channel' => ['type' => 'string'],
+ 'robotId' => ['type' => 'string'],
],
],
'IncidentPlanFieldPath' => [
'type' => 'object',
'properties' => [
- 'fieldAlias' => [
- 'type' => 'string',
- ],
+ 'fieldAlias' => ['type' => 'string'],
'fieldPath' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2134,568 +1664,613 @@
'properties' => [
'escalationId' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'gmtModified' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'workspace' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'gmtModified' => ['type' => 'integer', 'format' => 'int64'],
+ 'workspace' => ['type' => 'string'],
'resourceFiled' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentPlanFieldPath',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IncidentPlanFieldPath'],
],
'corporation' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentPlanCorporationStruct',
- ],
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'autoRecoverSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['$ref' => '#/components/schemas/IncidentPlanCorporationStruct'],
],
+ 'description' => ['type' => 'string'],
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'],
'groupBy' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentPlanFieldPath',
- ],
- ],
- 'gmtCreate' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'closeExpire' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'incidentPlanId' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/IncidentPlanFieldPath'],
],
+ 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'],
+ 'userId' => ['type' => 'integer', 'format' => 'int64'],
+ 'closeExpire' => ['type' => 'integer', 'format' => 'int64'],
+ 'name' => ['type' => 'string'],
+ 'incidentPlanId' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
],
],
'IncidentResourceDetail' => [
'type' => 'object',
'properties' => [
- 'resourceId' => [
- 'type' => 'object',
- ],
- 'extraId' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
+ 'resourceId' => ['type' => 'object'],
+ 'extraId' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
],
],
'IncidentResourceStruct' => [
'type' => 'object',
'properties' => [
- 'resource' => [
- '$ref' => '#/components/schemas/IncidentResourceDetail',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'incidentResourceId' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'resource' => ['$ref' => '#/components/schemas/IncidentResourceDetail'],
+ 'description' => ['type' => 'string'],
+ 'incidentResourceId' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentId' => ['type' => 'string'],
+ 'userId' => ['type' => 'integer', 'format' => 'int64'],
],
],
- 'IncidentResponsePlanForView' => [
+ 'IncidentResponsePlanForModify' => [
'type' => 'object',
'properties' => [
- 'type' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'string',
+ 'uuid' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'type' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ 'syncFromType' => ['type' => 'string'],
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'],
+ 'escalationId' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ 'repeatNotifySetting' => ['$ref' => '#/components/schemas/RepeatNotifySetting'],
+ 'pushingSetting' => ['$ref' => '#/components/schemas/PushingSetting'],
+ ],
+ ],
+ 'IncidentResponsePlanForSNSModify' => [
+ 'type' => 'object',
+ 'properties' => [
'escalationId' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'repeatNotifySetting' => [
- '$ref' => '#/components/schemas/RepeatNotifySetting',
- ],
- 'mode' => [
- 'type' => 'string',
- ],
- 'autoRecoverSeconds' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'syncFromType' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'endIncidentState' => ['type' => 'string'],
+ 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'],
'pushingSetting' => [
- '$ref' => '#/components/schemas/PushingSetting',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'uuid' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => ['type' => 'string'],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
- 'enabled' => [
- 'type' => 'boolean',
+ ],
+ ],
+ 'IncidentResponsePlanForSNSView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'syncFromType' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'escalationId' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'createTime' => [
- 'type' => 'string',
+ 'repeatNotifySetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'endIncidentState' => ['type' => 'string'],
+ 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
- 'updateTime' => [
- 'type' => 'string',
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'],
+ 'pushingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => ['type' => 'string'],
+ 'alertActionIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'restoreActionIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ ],
+ ],
+ 'IncidentResponsePlanForView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'escalationId' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'repeatNotifySetting' => ['$ref' => '#/components/schemas/RepeatNotifySetting'],
+ 'mode' => ['type' => 'string'],
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int64'],
+ 'syncFromType' => ['type' => 'string'],
+ 'pushingSetting' => ['$ref' => '#/components/schemas/PushingSetting'],
+ 'name' => ['type' => 'string'],
+ 'uuid' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
],
],
'IncidentStruct' => [
'type' => 'object',
'properties' => [
- 'severity' => [
- 'type' => 'string',
- ],
+ 'severity' => ['type' => 'string'],
'escalations' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IncidentEscalationStruct',
- ],
- ],
- 'resource' => [
- '$ref' => '#/components/schemas/IncidentResourceDetail',
- ],
- 'incidentPlan' => [
- '$ref' => '#/components/schemas/IncidentPlanStruct',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
- 'status' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/IncidentEscalationStruct'],
],
+ 'resource' => ['$ref' => '#/components/schemas/IncidentResourceDetail'],
+ 'incidentPlan' => ['$ref' => '#/components/schemas/IncidentPlanStruct'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentId' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
],
],
'IncidentTimeline' => [
'type' => 'object',
'properties' => [
- 'childType' => [
- 'type' => 'string',
- ],
- 'incidentTimelineId' => [
- 'type' => 'string',
- ],
- 'timelineId' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'incidentId' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'content' => [
- 'type' => 'string',
- ],
+ 'childType' => ['type' => 'string'],
+ 'incidentTimelineId' => ['type' => 'string'],
+ 'timelineId' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'incidentId' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
],
],
'IncidentTimelineForView' => [
'type' => 'object',
'properties' => [
- 'incidentUuid' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'time' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'timelineUuid' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
+ 'incidentUuid' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'time' => ['type' => 'integer', 'format' => 'int64'],
+ 'timelineUuid' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'changeType' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
+ 'content' => ['type' => 'any'],
+ 'workspace' => ['type' => 'string'],
+ 'operator' => ['$ref' => '#/components/schemas/ContactForIncidentView'],
+ ],
+ ],
+ 'IndexJsonKey' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => ['type' => 'string'],
+ 'chn' => ['type' => 'boolean'],
+ ],
+ ],
+ 'IndexKey' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'chn' => ['type' => 'boolean'],
+ 'type' => ['type' => 'string'],
+ 'embedding' => ['type' => 'string'],
+ 'jsonKeys' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['$ref' => '#/components/schemas/IndexJsonKey'],
],
- 'changeType' => [
- 'type' => 'string',
+ ],
+ ],
+ 'LabelMatcher' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'LabelsFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'anyOf' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/LabelMatcher'],
],
- 'title' => [
- 'type' => 'string',
+ 'allOf' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/LabelMatcher'],
],
- 'content' => [
- 'type' => 'any',
+ ],
+ ],
+ 'ListEventMetaCacheAllKeys_DataResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'label' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'workspace' => [
- 'type' => 'string',
+ 'annotation' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'operator' => [
- '$ref' => '#/components/schemas/ContactForIncidentView',
+ 'resourceTag' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
'MaintainWindowForModify' => [
'type' => 'object',
'properties' => [
- 'effective' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'maintainWindowName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'startTime' => [
- 'type' => 'string',
- ],
+ 'effective' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'maintainWindowName' => ['type' => 'string', 'required' => true],
+ 'startTime' => ['type' => 'string'],
'effectTimeRange' => [
'type' => 'object',
'properties' => [
- 'startTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1438',
- ],
- 'timeZone' => [
- 'type' => 'string',
- ],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'],
+ 'timeZone' => ['type' => 'string'],
'dayInWeek' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'endTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1439',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'],
],
],
- 'endTime' => [
- 'type' => 'string',
- ],
+ 'endTime' => ['type' => 'string'],
],
],
'MaintainWindowForView' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'maintainWindowId' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'maintainWindowName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'updateTime' => [
- 'type' => 'string',
- ],
+ 'workspace' => ['type' => 'string'],
+ 'maintainWindowId' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'maintainWindowName' => ['type' => 'string', 'required' => true],
+ 'updateTime' => ['type' => 'string'],
'effectTimeRange' => [
'type' => 'object',
'properties' => [
- 'startTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1438',
- ],
- 'timeZone' => [
- 'type' => 'string',
- ],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'],
+ 'timeZone' => ['type' => 'string'],
'dayInWeek' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'endTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1439',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'],
],
],
- 'userId' => [
- 'type' => 'string',
+ 'userId' => ['type' => 'string'],
+ 'effective' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'startTime' => ['type' => 'string'],
+ 'endTime' => ['type' => 'string'],
+ ],
+ ],
+ 'ManageAlertRulesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'alertRule' => ['$ref' => '#/components/schemas/AlertRuleV2'],
+ 'deletedCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'deletedUuidList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'effective' => [
- 'type' => 'string',
+ 'updatedCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'updatedUuidList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'createTime' => [
+ ],
+ ],
+ 'ManageAlertRulesUnifiedActionInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'action' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['CREATE', 'UPDATE', 'PATCH', 'BATCH_DELETE', 'BATCH_ENABLE', 'BATCH_DISABLE', 'DELETE', 'ENABLE', 'DISABLE'],
+ ],
+ 'uuid' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'displayName' => ['type' => 'string'],
+ 'contentTemplate' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'datasourceConfig' => ['$ref' => '#/components/schemas/DatasourceConfigUnified'],
+ 'queryConfig' => ['$ref' => '#/components/schemas/QueryConfigUnified'],
+ 'conditionConfig' => ['$ref' => '#/components/schemas/ConditionConfigUnified'],
+ 'scheduleConfig' => ['$ref' => '#/components/schemas/ScheduleConfigUnified'],
+ 'notifyConfig' => ['$ref' => '#/components/schemas/NotifyConfigUnified'],
+ 'actionIntegrationConfig' => ['$ref' => '#/components/schemas/ActionIntegrationConfig'],
+ 'armsIntegrationConfig' => ['$ref' => '#/components/schemas/ArmsIntegrationConfig'],
+ 'observeResourceInstanceId' => ['type' => 'string'],
+ 'observeResourceType' => ['type' => 'string'],
+ 'labels' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'startTime' => [
- 'type' => 'string',
+ 'annotations' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'endTime' => [
- 'type' => 'string',
+ 'uuidList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
'MergeContact' => [
'type' => 'object',
'properties' => [
- 'gmtModified' => [
- 'type' => 'string',
- ],
- 'name' => [
- 'type' => 'string',
- ],
- 'gmtCreate' => [
- 'type' => 'string',
- ],
- 'identifier' => [
- 'type' => 'string',
- ],
- 'phoneCode' => [
- 'type' => 'string',
- ],
- 'phone' => [
- 'type' => 'string',
- ],
- 'phoneVerify' => [
- 'type' => 'boolean',
- ],
- 'email' => [
- 'type' => 'string',
- ],
- 'emailVerify' => [
- 'type' => 'boolean',
- ],
- 'lang' => [
- 'type' => 'string',
- ],
- 'source' => [
- 'type' => 'string',
- ],
- 'extend' => [
- 'type' => 'object',
- ],
+ 'gmtModified' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'gmtCreate' => ['type' => 'string'],
+ 'identifier' => ['type' => 'string'],
+ 'phoneCode' => ['type' => 'string'],
+ 'phone' => ['type' => 'string'],
+ 'phoneVerify' => ['type' => 'boolean'],
+ 'email' => ['type' => 'string'],
+ 'emailVerify' => ['type' => 'boolean'],
+ 'lang' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'extend' => ['type' => 'object'],
],
],
'MergeContactGroup' => [
'type' => 'object',
'properties' => [
- 'name' => [
- 'type' => 'string',
- ],
- 'gmtModified' => [
- 'type' => 'string',
- ],
- 'identifier' => [
- 'type' => 'string',
- ],
- 'gmtCreate' => [
- 'type' => 'string',
- ],
+ 'name' => ['type' => 'string'],
+ 'gmtModified' => ['type' => 'string'],
+ 'identifier' => ['type' => 'string'],
+ 'gmtCreate' => ['type' => 'string'],
'contacts' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
+ 'extend' => ['type' => 'object'],
+ 'source' => ['type' => 'string'],
+ ],
+ ],
+ 'MergeOncallSchedule' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtModified' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'gmtCreate' => ['type' => 'string'],
+ 'identifier' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ 'detail' => ['type' => 'object'],
+ 'workspace' => ['type' => 'string'],
+ ],
+ ],
+ 'MergeRobot' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'webhook' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'gmtModified' => ['type' => 'string'],
+ 'identifier' => ['type' => 'string'],
+ 'lang' => ['type' => 'string'],
'extend' => [
'type' => 'object',
+ 'properties' => [
+ 'dailyNoc' => ['type' => 'boolean'],
+ 'dingSignKey' => ['type' => 'string'],
+ 'enableOutgoing' => ['type' => 'boolean'],
+ 'cardTemplate' => ['type' => 'string'],
+ 'dailyNocTime' => ['type' => 'string'],
+ 'token' => ['type' => 'string'],
+ ],
],
- 'source' => [
- 'type' => 'string',
- ],
+ 'source' => ['type' => 'string'],
],
],
- 'MergeRobot' => [
+ 'MergeWebhook' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'gmtCreate' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'gmtModified' => ['type' => 'object'],
+ 'identifier' => ['type' => 'string'],
+ 'webhook' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'headers' => ['type' => 'string'],
+ 'method' => ['type' => 'string'],
+ 'contentType' => ['type' => 'string'],
+ 'lang' => ['type' => 'string'],
+ 'extend' => ['type' => 'string'],
+ 'source' => ['type' => 'string'],
+ ],
+ ],
+ 'MetricSetMultiTrigger' => [
'type' => 'object',
'properties' => [
- 'name' => [
+ 'severity' => [
'type' => 'string',
+ 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'],
],
- 'webhook' => [
+ 'durationSecs' => ['type' => 'integer', 'format' => 'int32'],
+ 'expressionType' => [
'type' => 'string',
+ 'enum' => ['SIMPLE', 'COMPOSITE'],
],
- 'type' => [
+ 'queryName' => ['type' => 'string'],
+ 'operator' => [
'type' => 'string',
+ 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
],
- 'createTime' => [
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
+ 'logicOperator' => [
'type' => 'string',
+ 'enum' => ['AND', 'OR', 'UNLESS'],
],
- 'gmtModified' => [
- 'type' => 'string',
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression'],
],
- 'identifier' => [
- 'type' => 'string',
+ ],
+ ],
+ 'MetricSetNamedQueryEntry' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'metricSet' => ['type' => 'string'],
+ 'metric' => ['type' => 'string'],
+ 'labelFilters' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UmodelLabelFilter'],
],
- 'lang' => [
+ ],
+ ],
+ 'MetricSetTriggerCompositeExpression' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'expressionType' => ['type' => 'string'],
+ 'logicOperator' => [
'type' => 'string',
+ 'enum' => ['AND', 'OR', 'UNLESS'],
],
- 'extend' => [
- 'type' => 'object',
- 'properties' => [
- 'dailyNoc' => [
- 'type' => 'boolean',
- ],
- 'dingSignKey' => [
- 'type' => 'string',
- ],
- 'enableOutgoing' => [
- 'type' => 'boolean',
- ],
- 'cardTemplate' => [
- 'type' => 'string',
- ],
- 'dailyNocTime' => [
- 'type' => 'string',
- ],
- 'token' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'source' => [
- 'type' => 'string',
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MetricSetTriggerSimpleExpression'],
],
],
],
- 'MergeWebhook' => [
+ 'MetricSetTriggerSimpleExpression' => [
'type' => 'object',
'properties' => [
- 'gmtCreate' => [
- 'type' => 'string',
- ],
- 'name' => [
+ 'expressionType' => ['type' => 'string'],
+ 'queryName' => ['type' => 'string'],
+ 'operator' => [
'type' => 'string',
+ 'enum' => ['GT', 'GE', 'GTE', 'LT', 'LE', 'LTE', 'EQ', 'NE', 'IN_RANGE', 'OUT_OF_RANGE', 'PRESENT', 'NOT_PRESENT', 'YOY_UP', 'YOY_DOWN'],
],
- 'gmtModified' => [
- 'type' => 'object',
+ 'threshold' => ['type' => 'number', 'format' => 'double'],
+ 'min' => ['type' => 'number', 'format' => 'double'],
+ 'max' => ['type' => 'number', 'format' => 'double'],
+ ],
+ ],
+ 'ModelParameters' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'temperature' => ['type' => 'number', 'format' => 'float'],
+ 'maxTokens' => ['type' => 'integer', 'format' => 'int64'],
+ 'topP' => ['type' => 'number', 'format' => 'float'],
+ 'topK' => ['type' => 'integer', 'format' => 'int32'],
+ 'frequencyPenalty' => ['type' => 'number', 'format' => 'float'],
+ 'presencePenalty' => ['type' => 'number', 'format' => 'float'],
+ 'stopSequences' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'identifier' => [
- 'type' => 'string',
+ ],
+ ],
+ 'NotifyChannel' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channelType' => ['type' => 'string'],
+ 'receivers' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'webhook' => [
- 'type' => 'string',
+ 'enabledSubChannels' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ ],
+ ],
+ 'NotifyConfigUnified' => [
+ 'type' => 'object',
+ 'properties' => [
'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['DIRECT_NOTIFY', 'NOTIFY_POLICY'],
],
- 'headers' => [
- 'type' => 'string',
- ],
- 'method' => [
- 'type' => 'string',
- ],
- 'contentType' => [
- 'type' => 'string',
- ],
- 'lang' => [
- 'type' => 'string',
+ 'channels' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/DirectNotifyChannel'],
],
- 'extend' => [
- 'type' => 'string',
+ 'silenceTimeSecs' => ['type' => 'integer', 'format' => 'int32'],
+ 'activeDays' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
- 'source' => [
- 'type' => 'string',
+ 'activeStartTime' => ['type' => 'string'],
+ 'activeEndTime' => ['type' => 'string'],
+ 'utcOffset' => ['type' => 'string'],
+ 'notifyStrategies' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
- 'NotifyChannel' => [
+ 'NotifyRouteForSubscription' => [
'type' => 'object',
'properties' => [
- 'channelType' => [
- 'type' => 'string',
- ],
- 'receivers' => [
+ 'channels' => [
'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'channelType' => ['type' => 'string'],
+ 'receivers' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'enabledSubChannels' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
],
- 'enabledSubChannels' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
+ 'effectTimeRange' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'timeZone' => ['type' => 'string'],
+ 'dayInWeek' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
@@ -2703,40 +2278,22 @@
'NotifyStrategyForModify' => [
'type' => 'object',
'properties' => [
- 'description' => [
- 'type' => 'string',
- ],
+ 'description' => ['type' => 'string'],
'groupingSetting' => [
'type' => 'object',
'required' => true,
'properties' => [
'groupingKeys' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'periodMin' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'silenceSec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'times' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['type' => 'string'],
],
+ 'periodMin' => ['type' => 'integer', 'format' => 'int32'],
+ 'silenceSec' => ['type' => 'integer', 'format' => 'int32'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'ignoreRestoredNotification' => [
- 'type' => 'boolean',
- ],
- 'notifyStrategyName' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'ignoreRestoredNotification' => ['type' => 'boolean'],
+ 'notifyStrategyName' => ['type' => 'string', 'required' => true],
'routes' => [
'type' => 'array',
'required' => true,
@@ -2751,30 +2308,16 @@
'channelType' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'DING',
- 'WEIXIN',
- 'FEISHU',
- 'SLACK',
- 'TEAMS',
- 'CONTACT',
- 'GROUP',
- 'DUTY',
- 'DING_COOL_APP',
- ],
+ 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
],
'enabledSubChannels' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'receivers' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2784,43 +2327,20 @@
'properties' => [
'dayInWeek' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'endTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1439',
- ],
- 'startTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1438',
- ],
- 'timeZone' => [
- 'type' => 'string',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'],
+ 'timeZone' => ['type' => 'string'],
],
],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
'severities' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'digitalEmployeeName' => [
- 'type' => 'string',
- ],
- 'enableRca' => [
- 'type' => 'boolean',
+ 'items' => ['type' => 'string'],
],
+ 'digitalEmployeeName' => ['type' => 'string'],
+ 'enableRca' => ['type' => 'boolean'],
],
],
],
@@ -2829,113 +2349,61 @@
'items' => [
'type' => 'object',
'properties' => [
- 'targetType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'templateUuid' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'targetType' => ['type' => 'string', 'required' => true],
+ 'templateUuid' => ['type' => 'string', 'required' => true],
],
],
],
- 'enableIncidentManagement' => [
- 'type' => 'boolean',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'workspaceFilterSetting' => [
- '$ref' => '#/components/schemas/WorkspaceFilterSetting',
- ],
+ 'enableIncidentManagement' => ['type' => 'boolean'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
'pushingSetting' => [
'type' => 'object',
'properties' => [
- 'templateUuid' => [
- 'type' => 'string',
- ],
+ 'templateUuid' => ['type' => 'string'],
'alertActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'restoreActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'repeatNotifySetting' => [
'type' => 'object',
'properties' => [
- 'endIncidentState' => [
- 'type' => 'string',
- ],
- 'repeatInterval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'endIncidentState' => ['type' => 'string'],
+ 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'autoRecoverSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'],
'escalationId' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'NotifyStrategyForView' => [
+ 'NotifyStrategyForSNSModify' => [
'type' => 'object',
'properties' => [
- 'createTime' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
+ 'description' => ['type' => 'string'],
'groupingSetting' => [
'type' => 'object',
'required' => true,
'properties' => [
'groupingKeys' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'periodMin' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'silenceSec' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'times' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['type' => 'string'],
],
+ 'periodMin' => ['type' => 'integer', 'format' => 'int32'],
+ 'silenceSec' => ['type' => 'integer', 'format' => 'int32'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'ignoreRestoredNotification' => [
- 'type' => 'boolean',
- ],
- 'notifyStrategyName' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'ignoreRestoredNotification' => ['type' => 'boolean'],
+ 'enableIncidentManagement' => ['type' => 'boolean'],
'routes' => [
'type' => 'array',
'required' => true,
@@ -2950,30 +2418,16 @@
'channelType' => [
'type' => 'string',
'required' => true,
- 'enum' => [
- 'DING',
- 'WEIXIN',
- 'FEISHU',
- 'SLACK',
- 'TEAMS',
- 'CONTACT',
- 'GROUP',
- 'DUTY',
- 'DING_COOL_APP',
- ],
+ 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
],
'enabledSubChannels' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'receivers' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -2983,43 +2437,123 @@
'properties' => [
'dayInWeek' => [
'type' => 'array',
- 'items' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- 'endTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1439',
- ],
- 'startTimeInMinute' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'minimum' => '0',
- 'maximum' => '1438',
- ],
- 'timeZone' => [
- 'type' => 'string',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32'],
+ 'timeZone' => ['type' => 'string'],
],
],
'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
+ 'type' => 'object',
+ 'properties' => [
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'maxItems' => 10,
+ ],
+ 'expression' => ['type' => 'string'],
+ 'relation' => ['type' => 'string'],
+ ],
],
'severities' => [
'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'digitalEmployeeName' => ['type' => 'string'],
+ 'enableRca' => ['type' => 'boolean'],
+ ],
+ ],
+ ],
+ 'customTemplateEntries' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'targetType' => ['type' => 'string', 'required' => false],
+ 'templateUuid' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'NotifyStrategyForSNSView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'notifyStrategyId' => ['type' => 'string'],
+ 'notifyStrategyName' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'userId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'syncFromType' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ 'enableIncidentManagement' => ['type' => 'boolean'],
+ 'ignoreRestoredNotification' => ['type' => 'boolean'],
+ 'incidentResponsePlanId' => ['type' => 'string'],
+ 'groupingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupingKeys' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'periodMin' => ['type' => 'integer', 'format' => 'int32'],
+ 'silenceSec' => ['type' => 'integer', 'format' => 'int32'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'routes' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channels' => [
+ 'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'channelType' => [
+ 'type' => 'string',
+ 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
+ ],
+ 'enabledSubChannels' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'receivers' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
],
],
- 'digitalEmployeeName' => [
- 'type' => 'string',
+ 'effectTimeRange' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'dayInWeek' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'],
+ 'timeZone' => ['type' => 'string'],
+ ],
],
- 'enableRca' => [
- 'type' => 'boolean',
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'severities' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ 'digitalEmployeeName' => ['type' => 'string'],
+ 'enableRca' => ['type' => 'boolean'],
],
],
],
@@ -3028,279 +2562,783 @@
'items' => [
'type' => 'object',
'properties' => [
- 'targetType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'templateUuid' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'targetType' => ['type' => 'string'],
+ 'templateUuid' => ['type' => 'string'],
],
],
],
- 'updateTime' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'notifyStrategyId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ ],
+ ],
+ 'NotifyStrategyForView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'createTime' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'groupingSetting' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'groupingKeys' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'periodMin' => ['type' => 'integer', 'format' => 'int32'],
+ 'silenceSec' => ['type' => 'integer', 'format' => 'int32'],
+ 'times' => ['type' => 'integer', 'format' => 'int32'],
+ ],
],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
+ 'ignoreRestoredNotification' => ['type' => 'boolean'],
+ 'notifyStrategyName' => ['type' => 'string', 'required' => true],
+ 'routes' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channels' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'channelType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'],
+ ],
+ 'enabledSubChannels' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'receivers' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ 'effectTimeRange' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'dayInWeek' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'],
+ 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'],
+ 'timeZone' => ['type' => 'string'],
+ ],
+ ],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'severities' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'digitalEmployeeName' => ['type' => 'string'],
+ 'enableRca' => ['type' => 'boolean'],
+ ],
+ ],
],
- 'workspaceFilterSetting' => [
- '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ 'customTemplateEntries' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'targetType' => ['type' => 'string', 'required' => true],
+ 'templateUuid' => ['type' => 'string', 'required' => true],
+ ],
+ ],
],
+ 'updateTime' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'notifyStrategyId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
'pushingSetting' => [
'type' => 'object',
'properties' => [
- 'templateUuid' => [
- 'type' => 'string',
- ],
+ 'templateUuid' => ['type' => 'string'],
'alertActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'restoreActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'repeatNotifySetting' => [
'type' => 'object',
'properties' => [
- 'endIncidentState' => [
- 'type' => 'string',
- ],
- 'repeatInterval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'endIncidentState' => ['type' => 'string'],
+ 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'autoRecoverSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'],
+ 'syncFromType' => ['type' => 'string'],
+ 'receiverNames' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'syncFromType' => [
- 'type' => 'string',
+ 'incidentEscalationPolicies' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'any'],
],
- 'receiverNames' => [
+ ],
+ ],
+ 'NotifyStrategyIdFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'string'],
+ ],
+ ],
+ 'ObserveGroup' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupId' => ['type' => 'string'],
+ 'groupName' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'aliUid' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'modifyTime' => ['type' => 'string'],
+ 'groupType' => ['type' => 'string'],
+ 'discoverRules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ObserveGroupDiscoverRule'],
+ ],
+ 'extraInfo' => ['type' => 'string'],
+ 'workspaceId' => ['type' => 'string'],
+ 'sourceOrigin' => ['type' => 'string'],
+ 'originGroupId' => ['type' => 'string'],
+ 'entityCounts' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ 'health' => ['type' => 'integer', 'format' => 'int32'],
+ 'favorited' => ['type' => 'boolean'],
+ 'ogEntityInfoEnabled' => ['type' => 'boolean'],
+ 'ogEntityInfoPromInstances' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'],
+ ],
+ 'tags' => [
'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'tagKey' => ['type' => 'string'],
+ 'tagValue' => ['type' => 'string'],
+ ],
],
],
- 'incidentEscalationPolicies' => [
+ ],
+ ],
+ 'ObserveGroupDetail' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupId' => ['type' => 'string'],
+ 'groupName' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'aliUid' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'groupType' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'modifyTime' => ['type' => 'string'],
+ 'discoverRules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ObserveGroupDiscoverRule'],
+ ],
+ 'extraInfo' => ['type' => 'string'],
+ 'workspaceId' => ['type' => 'string'],
+ 'sourceOrigin' => ['type' => 'string'],
+ 'originGroupId' => ['type' => 'string'],
+ 'entitySummaries' => [
'type' => 'array',
'items' => [
- 'type' => 'any',
+ 'type' => 'object',
+ 'properties' => [
+ 'entityDomain' => ['type' => 'string'],
+ 'entityType' => ['type' => 'string'],
+ 'entityCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'entityCategory' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'favorited' => ['type' => 'boolean'],
+ 'ogEntityInfoEnabled' => ['type' => 'boolean'],
+ 'ogEntityInfoPromInstances' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tagKey' => ['type' => 'string'],
+ 'tagValue' => ['type' => 'string'],
+ ],
],
],
],
],
- 'PrometheusManagedInstance' => [
+ 'ObserveGroupDiscoverRule' => [
'type' => 'object',
'properties' => [
- 'prometheusInstanceId' => [
- 'type' => 'string',
+ 'ruleId' => ['type' => 'string'],
+ 'ruleType' => ['type' => 'string'],
+ 'scope' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'gmtCreate' => ['type' => 'integer', 'format' => 'int64'],
+ 'entityType' => ['type' => 'string'],
+ 'entityTypes' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'prometheusInstanceName' => [
- 'type' => 'string',
+ 'spl' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'tagRules' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => ['type' => 'string'],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'tagKey' => ['type' => 'string'],
+ 'op' => ['type' => 'string'],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'regionId' => [
- 'type' => 'string',
+ 'nameRules' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => ['type' => 'string'],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => ['type' => 'string'],
+ 'tagValues' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
- 'workspace' => [
- 'type' => 'string',
+ 'instanceIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'createTime' => [
- 'type' => 'string',
+ 'regionIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'instanceType' => [
- 'type' => 'string',
+ ],
+ ],
+ 'ObserveGroupInstance' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'entityDomain' => ['type' => 'string'],
+ 'entityType' => ['type' => 'string'],
+ 'instanceId' => ['type' => 'string'],
+ 'instanceName' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'resourceGroupId' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'category' => ['type' => 'string'],
+ 'groupId' => ['type' => 'string'],
+ 'tags' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
- 'status' => [
- 'type' => 'string',
+ 'dimension' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
],
],
],
- 'PushingSetting' => [
+ 'ObserveGroupPromInstance' => [
'type' => 'object',
'properties' => [
- 'templateUuid' => [
- 'type' => 'string',
+ 'id' => ['type' => 'string'],
+ 'region' => ['type' => 'string'],
+ 'kind' => ['type' => 'string'],
+ 'time' => ['type' => 'string'],
+ ],
+ ],
+ 'ObserveResourceGlobalScopeFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'boolean'],
+ ],
+ ],
+ 'ObserveResourceListFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contains' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ ],
+ ],
+ 'ObserveResourceTypeFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'string'],
+ ],
+ ],
+ 'Pagination' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'PartitionKeyFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'string'],
+ ],
+ ],
+ 'PrometheusManagedInstance' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'prometheusInstanceId' => ['type' => 'string'],
+ 'prometheusInstanceName' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'instanceType' => ['type' => 'string'],
+ 'status' => ['type' => 'string'],
+ ],
+ ],
+ 'PromptTemplateItem' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => ['type' => 'string'],
+ 'content' => ['type' => 'string'],
+ ],
+ ],
+ 'PushingSetting' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'templateUuid' => ['type' => 'string'],
'alertActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'restoreActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
- 'RepeatNotifySetting' => [
+ 'QueryAlertRulesFilter' => [
'type' => 'object',
'properties' => [
- 'endIncidentState' => [
- 'type' => 'string',
- ],
- 'repeatInterval' => [
- 'type' => 'string',
+ 'uuid' => ['$ref' => '#/components/schemas/UuidFilter'],
+ 'displayName' => ['$ref' => '#/components/schemas/DisplayNameFilter'],
+ 'labels' => ['$ref' => '#/components/schemas/LabelsFilter'],
+ 'status' => ['$ref' => '#/components/schemas/StatusFilter'],
+ 'enabled' => ['$ref' => '#/components/schemas/EnabledFilter'],
+ 'datasourceType' => ['$ref' => '#/components/schemas/DatasourceTypeFilter'],
+ 'observeResourceType' => ['$ref' => '#/components/schemas/ObserveResourceTypeFilter'],
+ 'observeResourceGlobalScope' => ['$ref' => '#/components/schemas/ObserveResourceGlobalScopeFilter'],
+ 'observeResourceList' => ['$ref' => '#/components/schemas/ObserveResourceListFilter'],
+ 'observeResourceInstanceId' => ['type' => 'string', 'deprecated' => true],
+ 'severityLevels' => ['$ref' => '#/components/schemas/SeverityLevelsFilter'],
+ 'notifyStrategyId' => ['$ref' => '#/components/schemas/NotifyStrategyIdFilter'],
+ 'partitionKey' => ['$ref' => '#/components/schemas/PartitionKeyFilter'],
+ ],
+ ],
+ 'QueryAlertRulesInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'filter' => ['$ref' => '#/components/schemas/QueryAlertRulesFilter'],
+ 'pagination' => ['$ref' => '#/components/schemas/Pagination'],
+ 'workspace' => ['type' => 'string'],
+ ],
+ ],
+ 'QueryAlertRulesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => ['type' => 'integer', 'format' => 'int64'],
+ 'alertRules' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AlertRuleV2'],
],
],
],
- 'RumDnsResponse' => [
+ 'QueryConfigUnified' => [
'type' => 'object',
'properties' => [
- 'domain' => [
+ 'type' => [
'type' => 'string',
+ 'required' => true,
+ 'enum' => ['PROMETHEUS_SINGLE_QUERY', 'UMODEL_METRICSET_QUERY', 'UMODEL_LOGSET_QUERY', 'APM_MULTI_QUERY', 'CLOUD_MONITORING_QUERY', 'UMODEL_METRICSET_MULTI_QUERY', 'UNKNOWN_QUERY'],
],
- 'result' => [
- 'type' => 'boolean',
+ 'expr' => ['type' => 'string'],
+ 'promQl' => ['type' => 'string', 'deprecated' => true],
+ 'enableDataCompleteCheck' => ['type' => 'boolean'],
+ 'metricSet' => ['type' => 'string'],
+ 'metric' => ['type' => 'string'],
+ 'queries' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/MetricSetNamedQueryEntry'],
],
- 'message' => [
+ 'logSet' => ['type' => 'string'],
+ 'windowSecs' => ['type' => 'integer', 'format' => 'int64'],
+ 'offsetSecs' => ['type' => 'integer', 'format' => 'int64'],
+ 'aggregate' => [
'type' => 'string',
+ 'enum' => ['AVG', 'MAX', 'MIN', 'SUM', 'LAST'],
+ ],
+ 'entityDomain' => ['type' => 'string'],
+ 'entityType' => ['type' => 'string'],
+ 'entityFilters' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UmodelEntityFilter'],
+ ],
+ 'labelFilters' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UmodelLabelFilter'],
+ ],
+ 'entityFields' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UmodelEntityField'],
+ ],
+ 'serviceIdList' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'filterList' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ApmFilterConfig'],
],
+ 'measureList' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ApmMeasureConfig'],
+ ],
+ 'namespace' => ['type' => 'string'],
+ 'relationType' => [
+ 'type' => 'string',
+ 'enum' => ['INSTANCE', 'GROUP', 'USER'],
+ ],
+ 'dimensions' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
+ 'groupId' => ['type' => 'string'],
+ 'legacyType' => ['type' => 'string'],
+ 'legacyRaw' => ['type' => 'string'],
],
],
- 'SubscriptionForModify' => [
+ 'RepeatNotifySetting' => [
'type' => 'object',
'properties' => [
- 'description' => [
- 'type' => 'string',
- ],
- 'subscriptionName' => [
+ 'endIncidentState' => ['type' => 'string'],
+ 'repeatInterval' => ['type' => 'string'],
+ ],
+ ],
+ 'RumDnsResponse' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'domain' => ['type' => 'string'],
+ 'result' => ['type' => 'boolean'],
+ 'message' => ['type' => 'string'],
+ ],
+ ],
+ 'ScheduleConfigUnified' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['FIXED'],
+ ],
+ 'intervalSecs' => ['type' => 'integer', 'format' => 'int32'],
+ ],
+ ],
+ 'ServerResponseManageAlertRulesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => ['$ref' => '#/components/schemas/ManageAlertRulesResult'],
+ 'code' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'requestId' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ 'total' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'nextToken' => ['type' => 'string'],
+ ],
+ ],
+ 'ServerResponseQueryAlertRulesResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => ['$ref' => '#/components/schemas/QueryAlertRulesResult'],
+ 'code' => ['type' => 'string'],
+ 'success' => ['type' => 'boolean'],
+ 'requestId' => ['type' => 'string'],
+ 'message' => ['type' => 'string'],
+ 'total' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageNumber' => ['type' => 'integer', 'format' => 'int32'],
+ 'nextToken' => ['type' => 'string'],
+ ],
+ ],
+ 'SeverityLevelsFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'contains' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'notifyStrategyId' => [
+ ],
+ ],
+ 'StatusFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => [
'type' => 'string',
+ 'enum' => ['Alarm', 'Ok'],
],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
+ ],
+ ],
+ 'SubscriptionAndNotifyStrategyForListView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'notifyStrategyUuid' => ['type' => 'string'],
+ 'subscriptionUuid' => ['type' => 'string'],
+ 'migrationBatchId' => ['type' => 'string'],
+ 'migrationMeta' => ['type' => 'string'],
+ 'version' => ['type' => 'integer', 'format' => 'int32'],
+ 'workspace' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSView'],
+ ],
+ ],
+ 'SubscriptionAndNotifyStrategyForModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'version' => ['type' => 'integer', 'format' => 'int32'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSModify'],
+ 'subscription' => ['$ref' => '#/components/schemas/SubscriptionForSNSModify'],
+ 'subscriptions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/SubscriptionOp'],
+ ],
+ 'responsePlan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForSNSModify'],
+ ],
+ ],
+ 'SubscriptionAndNotifyStrategyForView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enabled' => ['type' => 'boolean'],
+ 'notifyStrategyUuid' => ['type' => 'string'],
+ 'subscriptionUuid' => ['type' => 'string'],
+ 'migrationBatchId' => ['type' => 'string'],
+ 'migrationMeta' => ['type' => 'string'],
+ 'version' => ['type' => 'integer', 'format' => 'int32'],
+ 'workspace' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ 'subscription' => ['$ref' => '#/components/schemas/SubscriptionForSNSView'],
+ 'responsePlan' => ['$ref' => '#/components/schemas/IncidentResponsePlanForSNSView'],
+ 'notifyStrategy' => ['$ref' => '#/components/schemas/NotifyStrategyForSNSView'],
+ 'subscriptions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/SubscriptionForView'],
],
+ ],
+ ],
+ 'SubscriptionForModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => ['type' => 'string'],
+ 'subscriptionName' => ['type' => 'string', 'required' => true],
+ 'notifyStrategyId' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
'pushingSetting' => [
'type' => 'object',
'properties' => [
- 'templateUuid' => [
- 'type' => 'string',
- ],
+ 'templateUuid' => ['type' => 'string'],
'alertActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'restoreActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'responsePlanId' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'responsePlanId' => ['type' => 'string'],
],
],
- 'workspaceFilterSetting' => [
- '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
+ 'agentConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'agentUuid' => ['type' => 'string'],
+ 'routes' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/NotifyRouteForSubscription'],
+ ],
+ ],
],
+ 'subscribeLegacyEvent' => ['type' => 'boolean'],
+ ],
+ ],
+ 'SubscriptionForSNSModify' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
+ ],
+ ],
+ 'SubscriptionForSNSView' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'uuid' => ['type' => 'string'],
+ 'name' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'userId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'notifyStrategyUuid' => ['type' => 'string'],
+ 'syncFromType' => ['type' => 'string'],
+ 'mode' => ['type' => 'string'],
+ 'subscriptionType' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
+ 'createTime' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
],
],
'SubscriptionForView' => [
'type' => 'object',
'properties' => [
- 'createTime' => [
- 'type' => 'string',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'subscriptionName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'notifyStrategyId' => [
- 'type' => 'string',
- ],
- 'updateTime' => [
- 'type' => 'string',
- ],
- 'userId' => [
- 'type' => 'string',
- ],
- 'subscriptionId' => [
- 'type' => 'string',
- ],
- 'workspace' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
+ 'createTime' => ['type' => 'string'],
+ 'description' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'subscriptionName' => ['type' => 'string', 'required' => true],
+ 'notifyStrategyId' => ['type' => 'string'],
+ 'updateTime' => ['type' => 'string'],
+ 'userId' => ['type' => 'string'],
+ 'subscriptionId' => ['type' => 'string'],
+ 'workspace' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
'pushingSetting' => [
'type' => 'object',
'properties' => [
- 'templateUuid' => [
- 'type' => 'string',
- ],
+ 'templateUuid' => ['type' => 'string'],
'alertActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'restoreActionIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'responsePlanId' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'responsePlanId' => ['type' => 'string'],
],
],
- 'syncFromType' => [
+ 'syncFromType' => ['type' => 'string'],
+ 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'],
+ 'subscriptionType' => [
'type' => 'string',
+ 'enum' => ['NORMAL', 'AI_AGENT'],
],
- 'workspaceFilterSetting' => [
- '$ref' => '#/components/schemas/WorkspaceFilterSetting',
+ 'agentConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'agentUuid' => ['type' => 'string'],
+ 'routes' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/NotifyRouteForSubscription'],
+ ],
+ ],
],
+ 'subscribeLegacyEvent' => ['type' => 'boolean'],
+ ],
+ ],
+ 'SubscriptionOp' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'op' => [
+ 'type' => 'string',
+ 'enum' => ['create', 'update', 'remove'],
+ ],
+ 'uuid' => ['type' => 'string'],
+ 'payload' => ['$ref' => '#/components/schemas/SubscriptionForModify'],
],
],
'Tag' => [
'type' => 'object',
'properties' => [
- 'key' => [
+ 'key' => ['type' => 'string', 'maxLength' => 128],
+ 'value' => ['type' => 'string', 'maxLength' => 256],
+ ],
+ ],
+ 'TagCondition' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => ['type' => 'string'],
+ 'op' => [
'type' => 'string',
- 'maxLength' => 128,
+ 'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'EXIST'],
+ ],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'TagSelector' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'conditions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/TagCondition'],
],
- 'value' => [
+ 'relation' => [
'type' => 'string',
- 'maxLength' => 256,
+ 'enum' => ['AND', 'OR'],
],
+ 'expression' => ['type' => 'string'],
],
],
'TransformAction' => [
@@ -3308,149 +3346,128 @@
'properties' => [
'mapping' => [
'type' => 'object',
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'variable' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'source' => [
- 'type' => 'string',
- ],
- 'labelKey' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
- 'value' => [
- 'type' => 'string',
- ],
- 'regExp' => [
- 'type' => 'string',
- ],
- 'target' => [
- 'type' => 'string',
+ 'additionalProperties' => ['type' => 'string'],
],
+ 'variable' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'source' => ['type' => 'string'],
+ 'labelKey' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'regExp' => ['type' => 'string'],
+ 'target' => ['type' => 'string'],
],
],
'TransformerForModify' => [
'type' => 'object',
'properties' => [
- 'sortId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'quitAfterMatch' => [
- 'type' => 'boolean',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
- 'transformerName' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'sortId' => ['type' => 'integer', 'format' => 'int32'],
+ 'quitAfterMatch' => ['type' => 'boolean'],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'transformerName' => ['type' => 'string', 'required' => true],
'actions' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TransformAction',
- ],
+ 'items' => ['$ref' => '#/components/schemas/TransformAction'],
],
],
],
'TransformerForView' => [
'type' => 'object',
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- ],
- 'createTime' => [
- 'type' => 'string',
- ],
- 'enable' => [
- 'type' => 'boolean',
- ],
- 'sortId' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'transformerId' => [
- 'type' => 'string',
- ],
- 'quitAfterMatch' => [
- 'type' => 'boolean',
- ],
- 'description' => [
- 'type' => 'string',
- ],
- 'filterSetting' => [
- '$ref' => '#/components/schemas/FilterSetting',
+ 'workspace' => ['type' => 'string'],
+ 'createTime' => ['type' => 'string'],
+ 'enable' => ['type' => 'boolean'],
+ 'sortId' => ['type' => 'integer', 'format' => 'int32'],
+ 'transformerId' => ['type' => 'string'],
+ 'quitAfterMatch' => ['type' => 'boolean'],
+ 'description' => ['type' => 'string'],
+ 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'],
+ 'updateTime' => ['type' => 'string'],
+ 'transformerName' => ['type' => 'string', 'required' => true],
+ 'actions' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/TransformAction'],
],
- 'updateTime' => [
+ 'userId' => ['type' => 'string'],
+ ],
+ ],
+ 'UmodelEntityField' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'UmodelEntityFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'field' => ['type' => 'string'],
+ 'operator' => [
'type' => 'string',
+ 'enum' => ['=', '!='],
],
- 'transformerName' => [
+ 'value' => ['type' => 'string'],
+ ],
+ ],
+ 'UmodelLabelFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => ['type' => 'string'],
+ 'value' => ['type' => 'string'],
+ 'operator' => [
'type' => 'string',
- 'required' => true,
+ 'enum' => ['=', '!='],
],
- 'actions' => [
+ ],
+ ],
+ 'UuidFilter' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'eq' => ['type' => 'string'],
+ 'in' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/TransformAction',
- ],
- ],
- 'userId' => [
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
],
],
'WorkspaceFilterSetting' => [
'type' => 'object',
'properties' => [
- 'tagSelector' => [
- '$ref' => '#/components/schemas/FilterSetting',
- ],
+ 'tagSelector' => ['$ref' => '#/components/schemas/FilterSetting'],
'workspaceUuids' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
],
],
'apis' => [
- 'PutWorkspace' => [
- 'path' => '/workspace/{workspaceName}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddContexts' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -3458,384 +3475,653 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'displayName' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 256,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 256,
- 'pattern' => '',
- ],
- 'slsProject' => [
- 'type' => 'string',
+ 'contextType' => ['type' => 'string', 'required' => true],
+ 'memoryType' => ['type' => 'string', 'required' => false],
+ 'items' => [
+ 'type' => 'array',
'required' => true,
- 'minLength' => 1,
- 'maxLength' => 128,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'messages' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
+ 'content' => ['type' => 'string', 'required' => false],
+ 'userId' => ['type' => 'string', 'required' => false],
+ 'agentId' => ['type' => 'string', 'required' => false],
+ 'appId' => ['type' => 'string', 'required' => false],
+ 'runId' => ['type' => 'string', 'required' => false],
+ 'labels' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'metadata' => ['type' => 'object', 'required' => false],
+ 'infer' => ['type' => 'boolean', 'required' => false],
+ 'customInstructions' => ['type' => 'string', 'required' => false],
+ 'timestamp' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'categories' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'immutable' => ['type' => 'boolean', 'required' => false],
+ 'expirationDate' => ['type' => 'string', 'required' => false],
+ 'triggerCondition' => ['type' => 'string', 'required' => false],
+ 'experience' => ['type' => 'object', 'required' => false],
+ ],
+ ],
],
],
],
],
+ ],
+ ],
+ 'AddMemories' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'workspaceName',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'minLength' => 1,
- 'maxLength' => 56,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'timestamp' => ['type' => 'integer', 'format' => 'int64'],
+ 'asyncMode' => ['type' => 'boolean', 'required' => false],
+ 'messages' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'content' => ['type' => 'string', 'required' => false],
+ 'role' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'userId' => ['type' => 'string', 'required' => false],
+ 'agentId' => ['type' => 'string', 'required' => false],
+ 'appId' => ['type' => 'string', 'required' => false],
+ 'runId' => ['type' => 'string', 'required' => false],
+ 'infer' => ['type' => 'boolean', 'required' => false],
+ 'customInstructions' => ['type' => 'string', 'required' => false],
+ 'metadata' => ['type' => 'object', 'required' => false],
+ ],
],
],
],
],
- 'GetWorkspace' => [
- 'path' => '/workspace/{workspaceName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ChangeResourceGroup' => [
+ 'path' => '/resourcegroup',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspaceName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'resourceType' => ['type' => 'string', 'required' => false],
+ 'resourceId' => ['type' => 'string', 'required' => false],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListWorkspaces' => [
- 'path' => '/workspace',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspaceName',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'addonName' => ['type' => 'string', 'required' => true],
+ 'aliyunLang' => ['type' => 'string', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'envType' => ['type' => 'string', 'required' => false],
+ 'parentAddonReleaseId' => ['type' => 'string', 'required' => false],
+ 'releaseName' => ['type' => 'string', 'required' => false],
+ 'values' => ['type' => 'string', 'required' => false],
+ 'version' => ['type' => 'string', 'required' => true],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule', 'required' => false],
+ ],
],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'CreateAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '200',
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'workspaceNameList',
- 'in' => 'query',
- 'style' => 'simple',
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'properties' => [
+ 'aggTaskGroupConfig' => ['type' => 'string', 'required' => true],
+ 'aggTaskGroupConfigType' => ['type' => 'string', 'required' => false],
+ 'aggTaskGroupName' => ['type' => 'string', 'required' => true],
+ 'cronExpr' => ['type' => 'string', 'required' => false],
+ 'delay' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '120'],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxRetries' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'maxRunTimeInSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'precheckString' => ['type' => 'string', 'required' => false],
+ 'scheduleMode' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['FixedRate', 'Cron'],
+ ],
+ 'scheduleTimeExpr' => ['type' => 'string', 'required' => false],
+ 'status' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Running', 'Stopped'],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'targetPrometheusId' => ['type' => 'string', 'required' => true],
+ 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
[
- 'name' => 'region',
+ 'name' => 'overrideIfExists',
'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ ],
+ ],
+ 'CreateAlertWebhook' => [
+ 'path' => '/webhook',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'contentType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['JSON', 'FORM'],
+ ],
+ 'headers' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'lang' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['zh_CN', 'en_US'],
+ ],
+ 'method' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['GET', 'POST'],
+ ],
+ 'name' => ['type' => 'string', 'required' => true],
+ 'url' => ['type' => 'string', 'required' => true],
+ 'webhookId' => ['type' => 'string', 'required' => false],
+ 'workspace' => ['type' => 'string'],
+ ],
],
],
],
],
- 'DeleteWorkspace' => [
- 'path' => '/workspace/{workspaceName}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateBizTrace' => [
+ 'path' => '/bizTrace',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspaceName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'bizTraceCode' => ['type' => 'string', 'required' => false],
+ 'bizTraceName' => ['type' => 'string', 'required' => false],
+ 'ruleConfig' => ['type' => 'string', 'required' => false],
+ 'advancedConfig' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
'CreateCloudResource' => [
'path' => '/cloudresource',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [],
],
- 'GetCloudResource' => [
- 'path' => '/cloudresource',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateContextStore' => [
+ 'path' => '/workspace/{workspace}/contextstore',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
- 'parameters' => [],
- ],
- 'GetCloudResourceData' => [
- 'path' => '/cloudresource/data',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'contextStoreName' => ['type' => 'string', 'required' => true],
+ 'contextType' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'config' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'source' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'project' => ['type' => 'string', 'required' => false],
+ 'logstore' => ['type' => 'string', 'required' => false],
+ 'startTime' => ['type' => 'string', 'format' => 'iso8601_normal', 'required' => false],
+ ],
+ ],
+ 'metadataField' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ 'dataset' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateContextStoreAPIKey' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'from',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'to',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- ],
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'query',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'DeleteCloudResource' => [
- 'path' => '/cloudresource',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateDataset' => [
+ 'path' => '/workspace/{workspace}/dataset',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
- 'parameters' => [],
- ],
- 'CreateEntityStore' => [
- 'path' => '/workspace/{workspaceName}/entitystore',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'datasetName' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'additionalProperties' => ['$ref' => '#/components/schemas/IndexKey'],
+ ],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateDeliveryTask' => [
+ 'path' => '/delivery-tasks',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspaceName',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'taskName' => ['type' => 'string', 'required' => true],
+ 'dataSourceId' => ['type' => 'string', 'required' => true],
+ 'taskDescription' => ['type' => 'string', 'required' => false],
+ 'labelFiltersType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Allow', 'Deny'],
+ ],
+ 'labelFilters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'externalLabels' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'sinkList' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'sinkType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'],
+ ],
+ 'sinkConfigs' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetEntityStore' => [
+ 'CreateEntityStore' => [
'path' => '/workspace/{workspaceName}/entitystore',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspaceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetEntityStoreData' => [
- 'path' => '/workspace/{workspace}/entitiesAndRelations',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateIntegrationPolicy' => [
+ 'path' => '/integration-policies',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'acceptEncoding',
- 'in' => 'header',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'entityGroup' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'clusterEntityType' => ['type' => 'string', 'required' => false],
+ 'clusterId' => ['type' => 'string', 'required' => false],
+ 'entityUserId' => ['type' => 'string', 'required' => false],
+ 'entityGroupId' => ['type' => 'string', 'required' => false],
+ 'vpcId' => ['type' => 'string', 'required' => false],
+ 'disablePolicyShare' => ['type' => 'boolean', 'required' => false],
+ 'clusterNamespace' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ 'policyName' => ['type' => 'string', 'required' => false],
+ 'policyType' => ['type' => 'string', 'required' => true],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'CreateMemoryStore' => [
+ 'path' => '/workspace/{workspace}/memorystore',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
'name' => 'body',
@@ -3845,86 +4131,157 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'from' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
+ 'memoryStoreName' => ['type' => 'string', 'required' => true],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'shortTermTtl' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'extractionStrategies' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
- 'query' => [
- 'type' => 'string',
- 'required' => true,
+ 'customExtractionStrategies' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false],
],
- 'to' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
+ 'sourceType' => ['type' => 'string'],
+ 'traceSourceConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'workspace' => ['type' => 'string'],
+ 'query' => ['type' => 'string'],
+ 'includeOutput' => ['type' => 'boolean'],
+ ],
],
],
],
],
],
],
- 'DeleteEntityStore' => [
- 'path' => '/workspace/{workspaceName}/entitystore',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePipeline' => [
+ 'path' => '/workspace/{workspace}/pipeline',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspaceName',
+ 'name' => 'workspace',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'pipelineName' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'pipeline' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'nodes' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'id' => ['type' => 'string', 'required' => false],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'parameters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'source' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => ['type' => 'string', 'required' => false],
+ 'logstore' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'project' => ['type' => 'string', 'required' => false],
+ 'logstore' => ['type' => 'string', 'required' => false],
+ 'query' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'sink' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => ['type' => 'string', 'required' => false],
+ 'dataset' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'dataset' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'executePolicy' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'mode' => ['type' => 'string', 'required' => false],
+ 'runOnce' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'scheduled' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'interval' => ['type' => 'string', 'required' => false],
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'CreateUmodel' => [
- 'path' => '/workspace/{workspace}/umodel',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePrometheusInstance' => [
+ 'path' => '/prometheus-instances',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -3932,75 +4289,161 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
+ 'archiveDuration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enum' => [],
+ ],
+ 'authFreeReadPolicy' => ['type' => 'string', 'required' => false],
+ 'authFreeWritePolicy' => ['type' => 'string', 'required' => false],
+ 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthFreeWrite' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthToken' => ['type' => 'boolean', 'required' => false],
+ 'prometheusInstanceName' => ['type' => 'string', 'required' => true],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'status' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Running'],
+ ],
+ 'storageDuration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'enum' => ['15', '30', '60', '90', '180'],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'paymentType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['POSTPAY', 'POSTPAY_GB'],
],
],
],
],
],
],
- 'GetUmodel' => [
- 'path' => '/workspace/{workspace}/umodel',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePrometheusView' => [
+ 'path' => '/prometheus-views',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'authFreeReadPolicy' => ['type' => 'string', 'required' => false],
+ 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthToken' => ['type' => 'boolean', 'required' => false],
+ 'prometheusInstances' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'prometheusInstanceId' => ['type' => 'string', 'required' => false],
+ 'regionId' => ['type' => 'string', 'required' => false],
+ 'userId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'prometheusViewName' => ['type' => 'string', 'required' => true],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'status' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Running'],
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'version' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['V1', 'V2'],
+ ],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'UpdateUmodel' => [
- 'path' => '/workspace/{workspace}/umodel',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreatePrometheusVirtualInstance' => [
+ 'path' => '/virtual-instances',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'path',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'namespace' => ['type' => 'string', 'required' => true],
+ 'tenantId' => ['type' => 'string'],
+ ],
],
],
+ ],
+ ],
+ 'CreateService' => [
+ 'path' => '/workspace/{workspace}/service',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'body',
'in' => 'body',
@@ -4009,82 +4452,83 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'description' => [
- 'type' => 'string',
+ 'serviceName' => ['type' => 'string', 'required' => true],
+ 'serviceType' => ['type' => 'string', 'required' => true],
+ 'displayName' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'attributes' => ['type' => 'string', 'required' => false],
+ 'serviceStatus' => ['type' => 'string', 'required' => false],
+ 'pid' => ['type' => 'string', 'required' => false],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tags' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
],
],
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
],
- 'DeleteUmodel' => [
- 'path' => '/workspace/{workspace}/umodel',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateServiceObservability' => [
+ 'path' => '/workspace/{workspace}/service-observability/{type}',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetUmodelData' => [
- 'path' => '/workspace/{workspace}/umodel/graph',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateServiceRecord' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}/record',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'method',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -4094,51 +4538,59 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'content' => [
- 'type' => 'any',
- 'required' => false,
+ 'recordType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['logCorrelation'],
],
+ 'recordContent' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'UpsertUmodelData' => [
- 'path' => '/workspace/{workspace}/umodel/data',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateTicket' => [
+ 'path' => '/tickets',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'expirationTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'accessTokenExpirationTime',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'CreateUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'method',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -4148,877 +4600,719 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'elements' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'any',
- 'required' => false,
- ],
- ],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'DeleteUmodelData' => [
- 'path' => '/workspace/{workspace}/umodel/data',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'releaseName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'domain',
+ 'name' => 'force',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'kind',
+ 'name' => 'addonName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetUmodelCommonSchemaRef' => [
- 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteAlertWebhooks' => [
+ 'path' => '/webhooks',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'path',
+ 'name' => 'webhookIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => true,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
],
],
- 'DeleteUmodelCommonSchemaRef' => [
- 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
- 'methods' => [
- 'delete',
+ 'DeleteBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'bizTraceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'DeleteCloudResource' => [
+ 'path' => '/cloudresource',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'DeleteContext' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'group',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
],
],
- 'UpsertUmodelCommonSchemaRef' => [
- 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
- 'methods' => [
- 'patch',
+ 'DeleteContextStore' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
],
+ ],
+ 'DeleteContextStoreAPIKey' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey/{name}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteContexts' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'group',
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'version',
+ 'name' => 'filter',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateChat' => [
- 'path' => '/chat',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
+ 'DeleteDataset' => [
+ 'path' => '/workspace/{workspace}/dataset/{datasetName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/octet-stream',
- ],
- 'produces' => [
- 'application/octet-stream',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'digitalEmployeeName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'threadId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'action' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'variables' => [
- 'type' => 'object',
- 'required' => false,
- ],
- 'messages' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'messageId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'role' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'contents' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'type' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'tools' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'datasetName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
],
],
- 'CreateDigitalEmployee' => [
- 'path' => '/digital-employee',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteDeliveryTask' => [
+ 'path' => '/delivery-task/{taskId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'defaultRule' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'pattern' => '',
- ],
- 'description' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'pattern' => '',
- ],
- 'displayName' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- 'pattern' => '',
- ],
- 'roleArn' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => true,
- 'pattern' => '',
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'knowledges' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'bailian' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'workspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'indexId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'attributes' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'sop' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Tag',
- 'required' => false,
- ],
- ],
- ],
- ],
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetDigitalEmployee' => [
- 'path' => '/digital-employee/{name}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteEntityStore' => [
+ 'path' => '/workspace/{workspaceName}/entitystore',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspaceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateDigitalEmployee' => [
- 'path' => '/digital-employee/{name}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteIntegrationPolicy' => [
+ 'path' => '/integration-policies/{policyId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'force',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'defaultRule' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'pattern' => '',
- ],
- 'description' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'pattern' => '',
- ],
- 'displayName' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'minLength' => 0,
- 'maxLength' => 128,
- 'pattern' => '',
- ],
- 'roleArn' => [
- 'type' => 'string',
- 'deprecated' => false,
- 'required' => false,
- 'pattern' => '',
- ],
- 'knowledges' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'bailian' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'workspaceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'indexId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'region' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'attributes' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'sop' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListDigitalEmployees' => [
- 'path' => '/digital-employee',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteMemories' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'name',
+ 'name' => 'agentId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'employeeType',
+ 'name' => 'userId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'system',
- 'custom',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'displayName',
+ 'name' => 'runId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'tags',
+ 'name' => 'appId',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Tag',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteMemory' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'resourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
],
],
- 'DeleteDigitalEmployee' => [
- 'path' => '/digital-employee/{name}',
- 'methods' => [
- 'delete',
+ 'DeleteMemoryStore' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
],
+ ],
+ 'DeletePipeline' => [
+ 'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pipelineName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeletePrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'prometheusInstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateThread' => [
- 'path' => '/digitalEmployee/{name}/thread',
- 'methods' => [
- 'post',
+ 'DeletePrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeletePrometheusVirtualInstance' => [
+ 'path' => '/virtual-instances/{prometheusInstanceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'title' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'variables' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'project' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetThread' => [
- 'path' => '/digitalEmployee/{name}/thread/{threadId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteServiceRecord' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}/record',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'threadId',
+ 'name' => 'serviceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'recordType',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['logCorrelation'],
],
],
],
],
- 'GetThreadData' => [
- 'path' => '/digitalEmployee/{name}/thread/{threadId}/data',
- 'methods' => [
- 'get',
+ 'DeleteUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'DeleteUmodelCommonSchemaRef' => [
+ 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'DeleteUmodelData' => [
+ 'path' => '/workspace/{workspace}/umodel/data',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'threadId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'domain',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'maxResults',
+ 'name' => 'kind',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListThreads' => [
- 'path' => '/digitalEmployee/{name}/threads',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspaceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'DescribeMetricMetaList' => [
+ 'path' => '/describe-metric-meta-list',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'status',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'threadId',
+ 'name' => 'namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'maxResults',
+ 'name' => 'metaFormat',
'in' => 'query',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'string',
'required' => false,
+ 'enum' => ['CMS', 'PROM_BASIC'],
],
],
[
- 'name' => 'nextToken',
+ 'name' => 'metricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filter',
+ 'name' => 'labels',
'in' => 'query',
'style' => 'json',
'schema' => [
@@ -5028,56 +5322,71 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'keywords',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'UpdateThread' => [
- 'path' => '/digitalEmployee/{name}/thread/{threadId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeRegions' => [
+ 'path' => '/regions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ExecuteQuery' => [
+ 'path' => '/workspace/{workspace}/dataset/{datasetName}/query',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'threadId',
+ 'name' => 'datasetName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
'name' => 'body',
@@ -5087,1088 +5396,851 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'title' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'active',
- 'archived',
- 'failed',
- 'suspended',
- 'cancelled',
- 'unknown',
- ],
- ],
+ 'type' => ['type' => 'string', 'required' => true],
+ 'query' => ['type' => 'string', 'required' => true],
],
],
],
],
],
- 'DeleteThread' => [
- 'path' => '/digitalEmployee/{name}/thread/{threadId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAddon' => [
+ 'path' => '/addons/{addonName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'name',
+ 'name' => 'addonName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'threadId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateIntegrationPolicy' => [
- 'path' => '/integration-policies/{integrationPolicyId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAddonCodeTemplate' => [
+ 'path' => '/addons/{addonName}/alert-code-template',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'feePackage' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'policyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'addonName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'integrationPolicyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'environmentType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteIntegrationPolicy' => [
- 'path' => '/integration-policies/{policyId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'force',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'releaseName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'CreateIntegrationPolicy' => [
- 'path' => '/integration-policies',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAddonSchema' => [
+ 'path' => '/addons/{addonName}/schema',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'entityGroup' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'clusterEntityType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'clusterId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'entityUserId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'entityGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'vpcId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'disablePolicyShare' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'clusterNamespace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'policyName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'policyType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'addonName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'environmentType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateAddonRelease' => [
- 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'releaseName',
+ 'name' => 'instanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'addonVersion' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dryRun' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'values' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'entityRules' => [
- '$ref' => '#/components/schemas/EntityDiscoverRule',
- 'required' => false,
- ],
- ],
- ],
- ],
- [
- 'name' => 'policyId',
+ 'name' => 'groupId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListIntegrationPolicyStorageRequirements' => [
- 'path' => '/integration-policies/{policyId}/storage-requirements',
- 'methods' => [
- 'get',
+ 'GetBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'bizTraceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'GetCloudResource' => [
+ 'path' => '/cloudresource',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'GetCloudResourceData' => [
+ 'path' => '/cloudresource/data',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'from',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'addonName',
+ 'name' => 'to',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
],
[
- 'name' => 'storageType',
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ ],
+ ],
+ 'GetCmsService' => [
+ 'path' => '/cmsservice',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'product',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['prometheus'],
],
],
[
- 'name' => 'addonReleaseName',
+ 'name' => 'service',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['prometheus', 'prometheusgb', 'promethues', 'ackpro'],
],
],
],
],
- 'ListIntegrationPolicyPodMonitors' => [
- 'path' => '/integration-policies/{policyId}/pod-monitors',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetContext' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'addonReleaseName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'contextId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
[
- 'name' => 'encryptYaml',
+ 'name' => 'formatted',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListIntegrationPolicyDashboards' => [
- 'path' => '/integration-policies/{policyId}/dashboards',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetContextStore' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'addonName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
+ ],
+ ],
+ 'GetDataset' => [
+ 'path' => '/workspace/{workspace}/dataset/{datasetName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'scene',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'language',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'zh',
- 'en',
- ],
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'datasetName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
],
],
- 'ListIntegrationPolicyCustomScrapeJobRules' => [
- 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetDeliveryTask' => [
+ 'path' => '/delivery-task/{taskId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetEntityStore' => [
+ 'path' => '/workspace/{workspaceName}/entitystore',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspaceName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetEntityStoreData' => [
+ 'path' => '/workspace/{workspace}/entitiesAndRelations',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'addonReleaseName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'encryptYaml',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'acceptEncoding',
+ 'in' => 'header',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'namespace',
- 'in' => 'query',
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'from' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ 'query' => ['type' => 'string', 'required' => true],
+ 'to' => ['type' => 'integer', 'format' => 'int32', 'required' => true],
+ ],
],
],
],
],
- 'ListIntegrationPolicies' => [
- 'path' => '/integration-policies',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetIntegrationPolicy' => [
+ 'path' => '/integration-policies/{policyId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'policyId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetIntegrationVersionForCS' => [
+ 'path' => '/integration-version/cs',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'policyName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'policyType',
+ 'name' => 'clusterId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'addonName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'filterRegionIds',
+ 'name' => 'clusterType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
+ ],
+ ],
+ 'GetMemories' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/query',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'resourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'tag',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'properties' => [
+ 'userId' => ['type' => 'string', 'required' => false],
+ 'agentId' => ['type' => 'string', 'required' => false],
+ 'appId' => ['type' => 'string', 'required' => false],
+ 'runId' => ['type' => 'string', 'required' => false],
+ 'filters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'page' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
+ ],
+ ],
+ 'GetMemory' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'entityGroupIds',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
'name' => 'workspace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'query',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'prometheusInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'bindResourceId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
],
],
- 'ListAddonReleases' => [
- 'path' => '/integration-policies/{policyId}/addon-releases',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetMemoryHistory' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}/history',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'addonName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'parentAddonReleaseId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
],
],
- 'GetIntegrationPolicy' => [
- 'path' => '/integration-policies/{policyId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetMemoryStore' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
],
],
- 'GetAddonRelease' => [
- 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPipeline' => [
+ 'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'releaseName',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'policyId',
+ 'name' => 'pipelineName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeleteAddonRelease' => [
- 'path' => '/integration-policies/{policyId}/addon-releases',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'releaseName',
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'force',
+ 'name' => 'aliyunLang',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetPrometheusUserSetting' => [
+ 'path' => '/prometheus-user-setting',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'policyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'addonName',
+ 'name' => 'aliyunLang',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateAddonRelease' => [
- 'path' => '/integration-policies/{policyId}/addon-releases',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetPrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'prometheusViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'deprecated' => false,
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'addonName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'aliyunLang' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'dryRun' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'envType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'parentAddonReleaseId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'releaseName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'values' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'entityRules' => [
- '$ref' => '#/components/schemas/EntityDiscoverRule',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'policyId',
+ 'name' => 'serviceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
'GetServiceObservability' => [
'path' => '/workspace/{workspace}/service-observability/{type}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'type',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeleteService' => [
- 'path' => '/workspace/{workspace}/service/{serviceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetServiceRecord' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}/record',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'serviceId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'recordType',
+ 'in' => 'query',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['logCorrelation'],
],
],
],
],
- 'UpdateService' => [
- 'path' => '/workspace/{workspace}/service/{serviceId}',
- 'methods' => [
- 'put',
+ 'GetUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'GetUmodelCommonSchemaRef' => [
+ 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'GetUmodelData' => [
+ 'path' => '/workspace/{workspace}/umodel/graph',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'serviceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'method',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -6178,818 +6250,683 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'displayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'attributes' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'serviceStatus' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'content' => ['type' => 'any', 'required' => false],
],
],
],
],
],
- 'GetService' => [
- 'path' => '/workspace/{workspace}/service/{serviceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ListAddonReleases' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'serviceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'addonName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'parentAddonReleaseId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
],
- 'CreateService' => [
- 'path' => '/workspace/{workspace}/service',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListAddons' => [
+ 'path' => '/addons',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'serviceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'serviceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'displayName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'attributes' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'serviceStatus' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'pid' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- ],
- ],
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'workspace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'category',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'regexp',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListServices' => [
- 'path' => '/workspace/{workspace}/services',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListAggTaskGroups' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'nextToken',
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'filterAggTaskGroupIds',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'filterAggTaskGroupNames',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'status',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Running', 'Stopped'],
],
],
[
- 'name' => 'maxResults',
+ 'name' => 'targetPrometheusId',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
'required' => false,
- 'minimum' => '0',
- 'exclusiveMinimum' => false,
- 'maximum' => '500',
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
],
[
- 'name' => 'workspace',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
],
[
- 'name' => 'serviceType',
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
+ ],
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListAlertActions' => [
+ 'path' => '/alertActions',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'alertActionIds',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
- 'enum' => [
- 'TRACE',
- 'XTRACE',
- 'RUM',
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'serviceName',
+ 'name' => 'type',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['FC', 'MNS', 'OPEN_API', 'SLS', 'ESS', 'PAGER_DUTY', 'WEBHOOK', 'EB', 'FC3'],
],
],
[
- 'name' => 'resourceGroupId',
+ 'name' => 'alertActionName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListAlertRobots' => [
+ 'path' => '/robots',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'robotIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'tags',
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'types',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'object',
+ 'type' => 'string',
'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK'],
],
],
],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
],
],
- 'CreatePrometheusVirtualInstance' => [
- 'path' => '/virtual-instances',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListAlertWebhooks' => [
+ 'path' => '/webhooks',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'webhookIds',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'namespace' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
],
],
- 'ListPrometheusVirtualInstances' => [
- 'path' => '/virtual-instances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListBizTraces' => [
+ 'path' => '/bizTraces',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'namespace',
+ 'name' => 'workspace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetAggTaskGroup' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListContactGroups' => [
+ 'path' => '/contactGroups',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'contactGroupIds',
+ 'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
],
],
- 'CreateAggTaskGroup' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListContacts' => [
+ 'path' => '/contact',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ [
+ 'name' => 'contactIds',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'aggTaskGroupConfig' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'aggTaskGroupConfigType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'aggTaskGroupName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'cronExpr' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'delay' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '120',
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'fromTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'maxRetries' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'maxRunTimeInSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'precheckString' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'scheduleMode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'FixedRate',
- 'Cron',
- ],
- ],
- 'scheduleTimeExpr' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Running',
- 'Stopped',
- ],
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'targetPrometheusId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'toTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'overrideIfExists',
+ 'name' => 'name',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'phone',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'email',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'groupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'queryUngroupedContacts',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
],
],
- 'DeleteAggTaskGroup' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListContextStoreAPIKeys' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'groupId',
+ 'name' => 'contextStoreName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'UpdateAggTaskGroupStatus' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListContextStores' => [
+ 'path' => '/workspace/{workspace}/contextstore',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'contextStoreName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'status' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Running',
- 'Stopped',
- ],
- ],
- ],
- ],
+ 'name' => 'contextType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateAggTaskGroup' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListDatasets' => [
+ 'path' => '/workspace/{workspace}/dataset',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'datasetName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ListDeliveryTasks' => [
+ 'path' => '/delivery-tasks',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'keyWords',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'groupId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'],
+ ],
+ [
+ 'name' => 'tag',
+ 'in' => 'query',
'style' => 'json',
'schema' => [
- 'type' => 'object',
+ 'type' => 'array',
'required' => false,
- 'properties' => [
- 'aggTaskGroupConfig' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'aggTaskGroupConfigType' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'aggTaskGroupName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'cronExpr' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'delay' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '120',
- ],
- 'description' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'fromTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
- 'maxRetries' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'maxRunTimeInSeconds' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'precheckString' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'scheduleMode' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'FixedRate',
- 'Cron',
- ],
- ],
- 'scheduleTimeExpr' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Running',
- 'Stopped',
- ],
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'targetPrometheusId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'toTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'value' => ['type' => 'string', 'required' => false],
+ 'key' => ['type' => 'string', 'required' => false],
],
],
],
],
],
],
- 'ListAggTaskGroups' => [
- 'path' => '/prometheus-instances/{instanceId}/agg-task-groups',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicies' => [
+ 'path' => '/integration-policies',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'instanceId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'policyId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filterAggTaskGroupIds',
+ 'name' => 'policyName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'filterAggTaskGroupNames',
+ 'name' => 'policyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'status',
+ 'name' => 'addonName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Running',
- 'Stopped',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'targetPrometheusId',
+ 'name' => 'filterRegionIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'tags',
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tag',
'in' => 'query',
'style' => 'json',
'schema' => [
@@ -6999,482 +6936,410 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
],
[
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'nextToken',
+ 'name' => 'entityGroupIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'bindResourceId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'DeletePrometheusInstance' => [
- 'path' => '/prometheus-instances/{prometheusInstanceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyAddons' => [
+ 'path' => '/integration-policies/{policyId}/addons',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusInstanceId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'DeletePrometheusView' => [
- 'path' => '/prometheus-views/{prometheusViewId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyCollectors' => [
+ 'path' => '/integration-policies/{policyId}/collectors',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusViewId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'addonReleaseName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'collectorType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'language',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetPrometheusInstance' => [
- 'path' => '/prometheus-instances/{prometheusInstanceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyCustomScrapeJobRules' => [
+ 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusInstanceId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'resourceGroupId',
+ 'name' => 'addonReleaseName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunLang',
+ 'name' => 'encryptYaml',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'GetPrometheusView' => [
- 'path' => '/prometheus-views/{prometheusViewId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyDashboards' => [
+ 'path' => '/integration-policies/{policyId}/dashboards',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusViewId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'resourceGroupId',
+ 'name' => 'addonName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunLang',
+ 'name' => 'scene',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'language',
'in' => 'query',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['zh', 'en'],
],
],
],
],
- 'ListPrometheusDashboards' => [
- 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyPodMonitors' => [
+ 'path' => '/integration-policies/{policyId}/pod-monitors',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusInstanceId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'resourceGroupId',
+ 'name' => 'addonReleaseName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'aliyunLang',
+ 'name' => 'namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'encryptYaml',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'UpdatePrometheusView' => [
- 'path' => '/prometheus-views/{prometheusViewId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListIntegrationPolicyServiceMonitors' => [
+ 'path' => '/integration-policies/{policyId}/service-monitors',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'addonReleaseName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'encryptYaml',
+ 'in' => 'query',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ListIntegrationPolicyStorageRequirements' => [
+ 'path' => '/integration-policies/{policyId}/storage-requirements',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusViewId',
+ 'name' => 'policyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'authFreeReadPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAuthFreeRead' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthToken' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'prometheusInstances' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'prometheusInstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'regionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'userId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'prometheusViewName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'addonName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'storageType',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'addonReleaseName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdatePrometheusInstance' => [
- 'path' => '/prometheus-instances/{prometheusInstanceId}',
- 'methods' => [
- 'put',
+ 'ListMemoryStores' => [
+ 'path' => '/workspace/{workspace}/memorystore',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'ListPipelines' => [
+ 'path' => '/workspace/{workspace}/pipeline',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pipelineName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'ListPrometheusDashboards' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'prometheusInstanceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'archiveDuration' => [
- 'type' => 'integer',
- 'required' => false,
- 'enum' => [],
- ],
- 'authFreeReadPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'authFreeWritePolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAuthFreeRead' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthFreeWrite' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthToken' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'prometheusInstanceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'storageDuration' => [
- 'type' => 'integer',
- 'required' => false,
- 'enum' => [
- '15',
- '30',
- '60',
- '90',
- '180',
- '365',
- ],
- ],
- 'paymentType' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'POSTPAY_GB',
- 'POSTPAY',
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'aliyunLang',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListPrometheusViews' => [
- 'path' => '/prometheus-views',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPrometheusInstances' => [
+ 'path' => '/prometheus-instances',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusViewIds',
+ 'name' => 'prometheusInstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'prometheusViewName',
+ 'name' => 'prometheusInstanceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'version',
@@ -7482,10 +7347,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'V1',
- 'V2',
- ],
+ 'enum' => ['V1', 'V2'],
],
],
[
@@ -7494,23 +7356,18 @@
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => [],
],
],
[
'name' => 'filterRegionIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'tag',
@@ -7523,14 +7380,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
@@ -7538,69 +7389,42 @@
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
],
],
],
- 'ListPrometheusInstances' => [
- 'path' => '/prometheus-instances',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPrometheusViews' => [
+ 'path' => '/prometheus-views',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'prometheusInstanceIds',
+ 'name' => 'prometheusViewIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'prometheusInstanceName',
+ 'name' => 'prometheusViewName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'workspace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'version',
@@ -7608,36 +7432,23 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'V1',
- 'V2',
- ],
+ 'enum' => ['V1', 'V2'],
],
],
[
'name' => 'resourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'filterRegionIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'resourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'tag',
@@ -7650,14 +7461,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
],
],
],
@@ -7665,582 +7470,382 @@
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '0',
- 'maximum' => '100',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
],
],
],
- 'CreatePrometheusInstance' => [
- 'path' => '/prometheus-instances',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListPrometheusVirtualInstances' => [
+ 'path' => '/virtual-instances',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'archiveDuration' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enum' => [],
- ],
- 'authFreeReadPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'authFreeWritePolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAuthFreeRead' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthFreeWrite' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthToken' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'prometheusInstanceName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Running',
- ],
- ],
- 'storageDuration' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enum' => [
- '15',
- '30',
- '60',
- '90',
- '180',
- ],
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'paymentType' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'POSTPAY',
- 'POSTPAY_GB',
- ],
- ],
- ],
- ],
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tenantId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
- 'CreatePrometheusView' => [
- 'path' => '/prometheus-views',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListServiceRecords' => [
+ 'path' => '/workspace/{workspace}/service-records',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'body',
- 'in' => 'body',
- 'style' => 'json',
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'recordType',
+ 'in' => 'query',
'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'authFreeReadPolicy' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'enableAuthFreeRead' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'enableAuthToken' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'prometheusInstances' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'prometheusInstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'regionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'userId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'prometheusViewName' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'resourceGroupId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'status' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Running',
- ],
- ],
- 'tags' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'version' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'V1',
- 'V2',
- ],
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['logCorrelation'],
],
],
+ [
+ 'name' => 'search',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
- 'ListAlertActions' => [
- 'path' => '/alertActions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListServices' => [
+ 'path' => '/workspace/{workspace}/services',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'alertActionIds',
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'exclusiveMinimum' => false, 'maximum' => '500'],
+ ],
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['TRACE', 'XTRACE', 'RUM'],
+ ],
+ ],
+ [
+ 'name' => 'serviceName',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'resourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'tags',
'in' => 'query',
'style' => 'json',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
+ ],
+ ],
+ 'ListTagResources' => [
+ 'path' => '/tags',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'type',
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'resourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'FC',
- 'MNS',
- 'OPEN_API',
- 'SLS',
- 'ESS',
- 'PAGER_DUTY',
- 'WEBHOOK',
- 'EB',
- 'FC3',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'alertActionName',
+ 'name' => 'resourceId',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'pageNumber',
+ 'name' => 'tag',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false],
],
],
[
- 'name' => 'pageSize',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'UpdateSubscription' => [
- 'path' => '/subscriptions/{subscriptionId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListWorkspaces' => [
+ 'path' => '/workspace',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
+ 'name' => 'workspaceName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'body',
- 'in' => 'body',
+ 'name' => 'nextToken',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'maxResults',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '200'],
+ ],
+ [
+ 'name' => 'workspaceNameList',
+ 'in' => 'query',
+ 'style' => 'simple',
'schema' => [
- '$ref' => '#/components/schemas/SubscriptionForModify',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
- 'name' => 'subscriptionId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'CreateAlertWebhook' => [
- 'path' => '/webhook',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ManageAlertRules' => [
+ 'path' => '/manageAlertRules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'body',
- 'in' => 'body',
+ 'in' => 'formData',
'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'contentType' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'JSON',
- 'FORM',
- ],
- ],
- 'headers' => [
- 'type' => 'object',
- 'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'lang' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'zh_CN',
- 'en_US',
- ],
- ],
- 'method' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'GET',
- 'POST',
- ],
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'url' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'webhookId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['$ref' => '#/components/schemas/ManageAlertRulesUnifiedActionInput', 'required' => false],
],
],
],
- 'DeleteAlertWebhooks' => [
- 'path' => '/webhooks',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'OpenCmsService' => [
+ 'path' => '/cmsservice',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'PutWorkspace' => [
+ 'path' => '/workspace/{workspaceName}',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'webhookIds',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'displayName' => ['type' => 'string', 'required' => false, 'maxLength' => 256],
+ 'description' => ['type' => 'string', 'required' => false, 'maxLength' => 256, 'pattern' => ''],
+ 'slsProject' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 128],
],
],
],
+ [
+ 'name' => 'workspaceName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 56],
+ ],
],
],
- 'ListAlertWebhooks' => [
- 'path' => '/webhooks',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'QueryAlertRules' => [
+ 'path' => '/queryAlertRules',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'pageSize',
+ 'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'pageNumber',
+ 'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'webhookIds',
+ 'name' => 'clientToken',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'name',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => ['$ref' => '#/components/schemas/QueryAlertRulesInput', 'required' => false],
],
],
],
- 'UpdateAlertWebhook' => [
- 'path' => '/webhook/{webhookId}',
- 'methods' => [
- 'patch',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchContext' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'webhookId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
'name' => 'body',
@@ -8250,157 +7855,83 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'contentType' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'JSON',
- 'FORM',
- ],
- ],
- 'headers' => [
+ 'query' => ['type' => 'string', 'required' => true],
+ 'formatted' => ['type' => 'boolean', 'required' => false],
+ 'filter' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- ],
- ],
- 'lang' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'zh_CN',
- 'en_US',
- ],
- ],
- 'method' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'GET',
- 'POST',
- ],
- ],
- 'name' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'url' => [
- 'type' => 'string',
- 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
],
+ 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'threshold' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'retrievalOption' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdateNotifyStrategy' => [
- 'path' => '/notifyStrategies/{notifyStrategyId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'SearchMemories' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/search',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'body',
- 'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/NotifyStrategyForModify',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'notifyStrategyId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
- ],
- ],
- 'CreateTicket' => [
- 'path' => '/tickets',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'expirationTime',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'accessTokenExpirationTime',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'query' => ['type' => 'string', 'required' => false],
+ 'userId' => ['type' => 'string', 'required' => false],
+ 'topK' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'agentId' => ['type' => 'string', 'required' => false],
+ 'appId' => ['type' => 'string', 'required' => false],
+ 'runId' => ['type' => 'string', 'required' => false],
+ 'rerank' => ['type' => 'boolean', 'required' => false],
+ 'filters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ 'threshold' => ['type' => 'number', 'format' => 'double', 'required' => false],
+ 'retrievalOption' => ['type' => 'string', 'required' => false],
+ 'searchType' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
'TagResources' => [
'path' => '/tags',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
@@ -8411,27 +7942,18 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'resourceType' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'resourceType' => ['type' => 'string', 'required' => true],
'resourceId' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 50,
],
'tag' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Tag',
- 'required' => false,
- ],
+ 'items' => ['$ref' => '#/components/schemas/Tag', 'required' => false],
'maxItems' => 20,
],
],
@@ -8441,32 +7963,21 @@
],
'UntagResources' => [
'path' => '/tags',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['delete'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'resourceType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceId',
@@ -8475,10 +7986,7 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 50,
],
@@ -8490,118 +7998,80 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
],
],
[
'name' => 'all',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListTagResources' => [
- 'path' => '/tags',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateAddonRelease' => [
+ 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'resourceType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'resourceId',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
+ 'name' => 'releaseName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'tag',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
'style' => 'json',
'schema' => [
- 'type' => 'array',
+ 'type' => 'object',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/Tag',
- 'required' => false,
+ 'properties' => [
+ 'addonVersion' => ['type' => 'string', 'required' => false],
+ 'dryRun' => ['type' => 'boolean', 'required' => false],
+ 'values' => ['type' => 'string', 'required' => false],
+ 'entityRules' => ['$ref' => '#/components/schemas/EntityDiscoverRule', 'required' => false],
],
],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'policyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ChangeResourceGroup' => [
- 'path' => '/resourcegroup',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateAggTaskGroup' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8609,124 +8079,106 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'resourceType' => [
+ 'aggTaskGroupConfig' => ['type' => 'string', 'required' => true],
+ 'aggTaskGroupConfigType' => ['type' => 'string', 'required' => false],
+ 'aggTaskGroupName' => ['type' => 'string', 'required' => false],
+ 'cronExpr' => ['type' => 'string', 'required' => false],
+ 'delay' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '120'],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'maxRetries' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'maxRunTimeInSeconds' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'precheckString' => ['type' => 'string', 'required' => false],
+ 'scheduleMode' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['FixedRate', 'Cron'],
],
- 'resourceId' => [
+ 'scheduleTimeExpr' => ['type' => 'string', 'required' => false],
+ 'status' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Running', 'Stopped'],
],
- 'resourceGroupId' => [
- 'type' => 'string',
+ 'tags' => [
+ 'type' => 'array',
'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
],
+ 'targetPrometheusId' => ['type' => 'string', 'required' => true],
+ 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
],
],
],
],
],
- 'DescribeRegions' => [
- 'path' => '/regions',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateAggTaskGroupStatus' => [
+ 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'language',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetCmsService' => [
- 'path' => '/cmsservice',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'name' => 'instanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'product',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'prometheus',
- ],
- ],
+ 'name' => 'groupId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'service',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
- 'enum' => [
- 'prometheus',
- 'prometheusgb',
- 'promethues',
- 'ackpro',
+ 'properties' => [
+ 'status' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['Running', 'Stopped'],
+ ],
],
],
],
],
],
- 'CreateBizTrace' => [
- 'path' => '/bizTrace',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateAlertWebhook' => [
+ 'path' => '/webhook/{webhookId}',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
+ 'name' => 'webhookId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
'name' => 'body',
'in' => 'body',
'style' => 'json',
@@ -8734,631 +8186,829 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'bizTraceCode' => [
+ 'contentType' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['JSON', 'FORM'],
],
- 'bizTraceName' => [
- 'type' => 'string',
+ 'headers' => [
+ 'type' => 'object',
'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
],
- 'ruleConfig' => [
+ 'lang' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['zh_CN', 'en_US'],
],
- 'advancedConfig' => [
+ 'method' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['GET', 'POST'],
],
+ 'name' => ['type' => 'string', 'required' => false],
+ 'url' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'CreateServiceObservability' => [
- 'path' => '/workspace/{workspace}/service-observability/{type}',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateBizTrace' => [
+ 'path' => '/bizTrace/{bizTraceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'bizTraceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'bizTraceName' => ['type' => 'string', 'required' => false],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'ruleConfig' => ['type' => 'string', 'required' => false],
+ 'advancedConfig' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'UpdateContext' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'type',
+ 'name' => 'contextStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextId',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'content' => ['type' => 'string', 'required' => false],
+ 'payload' => ['type' => 'object', 'required' => false],
+ 'triggerCondition' => ['type' => 'string', 'required' => false],
+ 'experience' => ['type' => 'object', 'required' => false],
+ 'metadata' => ['type' => 'object', 'required' => false],
+ ],
],
],
],
],
- 'DeleteBizTrace' => [
- 'path' => '/bizTrace/{bizTraceId}',
- 'methods' => [
- 'delete',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateContextStore' => [
+ 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'bizTraceId',
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'contextStoreName',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'config' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'metadataField' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'source' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'startTime' => ['type' => 'string', 'required' => false],
+ 'logstore' => ['type' => 'string', 'required' => false],
+ 'project' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'contextType' => ['type' => 'string', 'required' => false],
+ 'dataset' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'name' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
],
],
],
],
- 'GetAddon' => [
- 'path' => '/addons/{addonName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateDataset' => [
+ 'path' => '/workspace/{workspace}/dataset/{datasetName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'addonName',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'version',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'datasetName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'aliyunLang',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetAddonCodeTemplate' => [
- 'path' => '/addons/{addonName}/alert-code-template',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateDeliveryTask' => [
+ 'path' => '/delivery-task/{taskId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'addonName',
+ 'name' => 'taskId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'aliyunLang',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'taskName' => ['type' => 'string', 'required' => false],
+ 'dataSourceId' => ['type' => 'string', 'required' => false],
+ 'taskDescription' => ['type' => 'string', 'required' => false],
+ 'status' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Running', 'Disable'],
+ ],
+ 'labelFiltersType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Allow', 'Deny'],
+ ],
+ 'labelFilters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'externalLabels' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ 'sinkList' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'sinkType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['Prometheus', 'AcsMaxCompute', 'AcsKafka'],
+ ],
+ 'sinkConfigs' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'UpdateIntegrationPolicy' => [
+ 'path' => '/integration-policies/{integrationPolicyId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'environmentType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'version',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'feePackage' => ['type' => 'string', 'required' => false],
+ 'policyName' => ['type' => 'string', 'required' => false],
+ 'resourceGroupId' => ['type' => 'string', 'required' => false],
+ 'tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'key' => ['type' => 'string', 'required' => false],
+ 'value' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
],
],
+ [
+ 'name' => 'integrationPolicyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
],
- 'GetAddonSchema' => [
- 'path' => '/addons/{addonName}/schema',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateMemory' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'addonName',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'aliyunLang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
],
[
- 'name' => 'environmentType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'memoryId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1],
],
[
- 'name' => 'version',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'metadata' => ['type' => 'object', 'required' => false],
+ 'text' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'GetBizTrace' => [
- 'path' => '/bizTrace/{bizTraceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateMemoryStore' => [
+ 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'bizTraceId',
+ 'name' => 'workspace',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'memoryStoreName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'shortTermTtl' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'extractionStrategies' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ ],
+ 'customExtractionStrategies' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false],
+ ],
+ ],
],
],
],
],
- 'GetIntegrationVersionForCS' => [
- 'path' => '/integration-version/cs',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateNotifyStrategy' => [
+ 'path' => '/notifyStrategies/{notifyStrategyId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'clusterId',
+ 'name' => 'workspace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'clusterType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/NotifyStrategyForModify', 'required' => false],
+ ],
+ [
+ 'name' => 'notifyStrategyId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'GetPrometheusUserSetting' => [
- 'path' => '/prometheus-user-setting',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdatePipeline' => [
+ 'path' => '/workspace/{workspace}/pipeline/{pipelineName}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'aliyunLang',
- 'in' => 'query',
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'pipelineName',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'description' => ['type' => 'string', 'required' => false],
+ 'source' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => ['type' => 'string', 'required' => false],
+ 'logstore' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'logstore' => ['type' => 'string', 'required' => false],
+ 'query' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'pipeline' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'nodes' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'id' => ['type' => 'string', 'required' => false],
+ 'type' => ['type' => 'string', 'required' => false],
+ 'parameters' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => ['type' => 'any'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'sink' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'type' => ['type' => 'string', 'required' => false],
+ 'dataset' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'workspace' => ['type' => 'string', 'required' => false],
+ 'dataset' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ 'executePolicy' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'mode' => ['type' => 'string', 'required' => false],
+ 'runOnce' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ 'toTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ 'scheduled' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'interval' => ['type' => 'string', 'required' => false],
+ 'fromTime' => ['type' => 'integer', 'format' => 'int64', 'required' => false],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
- 'ListAddons' => [
- 'path' => '/addons',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdatePrometheusInstance' => [
+ 'path' => '/prometheus-instances/{prometheusInstanceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'aliyunLang',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'prometheusInstanceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'category',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'archiveDuration' => [
+ 'type' => 'integer',
+ 'required' => false,
+ 'enum' => [],
+ ],
+ 'authFreeReadPolicy' => ['type' => 'string', 'required' => false],
+ 'authFreeWritePolicy' => ['type' => 'string', 'required' => false],
+ 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthFreeWrite' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthToken' => ['type' => 'boolean', 'required' => false],
+ 'prometheusInstanceName' => ['type' => 'string', 'required' => false],
+ 'status' => ['type' => 'string', 'required' => false],
+ 'storageDuration' => [
+ 'type' => 'integer',
+ 'required' => false,
+ 'enum' => ['15', '30', '60', '90', '180', '365'],
+ ],
+ 'paymentType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['POSTPAY_GB', 'POSTPAY'],
+ ],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ ],
],
],
+ ],
+ ],
+ 'UpdatePrometheusUserSetting' => [
+ 'path' => '/prometheus-user-setting/{settingKey}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'search',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'regexp',
+ 'name' => 'settingKey',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'settingValue',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListBizTraces' => [
- 'path' => '/bizTraces',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdatePrometheusView' => [
+ 'path' => '/prometheus-views/{prometheusViewId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'workspace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'maxResults',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'name' => 'prometheusViewId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'nextToken',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'authFreeReadPolicy' => ['type' => 'string', 'required' => false],
+ 'enableAuthFreeRead' => ['type' => 'boolean', 'required' => false],
+ 'enableAuthToken' => ['type' => 'boolean', 'required' => false],
+ 'prometheusInstances' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'prometheusInstanceId' => ['type' => 'string', 'required' => false],
+ 'regionId' => ['type' => 'string', 'required' => false],
+ 'userId' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'prometheusViewName' => ['type' => 'string', 'required' => false],
+ 'status' => ['type' => 'string', 'required' => false],
+ 'workspace' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListIntegrationPolicyAddons' => [
- 'path' => '/integration-policies/{policyId}/addons',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateService' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'displayName' => ['type' => 'string', 'required' => false],
+ 'description' => ['type' => 'string', 'required' => false],
+ 'attributes' => ['type' => 'string', 'required' => false],
+ 'serviceStatus' => ['type' => 'string', 'required' => false],
+ ],
],
],
],
],
- 'ListIntegrationPolicyCollectors' => [
- 'path' => '/integration-policies/{policyId}/collectors',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServiceRecord' => [
+ 'path' => '/workspace/{workspace}/service/{serviceId}/record',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'addonReleaseName',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'collectorType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'name' => 'serviceId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'language',
- 'in' => 'query',
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'recordType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => ['logCorrelation'],
+ ],
+ 'recordContent' => ['type' => 'string', 'required' => true],
+ ],
],
],
],
],
- 'ListIntegrationPolicyServiceMonitors' => [
- 'path' => '/integration-policies/{policyId}/service-monitors',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateSubscription' => [
+ 'path' => '/subscriptions/{subscriptionId}',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'policyId',
- 'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'addonReleaseName',
+ 'name' => 'workspace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'namespace',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/SubscriptionForModify', 'required' => false],
],
[
- 'name' => 'encryptYaml',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'name' => 'subscriptionId',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'UpdateBizTrace' => [
- 'path' => '/bizTrace/{bizTraceId}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateUmodel' => [
+ 'path' => '/workspace/{workspace}/umodel',
+ 'methods' => ['put'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'bizTraceId',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'body',
@@ -9368,227 +9018,127 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'bizTraceName' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'workspace' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ruleConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'advancedConfig' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'description' => ['type' => 'string', 'required' => false],
],
],
],
],
],
- 'UpdatePrometheusUserSetting' => [
- 'path' => '/prometheus-user-setting/{settingKey}',
- 'methods' => [
- 'put',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpsertUmodelCommonSchemaRef' => [
+ 'path' => '/workspace/{workspace}/umodel/common-schema-ref',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'workspace',
+ 'in' => 'path',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'version',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'UpsertUmodelData' => [
+ 'path' => '/workspace/{workspace}/umodel/data',
+ 'methods' => ['patch'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'settingKey',
+ 'name' => 'workspace',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'settingValue',
+ 'name' => 'method',
'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'elements' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'any', 'required' => false],
+ ],
+ ],
],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhongwei',
- 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-finance',
- 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan-acdr-1',
- 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-beijing.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-jva', 'regionName' => '郑州(联通合营)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhengzhou-jva.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-heyuan.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'metrics.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-northeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-2.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-3.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-5.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-5.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-6.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-6.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-7.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.ap-southeast-8.aliyuncs.com', 'endpoint' => 'metrics.ap-southeast-8.aliyuncs.com', 'vpc' => 'cms-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'cn-zhongwei', 'regionName' => '西北2(中卫)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-zhongwei.aliyuncs.com', 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com', 'vpc' => 'cms-vpc.cn-zhongwei.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-qingdao.aliyuncs.com', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shanghai.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hongkong.aliyuncs.com', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-shenzhen.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-nanjing.aliyuncs.com', 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-nanjing.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-fuzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-fuzhou.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-chengdu.aliyuncs.com', 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-guangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-huhehaote.aliyuncs.com', 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'metrics.cn-hangzhou.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-southeast-1.aliyuncs.com', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-1.aliyuncs.com', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'regionName' => '法国(巴黎)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-west-2.aliyuncs.com', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com', 'vpc' => 'cms-vpc.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.eu-central-1.aliyuncs.com', 'endpoint' => 'metrics.eu-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-east-1.aliyuncs.com', 'endpoint' => 'metrics.us-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.us-west-1.aliyuncs.com', 'endpoint' => 'metrics.us-west-1.aliyuncs.com', 'vpc' => 'metrics-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'metrics.na-south-1.aliyuncs.com', 'endpoint' => 'metrics.na-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.na-south-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-east-1.aliyuncs.com', 'endpoint' => 'metrics.me-east-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.ap-south-1.aliyuncs.com', 'endpoint' => 'metrics.ap-south-1.aliyuncs.com', 'vpc' => 'metrics-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'metrics.me-central-1.aliyuncs.com', 'endpoint' => 'metrics.me-central-1.aliyuncs.com', 'vpc' => 'metrics-vpc.me-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'metrics.cn-hangzhou-finance.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-hangzhou-finance.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => '华北6(乌兰察布)通用行业云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'cms-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'metrics-vpc.cn-north-2-gov-1.aliyuncs.com'],
],
];