From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/cms/2015-04-20/api-docs.php | 274 - data/cms/2015-08-01/api-docs.php | 579 -- data/cms/2015-10-20/api-docs.php | 416 +- data/cms/2016-03-18/api-docs.php | 416 +- data/cms/2016-09-22/api-docs.php | 713 +- data/cms/2017-03-01/api-docs.php | 808 +-- data/cms/2017-08-24/api-docs.php | 374 -- data/cms/2018-03-08/api-docs.php | 2739 ++------ data/cms/2019-01-01/api-docs.php | 13423 +++++++++++-------------------------- data/cms/2024-03-30/api-docs.php | 12454 +++++++++++++++++----------------- 10 files changed, 11106 insertions(+), 21090 deletions(-) delete mode 100644 data/cms/2015-04-20/api-docs.php delete mode 100644 data/cms/2015-08-01/api-docs.php delete mode 100644 data/cms/2017-08-24/api-docs.php (limited to 'data/cms') 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 @@ - '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 @@ - '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 @@ '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 @@ '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 @@ '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 @@ '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 @@ - '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 @@ '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,3556 +1,51 @@ '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', - ], - ], - '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', - ], - ], - ], - ], - ], - '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', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - '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', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'DescribeMonitorGroups' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - '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', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'IncludeTemplateHistory', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'custom', - 'ehpc_cluster', - 'kubernetes', - 'tag', - 'aone_group', - 'resMgr', - 'ess', - ], - ], - ], - [ - 'name' => 'DynamicTagRuleId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'GroupFounderTagKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'GroupFounderTagValue', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Tag', - '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, - ], - ], - [ - 'name' => 'Types', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'CreateMonitorGroupInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Instances', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - '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, - ], - ], - ], - 'maxItems' => 2000, - ], - ], - ], - ], - 'ModifyMonitorGroupInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'Instances', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - '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, - ], - ], - ], - 'maxItems' => 2000, - ], - ], - ], - ], - 'DescribeMonitorGroupInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - '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, - ], - ], - ], - ], - 'DescribeMonitorGroupDynamicRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'DescribeMonitorGroupInstanceAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - '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', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DeleteMonitorGroupInstances' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'InstanceIdList', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribeMonitorGroupCategories' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'PutMonitorGroupDynamicRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'GroupRules', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'FilterRelation' => [ - 'type' => 'string', - 'required' => true, - ], - 'Filters' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - '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, - ], - ], - ], - ], - 'CreateGroupMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ProcessName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'MatchExpressFilterRelation', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'MatchExpress', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - 'Function' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'maxItems' => 3, - ], - ], - [ - 'name' => 'AlertConfig', - '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' => true, - ], - '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, - ], - ], - ], - ], - 'ModifyGroupMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'MatchExpressFilterRelation', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig', - '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, - ], - ], - ], - ], - 'DeleteGroupMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribeGroupMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ProcessName', - '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, - ], - ], - ], - ], - 'CreateMonitorGroupNotifyPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PolicyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'PauseNotify', - ], - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - ], - ], - 'DeleteMonitorGroupNotifyPolicy' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PolicyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'PauseNotify', - ], - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DescribeMonitorGroupNotifyPolicyList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PolicyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'PauseNotify', - ], - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'AddTags' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Tag', - '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, - ], - ], - [ - 'name' => 'GroupIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'CreateDynamicTagGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'TagKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'ContactGroupList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 10, - ], - ], - [ - 'name' => 'MatchExpress', - '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, - ], - ], - [ - 'name' => 'TagRegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'EnableSubscribeEvent', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'EnableInstallAgent', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'MatchExpressFilterRelation', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TemplateIdList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 10, - ], - ], - ], - ], - 'DeleteDynamicTagGroup' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'DynamicTagRuleId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribeTagValueList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'TagKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'DescribeTagKeyList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - ], - ], - 'DescribeProductResourceTagKeyList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DescribeDynamicTagRuleList' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'TagRegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TagKey', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TagValue', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'DynamicTagRuleId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'RemoveTags' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Tag', - '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, - ], - ], - [ - 'name' => 'GroupIds', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'CreateHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'TaskName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TaskScope', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TaskOption.HttpURI', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.TelnetOrPingHost', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpResponseCharset', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpPostContent', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpResponseMatchContent', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpMethod', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpNegative', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpHeader', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.Interval', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.NotifyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'AlertConfig.StartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.EndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.SilenceTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.WebHook', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - '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' => 'InstanceList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - '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, - ], - ], - ], - ], - ], - ], - ], - 'DeleteHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'EnableHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'DisableHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'ModifyHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], - ], - [ - 'name' => 'TaskName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TaskScope', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpURI', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.TelnetOrPingHost', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpResponseCharset', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpPostContent', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpResponseMatchContent', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpMethod', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpNegative', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.HttpHeader', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskOption.Interval', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.NotifyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'AlertConfig.StartTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.EndTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.SilenceTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'AlertConfig.WebHook', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - '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' => 'InstanceList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - '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, - ], - ], - ], - ], - ], - ], - ], - 'DescribeUnhealthyHostAvailability' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - 'maxItems' => 20, - ], - ], - ], - ], - 'DescribeHostAvailabilityList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'Ids', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskName', - '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' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - ], - ], - 'InstallMonitoringAgent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Force', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'InstanceIds', - '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, - ], - ], - ], - ], - 'DescribeMonitoringAgentHosts' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'KeyWord', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'HostName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'InstanceIds', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'SerialNumbers', - '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' => 'InstanceRegionId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'AliyunHost', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'SysomStatus', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DescribeMonitoringAgentAccessKey' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [], - ], - 'DescribeMonitoringAgentConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'additionalProperties' => ['type' => 'string'], + ], + 'Measurements' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'any'], + ], + 'LogTime' => ['type' => 'integer', 'format' => 'int64'], ], ], - 'parameters' => [], ], - 'DescribeMonitoringAgentStatuses' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + ], + 'apis' => [ + 'AddTags' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3558,32 +53,39 @@ ], 'parameters' => [ [ - 'name' => 'InstanceIds', + 'name' => 'Tag', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Key' => ['type' => 'string', 'required' => true], + 'Value' => ['type' => 'string', 'required' => true], + ], + ], + 'maxItems' => 5, ], ], [ - 'name' => 'HostAvailabilityTaskId', + 'name' => 'GroupIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], ], ], - 'ModifyHostInfo' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ApplyMetricRuleTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3591,147 +93,164 @@ ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'HostName', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], - ], - ], - 'DescribeMonitoringConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'TemplateIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'EnableStartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'EnableEndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'NotifyLevel', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'ApplyMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Webhook', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AppendMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], - 'parameters' => [], ], - 'PutMonitoringConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchCreateInstantSiteMonitor' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'AutoInstall', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'EnableInstallAgentNewECS', + 'name' => 'TaskList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'boolean', - 'required' => false, + '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, ], ], ], ], - 'UninstallMonitoringAgent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchCreateOnceSiteMonitor' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => true, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'TaskList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Address' => ['type' => 'string'], + 'IspCities' => ['type' => 'string'], + 'OptionsJson' => ['type' => 'string'], + 'TaskName' => ['type' => 'string'], + 'TaskType' => ['type' => 'string'], + ], + ], + 'minItems' => 1, + 'maxItems' => 200, ], ], ], ], - 'CreateMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchExport' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ProcessName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'Metric', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ProcessUser', - 'in' => 'query', + 'name' => 'Cursor', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Length', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'Measurements', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'CreateMonitorAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDynamicTagGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3739,65 +258,151 @@ ], 'parameters' => [ [ - 'name' => 'ProcessName', + 'name' => 'TagKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ContactGroupList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 10, ], ], [ - 'name' => 'InstanceId', + 'name' => 'MatchExpress', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + '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' => 'ProcessUser', + 'name' => 'TagRegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EnableSubscribeEvent', 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'EnableInstallAgent', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'MatchExpressFilterRelation', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TemplateIdList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 10, ], ], ], ], - 'DescribeMonitoringAgentProcesses' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateGroupMetricRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'GroupMetricRules', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => true, + '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, ], ], ], ], - 'DeleteMonitoringAgentProcess' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateGroupMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3805,40 +410,83 @@ ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'ProcessName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'MatchExpressFilterRelation', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ProcessName', + 'name' => 'MatchExpress', '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], + 'Function' => ['type' => 'string', 'required' => false], + ], + ], + 'maxItems' => 3, ], ], [ - 'name' => 'ProcessId', + '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' => true], + '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, ], ], ], ], - 'DescribeSystemEventHistogram' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -3846,212 +494,151 @@ ], 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'EventType', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Name', + 'name' => 'TaskScope', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Level', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Status', + 'name' => 'TaskOption.HttpURI', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'TaskOption.TelnetOrPingHost', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SearchKeywords', + 'name' => 'TaskOption.HttpResponseCharset', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'TaskOption.HttpPostContent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'TaskOption.HttpResponseMatchContent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DescribeSystemEventMetaList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [], - ], - 'DescribeSystemEventAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'TaskOption.HttpMethod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'TaskOption.HttpNegative', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'EventType', + 'name' => 'TaskOption.HttpHeader', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'TaskOption.Interval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Level', + 'name' => 'AlertConfig.NotifyType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ - 'name' => 'Status', + 'name' => 'AlertConfig.StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'AlertConfig.EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'SearchKeywords', + 'name' => 'AlertConfig.SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'AlertConfig.WebHook', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'AlertConfigEscalationList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + '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' => 'PageNumber', + 'name' => 'InstanceList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 1000, ], ], [ - 'name' => 'PageSize', + 'name' => 'AlertConfigTargetList', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + '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], + ], + ], ], ], ], ], - 'DescribeSystemEventCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateHybridMonitorNamespace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4059,88 +646,81 @@ ], 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EventType', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'Spec', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => [], ], ], [ - 'name' => 'Level', + 'name' => 'NamespaceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Status', + 'name' => 'NamespaceRegion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'CreateHybridMonitorSLSGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'SearchKeywords', + 'name' => 'SLSGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'StartTime', + 'name' => 'SLSGroupDescription', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'SLSGroupConfig', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - '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, ], ], ], ], - 'DescribeMonitorResourceQuotaAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateHybridMonitorTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4148,554 +728,426 @@ ], 'parameters' => [ [ - 'name' => 'ShowUsed', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'SendDryRunSystemEvent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EventName', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'CollectTargetType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EventContent', + 'name' => 'CollectInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DescribeCustomEventCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'YARMConfig', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EventId', + 'name' => 'TargetUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupId', + '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' => 'SearchKeywords', + 'name' => 'TargetUserIdList', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + '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}$'], + ], + ], + ], + ], ], ], [ - 'name' => 'EndTime', + 'name' => 'CloudAccessId', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'minItems' => 1, + 'maxItems' => 50, ], ], ], ], - 'DescribeCustomEventHistogram' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateInstantSiteMonitor' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'Address', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Level', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EventId', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'IspCities', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SearchKeywords', + 'name' => 'OptionsJson', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'RandomIspCity', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'AgentGroup', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['PC', 'MOBILE'], ], ], ], ], - 'DescribeCustomEventAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateMetricRuleBlackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'EventId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'SearchKeywords', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'StartTime', + 'name' => 'ScopeType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'ScopeValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'EnableStartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'EnableEndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'PutCustomEvent' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EffectiveTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'EventInfo', + 'name' => 'Instances', '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, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 100, ], ], - ], - ], - 'PutCustomMetric' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ [ - 'name' => 'MetricList', + 'name' => 'Metrics', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => true, + 'required' => false, '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, - ], + 'MetricName' => ['type' => 'string', 'required' => true], + 'Resource' => ['type' => 'string', 'required' => false], ], ], - 'maxItems' => 100, + 'maxItems' => 10, ], ], ], ], - 'PutCustomMetricRule' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateMetricRuleResources' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'parameters' => [ - [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], [ 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'Overwrite', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'CreateMetricRuleTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ContactGroups', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Webhook', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EffectiveInterval', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SilenceTime', + 'name' => 'AlertTemplates', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + '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' => 'Period', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'EmailSubject', + 'name' => 'ProcessName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Threshold', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Level', + 'name' => 'ProcessUser', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'CreateMonitorGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EvaluationCount', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'Statistics', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ComparisonOperator', + 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeCustomMetricList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateMonitorGroupByResourceGroupId' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4703,64 +1155,82 @@ ], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'EnableSubscribeEvent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'EnableInstallAgent', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Dimension', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Md5', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageNumber', + 'name' => 'ResourceGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageSize', + 'name' => 'ContactGroupList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], ], ], - 'DeleteCustomMetric' => [ - 'methods' => [ - 'post', - 'get', + 'CreateMonitorGroupInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Instances', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + '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], + ], + ], + 'maxItems' => 2000, + ], + ], ], + ], + 'CreateMonitorGroupNotifyPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4768,48 +1238,34 @@ ], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'PolicyType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['PauseNotify'], ], ], [ - 'name' => 'MetricName', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Md5', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'UUID', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'PutLogMonitor' => [ - 'methods' => [ - 'post', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4817,202 +1273,199 @@ ], 'parameters' => [ [ - 'name' => 'LogId', + 'name' => 'ProcessName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SlsRegionId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'SlsProject', + 'name' => 'ProcessUser', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'CreateSiteMonitor' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'SlsLogstore', + 'name' => 'Address', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'MetricName', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'MetricExpress', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ValueFilterRelation', + 'name' => 'IspCities', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Tumblingwindows', + 'name' => 'OptionsJson', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Unit', + 'name' => 'AlertIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Aggregates', + 'name' => 'AgentGroup', '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' => 'CustomSchedule', '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' => 'VpcConfig', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'Cursor' => [ + 'methods' => ['post'], + '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', '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, + 'items' => ['$ref' => '#/components/schemas/Matcher', 'required' => false], ], ], ], ], - 'DeleteLogMonitor' => [ - 'methods' => [ - 'post', - 'get', + 'DeleteContact' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'ContactName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteContactGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'LogId', + 'name' => 'ContactGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DescribeLogMonitorList' => [ - 'methods' => [ - 'post', - 'get', + 'DeleteCustomMetric' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Md5', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'UUID', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'DeleteDynamicTagGroup' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5020,75 +1473,81 @@ ], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'DynamicTagRuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteEventRuleTargets' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'SearchValue', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'Ids', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], ], ], - 'DescribeLogMonitorAttribute' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteEventRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'MetricName', + 'name' => 'RuleNames', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], ], ], - 'CreateMonitorGroupByResourceGroupId' => [ - 'methods' => [ - 'post', - 'get', + 'DeleteExporterOutput' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'DestName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeleteExporterRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5096,247 +1555,196 @@ ], 'parameters' => [ [ - 'name' => 'EnableSubscribeEvent', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteGroupMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EnableInstallAgent', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'RegionId', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ResourceGroupId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ResourceGroupName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'ContactGroupList', + 'name' => 'Id', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'maxItems' => 20, ], ], ], ], - 'CreateSiteMonitor' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteHybridMonitorNamespace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Address', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'TaskType', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteHybridMonitorSLSGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TaskName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Interval', + 'name' => 'SLSGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteHybridMonitorTask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IspCities', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'OptionsJson', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AlertIds', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AgentGroup', + 'name' => 'TargetUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteLogMonitor' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CustomSchedule', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'VpcConfig', + 'name' => 'LogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'CreateInstantSiteMonitor' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteMetricRuleBlackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Address', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteMetricRuleResources' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'TaskName', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'IspCities', + 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteMetricRuleTargets' => [ + 'methods' => ['post', 'get', 'delete', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'OptionsJson', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'RandomIspCity', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'AgentGroup', + 'name' => 'TargetIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'PC', - 'MOBILE', - ], + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 5, ], ], ], ], - 'BatchCreateInstantSiteMonitor' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteMetricRuleTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5345,53 +1753,15 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TaskList', - '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, - ], + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteSiteMonitors' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteMetricRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5400,32 +1770,37 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TaskIds', + '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' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ [ - 'name' => 'IsDeleteAlarms', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], - 'DisableSiteMonitors' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteMonitorGroupDynamicRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5433,24 +1808,20 @@ ], 'parameters' => [ [ - 'name' => 'TaskIds', + '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], ], ], ], - 'ModifySiteMonitor' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteMonitorGroupInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5458,219 +1829,187 @@ ], 'parameters' => [ [ - 'name' => 'Address', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'TaskId', + 'name' => 'InstanceIdList', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskName', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DeleteMonitorGroupNotifyPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Interval', + 'name' => 'PolicyType', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['PauseNotify'], ], ], [ - 'name' => 'IspCities', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'OptionsJson', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'AlertIds', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'IntervalUnit', + 'name' => 'ProcessName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'CustomSchedule', + 'name' => 'ProcessId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'EnableSiteMonitors' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteSiteMonitors' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ 'name' => 'TaskIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'IsDeleteAlarms', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DescribeSiteMonitorQuota' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeActiveMetricRuleList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'parameters' => [], - ], - 'DescribeSiteMonitorAttribute' => [ - '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' => true, 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'IncludeAlert', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DescribeSiteMonitorISPCityList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Isp', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'City', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'IPV6', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'IPV4', + 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ViewAll', + 'name' => 'Ascending', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'DescribeSiteMonitorData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAlertLogCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5678,325 +2017,201 @@ ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'Type', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'SearchKey', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Product', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Level', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SendStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'ContactGroup', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NextToken', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DescribeSiteMonitorStatistics' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'LastMin', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'GroupBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TimeRange', + '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' => 'MetricName', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeSiteMonitorList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAlertLogHistogram' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'TaskType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'Keyword', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - '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' => 'SearchKey', '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', - ], - ], - ], - ], - ], - 'DescribeSiteMonitorLog' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'TaskIds', + 'name' => 'Product', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Isp', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'City', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'SendStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'ContactGroup', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NextToken', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'LastMin', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Filter', + 'name' => 'GroupBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'BrowserInfo', + 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Browser', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Device', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricLast' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAlertLogList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6004,177 +2219,100 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Dimensions', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NextToken', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'Product', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Express', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DescribeMetricList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'SendStatus', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'ContactGroup', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + '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' => 'Dimensions', + 'name' => 'GroupBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NextToken', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Express', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAlertingMetricRuleResources' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6182,265 +2320,173 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Express', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'AlertBeforeTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricMetaList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeContactGroupList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Labels', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'MetricName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageNumber', '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', - ], + 'DescribeContactList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Labels', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - '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' => 'PageSize', + 'name' => 'ContactName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DeleteExporterOutput' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ChanelType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'DestName', + 'name' => 'ChanelValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteExporterRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeContactListByContactGroup' => [ + '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], ], ], ], - 'DescribeExporterOutputList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCustomEventAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EventId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SearchKeywords', + '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' => '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], ], ], ], - 'DescribeExporterRuleList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCustomEventCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6448,34 +2494,40 @@ ], 'parameters' => [ [ - 'name' => 'PageNumber', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'EventId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SearchKeywords', + '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], ], ], ], - 'DescribeMetricTop' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeCustomEventHistogram' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6483,95 +2535,86 @@ ], 'parameters' => [ [ - 'name' => 'Period', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'EventId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SearchKeywords', + 'in' => 'query', + '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], ], + ], + ], + 'DescribeCustomMetricList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Dimensions', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Orderby', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'OrderDesc', + 'name' => 'Dimension', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Length', + 'name' => 'Md5', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Express', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutExporterOutput' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeDynamicTagRuleList' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6579,47 +2622,40 @@ ], 'parameters' => [ [ - 'name' => 'DestName', + 'name' => 'TagRegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ConfigJson', + 'name' => 'TagKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Desc', + 'name' => 'TagValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DestType', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DynamicTagRuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'PutExporterRule' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeEventRuleAttribute' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6630,184 +2666,144 @@ [ 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Namespace', + 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeEventRuleList' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MetricName', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'NamePrefix', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TargetWindows', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Describe', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'DstNames', + 'name' => 'GroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IsEnable', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DescribeAlertHistoryList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeEventRuleTargetList' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => true, 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeExporterOutputList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RuleName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - '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], ], + ], + ], + 'DescribeExporterRuleList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'State', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], + ], + ], + 'DescribeGroupMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Ascending', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EndTime', + 'name' => 'ProcessName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Page', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'DescribeAlertLogCount' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHostAvailabilityList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6815,164 +2811,143 @@ ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + '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' => 'SearchKey', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], + ], + ], + 'DescribeHybridMonitorDataList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'PromSQL', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Product', + 'name' => 'Start', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'Level', + 'name' => 'End', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'SendStatus', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeHybridMonitorNamespaceList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'ContactGroup', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'RuleName', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'LastMin', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupBy', + 'name' => 'ShowTaskStatistic', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], + ], + ], + ], + 'DescribeHybridMonitorSLSGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'SourceType', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EventType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RuleId', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SLSGroupName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeAlertLogList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeHybridMonitorTaskList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6980,164 +2955,153 @@ ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EndTime', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'SearchKey', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'IncludeAliyunTask', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Product', + 'name' => 'TargetUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + 'DescribeLogMonitorAttribute' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Level', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeLogMonitorList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'SendStatus', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'ContactGroup', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'RuleName', + 'name' => 'SearchValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + ], + ], + 'DescribeMetricData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'LastMin', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupBy', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RuleId', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SourceType', + 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EventType', + 'name' => 'Express', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Length', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeAlertLogHistogram' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMetricLast' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7145,559 +3109,319 @@ ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Namespace', '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' => true], ], [ - 'name' => 'PageNumber', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SearchKey', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Product', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Level', + 'name' => 'Express', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeMetricList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SendStatus', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'ContactGroup', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'RuleName', + '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' => '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' => 'Dimensions', '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' => 'string', 'required' => false], ], - ], - ], - 'DescribeProductsOfActiveMetricRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Express', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], - 'parameters' => [], ], - 'DescribeActiveMetricRuleList' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMetricMetaList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'EnableActiveMetricRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Labels', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DisableActiveMetricRule' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Product', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'CreateMetricRuleTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMetricRuleBlackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Description', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'Category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Ids', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], ], [ - 'name' => 'AlertTemplates', + 'name' => 'Name', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + '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' => '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, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 10, ], ], ], ], - 'DeleteMetricRuleTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMetricRuleCount' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ModifyMetricRuleTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMetricRuleList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'EnableState', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Description', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RestVersion', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'AlertTemplates', + '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' => 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' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'AlertState', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Dimensions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RuleIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricRuleTemplateAttribute' => [ - 'methods' => [ - 'post', - 'get', + 'DescribeMetricRuleTargets' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DescribeMetricRuleTemplateAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7708,30 +3432,18 @@ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeMetricRuleTemplateList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7742,81 +3454,109 @@ [ 'name' => 'Name', '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' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageNumber', '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], ], [ 'name' => 'History', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'OrderBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeMetricTop' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + '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' => false], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Dimensions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Orderby', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'OrderDesc', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Length', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Express', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ApplyMetricRuleTemplate' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMonitorGroupCategories' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7824,488 +3564,287 @@ ], 'parameters' => [ [ - 'name' => 'SilenceTime', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + ], + ], + 'DescribeMonitorGroupDynamicRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], + ], + ], + 'DescribeMonitorGroupInstanceAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TemplateIds', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'EnableStartTime', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EnableEndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'NotifyLevel', + 'name' => 'Total', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'ApplyMode', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Webhook', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AppendMode', + 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricRuleList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMonitorGroupInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'MetricName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'EnableState', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'Page', + 'name' => 'Category', '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], ], [ - 'name' => 'AlertState', + 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'DescribeMonitorGroupNotifyPolicyList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Dimensions', + 'name' => 'PolicyType', 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => false, + 'required' => true, + 'enum' => ['PauseNotify'], ], ], [ - 'name' => 'RuleName', + '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' => 'RuleIds', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateGroupMetricRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMonitorGroups' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'SelectContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'GroupMetricRules', + 'name' => 'PageNumber', '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], + ], + [ + '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', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'CreateMetricRuleResources' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'IncludeTemplateHistory', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'Type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['custom', 'ehpc_cluster', 'kubernetes', 'tag', 'aone_group', 'resMgr', 'ess'], ], ], [ - 'name' => 'Overwrite', + 'name' => 'DynamicTagRuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Resources', + 'name' => 'GroupFounderTagKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DeleteMetricRuleTargets' => [ - 'methods' => [ - 'post', - 'get', - 'delete', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'GroupFounderTagValue', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TargetIds', + 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => true, + 'required' => false, 'items' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], + ], ], 'maxItems' => 5, ], ], + [ + 'name' => 'Types', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'DeleteMetricRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeMonitorResourceQuotaAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'ShowUsed', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 100, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteMetricRuleResources' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'DescribeMonitoringAgentAccessKey' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [], + ], + 'DescribeMonitoringAgentConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'parameters' => [], + ], + 'DescribeMonitoringAgentHosts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8313,32 +3852,76 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Resources', + 'name' => 'HostName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SerialNumbers', + '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' => 'InstanceRegionId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AliyunHost', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SysomStatus', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'EnableMetricRules' => [ - 'methods' => [ - 'post', - 'get', + 'DescribeMonitoringAgentProcesses' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DescribeMonitoringAgentStatuses' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8346,30 +3929,30 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'InstanceIds', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 100, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'HostAvailabilityTaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DisableMetricRules' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'DescribeMonitoringConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'parameters' => [], + ], + 'DescribeProductResourceTagKeyList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8377,31 +3960,25 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'NextToken', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 100, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeMetricRuleTargets' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', + 'DescribeProductsOfActiveMetricRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'parameters' => [], + ], + 'DescribeProjectMeta' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8409,23 +3986,25 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'Labels', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + '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], ], ], ], - 'DescribeMetricRuleCount' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSiteInstantMonitorLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8433,31 +4012,66 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'TaskIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + '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'], ], ], ], - 'DescribeAlertingMetricRuleResources' => [ - 'methods' => [ - 'get', + 'DescribeSiteMonitorAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'IncludeAlert', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], + ], + 'DescribeSiteMonitorData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8465,75 +4079,50 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Page', + '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' => 'Namespace', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Dimensions', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AlertBeforeTime', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'PutMetricRuleTargets' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSiteMonitorISPCityList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8541,57 +4130,35 @@ ], 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'Isp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Targets', + 'name' => 'City', '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, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IPV6', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'IPV4', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'ViewAll', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'PutResourceMetricRule' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSiteMonitorList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8600,804 +4167,511 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RuleId', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RuleName', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Resources', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'ContactGroups', + 'name' => 'TaskState', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Webhook', + 'name' => 'AgentGroup', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['PC', 'MOBILE', 'FC'], ], ], + ], + ], + 'DescribeSiteMonitorLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EffectiveInterval', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'NoEffectiveInterval', + 'name' => 'Isp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SilenceTime', + 'name' => 'City', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Interval', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EmailSubject', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Statistics', + 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.ComparisonOperator', + 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Threshold', + 'name' => 'Filter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Times', + 'name' => 'BrowserInfo', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Warn.Statistics', + 'name' => 'Browser', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Warn.ComparisonOperator', + 'name' => 'Device', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeSiteMonitorQuota' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Escalations.Warn.Threshold', + 'AK' => [], + ], + ], + 'parameters' => [], + ], + 'DescribeSiteMonitorStatistics' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Escalations.Warn.Times', + 'name' => 'TimeRange', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Info.Statistics', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Info.ComparisonOperator', + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'DescribeSyntheticProbeList' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Isp', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'City', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Info.Threshold', + 'name' => 'Ipv4', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Escalations.Info.Times', + 'name' => 'Ipv6', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'NoDataPolicy', + 'name' => 'ViewAll', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'CompositeExpression', + 'name' => 'MbProbe', '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' => 'boolean', 'required' => false], ], [ - 'name' => 'Labels', + 'name' => 'LmProbe', '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' => 20, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Prometheus', + 'name' => 'IdcProbe', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - '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, - ], - ], - ], - ], - ], - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'PutResourceMetricRules' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSystemEventAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Rules', + 'name' => 'Product', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - '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, - ], - ], - ], - 'maxItems' => 500, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'PutGroupMetricRule' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'EventType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Level', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RuleId', + 'name' => 'SearchKeywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Category', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'RuleName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + '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], + ], + ], + ], + 'DescribeSystemEventCount' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Product', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MetricName', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Dimensions', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ExtraDimensionJson', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EffectiveInterval', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NoEffectiveInterval', + 'name' => 'SearchKeywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SilenceTime', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeSystemEventHistogram' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Interval', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Webhook', + 'name' => 'Product', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EmailSubject', + 'name' => 'EventType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ContactGroups', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Statistics', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.ComparisonOperator', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Threshold', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Critical.Times', + 'name' => 'SearchKeywords', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Warn.Statistics', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Escalations.Warn.ComparisonOperator', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeSystemEventMetaList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Escalations.Warn.Threshold', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], + ], + ], + 'parameters' => [], + ], + 'DescribeTagKeyList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Escalations.Warn.Times', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Escalations.Info.Statistics', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], + ], + ], + 'DescribeTagValueList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Escalations.Info.ComparisonOperator', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'Escalations.Info.Threshold', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'Escalations.Info.Times', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'NoDataPolicy', + 'name' => 'TagKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DescribeUnhealthyHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Labels', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Id', '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, - ], - ], - ], - 'minItems' => 0, + 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'maxItems' => 20, ], ], + ], + ], + 'DisableActiveMetricRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Options', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Product', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteEventRuleTargets' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'DisableEventRules' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'RuleNames', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, + ], + ], ], + ], + 'DisableHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9405,71 +4679,75 @@ ], 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'Id', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + 'maxItems' => 20, ], ], + ], + ], + 'DisableMetricRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Ids', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'RuleId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 100, ], ], ], ], - 'DeleteEventRules' => [ - 'methods' => [ - 'post', - 'get', + 'DisableSiteMonitors' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'TaskIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'EnableActiveMetricRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RuleNames', + 'name' => 'Product', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'EnableEventRules' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9484,152 +4762,128 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 20, ], ], ], ], - 'DisableEventRules' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EnableHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RuleNames', + 'name' => 'Id', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'integer', 'format' => 'int64', 'required' => false], 'maxItems' => 20, ], ], ], ], - 'DescribeEventRuleAttribute' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EnableMetricRuleBlackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'SilenceTime', + 'name' => 'IsEnable', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => true], ], ], ], - 'DescribeEventRuleList' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EnableMetricRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'NamePrefix', + 'name' => 'RuleId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 100, ], ], + ], + ], + 'EnableSiteMonitors' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageNumber', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'InstallMonitoringAgent' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Force', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'InstanceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 10, ], ], [ - 'name' => 'IsEnable', + 'name' => 'InstallCommand', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DescribeEventRuleTargetList' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyGroupMonitoringAgentProcess' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -9637,199 +4891,196 @@ ], 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'PutEventRuleTargets' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'GroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'MatchExpressFilterRelation', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'FcParameters', + 'name' => 'AlertConfig', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'FunctionName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Region' => [ - 'type' => 'string', - 'required' => false, - ], - 'ServiceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'Id' => [ - 'type' => 'string', + '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' => 5, + 'maxItems' => 3, ], ], + ], + ], + 'ModifyHostAvailability' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ContactParameters', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'GroupId', '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' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'MnsParameters', + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TaskScope', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpURI', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.TelnetOrPingHost', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpResponseCharset', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpPostContent', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpResponseMatchContent', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpMethod', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpNegative', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'TaskOption.HttpHeader', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskOption.Interval', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'AlertConfig.NotifyType', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'AlertConfig.StartTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'AlertConfig.EndTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'AlertConfig.SilenceTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'AlertConfig.WebHook', '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' => 'AlertConfigEscalationList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => false, + 'required' => true, '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, - ], + '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' => 5, + 'maxItems' => 10, ], ], [ - 'name' => 'SlsParameters', + 'name' => 'InstanceList', '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, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 1000, ], ], [ - 'name' => 'OpenApiParameters', + 'name' => 'AlertConfigTargetList', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, @@ -9837,195 +5088,235 @@ '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, - ], + 'Id' => ['type' => 'string', 'required' => false], + 'Arn' => ['type' => 'string', 'required' => false], + 'Level' => ['type' => 'string', 'required' => false], + 'JsonParams' => ['type' => 'string', 'required' => false], ], ], - 'maxItems' => 5, ], ], ], ], - 'PutEventRule' => [ - 'methods' => [ - 'post', - 'get', - 'put', + 'ModifyHostInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'HostName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'ModifyHybridMonitorNamespace' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'RuleName', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'GroupId', + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Spec', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => [], ], ], + ], + ], + 'ModifyHybridMonitorSLSGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EventType', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'SLSGroupName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'SLSGroupDescription', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SLSGroupConfig', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'SYSTEM', - 'CUSTOM', + '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' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'State', + 'name' => 'CollectInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'ENABLED', - 'DISABLED', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EventPattern', + 'name' => 'AttachLabels', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => true, + 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'EventTypeList' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', + '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', '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], + ], + ], ], - 'maxItems' => 5, ], - 'StatusList' => [ - 'type' => 'array', + ], + 'Statistics' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - '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], ], - 'maxItems' => 5, - ], - 'Product' => [ - 'type' => 'string', - 'required' => true, ], - 'LevelList' => [ - 'type' => 'array', + ], + 'GroupBy' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'SLSKeyName' => ['type' => 'string', 'required' => false], + 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'], ], - 'maxItems' => 5, ], - 'NameList' => [ - 'type' => 'array', + ], + 'Express' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, + 'properties' => [ + 'Express' => ['type' => 'string', 'required' => false], + 'Alias' => ['type' => 'string', 'required' => false, 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]{1,39}$'], ], - 'maxItems' => 20, - ], - 'CustomFilters' => [ - 'type' => 'string', - 'required' => false, - ], - 'SQLFilter' => [ - 'type' => 'string', - 'required' => false, ], ], ], - 'maxItems' => 50, - ], - ], - [ - 'name' => 'SilenceTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, ], - ], - ], - ], - 'PutCustomEventRule' => [ - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', + ], ], + ], + 'ModifyMetricRuleBlackList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10033,104 +5324,84 @@ ], 'parameters' => [ [ - 'name' => 'GroupId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'RuleId', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'RuleName', + 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EventName', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ContactGroups', + 'name' => 'ScopeType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Webhook', + 'name' => 'ScopeValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EffectiveInterval', + 'name' => 'EnableStartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Period', + 'name' => 'EnableEndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EmailSubject', + 'name' => 'EffectiveTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Threshold', + 'name' => 'Instances', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 100, ], ], [ - 'name' => 'Level', + 'name' => 'Metrics', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'MetricName' => ['type' => 'string', 'required' => true], + 'Resource' => ['type' => 'string', 'required' => false], + ], + ], + 'maxItems' => 100, ], ], ], ], - 'CreateMetricRuleBlackList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyMetricRuleTemplate' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10138,270 +5409,299 @@ ], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'Namespace', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Category', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ScopeType', + 'name' => 'RestVersion', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'ScopeValue', + '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' => 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, ], ], + ], + ], + 'ModifyMonitorGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ [ - 'name' => 'EnableStartTime', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EnableEndTime', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EffectiveTime', + 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ModifyMonitorGroupInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Instances', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'GroupId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 100, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'Metrics', + 'name' => 'Instances', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'MetricName' => [ - 'type' => 'string', - 'required' => true, - ], - 'Resource' => [ - 'type' => 'string', - 'required' => false, - ], + 'InstanceName' => ['type' => 'string', 'required' => true], + 'Category' => ['type' => 'string', 'required' => true], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'RegionId' => ['type' => 'string', 'required' => true], ], ], - 'maxItems' => 10, + 'maxItems' => 2000, ], ], ], ], - 'ModifyMetricRuleBlackList' => [ - 'methods' => [ - 'post', - 'get', + 'ModifySiteMonitor' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'Address', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'TaskName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IspCities', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'OptionsJson', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'AlertIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'IntervalUnit', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'CustomSchedule', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + 'PutContact' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'ContactName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Name', + 'name' => 'Describe', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Namespace', + 'name' => 'Channels.SMS', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Category', + 'name' => 'Channels.Mail', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ScopeType', + 'name' => 'Channels.AliIM', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ScopeValue', + 'name' => 'Channels.DingWebHook', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'EnableStartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'PutContactGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'parameters' => [ [ - 'name' => 'EnableEndTime', + 'name' => 'ContactGroupName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EffectiveTime', + 'name' => 'Describe', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Instances', + 'name' => 'EnableSubscribed', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 100, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'Metrics', + 'name' => 'ContactNames', '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, - ], - ], - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 100, ], ], ], ], - 'DeleteMetricRuleBlackList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutCustomEvent' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'EventInfo', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + '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, ], ], ], ], - 'DescribeMetricRuleBlackList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutCustomEventRule' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10409,111 +5709,65 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - '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' => 'PageSize', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Order', + 'name' => 'EventName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Category', + 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Ids', + 'name' => 'Webhook', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 20, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'EffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ScopeType', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'IsEnable', + 'name' => 'EmailSubject', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'InstanceIds', + 'name' => 'Threshold', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'maxItems' => 10, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Level', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'EnableMetricRuleBlackList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutCustomMetric' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10521,206 +5775,124 @@ ], 'parameters' => [ [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'IsEnable', + 'name' => 'MetricList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'boolean', + '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, ], ], ], ], - 'DeleteContactGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutCustomMetricRule' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ContactGroupName', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DeleteContact' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - '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' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'ContactGroupName', + 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'DescribeContactGroupList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'ContactGroups', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Webhook', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'EffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'DescribeContactList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SilenceTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EmailSubject', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Threshold', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageNumber', + 'name' => 'Level', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ContactName', + 'name' => 'EvaluationCount', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ - 'name' => 'ChanelType', + 'name' => 'Statistics', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ChanelValue', + 'name' => 'ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'PutContact' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutEventRule' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10729,72 +5901,91 @@ 'deprecated' => false, 'parameters' => [ [ - 'name' => 'ContactName', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Describe', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Channels.SMS', + 'name' => 'EventType', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['SYSTEM', 'CUSTOM'], ], ], [ - 'name' => 'Channels.Mail', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Channels.AliIM', + 'name' => 'State', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['ENABLED', 'DISABLED'], ], ], [ - 'name' => 'Channels.DingWebHook', + 'name' => 'EventPattern', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', - 'required' => false, + 'type' => 'array', + 'required' => true, + 'items' => [ + '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], + ], + ], + 'maxItems' => 50, ], ], [ - 'name' => 'Lang', + 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'PutContactGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutEventRuleTargets' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10802,112 +5993,138 @@ ], 'parameters' => [ [ - 'name' => 'ContactGroupName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'Describe', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'EnableSubscribed', + 'name' => 'FcParameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'boolean', + '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' => 'ContactNames', + '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' => 100, - ], - ], - ], - ], - 'CreateHybridMonitorNamespace' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'parameters' => [ - [ - 'name' => 'Namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, + 'maxItems' => 5, ], ], [ - 'name' => 'Description', + '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' => 'Spec', + 'name' => 'WebhookParameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, - 'enum' => [], + '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' => 'NamespaceType', + 'name' => 'SlsParameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + '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' => 'NamespaceRegion', + 'name' => 'OpenApiParameters', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + '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, ], ], ], ], - 'ModifyHybridMonitorNamespace' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutExporterOutput' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10915,424 +6132,232 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'DestName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Description', + 'name' => 'ConfigJson', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Spec', + 'name' => 'Desc', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [], - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DestType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteHybridMonitorNamespace' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutExporterRule' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], [ 'name' => 'Namespace', 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'MetricName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'TargetWindows', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Describe', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'DstNames', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => true, + 'items' => ['type' => 'string', 'required' => false], + 'maxItems' => 20, ], - ], - ], - ], - 'DescribeHybridMonitorNamespaceList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + ], ], + ], + 'PutGroupMetricRule' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + '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' => 'Keyword', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ShowTaskStatistic', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'CreateHybridMonitorTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Dimensions', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'ExtraDimensionJson', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Description', + 'name' => 'EffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TaskName', + 'name' => 'NoEffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TaskType', + 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'CollectTargetType', + 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'CollectInterval', + 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'GroupId', + 'name' => 'Webhook', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'YARMConfig', + 'name' => 'EmailSubject', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TargetUserId', + 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AttachLabels', + 'name' => 'Escalations.Critical.Statistics', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - 'maxItems' => 10, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TargetUserIdList', + 'name' => 'Escalations.Critical.ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SLSProcessConfig', + 'name' => 'Escalations.Critical.Threshold', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - '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}$', - ], - ], - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'CloudAccessId', + 'name' => 'Escalations.Critical.Times', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'minItems' => 1, - 'maxItems' => 50, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - ], - 'ModifyHybridMonitorTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Escalations.Warn.Statistics', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'Escalations.Warn.ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'TaskName', + '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], + ], + [ + 'name' => 'Escalations.Info.Statistics', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Escalations.Info.ComparisonOperator', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Escalations.Info.Threshold', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Description', + 'name' => 'Escalations.Info.Times', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'CollectInterval', + 'name' => 'NoDataPolicy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'AttachLabels', + 'name' => 'Labels', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ @@ -11342,153 +6367,73 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - 'Name' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], - 'maxItems' => 10, + 'minItems' => 0, + 'maxItems' => 20, ], ], [ - 'name' => 'SLSProcessConfig', + 'name' => 'Options', 'in' => 'query', - 'style' => 'flat', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'PutHybridMonitorMetricData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'MetricList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - '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', + '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, - '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' => [ + '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, ], ], ], ], - 'DeleteHybridMonitorTask' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutLogMonitor' => [ + 'methods' => ['post', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11496,132 +6441,152 @@ ], 'parameters' => [ [ - 'name' => 'TaskId', + 'name' => 'LogId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Namespace', + 'name' => 'SlsRegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TargetUserId', + 'name' => 'SlsProject', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'DescribeHybridMonitorTaskList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'SlsLogstore', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - 'parameters' => [ [ - 'name' => 'Keyword', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'TaskId', + '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' => 'Namespace', + 'name' => 'ValueFilterRelation', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PageSize', + 'name' => 'Tumblingwindows', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PageNumber', + 'name' => 'Unit', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Aggregates', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, + '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, ], ], [ - 'name' => 'IncludeAliyunTask', + 'name' => 'Groupbys', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'boolean', + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'FieldName' => ['type' => 'string', 'required' => false], + 'Alias' => ['type' => 'string', 'required' => false], + ], + ], + 'maxItems' => 10, ], ], [ - 'name' => 'TaskType', + 'name' => 'ValueFilter', '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], + 'Operator' => ['type' => 'string', 'required' => false], + ], + ], + 'maxItems' => 20, ], ], + ], + ], + 'PutMetricRuleTargets' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TargetUserId', + 'AK' => [], + ], + ], + 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Targets', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - '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, ], ], ], ], - 'PutHybridMonitorMetricData' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'PutMonitorGroupDynamicRule' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11629,15 +6594,12 @@ ], 'parameters' => [ [ - 'name' => 'Namespace', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ - 'name' => 'MetricList', + 'name' => 'GroupRules', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ @@ -11645,694 +6607,477 @@ 'required' => true, 'items' => [ 'type' => 'object', - 'required' => true, + 'required' => false, 'properties' => [ - 'Name' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 1, - 'maxLength' => 128, - 'pattern' => '^[a-zA-Z_][a-zA-Z0-9_]*$', - ], - 'Labels' => [ + 'FilterRelation' => ['type' => 'string', 'required' => true], + 'Filters' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Value' => ['type' => 'string', 'required' => true], + 'Name' => ['type' => 'string', 'required' => true], + 'Function' => ['type' => 'string', 'required' => true], ], ], - 'maxItems' => 20, - ], - 'Value' => [ - 'type' => 'string', - 'required' => true, - 'pattern' => '^[0-9\\.]*$', - ], - 'TS' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, + 'maxItems' => 10, ], + 'Category' => ['type' => 'string', 'required' => true], ], ], - 'minItems' => 1, - 'maxItems' => 100, + 'maxItems' => 50, ], ], + [ + 'name' => 'IsAsync', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], ], - 'DescribeHybridMonitorDataList' => [ - 'methods' => [ - 'post', - 'get', + 'PutMonitoringConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'AutoInstall', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'EnableInstallAgentNewECS', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], + ], + 'PutResourceMetricRule' => [ + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PromSQL', + 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Start', + 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'End', + 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'Webhook', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'EffectiveInterval', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'NoEffectiveInterval', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'SilenceTime', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'CreateHybridMonitorSLSGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'SLSGroupName', + 'name' => 'EmailSubject', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SLSGroupDescription', + 'name' => 'Escalations.Critical.Statistics', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'SLSGroupConfig', + 'name' => 'Escalations.Critical.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.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], ], - ], - ], - 'DeleteHybridMonitorSLSGroup' => [ - '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], ], - ], - ], - 'DescribeHybridMonitorSLSGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Escalations.Info.Statistics', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'Keyword', + 'name' => 'Escalations.Info.ComparisonOperator', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Escalations.Info.Threshold', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Escalations.Info.Times', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'NoDataPolicy', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + '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', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Ipv4', + 'name' => 'Product', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'Ipv6', + 'name' => 'EventName', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'ViewAll', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', '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 @@ '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,84 +354,100 @@ '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'], + ], + ], ], - ], - ], - 'AlertRuleDataSource' => [ - 'type' => 'object', - 'properties' => [ - 'dsList' => [ + 'triggers' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'project' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], - 'store' => [ - 'type' => 'string', + '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' => [ + 'type' => 'object', + 'properties' => [ + 'dsList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'project' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + 'store' => ['type' => 'string'], 'type' => [ 'type' => 'string', - 'enum' => [ - 'SLS_LOG_DS', - 'SLS_METRIC_DS', - ], + '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' => [ + 'aggregate' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['AVG', 'SUM', 'COUNT', 'CONTINUES', 'MAX', 'MIN', 'P50', 'P75', 'P90', 'P99'], ], - 'bizTraceId' => [ + 'operator' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['GT', 'GTE', 'LT', 'LTE', 'EQ', 'NE', 'YOY_UP', 'YOY_DOWN'], ], - 'bizTraceName' => [ + 'threshold' => ['type' => 'number', 'format' => 'float', 'required' => true], + 'yoyTimeUnit' => [ 'type' => 'string', + 'enum' => ['minute', 'hour', 'day', 'week', 'month'], ], - 'bizTraceCode' => [ + 'yoyTimeValue' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'ApmFilterConfig' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string', 'required' => true], + 'type' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['ALL', 'EQ', 'NE', 'DISABLED'], ], - 'ruleConfig' => [ - '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'], ], - 'advancedConfig' => [ + ], + ], + 'ApmThresholdConfig' => [ + 'type' => 'object', + 'properties' => [ + 'severity' => [ 'type' => 'string', + 'required' => true, + 'enum' => ['INFO', 'WARN', 'WARNING', 'ERROR', 'CRITICAL'], ], - 'createTime' => [ + 'threshold' => ['type' => 'number', 'format' => 'float'], + 'min' => ['type' => 'number', 'format' => 'double'], + 'max' => ['type' => 'number', 'format' => 'double'], + ], + ], + 'ArmsIntegrationConfig' => [ + 'type' => 'object', + 'properties' => [ + 'enabled' => ['type' => 'boolean'], + ], + ], + 'BizTraceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'workspace' => ['type' => 'string'], + 'bizTraceId' => ['type' => 'string'], + 'bizTraceName' => ['type' => 'string'], + 'bizTraceCode' => ['type' => 'string'], + 'ruleConfig' => ['type' => 'string'], + 'advancedConfig' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'regionId' => ['type' => 'string'], + ], + ], + 'CloudMonitoringCompositeEscalation' => [ + 'type' => 'object', + 'properties' => [ + 'relation' => ['type' => 'string'], + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'regionId' => [ - 'type' => 'string', + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'escalations' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/CloudMonitoringCompositeEscalationEntry'], ], ], ], - 'CmsEventForView' => [ + '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' => [ - 'id' => [ + 'times' => ['type' => 'integer', 'format' => 'int32'], + 'severity' => [ 'type' => 'string', + 'enum' => ['CRITICAL', 'ERROR', 'WARNING', 'INFO'], ], - 'dedupId' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], - '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', - ], - 'effective' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'enable' => [ - 'type' => 'boolean', - ], - 'startTime' => [ - 'type' => 'string', - ], - 'endTime' => [ - 'type' => 'string', - ], + 'userId' => ['type' => 'string'], + 'effective' => ['type' => 'string'], + 'createTime' => ['type' => 'string'], + 'enable' => ['type' => 'boolean'], + 'startTime' => ['type' => 'string'], + 'endTime' => ['type' => 'string'], ], ], - 'MergeContact' => [ + 'ManageAlertRulesResult' => [ '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', + 'alertRule' => ['$ref' => '#/components/schemas/AlertRuleV2'], + 'deletedCount' => ['type' => 'integer', 'format' => 'int32'], + 'deletedUuidList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'extend' => [ - 'type' => 'object', + 'updatedCount' => ['type' => 'integer', 'format' => 'int32'], + 'updatedUuidList' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], - 'MergeContactGroup' => [ + 'ManageAlertRulesUnifiedActionInput' => [ 'type' => 'object', 'properties' => [ - 'name' => [ + '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'], ], - 'gmtModified' => [ - 'type' => 'string', - ], - 'identifier' => [ - 'type' => 'string', + 'annotations' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'gmtCreate' => [ - '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'], + ], + ], + 'MergeContactGroup' => [ + 'type' => 'object', + 'properties' => [ + '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,38 @@ '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', + 'items' => ['type' => 'string'], ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], ], ], ], @@ -3028,814 +2477,1461 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'targetType' => [ - 'type' => 'string', - 'required' => true, - ], - 'templateUuid' => [ - 'type' => 'string', - 'required' => true, - ], + 'targetType' => ['type' => 'string', 'required' => false], + 'templateUuid' => ['type' => 'string', 'required' => false], ], ], ], - 'updateTime' => [ - 'type' => 'string', - ], - 'userId' => [ - 'type' => 'string', - ], - 'notifyStrategyId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', - ], - 'pushingSetting' => [ + ], + ], + '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' => [ - 'templateUuid' => [ - 'type' => 'string', - ], - 'alertActionIds' => [ + 'groupingKeys' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', + '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' => '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'], + ], + ], + ], + ], + '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'], ], - 'restoreActionIds' => [ + ], + ], + 'customTemplateEntries' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'targetType' => ['type' => 'string'], + 'templateUuid' => ['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', + 'items' => ['type' => 'string'], + ], + 'periodMin' => ['type' => 'integer', 'format' => 'int32'], + 'silenceSec' => ['type' => 'integer', 'format' => 'int32'], + 'times' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + 'ignoreRestoredNotification' => ['type' => 'boolean'], + 'notifyStrategyName' => ['type' => 'string', 'required' => true], + 'routes' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'channels' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'channelType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK', 'TEAMS', 'CONTACT', 'GROUP', 'DUTY', 'DING_COOL_APP'], + ], + 'enabledSubChannels' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'receivers' => [ + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string'], + ], + ], + ], + ], + 'effectTimeRange' => [ + 'type' => 'object', + 'properties' => [ + 'dayInWeek' => [ + 'type' => 'array', + 'items' => ['type' => 'integer', 'format' => 'int32'], + ], + 'endTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1439'], + 'startTimeInMinute' => ['type' => 'integer', 'format' => 'int32', 'minimum' => '0', 'maximum' => '1438'], + 'timeZone' => ['type' => 'string'], + ], + ], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'severities' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], + 'digitalEmployeeName' => ['type' => 'string'], + 'enableRca' => ['type' => 'boolean'], ], ], ], - 'repeatNotifySetting' => [ + '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' => [ - 'endIncidentState' => [ - 'type' => 'string', + 'templateUuid' => ['type' => 'string'], + 'alertActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'repeatInterval' => [ - 'type' => 'integer', - 'format' => 'int32', + 'restoreActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], - 'autoRecoverSeconds' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'syncFromType' => [ - 'type' => 'string', + 'repeatNotifySetting' => [ + 'type' => 'object', + 'properties' => [ + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'integer', 'format' => 'int32'], + ], ], + 'autoRecoverSeconds' => ['type' => 'integer', 'format' => 'int32'], + 'syncFromType' => ['type' => 'string'], 'receiverNames' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'incidentEscalationPolicies' => [ 'type' => 'array', - 'items' => [ - 'type' => 'any', - ], + 'items' => ['type' => 'any'], ], ], ], - 'PrometheusManagedInstance' => [ + 'NotifyStrategyIdFilter' => [ 'type' => 'object', 'properties' => [ - 'prometheusInstanceId' => [ - 'type' => 'string', - ], - 'prometheusInstanceName' => [ - 'type' => 'string', - ], - 'regionId' => [ - 'type' => 'string', - ], - 'workspace' => [ - 'type' => 'string', - ], - 'createTime' => [ - 'type' => 'string', - ], - 'instanceType' => [ - 'type' => 'string', - ], - 'status' => [ - 'type' => 'string', - ], + 'eq' => ['type' => 'string'], ], ], - 'PushingSetting' => [ + 'ObserveGroup' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', + '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'], ], - 'alertActionIds' => [ + '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' => [ - 'type' => 'string', - ], + 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'], ], - 'restoreActionIds' => [ + 'tags' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'tagValue' => ['type' => 'string'], + ], ], ], ], ], - 'RepeatNotifySetting' => [ + 'ObserveGroupDetail' => [ 'type' => 'object', 'properties' => [ - 'endIncidentState' => [ - 'type' => 'string', - ], - 'repeatInterval' => [ - 'type' => 'string', + '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'], ], - ], - ], - 'RumDnsResponse' => [ - 'type' => 'object', - 'properties' => [ - 'domain' => [ - 'type' => 'string', + 'extraInfo' => ['type' => 'string'], + 'workspaceId' => ['type' => 'string'], + 'sourceOrigin' => ['type' => 'string'], + 'originGroupId' => ['type' => 'string'], + 'entitySummaries' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'entityDomain' => ['type' => 'string'], + 'entityType' => ['type' => 'string'], + 'entityCount' => ['type' => 'integer', 'format' => 'int32'], + 'entityCategory' => ['type' => 'string'], + ], + ], ], - 'result' => [ - 'type' => 'boolean', + 'favorited' => ['type' => 'boolean'], + 'ogEntityInfoEnabled' => ['type' => 'boolean'], + 'ogEntityInfoPromInstances' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/ObserveGroupPromInstance'], ], - 'message' => [ - 'type' => 'string', + 'tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'tagValue' => ['type' => 'string'], + ], + ], ], ], ], - 'SubscriptionForModify' => [ + 'ObserveGroupDiscoverRule' => [ 'type' => 'object', 'properties' => [ - 'description' => [ - 'type' => 'string', - ], - 'subscriptionName' => [ - 'type' => 'string', - 'required' => true, - ], - 'notifyStrategyId' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + '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'], ], - 'pushingSetting' => [ + 'spl' => ['type' => 'string'], + 'userId' => ['type' => 'string'], + 'resourceGroupId' => ['type' => 'string'], + 'tagRules' => [ 'type' => 'object', 'properties' => [ - 'templateUuid' => [ - 'type' => 'string', - ], - 'alertActionIds' => [ + 'op' => ['type' => 'string'], + 'tags' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'tagKey' => ['type' => 'string'], + 'op' => ['type' => 'string'], + 'tagValues' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], - 'restoreActionIds' => [ + ], + ], + 'nameRules' => [ + 'type' => 'object', + 'properties' => [ + 'op' => ['type' => 'string'], + 'tags' => [ 'type' => 'array', 'items' => [ - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'op' => ['type' => 'string'], + 'tagValues' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], - 'responsePlanId' => [ - 'type' => 'string', - ], ], ], - 'workspaceFilterSetting' => [ - '$ref' => '#/components/schemas/WorkspaceFilterSetting', + 'instanceIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'regionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], ], - 'SubscriptionForView' => [ + 'ObserveGroupInstance' => [ 'type' => 'object', 'properties' => [ - 'createTime' => [ - 'type' => 'string', - ], - 'description' => [ - 'type' => 'string', + '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'], ], - 'enable' => [ - 'type' => 'boolean', + 'dimension' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], - 'subscriptionName' => [ - 'type' => 'string', - 'required' => true, + ], + ], + 'ObserveGroupPromInstance' => [ + 'type' => 'object', + 'properties' => [ + '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'], ], - 'notifyStrategyId' => [ + ], + ], + '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'], + ], + 'restoreActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], + ], + 'QueryAlertRulesFilter' => [ + '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'], + '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'], + ], + ], + ], + 'QueryConfigUnified' => [ + 'type' => 'object', + 'properties' => [ + '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'], + ], + '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'], ], - 'updateTime' => [ + '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'], ], - 'userId' => [ + 'namespace' => ['type' => 'string'], + 'relationType' => [ 'type' => 'string', + 'enum' => ['INSTANCE', 'GROUP', 'USER'], + ], + 'dimensions' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], + ], ], - 'subscriptionId' => [ + 'groupId' => ['type' => 'string'], + 'legacyType' => ['type' => 'string'], + 'legacyRaw' => ['type' => 'string'], + ], + ], + 'RepeatNotifySetting' => [ + 'type' => 'object', + 'properties' => [ + 'endIncidentState' => ['type' => 'string'], + 'repeatInterval' => ['type' => 'string'], + ], + ], + 'RumDnsResponse' => [ + 'type' => 'object', + 'properties' => [ + 'domain' => ['type' => 'string'], + 'result' => ['type' => 'boolean'], + 'message' => ['type' => 'string'], + ], + ], + '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'], ], - 'workspace' => [ + ], + ], + 'StatusFilter' => [ + 'type' => 'object', + 'properties' => [ + 'eq' => [ 'type' => 'string', + 'enum' => ['Alarm', 'Ok'], + ], + ], + ], + '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'], ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', + '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'], ], ], - 'syncFromType' => [ - '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'], ], ], - 'Tag' => [ + 'SubscriptionForSNSModify' => [ 'type' => 'object', 'properties' => [ - 'key' => [ - 'type' => 'string', - 'maxLength' => 128, - ], - 'value' => [ - 'type' => 'string', - 'maxLength' => 256, - ], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], ], ], - 'TransformAction' => [ + 'SubscriptionForSNSView' => [ 'type' => 'object', 'properties' => [ - 'mapping' => [ + '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'], + 'pushingSetting' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', + 'properties' => [ + 'templateUuid' => ['type' => 'string'], + 'alertActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'restoreActionIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + 'responsePlanId' => ['type' => 'string'], ], ], - 'variable' => [ + 'syncFromType' => ['type' => 'string'], + 'workspaceFilterSetting' => ['$ref' => '#/components/schemas/WorkspaceFilterSetting'], + 'subscriptionType' => [ 'type' => 'string', + 'enum' => ['NORMAL', 'AI_AGENT'], ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'source' => [ - 'type' => 'string', + 'agentConfig' => [ + 'type' => 'object', + 'properties' => [ + 'agentUuid' => ['type' => 'string'], + 'routes' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/NotifyRouteForSubscription'], + ], + ], ], - 'labelKey' => [ + 'subscribeLegacyEvent' => ['type' => 'boolean'], + ], + ], + 'SubscriptionOp' => [ + 'type' => 'object', + 'properties' => [ + 'op' => [ 'type' => 'string', + 'enum' => ['create', 'update', 'remove'], ], - 'type' => [ + 'uuid' => ['type' => 'string'], + 'payload' => ['$ref' => '#/components/schemas/SubscriptionForModify'], + ], + ], + 'Tag' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string', 'maxLength' => 128], + 'value' => ['type' => 'string', 'maxLength' => 256], + ], + ], + 'TagCondition' => [ + 'type' => 'object', + 'properties' => [ + 'key' => ['type' => 'string'], + 'op' => [ 'type' => 'string', + 'enum' => ['EQ', 'EQI', 'START_WITH', 'END_WITH', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'EXIST'], ], - 'value' => [ - 'type' => 'string', + 'value' => ['type' => 'string'], + ], + ], + 'TagSelector' => [ + 'type' => 'object', + 'properties' => [ + 'conditions' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/TagCondition'], ], - 'regExp' => [ + 'relation' => [ 'type' => 'string', + 'enum' => ['AND', 'OR'], ], - 'target' => [ - 'type' => 'string', + 'expression' => ['type' => 'string'], + ], + ], + 'TransformAction' => [ + 'type' => 'object', + 'properties' => [ + 'mapping' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string'], ], + 'variable' => ['type' => 'string'], + 'filterSetting' => ['$ref' => '#/components/schemas/FilterSetting'], + 'source' => ['type' => 'string'], + 'labelKey' => ['type' => 'string'], + 'type' => ['type' => 'string'], + 'value' => ['type' => 'string'], + 'regExp' => ['type' => 'string'], + 'target' => ['type' => 'string'], ], ], 'TransformerForModify' => [ 'type' => 'object', 'properties' => [ - 'sortId' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'quitAfterMatch' => [ - 'type' => 'boolean', - ], - 'description' => [ - 'type' => 'string', - ], - 'filterSetting' => [ - '$ref' => '#/components/schemas/FilterSetting', - ], - 'transformerName' => [ - 'type' => 'string', - 'required' => true, - ], + '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' => 'body', + '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' => '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' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'workspaceNameList', - 'in' => 'query', - 'style' => 'simple', + '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' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteWorkspace' => [ - 'path' => '/workspace/{workspaceName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateAlertWebhook' => [ + 'path' => '/webhook', + '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' => [ + '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'], + ], ], ], ], ], - 'CreateCloudResource' => [ - 'path' => '/cloudresource', - 'methods' => [ - 'post', - ], - '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' => [], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'workspace' => ['type' => 'string', 'required' => false], + 'bizTraceCode' => ['type' => 'string', 'required' => false], + 'bizTraceName' => ['type' => 'string', 'required' => false], + 'ruleConfig' => ['type' => 'string', 'required' => false], + 'advancedConfig' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], ], - 'GetCloudResource' => [ + 'CreateCloudResource' => [ 'path' => '/cloudresource', - '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' => [], ], - 'GetCloudResourceData' => [ - 'path' => '/cloudresource/data', - 'methods' => [ - 'post', - ], - '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' => [ [ - 'name' => 'from', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - ], - [ - 'name' => 'to', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'query', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + '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], + ], + ], + ], ], ], ], ], - 'DeleteCloudResource' => [ - 'path' => '/cloudresource', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [], - ], - 'CreateEntityStore' => [ - 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + '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' => 'workspaceName', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'GetEntityStore' => [ - 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - ], - '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' => [ + 'name' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'GetEntityStoreData' => [ - 'path' => '/workspace/{workspace}/entitiesAndRelations', - 'methods' => [ - 'post', - ], - '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' => [ - [ - 'name' => 'acceptEncoding', - 'in' => 'header', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], [ 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ 'name' => 'body', @@ -3845,85 +3941,31 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'from' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], - 'query' => [ - 'type' => 'string', - 'required' => true, - ], - 'to' => [ - 'type' => 'integer', - 'format' => 'int32', + 'datasetName' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + 'description' => ['type' => 'string', 'required' => false], + 'schema' => [ + 'type' => 'object', 'required' => true, + 'additionalProperties' => ['$ref' => '#/components/schemas/IndexKey'], ], ], ], ], ], ], - 'DeleteEntityStore' => [ - 'path' => '/workspace/{workspaceName}/entitystore', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'workspaceName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'CreateUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + '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' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -3932,75 +3974,95 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ + '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], + ], + ], ], ], ], ], ], ], - 'GetUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'CreateEntityStore' => [ + 'path' => '/workspace/{workspaceName}/entitystore', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'put', - ], - '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' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -4009,83 +4071,216 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', + '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], ], ], ], ], ], - 'DeleteUmodel' => [ - 'path' => '/workspace/{workspace}/umodel', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'CreateMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore', + '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' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + '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], + ], + 'customExtractionStrategies' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/CustomExtractionStrategy', 'required' => false], + ], + 'sourceType' => ['type' => 'string'], + 'traceSourceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'workspace' => ['type' => 'string'], + 'query' => ['type' => 'string'], + 'includeOutput' => ['type' => 'boolean'], + ], + ], + ], ], ], ], ], - 'GetUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/graph', - 'methods' => [ - 'post', - ], - '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' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'method', - 'in' => 'query', + '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], + ], + ], + ], + ], + ], ], ], + ], + ], + 'CreatePrometheusInstance' => [ + 'path' => '/prometheus-instances', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -4094,52 +4289,66 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'content' => [ - 'type' => 'any', + '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'], ], ], ], ], ], ], - 'UpsertUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/data', - 'methods' => [ - 'patch', - ], - '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', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'method', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -4148,213 +4357,241 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'elements' => [ + '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' => 'any', + '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], ], ], ], ], ], - 'DeleteUmodelData' => [ - 'path' => '/workspace/{workspace}/umodel/data', - 'methods' => [ - 'delete', - ], - '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' => [ [ - 'name' => 'domain', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'name', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + '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' => 'kind', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'get', - ], - '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], ], ], ], - 'DeleteUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'delete', - ], - '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' => 'group', - 'in' => 'query', + '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' => [ + 'recordType' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['logCorrelation'], + ], + 'recordContent' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'UpsertUmodelCommonSchemaRef' => [ - 'path' => '/workspace/{workspace}/umodel/common-schema-ref', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'https', - ], + 'CreateTicket' => [ + 'path' => '/tickets', + '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' => 'group', + 'name' => 'expirationTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'version', + 'name' => 'accessTokenExpirationTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'CreateChat' => [ - 'path' => '/chat', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - 'sse', - ], + 'CreateUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/octet-stream', - ], - 'produces' => [ - 'application/octet-stream', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -4363,1364 +4600,719 @@ '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, - ], - ], - ], - ], - ], + 'description' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'CreateDigitalEmployee' => [ - 'path' => '/digital-employee', - 'methods' => [ - 'post', + 'DeleteAddonRelease' => [ + 'path' => '/integration-policies/{policyId}/addon-releases', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'releaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'force', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], + ], + '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' => 'body', - 'in' => 'body', + 'name' => 'webhookIds', + 'in' => 'query', '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, - ], - ], - ], + 'type' => 'array', + 'required' => true, + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'GetDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - 'methods' => [ - 'get', + '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' => 'name', + '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' => 'contextId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'UpdateDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - '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' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'defaultRule' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'description' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'displayName' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'minLength' => 0, - 'maxLength' => 128, - 'pattern' => '', - ], - 'roleArn' => [ - 'type' => 'string', - 'deprecated' => false, - 'required' => false, - 'pattern' => '', - ], - 'knowledges' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'bailian' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'workspaceId' => [ - 'type' => 'string', - 'required' => false, - ], - 'indexId' => [ - 'type' => 'string', - 'required' => false, - ], - 'region' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'sop' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'ListDigitalEmployees' => [ - 'path' => '/digital-employee', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'parameters' => [ - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], - ], - [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'contextStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'name', + 'name' => 'contextIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'employeeType', + 'name' => 'filter', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'system', - 'custom', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DeleteDataset' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'displayName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'tags', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - 'required' => false, - ], - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'resourceGroupId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'DeleteDigitalEmployee' => [ - 'path' => '/digital-employee/{name}', - 'methods' => [ - 'delete', - ], - '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' => 'name', + 'name' => 'taskId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateThread' => [ - 'path' => '/digitalEmployee/{name}/thread', - 'methods' => [ - 'post', - ], - '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, - ], - ], - [ - '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, - ], - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'get', - ], - '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' => 'threadId', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetThreadData' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}/data', - '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' => 'name', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'threadId', + 'name' => 'memoryStoreName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'nextToken', + 'name' => 'agentId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'maxResults', + 'name' => 'userId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'runId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'appId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListThreads' => [ - 'path' => '/digitalEmployee/{name}/threads', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteMemory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}', + '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, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'threadId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], + ], + ], + 'DeleteMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'filter', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => true, - ], - 'value' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'UpdateThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'DeletePipeline' => [ + 'path' => '/workspace/{workspace}/pipeline/{pipelineName}', + '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' => false], ], [ - 'name' => 'threadId', + 'name' => 'pipelineName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'title' => [ - 'type' => 'string', - 'required' => false, - ], - 'status' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'active', - 'archived', - 'failed', - 'suspended', - 'cancelled', - 'unknown', - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteThread' => [ - 'path' => '/digitalEmployee/{name}/thread/{threadId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'DeletePrometheusInstance' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}', + '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' => 'threadId', + 'name' => 'prometheusInstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateIntegrationPolicy' => [ - 'path' => '/integration-policies/{integrationPolicyId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'DeletePrometheusView' => [ + 'path' => '/prometheus-views/{prometheusViewId}', + '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' => [ - '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', + 'name' => 'prometheusViewId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteIntegrationPolicy' => [ - 'path' => '/integration-policies/{policyId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'DeletePrometheusVirtualInstance' => [ + 'path' => '/virtual-instances/{prometheusInstanceId}', + 'methods' => ['delete'], + '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' => 'policyId', + 'name' => 'prometheusInstanceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateIntegrationPolicy' => [ - 'path' => '/integration-policies', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DeleteService' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}', + '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' => [ - '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' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdateAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', - 'methods' => [ - 'put', - ], - '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' => 'releaseName', + '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' => [ - 'addonVersion' => [ - 'type' => 'string', - 'required' => false, - ], - 'dryRun' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'values' => [ - 'type' => 'string', - 'required' => false, - ], - 'entityRules' => [ - '$ref' => '#/components/schemas/EntityDiscoverRule', - 'required' => false, - ], - ], - ], + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'policyId', - 'in' => 'path', + 'name' => 'recordType', + 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, + 'enum' => ['logCorrelation'], ], ], ], ], - 'ListIntegrationPolicyStorageRequirements' => [ - 'path' => '/integration-policies/{policyId}/storage-requirements', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + 'methods' => ['delete'], + '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' => '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, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListIntegrationPolicyPodMonitors' => [ - 'path' => '/integration-policies/{policyId}/pod-monitors', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteUmodelCommonSchemaRef' => [ + 'path' => '/workspace/{workspace}/umodel/common-schema-ref', + 'methods' => ['delete'], + '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' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'encryptYaml', + 'name' => 'group', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListIntegrationPolicyDashboards' => [ - 'path' => '/integration-policies/{policyId}/dashboards', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteUmodelData' => [ + 'path' => '/workspace/{workspace}/umodel/data', + 'methods' => ['delete'], + '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' => 'addonName', + 'name' => 'domain', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'scene', + 'name' => 'name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'language', + 'name' => 'kind', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'zh', - 'en', - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListIntegrationPolicyCustomScrapeJobRules' => [ - 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules', - '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' => 'policyId', + 'name' => 'workspaceName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'encryptYaml', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListIntegrationPolicies' => [ - 'path' => '/integration-policies', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DescribeMetricMetaList' => [ + 'path' => '/describe-metric-meta-list', + '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, - ], - ], - [ - 'name' => 'policyName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'policyType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'addonName', + 'name' => 'namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'filterRegionIds', + 'name' => 'metaFormat', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, + 'enum' => ['CMS', 'PROM_BASIC'], ], ], [ - 'name' => 'resourceGroupId', + 'name' => 'metricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'tag', + 'name' => 'labels', 'in' => 'query', 'style' => 'json', 'schema' => [ @@ -5730,534 +5322,482 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], ], [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'maxResults', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'entityGroupIds', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'workspace', + 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'query', + 'name' => 'keywords', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'DescribeRegions' => [ + 'path' => '/regions', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'prometheusInstanceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'bindResourceId', + 'name' => 'language', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListAddonReleases' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ExecuteQuery' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}/query', + 'methods' => ['post'], + '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' => 'datasetName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'parentAddonReleaseId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => true], + 'query' => ['type' => 'string', 'required' => true], + ], ], ], ], ], - 'GetIntegrationPolicy' => [ - 'path' => '/integration-policies/{policyId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetAddon' => [ + 'path' => '/addons/{addonName}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'addonName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'version', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetAddonCodeTemplate' => [ + 'path' => '/addons/{addonName}/alert-code-template', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'policyId', + 'name' => 'addonName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + '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], ], ], ], 'GetAddonRelease' => [ 'path' => '/integration-policies/{policyId}/addon-releases/{releaseName}', - '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' => 'releaseName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'delete', - ], - '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' => 'releaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'addonName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'force', + 'name' => 'aliyunLang', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'policyId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'environmentType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'addonName', + 'name' => 'version', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreateAddonRelease' => [ - 'path' => '/integration-policies/{policyId}/addon-releases', - 'methods' => [ - 'post', - ], - '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' => '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' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'policyId', + 'name' => 'groupId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetServiceObservability' => [ - 'path' => '/workspace/{workspace}/service-observability/{type}', - 'methods' => [ - 'get', + 'GetBizTrace' => [ + 'path' => '/bizTrace/{bizTraceId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'bizTraceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'schemes' => [ - 'https', + ], + 'GetCloudResource' => [ + 'path' => '/cloudresource', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [], + ], + 'GetCloudResourceData' => [ + 'path' => '/cloudresource/data', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'from', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'to', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + ], + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetCmsService' => [ + 'path' => '/cmsservice', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'workspace', - 'in' => 'path', + 'name' => 'product', + 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['prometheus'], ], ], [ - 'name' => 'type', - 'in' => 'path', + 'name' => 'service', + 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['prometheus', 'prometheusgb', 'promethues', 'ackpro'], ], ], ], ], - 'DeleteService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'delete', - ], - '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' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'serviceId', + 'name' => 'contextStoreName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'contextId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], + ], + [ + 'name' => 'formatted', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'UpdateService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'put', - ], - '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' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'serviceId', + 'name' => 'contextStoreName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'displayName' => [ - 'type' => 'string', - 'required' => false, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'attributes' => [ - 'type' => 'string', - 'required' => false, - ], - 'serviceStatus' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'GetService' => [ - 'path' => '/workspace/{workspace}/service/{serviceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ + ], + ], + 'GetDataset' => [ + 'path' => '/workspace/{workspace}/dataset/{datasetName}', + '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, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'serviceId', + 'name' => 'datasetName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], ], ], - 'CreateService' => [ - 'path' => '/workspace/{workspace}/service', - 'methods' => [ - 'post', + 'GetDeliveryTask' => [ + 'path' => '/delivery-task/{taskId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'GetEntityStore' => [ + 'path' => '/workspace/{workspaceName}/entitystore', + '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', + ], + 'GetEntityStoreData' => [ + 'path' => '/workspace/{workspace}/entitiesAndRelations', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'acceptEncoding', + 'in' => 'header', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -6266,191 +5806,70 @@ '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, - ], - ], - ], - ], + 'from' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'query' => ['type' => 'string', 'required' => true], + 'to' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], - [ - 'name' => 'workspace', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], ], ], - 'ListServices' => [ - 'path' => '/workspace/{workspace}/services', - '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' => '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', + 'name' => 'policyId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'serviceType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'TRACE', - 'XTRACE', - 'RUM', - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'GetIntegrationVersionForCS' => [ + 'path' => '/integration-version/cs', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'serviceName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'resourceGroupId', + 'name' => 'clusterId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tags', + 'name' => 'clusterType', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreatePrometheusVirtualInstance' => [ - 'path' => '/virtual-instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'GetMemories' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/query', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -6461,1020 +5880,1466 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'namespace' => [ - 'type' => 'string', - 'required' => true, + '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' => '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], + ], ], ], - 'ListPrometheusVirtualInstances' => [ - 'path' => '/virtual-instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetMemory' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'namespace', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + '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], ], ], ], - 'GetAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - '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' => 'instanceId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'groupId', + 'name' => 'memoryStoreName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'memoryId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 1], ], ], ], - 'CreateAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', - 'methods' => [ - 'post', + 'GetMemoryStore' => [ + 'path' => '/workspace/{workspace}/memorystore/{memoryStoreName}', + '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' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], ], + ], + 'GetPipeline' => [ + 'path' => '/workspace/{workspace}/pipeline/{pipelineName}', + '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' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetPrometheusInstance' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + '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' => [ - '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' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'overrideIfExists', + 'name' => 'aliyunLang', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'GetPrometheusUserSetting' => [ + 'path' => '/prometheus-user-setting', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetPrometheusView' => [ + 'path' => '/prometheus-views/{prometheusViewId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'instanceId', + 'name' => 'prometheusViewId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'groupId', - '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], ], ], ], - 'UpdateAggTaskGroupStatus' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status', - 'methods' => [ - 'put', + 'GetService' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'serviceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'GetServiceObservability' => [ + 'path' => '/workspace/{workspace}/service-observability/{type}', + '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], + ], + [ + 'name' => 'type', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'GetServiceRecord' => [ + 'path' => '/workspace/{workspace}/service/{serviceId}/record', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + '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], ], [ - 'name' => 'groupId', + 'name' => 'serviceId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'recordType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'status' => [ - 'type' => 'string', - 'required' => true, - 'enum' => [ - 'Running', - 'Stopped', - ], - ], - ], + 'type' => 'string', + 'required' => true, + 'enum' => ['logCorrelation'], ], ], ], ], - 'UpdateAggTaskGroup' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'GetUmodel' => [ + 'path' => '/workspace/{workspace}/umodel', + '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], ], + ], + ], + 'GetUmodelCommonSchemaRef' => [ + 'path' => '/workspace/{workspace}/umodel/common-schema-ref', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'groupId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'GetUmodelData' => [ + 'path' => '/workspace/{workspace}/umodel/graph', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'method', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ - '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, - ], + 'content' => ['type' => 'any', 'required' => false], ], ], ], ], ], - 'ListAggTaskGroups' => [ - 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', - 'methods' => [ - 'get', + 'GetWorkspace' => [ + 'path' => '/workspace/{workspaceName}', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspaceName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ListAddonReleases' => [ + 'path' => '/integration-policies/{policyId}/addon-releases', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'parentAddonReleaseId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], + ], + 'ListAddons' => [ + 'path' => '/addons', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'aliyunLang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'category', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'search', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'regexp', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], + ], ], - 'produces' => [ - 'application/json', + ], + 'ListAggTaskGroups' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'instanceId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'filterAggTaskGroupIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'filterAggTaskGroupNames', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['Running', 'Stopped'], ], ], [ - 'name' => 'filterAggTaskGroupIds', + 'name' => 'targetPrometheusId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], ], ], [ - 'name' => 'filterAggTaskGroupNames', + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '100'], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], + ], + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + '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, + 'items' => ['type' => 'string', 'required' => false], ], ], [ - 'name' => 'status', + 'name' => 'type', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'Running', - 'Stopped', - ], + 'enum' => ['FC', 'MNS', 'OPEN_API', 'SLS', 'ESS', 'PAGER_DUTY', 'WEBHOOK', 'EB', 'FC3'], ], ], [ - 'name' => 'targetPrometheusId', + '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' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'types', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + 'enum' => ['DING', 'WEIXIN', 'FEISHU', 'SLACK'], + ], + ], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'ListAlertWebhooks' => [ + 'path' => '/webhooks', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'webhookIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + [ + 'name' => 'name', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + ], + 'ListBizTraces' => [ + 'path' => '/bizTraces', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListContactGroups' => [ + 'path' => '/contactGroups', + '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' => 'contactGroupIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + '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'], + ], + ], + ], + 'ListContacts' => [ + 'path' => '/contact', + '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' => 'contactIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + [ + 'name' => 'name', + 'in' => 'query', + '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'], + ], + ], + ], + 'ListContextStoreAPIKeys' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/apikey', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + 'ListContextStores' => [ + 'path' => '/workspace/{workspace}/contextstore', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + '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], + ], + ], + ], + 'ListDatasets' => [ + 'path' => '/workspace/{workspace}/dataset', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + '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], + ], + ], + ], + 'ListDeliveryTasks' => [ + 'path' => '/delivery-tasks', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'keyWords', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'value' => ['type' => 'string', 'required' => false], + 'key' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + 'ListIntegrationPolicies' => [ + 'path' => '/integration-policies', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'policyName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'policyType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'filterRegionIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceGroupId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tag', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'maxResults', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'entityGroupIds', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'workspace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'prometheusInstanceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'bindResourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'ListIntegrationPolicyAddons' => [ + 'path' => '/integration-policies/{policyId}/addons', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ListIntegrationPolicyCollectors' => [ + 'path' => '/integration-policies/{policyId}/collectors', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonReleaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'collectorType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tags', + 'name' => 'language', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], ], + ], + ], + 'ListIntegrationPolicyCustomScrapeJobRules' => [ + 'path' => '/integration-policies/{policyId}/custom-scrape-job-rules', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'maxResults', + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonReleaseName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '100', - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'nextToken', + 'name' => 'encryptYaml', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'maxLength' => 128, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'query', + 'name' => 'namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeletePrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'delete', - ], - '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' => 'prometheusInstanceId', + 'name' => 'policyId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'addonName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'scene', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'language', + 'in' => 'query', 'schema' => [ 'type' => 'string', - 'required' => true, + 'required' => false, + 'enum' => ['zh', 'en'], ], ], ], ], - 'DeletePrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'delete', - ], - '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' => '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' => 'namespace', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'encryptYaml', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'GetPrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyServiceMonitors' => [ + 'path' => '/integration-policies/{policyId}/service-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], ], ], ], - 'GetPrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListIntegrationPolicyStorageRequirements' => [ + 'path' => '/integration-policies/{policyId}/storage-requirements', + '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' => 'storageType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'addonReleaseName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListPrometheusDashboards' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'ListMemoryStores' => [ + 'path' => '/workspace/{workspace}/memorystore', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusInstanceId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'resourceGroupId', + 'name' => 'memoryStoreName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'aliyunLang', + 'name' => 'maxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'nextToken', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdatePrometheusView' => [ - 'path' => '/prometheus-views/{prometheusViewId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListPipelines' => [ + 'path' => '/workspace/{workspace}/pipeline', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'prometheusViewId', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - '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' => '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], ], ], ], - 'UpdatePrometheusInstance' => [ - 'path' => '/prometheus-instances/{prometheusInstanceId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'ListPrometheusDashboards' => [ + 'path' => '/prometheus-instances/{prometheusInstanceId}/dashboards', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + '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' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'type', + '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'], + 'deprecated' => false, + 'parameters' => [], + ], + 'PutWorkspace' => [ + 'path' => '/workspace/{workspaceName}', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + '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, - ], - ], - ], - ], - 'CreateTicket' => [ - 'path' => '/tickets', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], - ], - '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,117 +7998,186 @@ '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' => 'releaseName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'resourceId', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - 'type' => 'string', - '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' => 'tag', - 'in' => 'query', + 'name' => 'policyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'UpdateAggTaskGroup' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', 'style' => 'json', 'schema' => [ - 'type' => 'array', + 'type' => 'object', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/Tag', - '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], ], ], ], + ], + ], + 'UpdateAggTaskGroupStatus' => [ + 'path' => '/prometheus-instances/{instanceId}/agg-task-groups/{groupId}/status', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'nextToken', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'maxResults', - 'in' => 'query', + 'name' => 'instanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'groupId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'status' => [ + 'type' => 'string', + 'required' => true, + 'enum' => ['Running', 'Stopped'], + ], + ], ], ], ], ], - 'ChangeResourceGroup' => [ - 'path' => '/resourcegroup', - 'methods' => [ - 'put', - ], - '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', @@ -8609,123 +8186,137 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'resourceType' => [ + 'contentType' => [ 'type' => 'string', 'required' => false, + 'enum' => ['JSON', 'FORM'], ], - 'resourceId' => [ + 'headers' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => ['type' => 'string'], + ], + 'lang' => [ 'type' => 'string', 'required' => false, + 'enum' => ['zh_CN', 'en_US'], ], - 'resourceGroupId' => [ + 'method' => [ 'type' => 'string', 'required' => false, + 'enum' => ['GET', 'POST'], ], + 'name' => ['type' => 'string', 'required' => false], + 'url' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'DescribeRegions' => [ - 'path' => '/regions', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateBizTrace' => [ + 'path' => '/bizTrace/{bizTraceId}', + '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', + 'name' => 'bizTraceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + '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], + ], ], ], ], ], - 'GetCmsService' => [ - 'path' => '/cmsservice', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateContext' => [ + 'path' => '/workspace/{workspace}/contextstore/{contextStoreName}/context/{contextId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'product', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'prometheus', - ], - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'service', - 'in' => 'query', + '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', + 'type' => 'object', 'required' => false, - 'enum' => [ - 'prometheus', - 'prometheusgb', - 'promethues', - 'ackpro', + '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], ], ], ], ], ], - 'CreateBizTrace' => [ - 'path' => '/bizTrace', - 'methods' => [ - 'post', - ], - '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' => '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', @@ -8734,631 +8325,690 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'workspace' => [ - 'type' => 'string', - 'required' => false, - ], - 'bizTraceCode' => [ - 'type' => 'string', - 'required' => false, - ], - 'bizTraceName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ruleConfig' => [ - 'type' => 'string', + '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], + ], + ], + ], ], - 'advancedConfig' => [ - 'type' => 'string', + 'contextType' => ['type' => 'string', 'required' => false], + 'dataset' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + ], ], ], ], ], ], ], - 'CreateServiceObservability' => [ - 'path' => '/workspace/{workspace}/service-observability/{type}', - 'methods' => [ - 'post', - ], - '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' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'type', + 'name' => 'datasetName', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'description' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'DeleteBizTrace' => [ - 'path' => '/bizTrace/{bizTraceId}', - 'methods' => [ - 'delete', - ], - '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' => 'bizTraceId', + 'name' => 'taskId', 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + '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], + ], ], ], ], ], - 'GetAddon' => [ - 'path' => '/addons/{addonName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateIntegrationPolicy' => [ + 'path' => '/integration-policies/{integrationPolicyId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'addonName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - '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' => 'aliyunLang', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + [ + 'name' => 'integrationPolicyId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetAddonCodeTemplate' => [ - 'path' => '/addons/{addonName}/alert-code-template', - '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], + ], ], ], ], ], - 'GetAddonSchema' => [ - 'path' => '/addons/{addonName}/schema', - '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' => 'addonName', + 'name' => 'workspace', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'aliyunLang', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'environmentType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'memoryStoreName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 64], ], [ - 'name' => 'version', - 'in' => 'query', + '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], + ], + ], ], ], ], ], - 'GetBizTrace' => [ - 'path' => '/bizTrace/{bizTraceId}', - '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' => 'bizTraceId', + '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' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'GetIntegrationVersionForCS' => [ - 'path' => '/integration-version/cs', - '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' => 'clusterId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'workspace', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'clusterType', - 'in' => 'query', + 'name' => 'pipelineName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + '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], + ], + ], + ], + ], + ], ], ], ], ], - 'GetPrometheusUserSetting' => [ - 'path' => '/prometheus-user-setting', - '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', + 'name' => 'prometheusInstanceId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + '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], + ], ], ], ], ], - 'ListAddons' => [ - 'path' => '/addons', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePrometheusUserSetting' => [ + 'path' => '/prometheus-user-setting/{settingKey}', + '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' => 'category', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'search', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'settingKey', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'regexp', + '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, - ], - ], - [ - 'name' => 'addonReleaseName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - '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'], ], ]; -- cgit v1.2.3