summaryrefslogtreecommitdiff
path: root/data/en_us/edas
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/edas
downloadacs-metadata-full-1.0.0+20260212.tar.gz
acs-metadata-full-1.0.0+20260212.zip
Diffstat (limited to 'data/en_us/edas')
-rw-r--r--data/en_us/edas/2016-08-16/api-docs.php295
-rw-r--r--data/en_us/edas/2017-04-05/api-docs.php301
-rw-r--r--data/en_us/edas/2017-08-01/api-docs.php27618
-rw-r--r--data/en_us/edas/2018-01-31/api-docs.php358
4 files changed, 28572 insertions, 0 deletions
diff --git a/data/en_us/edas/2016-08-16/api-docs.php b/data/en_us/edas/2016-08-16/api-docs.php
new file mode 100644
index 0000000..e95d678
--- /dev/null
+++ b/data/en_us/edas/2016-08-16/api-docs.php
@@ -0,0 +1,295 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Edas',
+ 'version' => '2016-08-16',
+ ],
+ 'directories' => [
+ [
+ 'id' => 62488,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'EdasRefund',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'EdasRefund' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'data',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'success' => [
+ 'type' => 'boolean',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'data' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'AUTHERROR',
+ 'errorMessage' => 'user check error',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-gov-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-nu16-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-edge-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fujian',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-haidian-cm12-c01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-bj-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-prod-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-2',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-3',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-test-306',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao-nebula',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et15-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et2-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-st4-d01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-su18-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-yushanfang',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangbei-na61-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou-na62-a01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-nebula-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1-oxs',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'rus-west-1-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'edas.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'edas.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'edas.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'edas.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'edas.cn-north-2-gov-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'edas.cn-qingdao.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'edas.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'edas.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'edas.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'edas.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'edas.us-east-1.aliyuncs.com',
+ ],
+ ],
+];
diff --git a/data/en_us/edas/2017-04-05/api-docs.php b/data/en_us/edas/2017-04-05/api-docs.php
new file mode 100644
index 0000000..b231047
--- /dev/null
+++ b/data/en_us/edas/2017-04-05/api-docs.php
@@ -0,0 +1,301 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Edas',
+ 'version' => '2017-04-05',
+ ],
+ 'directories' => [
+ [
+ 'id' => 62490,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'EdasProduce',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'EdasProduce' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'data',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'sourceFlag',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'default' => 'aliyunPOP',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'success' => [
+ 'type' => 'boolean',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'synchro' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'AUTHERROR',
+ 'errorMessage' => 'user check error',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-gov-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-nu16-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-edge-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fujian',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-haidian-cm12-c01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-bj-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-prod-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-2',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-3',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-test-306',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao-nebula',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et15-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et2-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-st4-d01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-su18-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-yushanfang',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangbei-na61-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou-na62-a01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-nebula-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1-oxs',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'rus-west-1-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'edas.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'edas.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'edas.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'edas.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'edas.cn-north-2-gov-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'edas.cn-qingdao.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'edas.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'edas.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'edas.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'edas.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'edas.us-east-1.aliyuncs.com',
+ ],
+ ],
+];
diff --git a/data/en_us/edas/2017-08-01/api-docs.php b/data/en_us/edas/2017-08-01/api-docs.php
new file mode 100644
index 0000000..831f7d8
--- /dev/null
+++ b/data/en_us/edas/2017-08-01/api-docs.php
@@ -0,0 +1,27618 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'Edas',
+ 'version' => '2017-08-01',
+ ],
+ 'directories' => [
+ [
+ 'id' => 62657,
+ 'title' => 'System Management',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteRole',
+ 'UpdateRole',
+ 'UpdateAccountInfo',
+ 'ListRole',
+ 'ListSubAccount',
+ 'ListAuthority',
+ 'GetPackageStorageCredential',
+ 'InsertRole',
+ 'AuthorizeRole',
+ 'AuthorizeApplication',
+ 'AuthorizeResourceGroup',
+ ],
+ ],
+ [
+ 'id' => 62552,
+ 'title' => 'Resource Management',
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 62553,
+ 'title' => 'ECS & K8s Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'DeleteUserDefineRegion',
+ 'DeleteCluster',
+ 'ListAliyunRegion',
+ 'QueryMigrateRegionList',
+ 'ListCluster',
+ 'GetCluster',
+ 'ListVpc',
+ 'QueryRegionConfig',
+ 'ListApplicationEcu',
+ 'ListResourceGroup',
+ 'ListTagResources',
+ 'TagResources',
+ 'UntagResources',
+ ],
+ ],
+ [
+ 'id' => 62559,
+ 'title' => 'ECS Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateIDCImportCommand',
+ 'DeleteClusterMember',
+ 'DeleteEcu',
+ 'ListClusterMembers',
+ 'ListEcuByRegion',
+ 'ListConvertableEcu',
+ 'ListEcsNotInCluster',
+ 'QueryMigrateEcuList',
+ 'ListScaleOutEcu',
+ 'ListSlb',
+ 'BindSlb',
+ 'InsertCluster',
+ 'InsertClusterMember',
+ 'InstallAgent',
+ 'TransformClusterMember',
+ 'MigrateEcu',
+ 'SynchronizeResource',
+ ],
+ ],
+ [
+ 'id' => 62575,
+ 'title' => 'K8s Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateK8sResource',
+ 'GetK8sCluster',
+ 'ListK8sNamespaces',
+ 'ImportK8sCluster',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 62579,
+ 'title' => 'Application Management',
+ 'type' => 'directory',
+ 'children' => [
+ [
+ 'id' => 62580,
+ 'title' => 'ECS & K8s Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateHealthCheckUrl',
+ 'GetChangeOrderInfo',
+ 'GetSecureToken',
+ 'QueryEccInfo',
+ 'GetScalingRules',
+ 'ListUserDefineRegion',
+ 'GetContainerConfiguration',
+ 'ListApplication',
+ 'ListDeployGroup',
+ 'ListHistoryDeployVersion',
+ 'ListRecentChangeOrder',
+ 'ListBuildPack',
+ 'InsertOrUpdateRegion',
+ 'SwitchAdvancedMonitoring',
+ 'ContinuePipeline',
+ 'AbortChangeOrder',
+ 'RollbackChangeOrder',
+ ],
+ ],
+ [
+ 'id' => 62598,
+ 'title' => 'ECS Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateApplicationBaseInfo',
+ 'AddLogPath',
+ 'DeleteApplication',
+ 'DeleteLogPath',
+ 'DeleteDeployGroup',
+ 'UpdateHookConfiguration',
+ 'ModifyScalingRule',
+ 'StartApplication',
+ 'StopApplication',
+ 'UpdateContainer',
+ 'UpdateContainerConfiguration',
+ 'ChangeDeployGroup',
+ 'UpdateJvmConfiguration',
+ 'GetJvmConfiguration',
+ 'GetApplication',
+ 'ListComponents',
+ 'QueryApplicationStatus',
+ 'InsertDeployGroup',
+ 'BindEcsSlb',
+ 'UnbindSlb',
+ 'RollbackApplication',
+ 'InsertApplication',
+ 'DeployApplication',
+ 'ScaleoutApplicationWithNewInstances',
+ 'ScaleOutApplication',
+ 'ScaleInApplication',
+ 'ResetApplication',
+ 'RestartApplication',
+ ],
+ ],
+ [
+ 'id' => 62624,
+ 'title' => 'K8s Clusters',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateK8sService',
+ 'DeleteK8sApplication',
+ 'DeleteK8sService',
+ 'UpdateK8sApplicationBaseInfo',
+ 'UpdateK8sApplicationConfig',
+ 'StartK8sApplication',
+ 'StopK8sApplication',
+ 'UpdateK8sSlb',
+ 'UpdateK8sService',
+ 'UpdateSlsLogStore',
+ 'StartK8sAppPrecheck',
+ 'GetK8sApplication',
+ 'GetK8sServices',
+ 'QuerySlsLogStoreList',
+ 'GetAppDeployment',
+ 'DescribeAppInstanceList',
+ 'GetK8sAppPrecheckResult',
+ 'BindK8sSlb',
+ 'UnbindK8sSlb',
+ 'InsertK8sApplication',
+ 'DeployK8sApplication',
+ 'ScaleK8sApplication',
+ 'RestartK8sApplication',
+ 'ConvertK8sResource',
+ 'AbortAndRollbackChangeOrder',
+ ],
+ ],
+ ],
+ ],
+ [
+ 'id' => 62520,
+ 'title' => 'Service Management',
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateLocalitySetting',
+ 'DeleteServiceGroup',
+ 'GetServiceConsumersPage',
+ 'GetServiceListPage',
+ 'GetServiceMethodPage',
+ 'GetServiceProvidersPage',
+ 'ListConsumedServices',
+ 'ListPublishedServices',
+ 'GetServiceDetail',
+ 'ListMethods',
+ 'ListServiceGroups',
+ 'InsertServiceGroup',
+ ],
+ ],
+ [
+ 'id' => 62509,
+ 'title' => 'Application Route',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateK8sIngressRule',
+ 'DeleteK8sIngressRule',
+ 'UpdateK8sIngressRule',
+ 'ListK8sIngressRules',
+ ],
+ ],
+ [
+ 'id' => 165305,
+ 'title' => 'Configuration Management',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateConfigTemplate',
+ 'CreateK8sConfigMap',
+ 'CreateK8sSecret',
+ 'DeleteConfigTemplate',
+ 'DeleteK8sConfigMap',
+ 'DeleteK8sSecret',
+ 'UpdateConfigTemplate',
+ 'UpdateK8sConfigMap',
+ 'UpdateK8sSecret',
+ 'ListConfigTemplates',
+ 'GetJavaStartUpConfig',
+ 'GetWebContainerConfig',
+ 'ListK8sConfigMaps',
+ 'ListK8sSecrets',
+ 'RetryChangeOrderTask',
+ ],
+ ],
+ [
+ 'id' => 142529,
+ 'title' => 'Elastic Scaling',
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateApplicationScalingRule',
+ 'DeleteApplicationScalingRule',
+ 'DisableApplicationScalingRule',
+ 'EnableApplicationScalingRule',
+ 'UpdateApplicationScalingRule',
+ 'DescribeApplicationScalingRules',
+ ],
+ ],
+ [
+ 'id' => 172451,
+ 'title' => 'Swimming Lane',
+ 'type' => 'directory',
+ 'children' => [
+ 'InsertSwimmingLaneGroup',
+ 'InsertSwimmingLane',
+ 'DeleteSwimmingLane',
+ 'UpdateSwimmingLaneGroup',
+ 'UpdateSwimmingLane',
+ 'ListSwimmingLaneGroup',
+ 'ListSwimmingLane',
+ ],
+ ],
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'DescribeLocalitySetting',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'DeleteRole' => [
+ 'summary' => 'Deletes a Resource Access Management (RAM) role.',
+ 'path' => '/pop/v5/account/delete_role',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '99999999',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '042F329B-F518-4CC1-****-**********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"042F329B-F518-4CC1-****-**********\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>delete successfully</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteRole',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateRole' => [
+ 'summary' => 'Modifies a role.',
+ 'path' => '/pop/v5/account/edit_role',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the role. You can call the ListRole operation to query the role IDs. For more information, see [ListRole](~~149410~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '32371',
+ ],
+ ],
+ [
+ 'name' => 'ActionData',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The set of permissions to be granted to the role. The value is in the format of `Permission group ID 1:Permission serial number 1;...;Permission group ID n:Permission serial number n`. Example: `1:1;1:2;2:1;2:2`. For more information about permission groups and permission serial numbers, see [ListAuthority](~~149409~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '15:1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'edit successfully',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"edit successfully\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-****\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>edit successfully</Message>\\n<RequestId/>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateRole',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateAccountInfo' => [
+ 'summary' => 'Modifies information about an account.',
+ 'path' => '/pop/v5/account/edit_account_info',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the account.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas-test',
+ ],
+ ],
+ [
+ 'name' => 'Telephone',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The contact information of the account.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1321234****',
+ ],
+ ],
+ [
+ 'name' => 'Email',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The email address of the account.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1321234****@alibaba-inc.com',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'edit successfully',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECD1D6FC-4307-4583-BA6F-215F3857EAF4',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"edit successfully\\",\\n \\"RequestId\\": \\"ECD1D6FC-4307-4583-BA6F-215F3857EAF4\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>edit successfully</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateAccountInfo',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListRole' => [
+ 'summary' => 'Queries a list of roles.',
+ 'path' => '/pop/v5/account/role_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-41EC-****-*********',
+ ],
+ 'RoleList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RoleItem' => [
+ 'description' => 'The roles.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ActionList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Action' => [
+ 'description' => 'The set of permissions to be granted to the role.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The serial number of the permission that is granted to the role.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the permission to be granted to the role.'."\n",
+ 'type' => 'string',
+ 'example' => 'Operations in operation records'."\n",
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the permission group to which the permission that is granted to the role belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '31',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the permission to be granted to the role.'."\n",
+ 'type' => 'string',
+ 'example' => 'Operation records'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Role' => [
+ 'description' => 'The roles.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The timestamp when the role was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1542717260156',
+ ],
+ 'IsDefault' => [
+ 'description' => 'Indicates whether the role is a default role.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AdminUserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'test**@aliyun.com',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The timestamp when the role was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1542717260156',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the role.'."\n",
+ 'type' => 'string',
+ 'example' => 'Super Admin(All privileges)',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57609587-DFA2-41EC-****-*********\\",\\n \\"RoleList\\": {\\n \\"RoleItem\\": [\\n {\\n \\"ActionList\\": {\\n \\"Action\\": [\\n {\\n \\"Code\\": \\"1\\",\\n \\"Description\\": \\"操作记录\\",\\n \\"GroupId\\": \\"31\\",\\n \\"Name\\": \\"操作记录\\"\\n }\\n ]\\n },\\n \\"Role\\": {\\n \\"UpdateTime\\": 1542717260156,\\n \\"IsDefault\\": false,\\n \\"AdminUserId\\": \\"test**@aliyun.com\\",\\n \\"CreateTime\\": 1542717260156,\\n \\"Name\\": \\"Super Admin(All privileges)\\",\\n \\"Id\\": 1\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<RoleList>\\n <RoleItem>\\n <Role>\\n <Name>Super Admin(All privileges)</Name>\\n <CreateTime>1542717260156</CreateTime>\\n <UpdateTime>1542717260156</UpdateTime>\\n <Id>15691</Id>\\n </Role>\\n <ActionList>\\n <Action>\\n <Name>操作记录</Name>\\n <Description>操作记录</Description>\\n <Code>1</Code>\\n <GroupId>31</GroupId>\\n </Action>\\n </ActionList>\\n </RoleItem>\\n</RoleList>","errorExample":""}]',
+ 'title' => 'ListRole',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListSubAccount' => [
+ 'path' => '/pop/v5/account/sub_account_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'message',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-41EC-****-*********',
+ ],
+ 'SubAccountList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SubAccount' => [
+ 'description' => 'The RAM users.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SubEdasId' => [
+ 'description' => 'The ID of the RAM user. This ID is generated by Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'example' => '28382009411268****',
+ ],
+ 'SubUserId' => [
+ 'description' => 'The ID of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => 'ram1@117274586608****',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'AdminUserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'test@13624697***',
+ ],
+ 'AdminUserKp' => [
+ 'description' => 'This parameter is the same as the AdminEdasId parameter. This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => '12456889****',
+ ],
+ 'AdminEdasId' => [
+ 'description' => 'The ID of the Alibaba Cloud account. This ID is generated by EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => '12456889****',
+ ],
+ 'SubUserKp' => [
+ 'description' => 'This parameter is the same as the SubEdasId parameter. This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => '28382009411268****',
+ ],
+ 'Phone' => [
+ 'description' => 'The contact information of the RAM user.'."\n",
+ 'type' => 'string',
+ 'example' => '1373322****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"message\\",\\n \\"RequestId\\": \\"57609587-DFA2-41EC-****-*********\\",\\n \\"SubAccountList\\": {\\n \\"SubAccount\\": [\\n {\\n \\"SubEdasId\\": \\"28382009411268****\\",\\n \\"SubUserId\\": \\"ram1@117274586608****\\",\\n \\"Email\\": \\"[email protected]\\",\\n \\"AdminUserId\\": \\"test@13624697***\\",\\n \\"AdminUserKp\\": \\"12456889****\\",\\n \\"AdminEdasId\\": \\"12456889****\\",\\n \\"SubUserKp\\": \\"28382009411268****\\",\\n \\"Phone\\": \\"1373322****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>57609587-DFA2-41EC-****-*********</RequestId>\\n<Message>message</Message>\\n<SubAccountList>\\n <SubAccount>\\n <AdminEdasId>12456889****</AdminEdasId>\\n <AdminUserKp>12456889****</AdminUserKp>\\n <Email>[email protected]</Email>\\n <SubEdasId>28382009411268****</SubEdasId>\\n <Phone>1373322****</Phone>\\n <AdminUserId>test@13624697***</AdminUserId>\\n <SubUserId>ram1@117274586608****</SubUserId>\\n <SubUserKp>28382009411268****</SubUserKp>\\n </SubAccount>\\n</SubAccountList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListSubAccount',
+ 'summary' => 'Queries a list of Resource Access Management (RAM) users.',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListAuthority' => [
+ 'summary' => 'Queries all permissions.',
+ 'path' => '/pop/v5/account/authority_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-41EC-****-*********',
+ ],
+ 'AuthorityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Authority' => [
+ 'description' => 'The permissions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the permission group.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the permission group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Application management'."\n",
+ ],
+ 'Description' => [
+ 'description' => 'The description of the permission group.'."\n",
+ 'type' => 'string',
+ 'example' => 'Operations on applications'."\n",
+ ],
+ 'ActionList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Action' => [
+ 'description' => 'The set of permissions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The code of the permission.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the permission.'."\n",
+ 'type' => 'string',
+ 'example' => 'Create an application'."\n",
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the permission group.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the permission.'."\n",
+ 'type' => 'string',
+ 'example' => 'Create an application'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57609587-DFA2-41EC-****-*********\\",\\n \\"AuthorityList\\": {\\n \\"Authority\\": [\\n {\\n \\"GroupId\\": \\"1\\",\\n \\"Name\\": \\"应用管理\\",\\n \\"Description\\": \\"对应用的所有操作\\",\\n \\"ActionList\\": {\\n \\"Action\\": [\\n {\\n \\"Code\\": \\"1\\",\\n \\"Description\\": \\"创建应用\\",\\n \\"GroupId\\": \\"1\\",\\n \\"Name\\": \\"创建应用\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>57609587-DFA2-41EC-****-*********</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>\\n<AuthorityList>\\n <Authority>\\n <Description>对应用的所有操作</Description>\\n <Name>应用管理</Name>\\n <GroupId>1</GroupId>\\n <ActionList>\\n <Action>\\n <Description>创建应用</Description>\\n <Code>1</Code>\\n <Name>创建应用</Name>\\n <GroupId>1</GroupId>\\n </Action>\\n </ActionList>\\n </Authority>\\n</AuthorityList>","errorExample":""}]',
+ 'title' => 'ListAuthority',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetPackageStorageCredential' => [
+ 'path' => '/pop/v5/package_storage_credential',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'Credential' => [
+ 'description' => 'The STS credential.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'KeyPrefix' => [
+ 'description' => 'The object key prefix in Object Storage Service (OSS).'."\n",
+ 'type' => 'string',
+ 'example' => 'release-pkg/117274586608****',
+ ],
+ 'SecurityToken' => [
+ 'description' => 'The security token issued by STS.'."\n",
+ 'type' => 'string',
+ 'example' => '<yourSecurityToken>',
+ ],
+ 'AccessKeySecret' => [
+ 'description' => 'The AccessKey secret of your account.'."\n",
+ 'type' => 'string',
+ 'example' => '<yourAccessKeySecret>',
+ ],
+ 'Expiration' => [
+ 'description' => 'The time when the STS credential expires. Example: 2019-11-10T07:20:19Z.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-11-10T07:20:19Z',
+ ],
+ 'AccessKeyId' => [
+ 'description' => 'The AccessKey ID of your account.'."\n",
+ 'type' => 'string',
+ 'example' => '<yourAccessKeyId>',
+ ],
+ 'Bucket' => [
+ 'description' => 'The name of the OSS bucket.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas-bj',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'OssPublicEndpoint' => [
+ 'description' => 'The public endpoint of OSS.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-beijing.aliyuncs.com',
+ ],
+ 'OssInternalEndpoint' => [
+ 'description' => 'The private endpoint of OSS.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-beijing-internal.aliyuncs.com',
+ ],
+ 'OssVpcEndpoint' => [
+ 'description' => 'The VPC endpoint of OSS.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-beijing-internal.aliyuncs.com',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"Credential\\": {\\n \\"KeyPrefix\\": \\"release-pkg/117274586608****\\",\\n \\"SecurityToken\\": \\"<yourSecurityToken>\\",\\n \\"AccessKeySecret\\": \\"<yourAccessKeySecret>\\",\\n \\"Expiration\\": \\"2019-11-10T07:20:19Z\\",\\n \\"AccessKeyId\\": \\"<yourAccessKeyId>\\",\\n \\"Bucket\\": \\"edas-bj\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"OssPublicEndpoint\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"OssInternalEndpoint\\": \\"oss-cn-beijing-internal.aliyuncs.com\\",\\n \\"OssVpcEndpoint\\": \\"oss-cn-beijing-internal.aliyuncs.com\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetPackageStorageCredentialResponse>\\n <Credential>\\n <KeyPrefix>release-pkg/117274586608****</KeyPrefix>\\n <AccessKeySecret>yourAccessKeySecret</AccessKeySecret>\\n <AccessKeyId>yourAccessKeyId</AccessKeyId>\\n <Expiration>2019-11-10T07:20:19Z</Expiration>\\n <SecurityToken>yourSecurityToken</SecurityToken>\\n <RegionId>cn-beijing</RegionId>\\n <Bucket>edas-bj</Bucket>\\n </Credential>\\n <Message>success</Message>\\n <Code>200</Code>\\n</GetPackageStorageCredentialResponse>","errorExample":""}]',
+ 'title' => 'GetPackageStorageCredential',
+ 'summary' => 'Queries the Security Token Service (STS) tokens that are required for temporary storage.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertRole' => [
+ 'summary' => 'Creates a role.',
+ 'path' => '/pop/v5/account/create_role',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RoleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the role.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'testrole',
+ ],
+ ],
+ [
+ 'name' => 'ActionData',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The set of permissions to be granted to the role. The value is in the format of `Permission group ID 1:Permission serial number 1;...;Permission group ID n:Permission serial number n`. Example: `1:1;1:2;2:1;2:2`. For more information about permission groups and permission serial numbers, see [ListAuthority](~~149409~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '15:1;14:2',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-41EC-****-*********',
+ ],
+ 'RoleId' => [
+ 'description' => 'The ID of the role.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '33',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57609587-DFA2-41EC-****-*********\\",\\n \\"RoleId\\": 33\\n}","errorExample":""},{"type":"xml","example":"<RequestId>57609587-DFA2-41EC-****-*********</RequestId>\\n<Code>200</Code>\\n<Message>sucess</Message>","errorExample":""}]',
+ 'title' => 'InsertRole',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AuthorizeRole' => [
+ 'summary' => 'Grant permissions to RAM roles.',
+ 'path' => '/pop/v5/account/authorize_role',
+ 'methods' => [
+ 'post',
+ 'delete',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user to which you want to assign the roles.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test@133******',
+ ],
+ ],
+ [
+ 'name' => 'RoleIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the role to be assigned. If you want to assign multiple roles to the specified RAM user, separate the IDs of the roles with semicolons (;). If you leave this parameter empty, the roles assigned to the specified RAM user are revoked.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1;2',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-*******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57609587-DFA2-*******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>57609587-DFA2-41EC-****-*********</RequestId>\\n<Code>200</Code>\\n<Message>sucess</Message>","errorExample":""}]',
+ 'title' => 'AuthorizeRole',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AuthorizeApplication' => [
+ 'summary' => 'Grants a Resource Access Management (RAM) user the permissions on a specified application.',
+ 'path' => '/pop/v5/account/authorize_app',
+ 'methods' => [
+ 'post',
+ 'delete',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user to be authorized. The value of the parameter is in the `sub-account name@primary account UID` format.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test@133434434****',
+ ],
+ ],
+ [
+ 'name' => 'AppIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can specify multiple IDs. Separate multiple IDs with semicolons (;). If you leave this parameter empty, the permissions on the application are revoked.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5fdf50e8-*****;696-******',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'E3DA95D3-**********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"E3DA95D3-**********\\"\\n}","type":"json"}]',
+ 'title' => 'AuthorizeApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AuthorizeResourceGroup' => [
+ 'summary' => 'Grants a Resource Access Management (RAM) user the permissions on a resource group.',
+ 'path' => '/pop/v5/account/authorize_res_group',
+ 'methods' => [
+ 'post',
+ 'delete',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the RAM user to be authorized.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test@13333********',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID. For more information, see [ListResourceGroup](~~62055~~).'."\n"
+ ."\n"
+ .'You can specify multiple resource group IDs. Separate multiple resource group IDs with semicolons (;).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '461;462',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57609587-DFA2-**********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57609587-DFA2-**********\\"\\n}","type":"json"}]',
+ 'title' => 'AuthorizeResourceGroup',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteUserDefineRegion' => [
+ 'path' => '/pop/v5/user_region_def',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unique ID of the custom namespace. You can call the ListUserDefineRegion operation to query the ID. For more information, see [ListUserDefineRegion](~~149377~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '2564',
+ ],
+ ],
+ [
+ 'name' => 'RegionTag',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag of the custom namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'regiontag',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1234-1sda-321d-****',
+ ],
+ 'RegionDefine' => [
+ 'description' => 'The custom namespace.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'BelongRegion' => [
+ 'description' => 'The ID of the region to which the custom namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'RegionName' => [
+ 'description' => 'The name of the custom namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_region',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the custom namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'logic region',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the custom namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '11727****22398',
+ ],
+ 'Id' => [
+ 'description' => 'The unique identifier of the custom namespace.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8848',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the custom namespace. The ID cannot be changed after the custom namespace is created. The format is `region ID:custom namespace ID`.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1234-1sda-321d-****\\",\\n \\"RegionDefine\\": {\\n \\"BelongRegion\\": \\"cn-beijing\\",\\n \\"RegionName\\": \\"test_region\\",\\n \\"Description\\": \\"logic region\\",\\n \\"UserId\\": \\"11727****22398\\",\\n \\"Id\\": 8848,\\n \\"RegionId\\": \\"cn-beijing:test\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RegionDefine>\\n <Description>test</Description>\\n <RegionName>test_region</RegionName>\\n <BelongRegion>cn-beijing</BelongRegion>\\n <RegionId>cn-beijing:test</RegionId>\\n <Id>8683</Id>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n</RegionDefine>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteUserDefineRegion',
+ 'summary' => 'Deletes a specified custom namespace.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteCluster' => [
+ 'summary' => 'Deletes an Elastic Compute Service (ECS) cluster or cancels the import of a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/resource/cluster',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '8b96ade0-0a07-****-af9d-5ed83640d076',
+ ],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the cluster ID. Valid values:'."\n"
+ ."\n"
+ .'* 0: specifies the ID of the cluster in Enterprise Distributed Application Service (EDAS).'."\n"
+ .'* 1: specifies the ID of the ACK cluster.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'Indicates whether the cluster is deleted. Valid values:'."\n"
+ ."\n"
+ .'* true: The cluster is deleted.'."\n"
+ .'* false: The cluster is not deleted.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '856D4438-****-4EA9-****-894628C0434E',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"856D4438-****-4EA9-****-894628C0434E\\"\\n}","errorExample":""},{"type":"xml","example":"<Data>true</Data>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteCluster',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListAliyunRegion' => [
+ 'summary' => 'Queries Alibaba Cloud regions supported by Enterprise Distributed Application Service (EDAS).',
+ 'path' => '/pop/v5/resource/region_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'RegionEntityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RegionEntity' => [
+ 'description' => 'The details of the regions.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'China East 1 (Hangzhou)',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"RegionEntityList\\": {\\n \\"RegionEntity\\": [\\n {\\n \\"Name\\": \\"China East 1 (Hangzhou)\\",\\n \\"Id\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RegionEntityList>\\n <RegionEntity>\\n <Name>China East 1 (Hangzhou)</Name>\\n <Id>cn-hangzhou</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>China North 1 (Qingdao)</Name>\\n <Id>cn-qingdao</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>China North 2 (Beijing)</Name>\\n <Id>cn-beijing</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>China South 1 (Shenzhen)</Name>\\n <Id>cn-shenzhen</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>China East 2 (Shanghai)</Name>\\n <Id>cn-shanghai</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>Asia Pacific SE 1 (Singapore)</Name>\\n <Id>ap-southeast-1</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>Hong Kong (China)</Name>\\n <Id>cn-hongkong</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>Australia(Sydney)</Name>\\n <Id>ap-southeast-2</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>America(Virginia)</Name>\\n <Id>us-east-1</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>China North 3</Name>\\n <Id>cn-zhangjiakou</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>Germany (Frankfurt)</Name>\\n <Id>eu-central-1</Id>\\n </RegionEntity>\\n <RegionEntity>\\n <Name>public</Name>\\n <Id>public</Id>\\n </RegionEntity>\\n</RegionEntityList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListAliyunRegion',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ ],
+ 'QueryMigrateRegionList' => [
+ 'path' => '/pop/v5/resource/migrate_region_select',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'RegionEntityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'RegionEntity' => [
+ 'description' => 'The namespaces.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionName' => [
+ 'description' => 'The name of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'Beta',
+ ],
+ 'RegionNo' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:beta',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"RegionEntityList\\": {\\n \\"RegionEntity\\": [\\n {\\n \\"RegionName\\": \\"Beta\\",\\n \\"RegionNo\\": \\"cn-beijing:beta\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RegionEntityList>\\n <RegionEntity>\\n <RegionName>Beta</RegionName>\\n <RegionNo>cn-beijing:beta</RegionNo>\\n </RegionEntity>\\n <RegionEntity>\\n <RegionName>AllFlow</RegionName>\\n <RegionNo>cn-beijing:AllFlow</RegionNo>\\n </RegionEntity>\\n <RegionEntity>\\n <RegionName>doc-test</RegionName>\\n <RegionNo>cn-beijing:doc</RegionNo>\\n </RegionEntity>\\n <RegionEntity>\\n <RegionName>test_region</RegionName>\\n <RegionNo>cn-beijing:test</RegionNo>\\n </RegionEntity>\\n</RegionEntityList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'QueryMigrateRegionList',
+ 'summary' => 'Queries the namespaces to which an instance can be migrated.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListCluster' => [
+ 'summary' => 'Queries clusters.',
+ 'path' => '/pop/v5/resource/cluster_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace. You can call the ListUserDefineRegion operation to query the namespace ID. For more information, see [ListUserDefineRegion](~~149377~~).'."\n"
+ ."\n"
+ .'* If this parameter is left empty, the clusters in the default namespace are queried.'."\n"
+ .'* If this parameter is specified, the clusters in the specified namespace are queried.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group. You can call the ListResourceGroup operation to query the resource group ID. For more information, see [ListResourceGroup](~~62055~~).'."\n"
+ ."\n"
+ .'* If this parameter is left empty, the clusters in the default resource group are queried.'."\n"
+ .'* If this parameter is specified, the clusters in the specified resource group are queried.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '461',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1053-08e4-47a5-b2ab-5c0323de****',
+ ],
+ 'ClusterList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Cluster' => [
+ 'description' => 'The clusters.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'VPC ID'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-23727****',
+ ],
+ 'OversoldFactor' => [
+ 'description' => 'The CPU overcommit ratio that is supported by a Docker cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: 1:1, which means that CPU resources are not overcommitted.'."\n"
+ .'* 2: 1:2, which means that CPU resources are overcommitted by 1:2.'."\n"
+ .'* 4: 1:4, which means that CPU resources are overcommitted by 1:4.'."\n"
+ .'* 8: 1:8, which means that CPU resources are overcommitted by 1:8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The timestamp when the cluster was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1533820823203',
+ ],
+ 'MemUsed' => [
+ 'description' => 'The size of used memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'IaasProvider' => [
+ 'description' => 'The provider of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The timestamp when the cluster was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1502888064561',
+ ],
+ 'CpuUsed' => [
+ 'description' => 'The number of used CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3072',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'CsClusterId' => [
+ 'description' => 'The ID of the cluster in Container Service for Kubernetes (ACK).'."\n",
+ 'type' => 'string',
+ 'example' => 'c2ce************b9203a9',
+ ],
+ 'NetworkMode' => [
+ 'description' => 'The network type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2: virtual private cloud (VPC)'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test'."\n",
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: regular Docker cluster'."\n"
+ .'* 1: Swarm cluster'."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in Enterprise Distributed Application Service (EDAS)'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n"
+ .'* 5: ACK cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => '461',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'cluster-test',
+ ],
+ 'NodeNum' => [
+ 'description' => 'The number of instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster in EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => 'b98b5919-c111-4dad-9f74-7233********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1053-08e4-47a5-b2ab-5c0323de****\\",\\n \\"ClusterList\\": {\\n \\"Cluster\\": [\\n {\\n \\"VpcId\\": \\"vpc-23727****\\",\\n \\"OversoldFactor\\": 1,\\n \\"UpdateTime\\": 1533820823203,\\n \\"MemUsed\\": 200,\\n \\"IaasProvider\\": \\"ALIYUN\\",\\n \\"CreateTime\\": 1502888064561,\\n \\"CpuUsed\\": 1,\\n \\"Mem\\": 3072,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"Cpu\\": 2,\\n \\"CsClusterId\\": \\"c2ce************b9203a9\\",\\n \\"NetworkMode\\": 1,\\n \\"Description\\": \\"测试集群\\",\\n \\"ClusterType\\": 2,\\n \\"ResourceGroupId\\": \\"461\\",\\n \\"ClusterName\\": \\"cluster-test\\",\\n \\"NodeNum\\": 2,\\n \\"ClusterId\\": \\"b98b5919-c111-4dad-9f74-7233********\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ClusterList>\\n <Cluster>\\n <OversoldFactor>1</OversoldFactor>\\n <Description>测试集群</Description>\\n <ResourceGroupId>461</ResourceGroupId>\\n <NodeNum>2</NodeNum>\\n <ClusterId>b98b5919-c111-4dad-9f74-7233********</ClusterId>\\n <CreateTime>1502888064561</CreateTime>\\n <Cpu>2</Cpu>\\n <NetworkMode>1</NetworkMode>\\n <ClusterType>2</ClusterType>\\n <CsClusterId>c2ce************b9203a9</CsClusterId>\\n <MemUsed>200</MemUsed>\\n <Mem>3072</Mem>\\n <VpcId>vpc-23727****</VpcId>\\n <UpdateTime>1533820823203</UpdateTime>\\n <ClusterName>cluster-test</ClusterName>\\n <IaasProvider>ALIYUN</IaasProvider>\\n <RegionId>cn-beijing</RegionId>\\n <CpuUsed>1</CpuUsed>\\n </Cluster>\\n</ClusterList>\\n<RequestId>1053-08e4-47a5-b2ab-5c0323de****</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListCluster',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetCluster' => [
+ 'path' => '/pop/v5/resource/cluster',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster in Enterprise Distributed Application Service (EDAS). You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5439271a-015b-433d-****-d76db49****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The detailed information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'd76db491',
+ ],
+ 'Cluster' => [
+ 'description' => 'The information about the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-xxxxz1mlwpb****',
+ ],
+ 'OversoldFactor' => [
+ 'description' => 'The overcommit ratio supported by a Docker cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: 1:1, which means that resources are not overcommitted.'."\n"
+ .'* 2: 1:2, which means that resources are overcommitted by 1:2.'."\n"
+ .'* 4: 1:4, which means that resources are overcommitted by 1:4.'."\n"
+ .'* 8: 1:8, which means that resources are overcommitted by 1:8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the cluster was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1570708232145',
+ ],
+ 'MemUsed' => [
+ 'description' => 'The size of used memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'IaasProvider' => [
+ 'description' => 'The provider of Infrastructure as a Service (IaaS) resources used in the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the cluster was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1570708232145',
+ ],
+ 'CpuUsed' => [
+ 'description' => 'The number of used CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2048',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the cluster resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'CsClusterId' => [
+ 'description' => 'The ID of the Container Service for Kubernetes (ACK) cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'c2ce62869f4d4466b920312315f05****',
+ ],
+ 'NetworkMode' => [
+ 'description' => 'The network type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2: virtual private cloud (VPC)'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test'."\n",
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: regular Docker cluster'."\n"
+ .'* 1: Swarm cluster'."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in EDAS'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n"
+ .'* 5: ACK cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ClusterTest',
+ ],
+ 'NodeNum' => [
+ 'description' => 'The number of ECS instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'ClusterImportStatus' => [
+ 'description' => 'The import status of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: The cluster is imported.'."\n"
+ .'* 2: The cluster fails to be imported.'."\n"
+ .'* 3: The cluster is being imported.'."\n"
+ .'* 4: The cluster is deleted.'."\n"
+ .'* 0: The cluster is not imported.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '5439271a-015b-433d-befb-d76d****',
+ ],
+ 'SubClusterType' => [
+ 'title' => 'K8S类型集群的子类型:ManagedKubernetes为阿里云ACK集群类型,'."\n"
+ .'Ask为阿里云ASK集群类型,'."\n"
+ .'ExternalKubernetes为外部集群类型',
+ 'description' => 'The subtype of the Kubernetes cluster. Valid values: ManagedKubernetes, Ask, and ExternalKubernetes. ManagedKubernetes refers to the ACK cluster. Ask refers to the Serverless Kubernetes (ASK) cluster. ExternalKubernetes refers to the external cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ManagedKubernetes',
+ 'enum' => [
+ 'ManagedKubernetes',
+ 'Ask',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"d76db491\\",\\n \\"Cluster\\": {\\n \\"VpcId\\": \\"vpc-xxxxz1mlwpb****\\",\\n \\"OversoldFactor\\": 2,\\n \\"UpdateTime\\": 1570708232145,\\n \\"MemUsed\\": 1024,\\n \\"IaasProvider\\": \\"ALIYUN\\",\\n \\"CreateTime\\": 1570708232145,\\n \\"CpuUsed\\": 2,\\n \\"Mem\\": 2048,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Cpu\\": 4,\\n \\"CsClusterId\\": \\"c2ce62869f4d4466b920312315f05****\\",\\n \\"NetworkMode\\": 2,\\n \\"Description\\": \\"测试\\",\\n \\"ClusterType\\": 2,\\n \\"ClusterName\\": \\"ClusterTest\\",\\n \\"NodeNum\\": 4,\\n \\"ClusterImportStatus\\": 0,\\n \\"ClusterId\\": \\"5439271a-015b-433d-befb-d76d****\\",\\n \\"SubClusterType\\": \\"ManagedKubernetes\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<Cluster>\\n <MemUsed>2048</MemUsed>\\n <Mem>2048</Mem>\\n <NetworkMode>2</NetworkMode>\\n <UpdateTime>1570708232145</UpdateTime>\\n <NodeNum>2</NodeNum>\\n <VpcId>vpc-bp19z1mlwpbjx3e9mwefe</VpcId>\\n <OversoldFactor>1</OversoldFactor>\\n <Cpu>2</Cpu>\\n <ClusterId>5439271a-015b-433d-befb-d76db4911b7c</ClusterId>\\n <ClusterName>GTSDemoTesting</ClusterName>\\n <CreateTime>1561444573420</CreateTime>\\n <RegionId>cn-hangzhou</RegionId>\\n <CpuUsed>2</CpuUsed>\\n <ClusterType>2</ClusterType>\\n <IaasProvider>ALIYUN</IaasProvider>\\n</Cluster>","errorExample":""}]',
+ 'title' => 'GetCluster',
+ 'summary' => 'Queries a specific cluster.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListVpc' => [
+ 'path' => '/pop/v5/vpc_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The ID of the request.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The information about VPCs.',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The name of the VPC.',
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'VpcList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'VpcEntity' => [
+ 'description' => 'Indicates whether the VPC is available. Valid values:'."\n"
+ .'- true: The VPC is available.'."\n"
+ .'- false: The VPC is unavailable.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the VPC belongs.',
+ 'type' => 'string',
+ 'example' => 'vpc-wz9pcq3jofczwpujq****',
+ ],
+ 'VpcName' => [
+ 'description' => 'The number of ECS instances associated with the VPC.',
+ 'type' => 'string',
+ 'example' => 'edas-default-vpc4',
+ ],
+ 'Expired' => [
+ 'description' => 'The region ID of the VPC.',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'UserId' => [
+ 'description' => 'GET /pop/v5/vpc_list HTTP/1.1'."\n"
+ .'Common request headers'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_****_test@aliyun-****.com',
+ ],
+ 'EcsNum' => [
+ 'description' => 'This operation uses only common request headers. For more information, see [Common parameters for API calls](~~123488~~). ',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RegionId' => [
+ 'description' => 'No request parameters. ',
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"VpcList\\": {\\n \\"VpcEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9pcq3jofczwpujq****\\",\\n \\"VpcName\\": \\"edas-default-vpc4\\",\\n \\"Expired\\": false,\\n \\"UserId\\": \\"edas_****_test@aliyun-****.com\\",\\n \\"EcsNum\\": 0,\\n \\"RegionId\\": \\"cn-shenzhen\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<VpcList>\\n <VpcEntity>\\n <VpcName>public_auto_test_vpc_</VpcName>\\n <Expired>false</Expired>\\n <RegionId>cn-shenzhen</RegionId>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <EcsNum>2</EcsNum>\\n <VpcId>vpc-wz90fbqjyyvxznxpy****</VpcId>\\n </VpcEntity>\\n <VpcEntity>\\n <VpcName>edas-default-vpc2</VpcName>\\n <Expired>false</Expired>\\n <RegionId>cn-shenzhen</RegionId>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <EcsNum>8</EcsNum>\\n <VpcId>vpc-wz90iikh8t4kdlwlj****</VpcId>\\n </VpcEntity>\\n</VpcList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListVpc',
+ 'summary' => 'Queries virtual private clouds (VPCs). This operation is applicable to Elastic Compute Service (ECS) clusters and Kubernetes clusters.',
+ 'requestParamsDescription' => 'The message returned.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryRegionConfig' => [
+ 'summary' => 'Queries the configurations of different regions that are supported by Enterprise Distributed Application Service (EDAS).',
+ 'path' => '/pop/v5/region_config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'RegionConfig' => [
+ 'description' => 'The information about region configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'No' => [
+ 'description' => 'The serial number of the region. This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'AddressServerHost' => [
+ 'description' => 'The domain name of Address Server.'."\n",
+ 'type' => 'string',
+ 'example' => '****.edas.aliyun.com',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag of the region. The value is fixed to `ALIYUN_SHARE`.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN_SHARE',
+ ],
+ 'AgentInstallScript' => [
+ 'description' => 'The installation path of the script for EDAS Agent.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas-qd.oss-cn-****-internal.aliyuncs.com/****sh',
+ ],
+ 'FileServerType' => [
+ 'description' => 'The type of the file server.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss',
+ ],
+ 'Name' => [
+ 'description' => 'The configured name of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'China (Beijing)'."\n",
+ ],
+ 'ImageId' => [
+ 'description' => 'The ID of the official image.'."\n",
+ 'type' => 'string',
+ 'example' => 'm-2zea4hx8f9zxqah2****',
+ ],
+ 'Id' => [
+ 'description' => 'The configured ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'FileServerConfig' => [
+ 'description' => 'The information about the file server.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'InternalUrl' => [
+ 'description' => 'The internal endpoint of the file server.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-beijing-****.aliyuncs.com',
+ ],
+ 'PublicUrl' => [
+ 'description' => 'The public endpoint of the file server.'."\n",
+ 'type' => 'string',
+ 'example' => 'oss-cn-beijing.aliyuncs.com',
+ ],
+ 'VpcUrl' => [
+ 'description' => 'The virtual private cloud (VPC) endpoint of the file server.'."\n",
+ 'type' => 'string',
+ 'example' => 'v*****-oss-cn-beijing.aliyuncs.com',
+ ],
+ 'Bucket' => [
+ 'description' => 'The Object Storage Service (OSS) bucket of the file server.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas-bj',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"RegionConfig\\": {\\n \\"No\\": 1,\\n \\"AddressServerHost\\": \\"****.edas.aliyun.com\\",\\n \\"Tag\\": \\"ALIYUN_SHARE\\",\\n \\"AgentInstallScript\\": \\"http://edas-qd.oss-cn-****-internal.aliyuncs.com/****sh\\",\\n \\"FileServerType\\": \\"oss\\",\\n \\"Name\\": \\"华北2\\",\\n \\"ImageId\\": \\"m-2zea4hx8f9zxqah2****\\",\\n \\"Id\\": \\"cn-beijing\\",\\n \\"FileServerConfig\\": {\\n \\"InternalUrl\\": \\"oss-cn-beijing-****.aliyuncs.com\\",\\n \\"PublicUrl\\": \\"oss-cn-beijing.aliyuncs.com\\",\\n \\"VpcUrl\\": \\"v*****-oss-cn-beijing.aliyuncs.com\\",\\n \\"Bucket\\": \\"edas-bj\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RegionConfig>\\n <Name>华北2</Name>\\n <ImageId>m-2zea****qah2as71</ImageId>\\n <FileServerType>oss</FileServerType>\\n <FileServerConfig>\\n <InternalUrl>oss-cn-****-internal.aliyuncs.com</InternalUrl>\\n <PublicUrl>oss-cn-****.aliyuncs.com</PublicUrl>\\n <Bucket>edas-bj</Bucket>\\n <VpcUrl>****-oss-cn-beijing.aliyuncs.com</VpcUrl>\\n </FileServerConfig>\\n <Tag>ALIYUN_SHARE</Tag>\\n <AddressServerHost>addr-bj-****.edas.aliy*un.com</AddressServerHost>\\n <Id>cn-beijing</Id>\\n <No>0</No>\\n <AgentInstallScript>http://edas-****-cn-qingdao-***.aliyuncs.com/****.sh</AgentInstallScript>\\n</RegionConfig>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'QueryRegionConfig',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListApplicationEcu' => [
+ 'path' => '/pop/v5/resource/ecu_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application whose ECUs you want to query. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'e809****-43d7-4c6b-8e01-b0d9d1db****',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the microservices namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:***wei',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'EcuInfoList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcuEntity' => [
+ 'description' => 'The information about ECUs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8**********',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECU was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1599803995894',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The internal IP address allocated to the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.XXX.XXX',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1542692376066',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the ECU belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '****_common_****@aliyun.com',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the Elastic Compute Service (ECS) instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2zej4i2jdf*********',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU. To query the ID, you can run the `dmidecode` command on the ECS instance that corresponds to the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '0de2ebdb-9490-4fc4-be41***************',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'e809****-43d7-4c6b-8e01-b0d9d1db****',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed. Valid values:'."\n"
+ ."\n"
+ .'* true: Docker is installed.'."\n"
+ .'* false: Docker is not installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECU is online.'."\n"
+ .'* false: The ECU is offline.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of available memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040819',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"EcuInfoList\\": {\\n \\"EcuEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef6ob8**********\\",\\n \\"UpdateTime\\": 1599803995894,\\n \\"IpAddr\\": \\"192.168.XXX.XXX\\",\\n \\"AvailableCpu\\": 1,\\n \\"CreateTime\\": 1542692376066,\\n \\"UserId\\": \\"****_common_****@aliyun.com\\",\\n \\"InstanceId\\": \\"i-2zej4i2jdf*********\\",\\n \\"Mem\\": 500,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EcuId\\": \\"0de2ebdb-9490-4fc4-be41***************\\",\\n \\"Cpu\\": 1,\\n \\"AppId\\": \\"e809****-43d7-4c6b-8e01-b0d9d1db****\\",\\n \\"DockerEnv\\": true,\\n \\"Online\\": true,\\n \\"AvailableMem\\": 200,\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"Name\\": \\"test\\",\\n \\"HeartbeatTime\\": 1573281040819\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListApplicationEcuResponse>\\n <Code>200</Code>\\n <Message>success</Message>\\n <RequestId>b197-40ab-9155-7ca7</RequestId>\\n <EcuInfoList>\\n <VpcId>vpc-2zef6ob8**********</VpcId>\\n <UpdateTime>1599803995894</UpdateTime>\\n <IpAddr>192.123.XX.XX</IpAddr>\\n <AvailableCpu>1</AvailableCpu>\\n <CreateTime>1542692376066</CreateTime>\\n <UserId>****_common_****@aliyun.com</UserId>\\n <InstanceId>i-2zej4i2jdf*********</InstanceId>\\n <Mem>500</Mem>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>0de2ebdb-9490-4fc4-be41***************</EcuId>\\n <Cpu>1</Cpu>\\n <AppId>e809****-43d7-4c6b-8e01-b0d9d1db****</AppId>\\n <DockerEnv>true</DockerEnv>\\n <Online>true</Online>\\n <AvailableMem>200</AvailableMem>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <Name>test</Name>\\n <HeartbeatTime>1573281040819</HeartbeatTime>\\n </EcuInfoList>\\n</ListApplicationEcuResponse>","errorExample":""}]',
+ 'title' => 'ListApplicationEcu',
+ 'summary' => 'Queries elastic compute units (ECUs).',
+ 'requestParamsDescription' => '* If AppId is set, the ECUs of the specified application will be queried.'."\n"
+ .'* If AppId is not set, the ECUs in the current region will be queried.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListResourceGroup' => [
+ 'path' => '/pop/v5/resource/reg_group_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'ResourceGroupList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ResGroupEntity' => [
+ 'description' => 'For more information about how to define a resource group, see ResGroupEntity.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the resource group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the resource group was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040827',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'QqLZDA3pBZ',
+ ],
+ 'AdminUserId' => [
+ 'description' => 'The UID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => '****@aliyun.com',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the resource group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1557890594376',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'TIa2LGixyD',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '8592',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the resource group belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-qingdao',
+ ],
+ 'ecsList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcsEntity' => [
+ 'description' => 'The Elastic Compute Service (ECS) instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the ECS instances.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The unique ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp13evu4aayj2t1er****',
+ ],
+ 'SgId' => [
+ 'description' => 'The ID of the security group.'."\n",
+ 'type' => 'string',
+ 'example' => 'sg-m5eajgzn6b8sg9mv****',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the ECS instance. Valid values:'."\n"
+ ."\n"
+ .'* Pending: The ECS instance is being created.'."\n"
+ .'* Running: The ECS instance is running.'."\n"
+ .'* Starting: The ECS instance is being started.'."\n"
+ .'* Stopping: The ECS instance is being stopped.'."\n"
+ .'* Stopped: The ECS instance is stopped.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'PrivateIp' => [
+ 'description' => 'The private IP address of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xx.xxx',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the ECS instance has expired. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECS instance has expired.'."\n"
+ .'* false: The ECS instance has not expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user account.'."\n",
+ 'type' => 'string',
+ 'example' => '****_common_****@aliyun.com',
+ ],
+ 'HostName' => [
+ 'description' => 'The name of the host.'."\n",
+ 'type' => 'string',
+ 'example' => 'iZm5e853hvvrodnvqus****',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-m5e853hvvrodnvqu****',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'ch-hangzhou',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'InnerIp' => [
+ 'description' => 'The private IP address.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xx.xxx',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the resource group in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'example' => '64189****',
+ ],
+ 'Eip' => [
+ 'description' => 'The elastic IP address (EIP).'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xxx.xx',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'betabjmixcoud_01',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-qingdao-h',
+ ],
+ 'SerialNum' => [
+ 'description' => 'The serial number of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '98b480b8-458b-4ff3-84b9-cf7097c5****',
+ ],
+ 'PublicIp' => [
+ 'description' => 'The public IP address.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xx.xxx',
+ ],
+ 'EcuEntity' => [
+ 'description' => 'The elastic compute unit (ECU) that corresponds to the ECS instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2ze1ram356umxs598****',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECU was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040827',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xxx.xx',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPUs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1557890594376',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user associated with the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_****_test@aliyun-****.com',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2zej4i2jdf*********',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing ',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the elastic compute unit (ECU). You can run the `dmidecode` command on the ECS instance to query the ECU ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0de2ebdb-9490-4fc4-be41***************',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed. Valid values:'."\n"
+ ."\n"
+ .'* true: Docker is installed.'."\n"
+ .'* false: Docker is not installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECU is online.'."\n"
+ .'* false: The ECU is offline.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of the available memory.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-b',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040819',
+ ],
+ ],
+ ],
+ 'VpcEntity' => [
+ 'description' => 'The VPCs.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The status of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'Running',
+ ],
+ 'VpcName' => [
+ 'description' => 'The name of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'VpcId' => [
+ 'description' => 'The unique ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp13evu42t1er****',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the VPC has expired. Valid values:'."\n"
+ ."\n"
+ .'* true: The VPC has expired.'."\n"
+ .'* false: The VPC has not expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Cidrblock' => [
+ 'description' => 'The IPv4 CIDR block of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xx.xxx',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user.'."\n",
+ 'type' => 'string',
+ 'example' => '****_common_****@aliyun.com',
+ ],
+ 'EcsNum' => [
+ 'description' => 'The number of ECS instances that run in the VPC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-qingdao',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'SlbList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SlbEntity' => [
+ 'description' => 'The Server Load Balancer (SLB) instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about SLB instances.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SlbId' => [
+ 'description' => 'The unique ID of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-2zebf1fpbpkc7dnro****',
+ ],
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-m5e666n89m2bx8jar****',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-mktkxkhah14****',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the SLB instance has expired. Valid values:'."\n"
+ ."\n"
+ .'* true: The SLB instance has expired.'."\n"
+ .'* false: The SLB instance has not expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UserId' => [
+ 'description' => 'The UID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => '****@aliyun.com',
+ ],
+ 'AddressType' => [
+ 'description' => 'The type of the IP address of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* Internet: Users can connect to the SLB instance over the Internet.'."\n"
+ .'* Intranet: Users can connect to the SLB instance over the internal network.'."\n",
+ 'type' => 'string',
+ 'example' => 'Intranet',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The network type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* Classic network'."\n"
+ .'* VPC'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the group to which the SLB instance belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '64189****',
+ ],
+ 'Address' => [
+ 'description' => 'The IP address of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xxx.xx',
+ ],
+ 'SlbName' => [
+ 'description' => 'The name of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'a9315af59b4cd11e9a18c00163e1****',
+ ],
+ 'SlbStatus' => [
+ 'description' => 'The status of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'active',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"ResourceGroupList\\": {\\n \\"ResGroupEntity\\": [\\n {\\n \\"UpdateTime\\": 1573281040827,\\n \\"Description\\": \\"QqLZDA3pBZ\\",\\n \\"AdminUserId\\": \\"****@aliyun.com\\",\\n \\"CreateTime\\": 1557890594376,\\n \\"Name\\": \\"TIa2LGixyD\\",\\n \\"Id\\": 8592,\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"ecsList\\": {\\n \\"EcsEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp13evu4aayj2t1er****\\",\\n \\"SgId\\": \\"sg-m5eajgzn6b8sg9mv****\\",\\n \\"Status\\": \\"Running\\",\\n \\"PrivateIp\\": \\"192.168.xx.xxx\\",\\n \\"Expired\\": true,\\n \\"UserId\\": \\"****_common_****@aliyun.com\\",\\n \\"HostName\\": \\"iZm5e853hvvrodnvqus****\\",\\n \\"InstanceId\\": \\"i-m5e853hvvrodnvqu****\\",\\n \\"Mem\\": 1,\\n \\"RegionId\\": \\"ch-hangzhou\\",\\n \\"Cpu\\": 2,\\n \\"InnerIp\\": \\"192.168.xx.xxx\\",\\n \\"GroupId\\": \\"64189****\\",\\n \\"Eip\\": \\"192.168.xxx.xx\\",\\n \\"Description\\": \\"test\\",\\n \\"InstanceName\\": \\"betabjmixcoud_01\\",\\n \\"ZoneId\\": \\"cn-qingdao-h\\",\\n \\"SerialNum\\": \\"98b480b8-458b-4ff3-84b9-cf7097c5****\\",\\n \\"PublicIp\\": \\"192.168.xx.xxx\\",\\n \\"EcuEntity\\": {\\n \\"VpcId\\": \\"vpc-2ze1ram356umxs598****\\",\\n \\"UpdateTime\\": 1573281040827,\\n \\"IpAddr\\": \\"192.168.xxx.xx\\",\\n \\"AvailableCpu\\": 1,\\n \\"CreateTime\\": 1557890594376,\\n \\"UserId\\": \\"edas_****_test@aliyun-****.com\\",\\n \\"InstanceId\\": \\"i-2zej4i2jdf*********\\",\\n \\"Mem\\": 200,\\n \\"RegionId\\": \\"cn-beijing \\",\\n \\"EcuId\\": \\"0de2ebdb-9490-4fc4-be41***************\\",\\n \\"Cpu\\": 2,\\n \\"DockerEnv\\": true,\\n \\"Online\\": true,\\n \\"AvailableMem\\": 200,\\n \\"ZoneId\\": \\"cn-beijing-b\\",\\n \\"Name\\": \\"test\\",\\n \\"HeartbeatTime\\": 1573281040819\\n },\\n \\"VpcEntity\\": {\\n \\"Status\\": \\"Running\\",\\n \\"VpcName\\": \\"test\\",\\n \\"VpcId\\": \\"vpc-bp13evu42t1er****\\",\\n \\"Description\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Expired\\": true,\\n \\"Cidrblock\\": \\"192.168.xx.xxx\\",\\n \\"UserId\\": \\"****_common_****@aliyun.com\\",\\n \\"EcsNum\\": 1,\\n \\"RegionId\\": \\"cn-qingdao\\"\\n }\\n }\\n ]\\n },\\n \\"SlbList\\": {\\n \\"SlbEntity\\": [\\n {\\n \\"SlbId\\": \\"lb-2zebf1fpbpkc7dnro****\\",\\n \\"VpcId\\": \\"vpc-m5e666n89m2bx8jar****\\",\\n \\"VswitchId\\": \\"vsw-mktkxkhah14****\\",\\n \\"Expired\\": true,\\n \\"UserId\\": \\"****@aliyun.com\\",\\n \\"AddressType\\": \\"Intranet\\",\\n \\"NetworkType\\": \\"vpc\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"GroupId\\": 0,\\n \\"Address\\": \\"192.168.xxx.xx\\",\\n \\"SlbName\\": \\"a9315af59b4cd11e9a18c00163e1****\\",\\n \\"SlbStatus\\": \\"active\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b197-40ab-9155-7ca7</RequestId>\\n<Message>success</Message>\\n<ResourceGroupList>\\n <ResGroupEntity>\\n <Description>QqLZDA3pBZ</Description>\\n <CreateTime>1557890594376</CreateTime>\\n <UpdateTime>1573281040827</UpdateTime>\\n <AdminUserId>117274586608****</AdminUserId>\\n <RegionId>cn-qingdao</RegionId>\\n <Id>8592</Id>\\n <ecsList>\\n <EcsEntity>\\n <Status>Running</Status>\\n <VpcEntity>\\n <Status>Running</Status>\\n <Description>\\"\\"</Description>\\n <VpcId>vpc-bp13evu4aayj2t1er****</VpcId>\\n <UserId>****_common_****@aliyun.com</UserId>\\n <EcsNum>1</EcsNum>\\n <Expired>true</Expired>\\n <Cidrblock>130.3</Cidrblock>\\n <VpcName>test</VpcName>\\n <RegionId>cn-qingdao</RegionId>\\n </VpcEntity>\\n <Description>\\"\\"</Description>\\n <ZoneId>cn-qingdao-h</ZoneId>\\n <InnerIp>192.168.xx.xxx</InnerIp>\\n <PublicIp>130.30.xx.xxx</PublicIp>\\n <InstanceId>i-m5e853hvvrodnvqu****</InstanceId>\\n <SgId>sg-m5eajgzn6b8sg9mv****</SgId>\\n <Cpu>2</Cpu>\\n <Expired>true</Expired>\\n <Eip>130.30.xx.xxx</Eip>\\n <GroupId>0</GroupId>\\n <InstanceName>betabjmixcoud_01</InstanceName>\\n <SerialNum>98b480b8-458b-4ff3-84b9-cf7097c5****</SerialNum>\\n <Mem>1</Mem>\\n <VpcId>vpc-bp13evu4aayj2t1er****</VpcId>\\n <PrivateIp>192.168.xx.xxx</PrivateIp>\\n <UserId>****_common_****@aliyun.com</UserId>\\n <EcuEntity>\\n <IpAddr>192.168.xxx.xx</IpAddr>\\n <ZoneId>cn-beijing-b</ZoneId>\\n <InstanceId>i-2zej4i2jdf*********</InstanceId>\\n <CreateTime>1557890594376</CreateTime>\\n <Cpu>2</Cpu>\\n <EcuId>0de2ebdb-9490-4fc4-be41***************</EcuId>\\n <AvailableMem>200</AvailableMem>\\n <HeartbeatTime>1573281040819</HeartbeatTime>\\n <Name>test</Name>\\n <Mem>200</Mem>\\n <VpcId>vpc-2ze1ram356umxs598****</VpcId>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <UpdateTime>1573281040827</UpdateTime>\\n <RegionId>cn-beijing</RegionId>\\n <Online>true</Online>\\n <AvailableCpu>1</AvailableCpu>\\n <DockerEnv>true</DockerEnv>\\n </EcuEntity>\\n <RegionId>ch-hangzhou</RegionId>\\n <HostName>iZm5e853hvvrodnvqus****</HostName>\\n </EcsEntity>\\n </ecsList>\\n <SlbList>\\n <SlbEntity>\\n <SlbId>lb-2zebf1fpbpkc7dnro****</SlbId>\\n <VpcId>641897243</VpcId>\\n <Address>192.168.xxx.xx</Address>\\n <NetworkType>vpc</NetworkType>\\n <UserId>641897243</UserId>\\n <Expired>true</Expired>\\n <RegionId>cn-beijing</RegionId>\\n <AddressType>Intranet</AddressType>\\n <VswitchId>641897243</VswitchId>\\n <SlbName>a9315af59b4cd11e9a18c00163e1****</SlbName>\\n <GroupId>641897243</GroupId>\\n <SlbStatus>active</SlbStatus>\\n </SlbEntity>\\n </SlbList>\\n <Name>TIa2LGixyD</Name>\\n </ResGroupEntity>\\n</ResourceGroupList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListResourceGroup',
+ 'summary' => 'Queries resource groups.',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries the tags that are added to resources.',
+ 'path' => '/pop/v5/tag/tags',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource. Valid values:'."\n"
+ ."\n"
+ .'* **application**: Enterprise Distributed Application Service (EDAS) application'."\n"
+ .'* **cluster**: EDAS cluster'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'application',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the resources. You can specify up to 20 IDs. Set this parameter to a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877"]',
+ ],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The key-value pairs that specify the tags.'."\n"
+ ."\n"
+ .'* You can add up to 20 tags to a resource.'."\n"
+ .'* The key cannot start with **aliyun** or **acs:** and cannot contain **http://** or **https://**.'."\n"
+ .'* The tag key or tag value can be up to 128 characters in length, and can contain letters, digits, hyphens (-), commas (,), asterisks (\\*), forward slashes (/), question marks (?), and colons (:).'."\n"
+ .'* Set this parameter to a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"key":"key1","value":"v1"},{"key":"key2","value":"v2"}]',
+ ],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region in which the resource resides.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'xxxxE654-xxxx-xxxx-xxxx-98F45996xxxx',
+ ],
+ 'TagResources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TagResource' => [
+ 'description' => 'The information about resource tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TagValue' => [
+ 'description' => 'The tag value of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'value1',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN::EDAS::APPLICATION',
+ ],
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => '000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877',
+ ],
+ 'TagKey' => [
+ 'description' => 'The tag key of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'key1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.InstanceNotExist.Instance.message',
+ 'errorMessage' => 'The instance does not exist.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"xxxxE654-xxxx-xxxx-xxxx-98F45996xxxx\\",\\n \\"TagResources\\": {\\n \\"TagResource\\": [\\n {\\n \\"TagValue\\": \\"value1\\",\\n \\"ResourceType\\": \\"ALIYUN::EDAS::APPLICATION\\",\\n \\"ResourceId\\": \\"000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877\\",\\n \\"TagKey\\": \\"key1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>xxxxE654-xxxx-xxxx-xxxx-98F45996xxxx</RequestId>\\n<TagResources>\\n <TagResource>\\n <ResourceId>000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877</ResourceId>\\n <TagKey>key1</TagKey>\\n <ResourceType>ALIYUN::EDAS::APPLICATION</ResourceType>\\n <TagValue>value1</TagValue>\\n </TagResource>\\n</TagResources>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListTagResources',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Creates tags and adds the tags to resources at a time.',
+ 'path' => '/pop/v5/tag/tags',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource. Valid values:'."\n"
+ ."\n"
+ .'* **application**: Enterprise Distributed Application Service (EDAS) application'."\n"
+ .'* **cluster**: EDAS cluster'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'application',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the resources. You can specify up to 20 IDs in the format of a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877"]',
+ ],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The key-value pairs. When you set this parameter, take note of the following limits:'."\n"
+ ."\n"
+ .'* You can add up to 20 tags to a resource.'."\n"
+ .'* The tag key cannot start with **aliyun** or **acs:**. It cannot contain **http://** or **https://**.'."\n"
+ .'* The tag key or tag value can be up to 128 characters in length, and can contain letters, digits, hyphens (-), commas (,), asterisks (\\*), forward slashes (/), question marks (?), and colons (:).'."\n"
+ .'* Set this parameter to a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"key":"key1","value":"v1"},{"key":"key2","value":"v2"}]',
+ ],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region in which the resource resides.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.InstanceNotExist.Instance.message',
+ 'errorMessage' => 'The instance does not exist.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'TagResources',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UntagResources' => [
+ 'summary' => 'Removes one or more tags from one or more resources.',
+ 'path' => '/pop/v5/tag/tags',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region in which the resource resides.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource. Valid values:'."\n"
+ ."\n"
+ .'* **application**: Enterprise Distributed Application Service (EDAS) application'."\n"
+ .'* **cluster**: EDAS cluster'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'application',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the resources from which you want to remove tags. You can specify up to 20 IDs.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '["f5ad6ff7-xxxx-xxxx-xxxx-2axxxx82xxxx"]',
+ ],
+ ],
+ [
+ 'name' => 'TagKeys',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tags that you want to remove. You can specify up to 20 tags. Set this parameter to a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["tagKey1","tagKey2"]',
+ ],
+ ],
+ [
+ 'name' => 'DeleteAll',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to remove all existing tags from the specified resources. Default value: false. Valid values:'."\n"
+ ."\n"
+ .'* **true**: removes all existing tags from the specified resources.'."\n"
+ .'* **false**: does not remove all existing tags from the specified resources.'."\n"
+ ."\n"
+ .'> All existing tags of a resource are removed only if the **tagKeys** parameter is left empty and the **DeleteAll** parameter is set to true.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.InstanceNotExist.Instance.message',
+ 'errorMessage' => 'The instance does not exist.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UntagResources',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateIDCImportCommand' => [
+ 'summary' => 'Generates a command that is used to import instances to a hybrid cloud Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/create_idc_import_command',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The cluster ID. You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '7246cxxx-53xx-xxxx-xxxx-xxxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The generated import command.'."\n",
+ 'type' => 'string',
+ 'example' => 'wget -q -O /tmp/install.sh http://edas-hz.oss-cn-hangzhou-internal.aliyuncs.com/install.sh && sh /tmp/install.sh -idcToken xxxx-xxxxx-xxxxx-xxxxxxx -edasId xxxxxxxxxxxxxx',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'UnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"wget -q -O /tmp/install.sh http://edas-hz.oss-cn-hangzhou-internal.aliyuncs.com/install.sh && sh /tmp/install.sh -idcToken xxxx-xxxxx-xxxxx-xxxxxxx -edasId xxxxxxxxxxxxxx\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>b197-40ab-9155-7ca7</RequestId>\\n<Data>wget -q -O /root/install.sh http://edas-hz.oss-cn-hangzhou-internal.aliyuncs.com/install.sh &amp;&amp; sh /root/install.sh -idcToken xxxx-xxxxx-xxxxx-xxxxxxx -edasId xxxxxxxxxxxxxx</Data>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'CreateIDCImportCommand',
+ 'description' => '## Description'."\n"
+ ."\n"
+ .'You must call the CreateIDCImportCommand operation first to generate a command used to import hybrid cloud ECS instances to a hybrid cloud ECS cluster. Then, run this command on the instances to import the instances to the cluster.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteClusterMember' => [
+ 'summary' => 'Removes an Elastic Compute Service (ECS) instance from a cluster.',
+ 'path' => '/pop/v5/resource/cluster_member',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '52984524-****-****-85f2-a34b0e5bb521',
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ClusterMemberId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The member ID of the ECS instance that you want to remove from the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'i-2zej4i2jdf3****jigng',
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'Indicates whether the request is successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": true,\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\"\\n}","errorExample":""},{"type":"xml","example":"<Data>ok</Data>\\n<Code>200</Code>\\n<Message>success</Message>","errorExample":""}]',
+ 'title' => 'DeleteClusterMember',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteEcu' => [
+ 'summary' => 'Deletes an Elastic Compute Unit (ECU).',
+ 'path' => '/pop/v5/resource/delete_ecu',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EcuId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unique ID of the ECU to be deleted.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5c0b8c82-4ba9-****-****-130a34ffa534',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The returned data that indicates whether the ECU is deleted. A value of `OK` indicates that the ECU is deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'fb08fd29-b197-40ab-****-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"OK\\",\\n \\"RequestId\\": \\"fb08fd29-b197-40ab-****-****\\"\\n}","errorExample":""},{"type":"xml","example":"<Data>OK</Data>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteEcu',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListClusterMembers' => [
+ 'path' => '/pop/v5/resource/cluster_member_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '52984524-6d48-4bbd-85f2-a34b0e5b****',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. If you do not specify this parameter, the first page is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of ECS instances to return on each page. If you do not specify this parameter, all ECS instances in the specified cluster are returned on one page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'EcsList',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of ECS instances.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'ClusterMemberPage' => [
+ 'description' => 'The information about the ECS instances in the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CurrentPage' => [
+ 'description' => 'The page number of the returned page. If this parameter is not returned, the first page is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of ECS instances returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalSize' => [
+ 'description' => 'The total number of pages returned when all ECS instances are returned based on the specified PageSize parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'ClusterMemberList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ClusterMember' => [
+ 'description' => 'The list of ECS instances in the cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about ECS instances in the cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The state of the ECS instance. Valid values:'."\n"
+ ."\n"
+ .'* 1: The instance is running.'."\n"
+ .'* 0: The instance is being converted.'."\n"
+ .'* \\-1: The instance fails to be converted.'."\n"
+ .'* \\-2: The instance is offline.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The timestamp when the ECS instance was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281041113',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the elastic compute unit (ECU). You can run the `dmidecode` command on the ECS instance to query the ECU ID.'."\n",
+ 'type' => 'string',
+ 'example' => '70ed3f59-b476-49aa-be09-9e6c375d****',
+ ],
+ 'EcsId' => [
+ 'description' => 'The ID of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2zej4i2jdf3ntwhj****',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The timestamp when the ECS instance was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281038175',
+ ],
+ 'ClusterMemberId' => [
+ 'description' => 'The ID of the ECS instance in the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'adb03eeb-3adf-4d7e-afe1-03d1ad45****',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '52984524-6d48-4bbd-85f2-a34b0e5b****',
+ ],
+ 'PrivateIp' => [
+ 'title' => 'ECS私网IP',
+ 'description' => 'The private IP address for the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '172.16.XX.XX',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"ClusterMemberPage\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 5,\\n \\"ClusterMemberList\\": {\\n \\"ClusterMember\\": [\\n {\\n \\"Status\\": 1,\\n \\"UpdateTime\\": 1573281041113,\\n \\"EcuId\\": \\"70ed3f59-b476-49aa-be09-9e6c375d****\\",\\n \\"EcsId\\": \\"i-2zej4i2jdf3ntwhj****\\",\\n \\"CreateTime\\": 1573281038175,\\n \\"ClusterMemberId\\": \\"adb03eeb-3adf-4d7e-afe1-03d1ad45****\\",\\n \\"ClusterId\\": \\"52984524-6d48-4bbd-85f2-a34b0e5b****\\",\\n \\"PrivateIp\\": \\"172.16.XXX.XXX\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<ListClusterMembersResponse>\\n <Message>success</Message>\\n <RequestId>b197-40ab-9155-****</RequestId>\\n <ClusterMemberPage>\\n <ClusterMemberList>\\n <ClusterMember>\\n <Status>1</Status>\\n <ClusterId>52984524-6d48-4bbd-85f2-a34b0e5b****</ClusterId>\\n <CreateTime>1573281038175</CreateTime>\\n <UpdateTime>1573281041113</UpdateTime>\\n <EcuId>70ed3f59-b476-49aa-be09-9e6c375d****</EcuId>\\n <ClusterMemberId>adb03eeb-3adf-4d7e-afe1-03d1ad45****</ClusterMemberId>\\n <EcsId>i-2zej4i2jdf3ntwhj****</EcsId>\\n </ClusterMember>\\n </ClusterMemberList>\\n <PageSize>10</PageSize>\\n <CurrentPage>1</CurrentPage>\\n <TotalSize>5</TotalSize>\\n </ClusterMemberPage>\\n <Code>200</Code>\\n</ListClusterMembersResponse>","errorExample":""}]',
+ 'title' => 'ListClusterMembers',
+ 'summary' => 'Queries Elastic Compute Service (ECS) instances in a cluster.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListEcuByRegion' => [
+ 'path' => '/pop/v5/resource/ecu_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `region ID:namespace identifier` format. Example: cn-beijing:tdy218.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing or cn-beijing:tdy218'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Act',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Set the value to `pop-query`.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'pop-query',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '00000000-0000-0000-****',
+ ],
+ 'EcuEntityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcuEntity' => [
+ 'description' => 'The information about ECUs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details about ECUs.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) in which the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zew8mi6gqbo5wf****',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The timestamp when the ECU was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1572867895575',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.xxx.xxx',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPU cores for the ECU.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The timestamp when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1572539283168',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas@aliyun-****.com',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2ze82h8f4zcn449y****',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region in which the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU. To query the ID, you can run the `dmidecode` command on the ECS instance that corresponds to the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'c96c494c-1b91-4456-bbb3-b5afcd16****',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed. Valid values:'."\n"
+ ."\n"
+ .'* true: Docker is installed.'."\n"
+ .'* false: Docker is not installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECU is online.'."\n"
+ .'* false: The ECU is offline.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of available memory for the ECU. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8192',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone in which the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-a',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'worker-k8s-for',
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The timestamp when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1572867865221',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"00000000-0000-0000-****\\",\\n \\"EcuEntityList\\": {\\n \\"EcuEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zew8mi6gqbo5wf****\\",\\n \\"UpdateTime\\": 1572867895575,\\n \\"IpAddr\\": \\"192.168.xxx.xxx\\",\\n \\"AvailableCpu\\": 4,\\n \\"CreateTime\\": 1572539283168,\\n \\"UserId\\": \\"edas@aliyun-****.com\\",\\n \\"InstanceId\\": \\"i-2ze82h8f4zcn449y****\\",\\n \\"Mem\\": 0,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EcuId\\": \\"c96c494c-1b91-4456-bbb3-b5afcd16****\\",\\n \\"Cpu\\": 0,\\n \\"DockerEnv\\": true,\\n \\"Online\\": false,\\n \\"AvailableMem\\": 8192,\\n \\"ZoneId\\": \\"cn-beijing-a\\",\\n \\"Name\\": \\"worker-k8s-for\\",\\n \\"HeartbeatTime\\": 1572867865221\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<EcuEntityList>\\n <EcuEntity>\\n <AvailableMem>8192</AvailableMem>\\n <Mem>0</Mem>\\n <AvailableCpu>4</AvailableCpu>\\n <InstanceId>i-2ze82h8f4zcn449y****</InstanceId>\\n <Online>false</Online>\\n <UpdateTime>1572867895575</UpdateTime>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <ZoneId>cn-beijing-a</ZoneId>\\n <VpcId>vpc-2zew8mi6gqbo5wf3r****</VpcId>\\n <IpAddr>192.168.0.115</IpAddr>\\n <Name>worker-k8s-for-cs</Name>\\n <Cpu>0</Cpu>\\n <HeartbeatTime>1572867865221</HeartbeatTime>\\n <CreateTime>1572539283168</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>c96c494c-1b91-4456-bbb3-b5afcd16****</EcuId>\\n <DockerEnv>true</DockerEnv>\\n </EcuEntity>\\n <EcuEntity>\\n <AvailableMem>2048</AvailableMem>\\n <Mem>0</Mem>\\n <AvailableCpu>2</AvailableCpu>\\n <InstanceId>i-2zej4i2jdf3ntwh****</InstanceId>\\n <Online>true</Online>\\n <UpdateTime>1573281041150</UpdateTime>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2zef6ob8mrlzv8x3q****</VpcId>\\n <IpAddr>192.168.0.154</IpAddr>\\n <Name>product_test004</Name>\\n <Cpu>0</Cpu>\\n <HeartbeatTime>1573281041143</HeartbeatTime>\\n <CreateTime>1573281041143</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>cfe7f474-3861-453e-b236-887d4932****</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuEntity>\\n</EcuEntityList>","errorExample":""}]',
+ 'title' => 'ListEcuByRegion',
+ 'summary' => 'Queries the available elastic compute units (ECUs) in a specified namespace.',
+ 'description' => '## Terms'."\n"
+ ."\n"
+ .'* **Namespace**: the logical concept that is used to isolate resources such as clusters, ECS instances, and applications, and microservices published in EDAS. This concept involves the default namespace and custom namespaces. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources and microservices.'."\n"
+ .'* **Elastic compute unit (ECU)**: After an ECS instance is imported to a cluster, the instance becomes an ECU.'."\n"
+ .'* **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListConvertableEcu' => [
+ 'path' => '/pop/v5/resource/convertable_ecu_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'clusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b3e3f77b-462e-****-****-bec8727a****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'InstanceList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Instance' => [
+ 'description' => 'The ECS instances that can be imported to the cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about ECS instances.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8m************',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the instance. Valid values:'."\n"
+ ."\n"
+ .'* Pending: The instance is being created.'."\n"
+ .'* Running: The instance is running.'."\n"
+ .'* Starting: The instance is being started.'."\n"
+ .'* Stopping: The instance is being stopped.'."\n"
+ .'* Stopped: The instance is stopped.'."\n",
+ 'type' => 'string',
+ 'example' => ' Running',
+ ],
+ 'PrivateIp' => [
+ 'description' => 'The private IP address of the ECS instance. This parameter is valid only when the ECS instance is deployed in a VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '192.XX.XX.123',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the ECS instance has expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2ze7s2v0b***********',
+ ],
+ 'Mem' => [
+ 'description' => 'The size of memory for the ECS instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4096',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the ECS instance is located.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'VpcName' => [
+ 'description' => 'The name of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'jianwei-test',
+ ],
+ 'EcuId' => [
+ 'description' => 'The ID of the elastic compute units (ECU).'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores of the ECS instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'InnerIp' => [
+ 'description' => 'The private IP address of the ECS instance. This parameter is valid only when the ECS instance is deployed in a VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.13.xx',
+ ],
+ 'Eip' => [
+ 'description' => 'The elastic IP address (EIP) associated with the ECS instance. The EIP can be changed.'."\n",
+ 'type' => 'string',
+ 'example' => '13.xx.xxx.xx',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'worker-k8s',
+ ],
+ 'PublicIp' => [
+ 'description' => 'The public IP address of the ECS instance. This IP address can be used only by the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '13.xx.xx.xxx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"InstanceList\\": {\\n \\"Instance\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef6ob8m************\\",\\n \\"Status\\": \\" Running\\",\\n \\"PrivateIp\\": \\"192.XX.XX.123\\",\\n \\"Expired\\": false,\\n \\"InstanceId\\": \\"i-2ze7s2v0b***********\\",\\n \\"Mem\\": 4096,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"VpcName\\": \\"jianwei-test\\",\\n \\"EcuId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"Cpu\\": 2,\\n \\"InnerIp\\": \\"192.168.13.xx\\",\\n \\"Eip\\": \\"13.xx.xxx.xx\\",\\n \\"InstanceName\\": \\"worker-k8s\\",\\n \\"PublicIp\\": \\"13.xx.xx.xxx\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<InstanceList>\\n <Instance>\\n <Status> Running</Status>\\n <VpcName>test</VpcName>\\n <Cpu>2</Cpu>\\n <InnerIp/>\\n <Mem>4096</Mem>\\n <RegionId>cn-beijing</RegionId>\\n <Expired>false</Expired>\\n <InstanceId>i-2ze7s2v0b789k60p****</InstanceId>\\n <PrivateIp>192.168.0.86</PrivateIp>\\n <Eip/>\\n <VpcId>vpc-2zef6ob8mrlzv8x3q****</VpcId>\\n <InstanceName>worker-k8s</InstanceName>\\n </Instance>\\n</InstanceList>","errorExample":""}]',
+ 'title' => 'ListConvertableEcu',
+ 'summary' => 'Queries the Elastic Compute Service (ECS) instances that can be imported to a specified cluster. This operation is applicable to ECS clusters.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListEcsNotInCluster' => [
+ 'path' => '/pop/v5/resource/ecs_not_in_cluster',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NetworkMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The network type. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2: virtual private cloud (VPC)'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the VPC. This parameter is required if the NetworkMode parameter is set to 2.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-2zef6ob8****v8x3q46kp',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'EcsEntityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcsEntity' => [
+ 'description' => 'The information about ECS instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8mrlzv8x3q****',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the ECS instance. Valid values:'."\n"
+ ."\n"
+ .'* **Pending**: The ECS instance is being created.'."\n"
+ .'* **Running**: The ECS instance is running.'."\n"
+ .'* **Starting**: The ECS instance is being started.'."\n"
+ .'* **Stopping**: The ECS instance is being stopped.'."\n"
+ .'* **Stopped**: The ECS instance is stopped.'."\n",
+ 'type' => 'string',
+ 'example' => ' Running',
+ ],
+ 'PrivateIp' => [
+ 'description' => 'The private IP address of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.*.**',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the ECS instance has expired. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The ECS instance has expired.'."\n"
+ .'* **false**: The ECS instance has not expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2ze7s2v0b***********',
+ ],
+ 'Mem' => [
+ 'description' => 'The size of memory. Unit: bytes.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4096',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the ECS instance is located.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'VpcName' => [
+ 'description' => 'The name of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'InnerIp' => [
+ 'description' => 'The private IP address of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.20.113',
+ ],
+ 'Eip' => [
+ 'description' => 'The elastic IP address (EIP) associated with the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '139.30.xxx.xx',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'worker-k8s-for-cs-c9dfa009a5e7c4faab2010b87cae4****',
+ ],
+ 'PublicIp' => [
+ 'description' => 'The public IP address of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '131.30.xxx.xx',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"EcsEntityList\\": {\\n \\"EcsEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef6ob8mrlzv8x3q****\\",\\n \\"Status\\": \\" Running\\",\\n \\"PrivateIp\\": \\"192.168.*.**\\",\\n \\"Expired\\": false,\\n \\"InstanceId\\": \\"i-2ze7s2v0b***********\\",\\n \\"Mem\\": 4096,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"VpcName\\": \\"test\\",\\n \\"Cpu\\": 2,\\n \\"InnerIp\\": \\"192.168.20.113\\",\\n \\"Eip\\": \\"139.30.xxx.xx\\",\\n \\"InstanceName\\": \\"worker-k8s-for-cs-c9dfa009a5e7c4faab2010b87cae4****\\",\\n \\"PublicIp\\": \\"131.30.xxx.xx\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b197-40ab-9155-****</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>\\n<EcsEntityList>\\n <EcsEntity>\\n <Status> Running</Status>\\n <InstanceName>worker-k8s-for-cs-c9dfa009a5e7c4faab2010b87cae4****</InstanceName>\\n <InnerIp>192.168.20.113</InnerIp>\\n <Mem>4096</Mem>\\n <VpcId>vpc-2zef6ob8mrlzv8x3q****</VpcId>\\n <PrivateIp>192.168.*.**</PrivateIp>\\n <PublicIp>131.30.xxx.xx</PublicIp>\\n <InstanceId>i-2ze7s2v0b***********</InstanceId>\\n <Cpu>2</Cpu>\\n <Expired>false</Expired>\\n <VpcName>test</VpcName>\\n <RegionId>cn-beijing</RegionId>\\n <Eip>139.30.xxx.xx</Eip>\\n </EcsEntity>\\n</EcsEntityList>","errorExample":""}]',
+ 'title' => 'ListEcsNotInCluster',
+ 'summary' => 'Queries all Elastic Compute Service (ECS) instances that have not been imported to clusters.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryMigrateEcuList' => [
+ 'path' => '/pop/v5/resource/migrate_ecu_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `region ID:namespace identifier` format. Example: `cn-beijing:test`.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: `cn-beijing`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou or cn-hangzhou:test'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'EcuEntityList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcuEntity' => [
+ 'description' => 'The information about ECUs that can be migrated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'VPC ID'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8m************',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECU was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281041109',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.0.150',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPUs. Unit: cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281041101',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the ECU belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2zej4i2jd***********',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU. To query the ID, you can run the `dmidecode` command on the ECS instance that corresponds to the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '70ed3f59-b476-49aa-****-************',
+ ],
+ 'Cpu' => [
+ 'description' => 'The CPU quota set by the system. Unit: cores. The value 0 indicates that no quota is set by the system.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed. Valid values:'."\n"
+ ."\n"
+ .'* true: Docker is installed.'."\n"
+ .'* false: Docker is not installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECU is online.'."\n"
+ .'* false: The ECU is offline.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of available memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2048',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone where the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-bei****-*',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'product_test003',
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281041101',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"EcuEntityList\\": {\\n \\"EcuEntity\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef6ob8m************\\",\\n \\"UpdateTime\\": 1573281041109,\\n \\"IpAddr\\": \\"192.168.0.150\\",\\n \\"AvailableCpu\\": 2,\\n \\"CreateTime\\": 1573281041101,\\n \\"UserId\\": \\"edas_com***_****@******-*****.***\\",\\n \\"InstanceId\\": \\"i-2zej4i2jd***********\\",\\n \\"Mem\\": 0,\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EcuId\\": \\"70ed3f59-b476-49aa-****-************\\",\\n \\"Cpu\\": 0,\\n \\"DockerEnv\\": false,\\n \\"Online\\": true,\\n \\"AvailableMem\\": 2048,\\n \\"ZoneId\\": \\"cn-bei****-*\\",\\n \\"Name\\": \\"product_test003\\",\\n \\"HeartbeatTime\\": 1573281041101\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<EcuEntityList>\\n <EcuEntity>\\n <AvailableMem>2048</AvailableMem>\\n <Mem>0</Mem>\\n <AvailableCpu>2</AvailableCpu>\\n <InstanceId>i-2zej4i2jdf3ntw****</InstanceId>\\n <Online>true</Online>\\n <UpdateTime>1573281041109</UpdateTime>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2zef6ob8mrlzv8x3****</VpcId>\\n <IpAddr>192.168.0.150</IpAddr>\\n <Name>product_test003</Name>\\n <Cpu>0</Cpu>\\n <HeartbeatTime>1573281041101</HeartbeatTime>\\n <CreateTime>1573281041101</CreateTime>\\n <RegionId>test_region</RegionId>\\n <EcuId>70ed3f59-b476-49aa-be09-9e6c37****</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuEntity>\\n</EcuEntityList>","errorExample":""}]',
+ 'title' => 'QueryMigrateEcuList',
+ 'summary' => 'Queries the elastic compute units (ECUs) that can be migrated.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListScaleOutEcu' => [
+ 'path' => '/pop/v5/resource/scale_out_ecu_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `region ID:namespace identifier` format. Example: cn-beijing:test.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. Specify this parameter if you want to query the available ECUs in the cluster.'."\n"
+ ."\n"
+ .'> Specify at least one of the ClusterId and AppId parameters as the query parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '52984524-6d48-4bbd-******************',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. Specify this parameter if you want to query the available ECUs in the cluster where the application is deployed.'."\n"
+ ."\n"
+ .'> Specify at least one of the ClusterId and AppId parameters as the query parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'b93024fd-8a9d-4ef7-99f1-5f0d65cc****',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group. Specify this parameter if you want to query the available ECUs in the cluster where the instance group resides.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8123db90-880f-486f-****-****',
+ ],
+ ],
+ [
+ 'name' => 'Cpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of CPU cores based on which you want to query the available ECUs in the cluster.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Mem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of available memory based on which you want to query the available ECUs in the cluster. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'InstanceNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of ECUs that you want to query. If this parameter is not specified, all the ECUs that meet the query conditions are returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'AF860D6C-ACE3-4429-9D54-3BD15A******',
+ ],
+ 'EcuInfoList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EcuInfo' => [
+ 'description' => 'The ECUs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about ECUs.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) where the ECU is located.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8**********',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECU was last updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040827',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.XX.XX',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPU cores for the ECU.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040819',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the ECU belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '1172****6608****',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2zej4i2jdf*********',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the ECU is located.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU. To query the ID, you can run the `dmidecode` command on the ECS instance that corresponds to the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '0de2ebdb-9490-4fc4-be41***************',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online. If the ECU is online, its corresponding ECS instance is managed in EDAS. Valid values:'."\n"
+ ."\n"
+ .'* true: The ECU is online.'."\n"
+ .'* false: The ECU is offline.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed. Valid values:'."\n"
+ ."\n"
+ .'* true: Docker is installed.'."\n"
+ .'* false: Docker is not installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of available memory for the ECU. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '111',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone where the ECU resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing-h',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573281040819',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"AF860D6C-ACE3-4429-9D54-3BD15A******\\",\\n \\"EcuInfoList\\": {\\n \\"EcuInfo\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zef6ob8**********\\",\\n \\"UpdateTime\\": 1573281040827,\\n \\"IpAddr\\": \\"192.168.XX.XX\\",\\n \\"AvailableCpu\\": 2,\\n \\"CreateTime\\": 1573281040819,\\n \\"UserId\\": \\"1172****6608****\\",\\n \\"InstanceId\\": \\"i-2zej4i2jdf*********\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"EcuId\\": \\"0de2ebdb-9490-4fc4-be41***************\\",\\n \\"Online\\": true,\\n \\"DockerEnv\\": false,\\n \\"AvailableMem\\": 111,\\n \\"ZoneId\\": \\"cn-beijing-h\\",\\n \\"Name\\": \\"test\\",\\n \\"HeartbeatTime\\": 1573281040819\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<EcuInfoList>\\n <EcuInfo>\\n <AvailableMem>2048</AvailableMem>\\n <InstanceId>i-2zej4i2jdf*********</InstanceId>\\n <AvailableCpu>2</AvailableCpu>\\n <Online>true</Online>\\n <UpdateTime>1573281040827</UpdateTime>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2zef6ob8**********</VpcId>\\n <IpAddr>192.168.*.**</IpAddr>\\n <HeartbeatTime>1573281040819</HeartbeatTime>\\n <CreateTime>1573281040819</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>0de2ebdb-9490-4fc4-be41***************</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuInfo>\\n <EcuInfo>\\n <AvailableMem>2048</AvailableMem>\\n <InstanceId>i-2zej4i2j*********</InstanceId>\\n <AvailableCpu>2</AvailableCpu>\\n <Online>true</Online>\\n <UpdateTime>1573281041362</UpdateTime>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2ze************</VpcId>\\n <IpAddr>192.168.0.**</IpAddr>\\n <HeartbeatTime>1573281041355</HeartbeatTime>\\n <CreateTime>1573281041355</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>6f9cb7fd-bb*****************</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuInfo>\\n <EcuInfo>\\n <AvailableMem>2048</AvailableMem>\\n <InstanceId>i-2*******e</InstanceId>\\n <AvailableCpu>2</AvailableCpu>\\n <Online>true</Online>\\n <UpdateTime>1573281041109</UpdateTime>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2zef6ob********p</VpcId>\\n <IpAddr>192.168.0.***</IpAddr>\\n <HeartbeatTime>1573281041101</HeartbeatTime>\\n <CreateTime>1573281041101</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>70ed3f59-b476-49aa***********</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuInfo>\\n <EcuInfo>\\n <AvailableMem>2048</AvailableMem>\\n <InstanceId>i-2z********</InstanceId>\\n <AvailableCpu>2</AvailableCpu>\\n <Online>true</Online>\\n <UpdateTime>1573281041150</UpdateTime>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2ze************</VpcId>\\n <IpAddr>192.168.0.**</IpAddr>\\n <HeartbeatTime>1573281041143</HeartbeatTime>\\n <CreateTime>1573281041143</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>cfe7f474-386******************</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuInfo>\\n <EcuInfo>\\n <AvailableMem>2048</AvailableMem>\\n <InstanceId>i-2zej4i*********</InstanceId>\\n <AvailableCpu>2</AvailableCpu>\\n <Online>true</Online>\\n <UpdateTime>1573281041300</UpdateTime>\\n <ZoneId>cn-beijing-h</ZoneId>\\n <VpcId>vpc-2zef**********</VpcId>\\n <IpAddr>192.168.0.***</IpAddr>\\n <HeartbeatTime>1573281041292</HeartbeatTime>\\n <CreateTime>1573281041292</CreateTime>\\n <RegionId>cn-beijing</RegionId>\\n <EcuId>f6917537-******************</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </EcuInfo>\\n</EcuInfoList>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListScaleOutEcu',
+ 'summary' => 'Queries elastic compute units (ECUs) available for scaling out an application in a specified cluster or the cluster where the application is deployed. This operation is applicable to Elastic Compute Service (ECS) clusters.',
+ 'description' => '## Terms'."\n"
+ ."\n"
+ .'* **Namespace**: the logical concept that is used to isolate resources such as clusters, ECS instances, and applications, and microservices published in EDAS. This concept involves the default namespace and custom namespaces. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources and microservices.'."\n"
+ .'* **Elastic compute unit (ECU)**: After an ECS instance is imported to a cluster, the instance becomes an ECU.'."\n"
+ .'* **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListSlb' => [
+ 'path' => '/pop/v5/slb_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-bp1f90rfybszjogyw****',
+ ],
+ ],
+ [
+ 'name' => 'AddressType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the IP addresses. Valid values:'."\n"
+ ."\n"
+ .'* Internet: Users can connect to the SLB instance over the Internet.'."\n"
+ .'* Intranet: Users can connect to the SLB instance over the internal network.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'internet',
+ ],
+ ],
+ [
+ 'name' => 'SlbType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* clb: Classic Load Balancer (CLB)'."\n"
+ .'* alb: Application Load Balancer (ALB)'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'clb',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'SlbList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'SlbEntity' => [
+ 'description' => 'The list of SLB instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object of the SLB instance.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SlbId' => [
+ 'description' => 'The ID of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-2ze055t3xv7s8****',
+ ],
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp1f90rfybszjogyw****',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The ID of the vSwitch in the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-bp156w1gpbv0o50hs****',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the SLB instance has expired. Valid values:'."\n"
+ ."\n"
+ .'* true: The SLB instance has expired.'."\n"
+ .'* false: The SLB instance has not expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_****_**st@aliyun-****.com',
+ ],
+ 'AddressType' => [
+ 'description' => 'The type of the IP addresses. Valid values:'."\n"
+ ."\n"
+ .'* internet: Users can connect to the SLB instance over the Internet.'."\n"
+ .'* intranet: Users can connect to the SLB instance over the internal network.'."\n",
+ 'type' => 'string',
+ 'example' => 'internet',
+ ],
+ 'NetworkType' => [
+ 'description' => 'The type of the network.'."\n",
+ 'type' => 'string',
+ 'example' => 'classic',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the resource group in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Address' => [
+ 'description' => 'The IP address of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '39.176.XX.XX',
+ ],
+ 'SlbName' => [
+ 'description' => 'The name of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'adce',
+ ],
+ 'SlbStatus' => [
+ 'description' => 'The status of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'active',
+ ],
+ 'Tags' => [
+ 'description' => 'The tag of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"tagKey":"tag","tagValue":"value"}]',
+ ],
+ 'Reusable' => [
+ 'description' => 'Indicates whether Kubernetes applications can be reused. Valid values:'."\n"
+ ."\n"
+ .'* true: Kubernetes applications can be reused.'."\n"
+ .'* false: Kubernetes applications cannot be reused.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"SlbList\\": {\\n \\"SlbEntity\\": [\\n {\\n \\"SlbId\\": \\"lb-2ze055t3xv7s8****\\",\\n \\"VpcId\\": \\"vpc-bp1f90rfybszjogyw****\\",\\n \\"VswitchId\\": \\"vsw-bp156w1gpbv0o50hs****\\",\\n \\"Expired\\": false,\\n \\"UserId\\": \\"edas_****_**st@aliyun-****.com\\",\\n \\"AddressType\\": \\"internet\\",\\n \\"NetworkType\\": \\"classic\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"GroupId\\": 0,\\n \\"Address\\": \\"39.176.XX.XX\\",\\n \\"SlbName\\": \\"adce\\",\\n \\"SlbStatus\\": \\"active\\",\\n \\"Tags\\": \\"[{\\\\\\"tagKey\\\\\\":\\\\\\"tag\\\\\\",\\\\\\"tagValue\\\\\\":\\\\\\"value\\\\\\"}]\\",\\n \\"Reusable\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>b197-40ab-9155-7ca7</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>\\n<SlbList>\\n <SlbEntity>\\n <SlbId>lb-2ze055t3xv7s8****</SlbId>\\n <VpcId>vpc-bp1f90rfybszjogyw****</VpcId>\\n <Address>39.XX.XX.176</Address>\\n <NetworkType>classic</NetworkType>\\n <UserId>edas_****_**st@aliyun-****.com</UserId>\\n <Expired>false</Expired>\\n <RegionId>cn-beijing</RegionId>\\n <AddressType>internet</AddressType>\\n <VswitchId>vsw-bp156w1gpbv0o50hs****</VswitchId>\\n <SlbName>adce</SlbName>\\n <GroupId>0</GroupId>\\n <SlbStatus>active</SlbStatus>\\n </SlbEntity>\\n</SlbList>","errorExample":""}]',
+ 'title' => 'ListSlb',
+ 'summary' => 'Queries Server Load Balancer (SLB) instances.',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'BindSlb' => [
+ 'summary' => 'Binds a Server Load Balancer (SLB) instance to an application in Enterprise Distributed Application Service (EDAS).',
+ 'path' => '/pop/app/bind_slb_json',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the EDAS application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-*********',
+ ],
+ ],
+ [
+ 'name' => 'SlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'lb-wz96ph63r************',
+ ],
+ ],
+ [
+ 'name' => 'SlbIp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP address of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '192.16*.*.*',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* internet: Internet-facing SLB instance'."\n"
+ .'* intranet: internal-facing SLB instance'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'intranet',
+ ],
+ ],
+ [
+ 'name' => 'ListenerPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The listener port for the SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '65535',
+ 'minimum' => '0',
+ 'example' => '80',
+ 'default' => '0',
+ ],
+ ],
+ [
+ 'name' => 'VServerGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the vServer group for the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rsp-cige6******',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'bind slb success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '23DR4FDXXXXXXXXXX',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VServerGroupId' => [
+ 'description' => 'The ID of the vServer group for the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'SlbId' => [
+ 'description' => 'The ID of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-wz96ph63r************',
+ ],
+ 'ExtSlbIp' => [
+ 'description' => 'The IP address of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'SlbPort' => [
+ 'description' => 'The listener port for the SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ 'ExtSlbName' => [
+ 'description' => 'The name of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'ExtSlbId' => [
+ 'description' => 'The ID of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'ExtVServerGroupId' => [
+ 'description' => 'The ID of the vServer group for the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'SlbName' => [
+ 'description' => 'The name of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'test**********',
+ ],
+ 'SlbIp' => [
+ 'description' => 'The IP address of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.16*.*.*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"bind slb success\\",\\n \\"RequestId\\": \\"23DR4FDXXXXXXXXXX\\",\\n \\"Data\\": {\\n \\"VServerGroupId\\": \\"“”\\",\\n \\"SlbId\\": \\"lb-wz96ph63r************\\",\\n \\"ExtSlbIp\\": \\"“”\\",\\n \\"SlbPort\\": 80,\\n \\"ExtSlbName\\": \\"“”\\",\\n \\"ExtSlbId\\": \\"“”\\",\\n \\"ExtVServerGroupId\\": \\"“”\\",\\n \\"SlbName\\": \\"test**********\\",\\n \\"SlbIp\\": \\"192.16*.*.*\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Data>\\n <SlbPort>80</SlbPort>\\n <SlbId>lb-wz96ph63r************</SlbId>\\n <SlbIp>192.168.*.*</SlbIp>\\n <SlbName>test*********</SlbName>\\n</Data>\\n<Message>bind slb success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertCluster' => [
+ 'summary' => 'Creates a cluster.',
+ 'path' => '/pop/v5/resource/cluster',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the custom namespace. The ID is in the `physical region ID:custom namespace identifier` format. Example: `cn-hangzhou:test`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:td****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '****_product_test2',
+ ],
+ ],
+ [
+ 'name' => 'ClusterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in Enterprise Distributed Application Service (EDAS)'."\n"
+ .'* 5: Kubernetes cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'NetworkMode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The network type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2: virtual private cloud (VPC)'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the VPC. This parameter is required if you set the NetworkMode parameter to 2.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-2zef6ob8mrlzv8x3q****',
+ ],
+ ],
+ [
+ 'name' => 'OversoldFactor',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '**This parameter is deprecated.** The CPU overcommit ratio supported by a Docker cluster. Valid values:'."\n"
+ ."\n"
+ .'* 2: 1:2, which means that resources are overcommitted by 1:2.'."\n"
+ .'* 4: 1:4, which means that resources are overcommitted by 1:4.'."\n"
+ .'* 8: 1:8, which means that resources are overcommitted by 1:8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'IaasProvider',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The provider of Infrastructure as a Service (IaaS) resources that are used in the cluster.'."\n"
+ ."\n"
+ .'When you use Alibaba Cloud, set the value to `ALIYUN`. The value is case-sensitive.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALIYUN',
+ 'default' => 'ALIYUN',
+ 'enum' => [
+ 'ALIYUN',
+ 'IDC',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'Cluster' => [
+ 'description' => 'The information about the cluster that was created.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-2zef6ob8mrlzv8x3q****',
+ ],
+ 'OversoldFactor' => [
+ 'description' => '**This parameter is deprecated.** The CPU overcommit ratio supported by the Docker cluster. Valid values:'."\n"
+ ."\n"
+ .'* 2: 1:2, which means that resources are overcommitted by 1:2.'."\n"
+ .'* 4: 1:4, which means that resources are overcommitted by 1:4.'."\n"
+ .'* 8: 1:8, which means that resources are overcommitted by 1:8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'NetworkMode' => [
+ 'description' => 'The network type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2\\. VPC'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'IaasProvider' => [
+ 'description' => 'The provider of the IaaS resources that are used in the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALIYUN',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 2: ECS cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in EDAS'."\n"
+ .'* 5: Kubernetes cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '****_product_test2',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '8705ad13-5d86-47fc-b68f-257b59ed****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region in which the cluster resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"Cluster\\": {\\n \\"VpcId\\": \\"vpc-2zef6ob8mrlzv8x3q****\\",\\n \\"OversoldFactor\\": 1,\\n \\"NetworkMode\\": 2,\\n \\"IaasProvider\\": \\"ALIYUN\\",\\n \\"ClusterType\\": 2,\\n \\"ClusterName\\": \\"****_product_test2\\",\\n \\"ClusterId\\": \\"8705ad13-5d86-47fc-b68f-257b59ed****\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InsertClusterResponse>\\n<Message>success</Message>\\n<RequestId>b197-40ab-9155-****</RequestId>\\n<Cluster>\\n <OversoldFactor>1</OversoldFactor>\\n <VpcId>vpc-2zef6ob8mrlzv8x3q****</VpcId>\\n <ClusterId>8705ad13-5d86-47fc-b68f-257b59ed****</ClusterId>\\n <ClusterName>****_product_test2</ClusterName>\\n <RegionId>cn-beijing</RegionId>\\n <ClusterType>2</ClusterType>\\n <NetworkMode>2</NetworkMode>\\n <IaasProvider>ALIYUN</IaasProvider>\\n</Cluster>\\n<Code>200</Code>\\n</InsertClusterResponse>","errorExample":""}]',
+ 'title' => 'InsertCluster',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertClusterMember' => [
+ 'summary' => 'Imports Elastic Compute Service (ECS) instances into an ECS cluster.',
+ 'path' => '/pop/v5/resource/cluster_member',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'clusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster into which you want to import ECS instances.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b3e3f77b-462e-****-****-bec8727a4dc8',
+ ],
+ ],
+ [
+ 'name' => 'instanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECS instance that you want to import into the cluster. Separate multiple IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-2ze7s2v0b789k60p****',
+ ],
+ ],
+ [
+ 'name' => 'password',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The logon password of the ECS instance that you want to import into the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'YourPassword',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'Transform submit success!',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '01B49A88-B06F-423B-A5EF-E5C0A89******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"Transform submit success!\\",\\n \\"RequestId\\": \\"01B49A88-B06F-423B-A5EF-E5C0A89******\\"\\n}","errorExample":""},{"type":"xml","example":"<InsertClusterMemberResponse>\\n <RequestId>01B49A88-B06F-423B-A5EF-E5C0A892709D</RequestId>\\n <Data>Transform submit success!</Data>\\n <Message>success</Message>\\n <Code>200</Code>\\n</InsertClusterMemberResponse>","errorExample":""}]',
+ 'title' => 'InsertClusterMember',
+ 'description' => '##'."\n"
+ ."\n"
+ .'If you call this operation to import an ECS instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all original data of the ECS instance is deleted. In addition, you must set a logon password for the ECS instance. Make sure that no important data exists on the ECS instance that you want to import or data has been backed up for the ECS instance.'."\n"
+ ."\n"
+ .'> We recommend that you call the InstallAgent operation instead of this operation. For more information, see [InstallAgent](~~127023~~).'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InstallAgent' => [
+ 'summary' => 'Uses the Cloud Assistant provided by Elastic Compute Service (ECS) to install Enterprise Distributed Application Service (EDAS) Agent and imports ECS instances to EDAS.',
+ 'path' => '/pop/v5/ecss/install_agent',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b3e3f77b-462e-****-****-bec8727a4dc8',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECS instance. Separate multiple IDs with commas (,). Example: instanceId1,instanceId2.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '2ze7s2v0b789k60pk1af',
+ ],
+ ],
+ [
+ 'name' => 'DoAsync',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is discontinued.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-7ca7',
+ ],
+ 'ExecutionResultList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ExecutionResult' => [
+ 'description' => 'The execution result.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The state of the installation command.'."\n",
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'FinishedTime' => [
+ 'description' => 'The time when the installation was complete.'."\n",
+ 'type' => 'string',
+ 'example' => '20**-11-10T07:02:17Z',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-2ze7s2v0b789k*******',
+ ],
+ 'InvokeRecordStatus' => [
+ 'description' => 'The state of the installation.'."\n",
+ 'type' => 'string',
+ 'example' => 'Finished',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the installation was successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-7ca7\\",\\n \\"ExecutionResultList\\": {\\n \\"ExecutionResult\\": [\\n {\\n \\"Status\\": \\"OK\\",\\n \\"FinishedTime\\": \\"20**-11-10T07:02:17Z\\",\\n \\"InstanceId\\": \\"i-2ze7s2v0b789k*******\\",\\n \\"InvokeRecordStatus\\": \\"Finished\\",\\n \\"Success\\": true\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ExecutionResultList>\\n <ExecutionResult>\\n <InvokeRecordStatus>Finished</InvokeRecordStatus>\\n <Status>OK</Status>\\n <FinishedTime>2019-11-10T07:02:17Z</FinishedTime>\\n <InstanceId>i-2ze7s2v0b789k60pk1af</InstanceId>\\n <Success>true</Success>\\n </ExecutionResult>\\n</ExecutionResultList>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'InstallAgent',
+ 'description' => 'If you call this operation to import an ECS instance into EDAS, the operating system of the ECS instance is not reinstalled. We recommend that you call this operation to import ECS instances into EDAS.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => '## Additional considerations'."\n"
+ ."\n"
+ .'To call this operation, you may encounter a timeout issue when you connect to OpenAPI Developer Portal from a client. The default timeout period is 10 seconds. To resolve this issue, before you call this operation, you must set the timeout period for reading the data returned by OpenAPI Developer Portal. We recommend that you set the timeout period to 30 seconds. This is because the time limit for service processing between OpenAPI Developer Portal and the server is 30 seconds.'."\n"
+ ."\n"
+ .'* If you use EDAS SDK for Java and call this operation in the client code, you can set the read timeout period in the following way:'."\n"
+ ."\n"
+ .'```java'."\n"
+ .'InstallAgentRequest request = new InstallAgentRequest();'."\n"
+ .'request.setSysReadTimeout(30000); // The timeout period for the client to wait for OpenAPI Developer Portal to return data. Unit: milliseconds.'."\n"
+ .'request.setClusterId(clusterId);'."\n"
+ .'........'."\n"
+ .'```'."\n"
+ ."\n"
+ .'* If you use EDAS SDK for Python and call this operation in the client code, you can set the read timeout period in the following way:'."\n"
+ ."\n"
+ .'```python'."\n"
+ .'request = InstallAgentRequest()'."\n"
+ .'request.set_read_timeout(30000)'."\n"
+ .'request.set_ClusterId(clusterId)'."\n"
+ .'```'."\n",
+ ],
+ 'TransformClusterMember' => [
+ 'summary' => 'Imports or migrates one or more Elastic Compute Service (ECS) instances to a cluster.',
+ 'path' => '/pop/v5/resource/transform_cluster_member',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance that you want to import or migrate. Separate multiple IDs with commas (,).'."\n"
+ ."\n"
+ .'* An instance may not belong to a cluster, but an instance can belong to only one cluster at most.'."\n"
+ .'* The ECS instances and the destination cluster must be in the same virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-2ze7s2v0b789k60p****',
+ ],
+ ],
+ [
+ 'name' => 'TargetClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the destination cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b3e3f77b-462e-****-****-bec8727a****',
+ ],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The logon password of the ECS instance that you want to import or migrate to the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Hello****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => '`Transform submit success!` is returned if the request is successful.'."\n",
+ 'type' => 'string',
+ 'example' => 'Transform submit success!',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"Transform submit success!\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\"\\n}","errorExample":""},{"type":"xml","example":"<TransformClusterMemberResponse>\\n<Message>success</Message>\\n<RequestId>b197-40ab-9155-****</RequestId>\\n<Data>Transform submit success!</Data>\\n<Code>200</Code>\\n</TransformClusterMemberResponse>","errorExample":""}]',
+ 'description' => '## Limits'."\n"
+ ."\n"
+ .'When you call this operation to import an ECS instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all data of the ECS instance is deleted. You must set a logon password for the ECS instance. Make sure that no important data exists on or data has been backed up for the ECS instance that you want to import.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'MigrateEcu' => [
+ 'summary' => 'Migrates an elastic compute unit (ECU) to the default cluster in a specified namespace.',
+ 'path' => '/pop/v5/resource/migrate_ecu',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'autoTest' => true,
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECS instance. Separate multiple IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-2zej4i2jdf3ntwhj****',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the custom namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `region ID:custom namespace ID` format. Example: cn-beijing:tdy218.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:test_region',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'Indicates whether the request is successful. Valid values:'."\n"
+ ."\n"
+ .'* true: The request is successful.'."\n"
+ .'* false: The request fails.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '04B0ABAF-95F2-42B6-A7B1****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"true\\",\\n \\"RequestId\\": \\"04B0ABAF-95F2-42B6-A7B1****\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>04B0ABAF-95F2-42B6-A7B1-8A832E863C92</RequestId>\\n<Data>true</Data>\\n<Code>200</Code>","errorExample":""}]',
+ 'description' => '## Limits'."\n"
+ ."\n"
+ .'We recommend that you do not call this operation. Instead, we recommend that you call the TransformClusterMember operation. For more information, see [TransformClusterMember](~~71514~~).'."\n"
+ ."\n"
+ .'When you call this operation to import an Elastic Compute Service (ECS) instance, the operating system of the ECS instance is reinstalled. After the operating system is reinstalled, all data of the ECS instance is deleted. You must set a logon password for the ECS instance. Make sure that no important data exists on or data has been backed up for the ECS instance that you want to import.'."\n"
+ ."\n"
+ .'## Terms'."\n"
+ ."\n"
+ .'* **Namespace**: the logical concept that is used to isolate resources and microservices in Enterprise Distributed Application Service (EDAS). The resources include clusters, ECS instances, and applications. You can use a default or custom namespace. Each region has a default namespace and supports multiple custom namespaces. By default, only the default namespace is available. You do not need to create a custom namespace if you do not want to isolate resources or microservices.'."\n"
+ .'* **ECU**: After an ECS instance is imported to a cluster, the instance becomes an ECU.'."\n"
+ .'* **Elastic compute container (ECC)**: After you deploy an application to an ECU in a cluster, the ECU becomes an ECC.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SynchronizeResource' => [
+ 'summary' => 'Synchronizes the basic Alibaba Cloud resources that belong to your account to Enterprise Distributed Application Service (EDAS). This operation is applicable to Elastic Compute Service (ECS) clusters.',
+ 'path' => '/pop/v5/resource/pop_sync_resource',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource to be synchronized. Valid values: `ecs, slb, vpc, and all`. These values are case-sensitive.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ecs',
+ ],
+ ],
+ [
+ 'name' => 'ResourceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource. This parameter is required only when you set the Type parameter to `ecs`. If you specify multiple IDs, separate them with commas (,). You can synchronize up to 50 resources at a time.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-bp17c***5q8x,i-bp1**5q8x',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The data returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'PopSyncResource success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F8DFGED-K98***************',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the resources are synchronized. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The resources are synchronized.'."\n"
+ .'* **false**: The resources fail to be synchronized.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"PopSyncResource success\\",\\n \\"RequestId\\": \\"F8DFGED-K98***************\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Data>PopSyncResource success</Data>\\n<Code>200</Code>\\n<Success>true</Success>","errorExample":""}]',
+ 'title' => 'SynchronizeResource',
+ 'description' => 'If you call this operation to synchronize ECS resource information, all instance data is synchronized from ECS. If you have more than 100 ECS instances, we recommend that you do not frequently call this operation.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => '## Usage notes'."\n"
+ ."\n"
+ .'When you call this operation, you may encounter the timeout issue when you connect to the OpenAPI Developer Portal from a client. The default timeout period is 10 seconds. To resolve this issue, before you call this operation, you must manually set the timeout period for reading the data returned by the OpenAPI Developer Portal. We recommend that you set the timeout period to 30 seconds. This is because the time limit for service processing between the OpenAPI Developer Portal and the server is 30 seconds.'."\n"
+ ."\n"
+ .'* If you use EDAS SDK for Java and call this operation in the client code, you can set the read timeout period in the following way:'."\n"
+ ."\n"
+ .'<!---->'."\n"
+ ."\n"
+ .' SynchronizeResourceRequest request = new SynchronizeResourceRequest();'."\n"
+ .' request.setSysReadTimeout(30000); // The timeout period for the client to wait for OpenAPI Developer Portal to return data. Unit: milliseconds. '."\n"
+ .' request.setType("ecs");'."\n"
+ .' ........'."\n"
+ ."\n"
+ .'* If you use EDAS SDK for Python and call this operation in the client code, you can set the read timeout period in the following way:'."\n"
+ ."\n"
+ .'<!---->'."\n"
+ ."\n"
+ .' request = SynchronizeResourceRequest()'."\n"
+ .' request.set_read_timeout(30000)'."\n"
+ .' request.set_Type(\'ecs\')'."\n",
+ ],
+ 'UpdateK8sResource' => [
+ 'summary' => 'Update Kubernetes resources.',
+ 'path' => '/pop/v5/oam/update_k8s_resource_config',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '2e7059e9-2d********5e8ecac64ff',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the namespace to which the Kubernetes resource belongs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'app-namespace',
+ ],
+ ],
+ [
+ 'name' => 'ResourceContent',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the resource in the YAML format.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'apiVersion: apps/v1 kind: Deployment metadata: name: demo-app namespace: app-namespace spec: replicas: 3 selector: matchLabels: cluster: abc template: # create pods using pod definition in this template metadata: labels: cluster: abc spec: containers: - image: registry-vpc.cn-hangzhou.aliyuncs.com/edas-demo-image/consumer:1.0 imagePullPolicy: Always name: test-container ports: - containerPort: 80 env: - name: foo value: bar',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7638276F-****-****-884F-54CC0BC84A8D',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"7638276F-****-****-884F-54CC0BC84A8D\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>7638276F-****-****-884F-54CC0BC84A8D</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateK8sResource',
+ 'description' => '> You can update only Deployments.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetK8sCluster' => [
+ 'path' => '/pop/v5/k8s_clusters',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionTag',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '9999',
+ 'minimum' => '0',
+ 'example' => '1',
+ 'isFileTransferUrl' => false,
+ 'default' => '0',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page. Default value: 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'maximum' => '9999',
+ 'minimum' => '1',
+ 'example' => '10',
+ 'isFileTransferUrl' => false,
+ 'default' => '20',
+ ],
+ ],
+ [
+ 'name' => 'ClusterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the Kubernetes cluster. Valid values:'."\n"
+ ."\n"
+ .'* 5: ACK cluster'."\n"
+ .'* 7: self-managed Kubernetes cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'maximum' => '99',
+ 'minimum' => '0',
+ 'example' => '5',
+ 'default' => '5',
+ ],
+ ],
+ [
+ 'name' => 'SubClusterType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The subtype of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* Ask: Serverless Kubernetes cluster'."\n"
+ .'* ManagedKubernetes: ACK cluster'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Ask',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C3CE915C-0C83-4AA5-8D66-E8BEED62939E',
+ ],
+ 'ClusterPage' => [
+ 'description' => 'The cluster data that is returned by page.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CurrentPage' => [
+ 'description' => 'The number of the returned page. Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries returned per page. Default value: 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalSize' => [
+ 'description' => 'The total number of pages that are returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'ClusterList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Cluster' => [
+ 'description' => 'The list of clusters.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the cluster list.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-**z1mlwpbjx3e9m**',
+ ],
+ 'VswitchId' => [
+ 'description' => 'The ID of the vSwitch.'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-bp1uf97****xjxgip****',
+ ],
+ 'SubNetCidr' => [
+ 'description' => 'The CIDR block of the subnet.'."\n",
+ 'type' => 'string',
+ 'example' => '172.20.0.0/16',
+ ],
+ 'Mem' => [
+ 'description' => 'The total size of memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2048',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CsClusterStatus' => [
+ 'description' => 'The state of the ACK cluster. Valid values:'."\n"
+ ."\n"
+ .'* initial: The cluster is being initialized.'."\n"
+ .'* failed: The cluster fails to be created.'."\n"
+ .'* running: The cluster is running.'."\n"
+ .'* updating: The cluster is being updated.'."\n"
+ .'* scaling: The cluster is being scaled out.'."\n"
+ .'* removing: Nodes are being removed from the cluster.'."\n"
+ .'* upgrading: The cluster is being upgraded.'."\n"
+ .'* deleting: The cluster is being deleted.'."\n"
+ .'* delete_failed: The cluster fails to be deleted.'."\n"
+ .'* deleted: The cluster is deleted. The deleted cluster is invisible to users.'."\n",
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'Cpu' => [
+ 'description' => 'The total number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'NetworkMode' => [
+ 'description' => 'The network type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: classic network'."\n"
+ .'* 2: VPC'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'CsClusterId' => [
+ 'description' => 'The ID of the ACK cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '2ce62869f4d4466b920312315f05****',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 5: ACK cluster or Serverless Kubernetes cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'NodeNum' => [
+ 'description' => 'The number of nodes.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '81453e4b-4df0-4592-****-b835a2ee****',
+ ],
+ 'ClusterImportStatus' => [
+ 'title' => '',
+ 'description' => 'The import state of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: The cluster is not imported.'."\n"
+ .'* 1: The cluster is imported.'."\n"
+ .'* 2: The cluster fails to be imported.'."\n"
+ .'* 3: The cluster is being imported.'."\n"
+ .'* 4: The cluster is deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SubClusterType' => [
+ 'description' => 'The subtype of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* Ask: Serverless Kubernetes cluster'."\n"
+ .'* ManagedKubernetes: ACK cluster'."\n",
+ 'type' => 'string',
+ 'example' => 'Ask',
+ ],
+ 'ClusterStatus' => [
+ 'description' => 'The status of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: The cluster runs as expected.'."\n"
+ .'* 2: The cluster does not run as expected.'."\n"
+ .'* 3: The cluster is offline.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C3CE915C-0C83-4AA5-8D66-E8BEED62939E\\",\\n \\"ClusterPage\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 5,\\n \\"ClusterList\\": {\\n \\"Cluster\\": [\\n {\\n \\"VpcId\\": \\"vpc-**z1mlwpbjx3e9m**\\",\\n \\"VswitchId\\": \\"vsw-bp1uf97****xjxgip****\\",\\n \\"SubNetCidr\\": \\"172.20.0.0/16\\",\\n \\"Mem\\": 2048,\\n \\"RegionId\\": \\"test\\",\\n \\"CsClusterStatus\\": \\"running\\",\\n \\"Cpu\\": 4,\\n \\"NetworkMode\\": 2,\\n \\"CsClusterId\\": \\"2ce62869f4d4466b920312315f05****\\",\\n \\"Description\\": \\"test\\",\\n \\"ClusterType\\": 5,\\n \\"ClusterName\\": \\"test\\",\\n \\"NodeNum\\": 4,\\n \\"ClusterId\\": \\"81453e4b-4df0-4592-****-b835a2ee****\\",\\n \\"ClusterImportStatus\\": 1,\\n \\"SubClusterType\\": \\"Ask\\",\\n \\"ClusterStatus\\": 1\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>C3CE915C-0C83-4AA5-8D66-E8BEED62939E</RequestId>\\n<Message>success</Message>\\n<ClusterPage>\\n <ClusterList>\\n <Cluster>\\n <ClusterImportStatus>1</ClusterImportStatus>\\n <NodeNum>3</NodeNum>\\n <ClusterId>6cd7d5d3-2c7b-48be-a874-3e746708****</ClusterId>\\n <Cpu>0</Cpu>\\n <ClusterType>5</ClusterType>\\n <NetworkMode>2</NetworkMode>\\n <CsClusterId>c0b7a530b96d24b46bd02da2316c****</CsClusterId>\\n <VswitchId>vsw-bp1y77ga5pz9lianh****</VswitchId>\\n <VpcId>vpc-bp1jmhiplgziujhw0****</VpcId>\\n <Mem>0</Mem>\\n <ClusterName>gray</ClusterName>\\n <SubNetCidr>172.20.0.0/16</SubNetCidr>\\n <RegionId>cn-hangzhou:test</RegionId>\\n <CsClusterStatus>running</CsClusterStatus>\\n <ClusterStatus>0</ClusterStatus>\\n </Cluster>\\n </ClusterList>\\n <PageSize>17</PageSize>\\n <CurrentPage>0</CurrentPage>\\n <TotalSize>17</TotalSize>\\n</ClusterPage>\\n<Code>200</Code>","errorExample":""}]',
+ 'summary' => 'Queries Container Service for Kubernetes (ACK) clusters or Serverless Kubernetes clusters in a specified region.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListK8sNamespaces' => [
+ 'summary' => 'Queries namespaces for a Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_namespace',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the cluster in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57F146F6-3C94-****-****-A66EF4B9*****',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Namespace' => [
+ 'description' => 'The namespaces of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'development',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"57F146F6-3C94-****-****-A66EF4B9*****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": [\\n {\\n \\"Namespace\\": \\"development\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListK8sNamespaces',
+ ],
+ 'ImportK8sCluster' => [
+ 'summary' => 'Imports a Container Service for Kubernetes (ACK) cluster or a serverless Kubernetes cluster to Enterprise Distributed Application Service (EDAS).',
+ 'path' => '/pop/v5/import_k8s_cluster',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ACK cluster or serverless Kubernetes cluster. You can obtain the cluster ID by calling the GetK8sCluster operation. For more information, see [GetK8sCluster](~~181437~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '9c28bbb9-****-44b3-b953-54ef8a2d0be2',
+ ],
+ ],
+ [
+ 'name' => 'NamespaceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace. It is in the format of `Region ID:Identifier of the microservices namespace`. Example: `cn-hangzhou:doc`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:doc',
+ ],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'You can ignore this parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'EnableAsm',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the integration with Alibaba Cloud Service Mesh (ASM). Valid values:'."\n"
+ ."\n"
+ .'* true: Enables the integration with ASM.'."\n"
+ .'* false: Disables the integration with ASM.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The ID of the cluster in EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => 'cf96d49a-6be2-4b6d-****-75c7fb86****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"cf96d49a-6be2-4b6d-****-75c7fb86****\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<Message>success</Message>\\n<Data>cf96d49a-6be2-4b6d-****-75c7fb86****</Data>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ImportK8sCluster',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateHealthCheckUrl' => [
+ 'summary' => 'Changes the health check URL for an application.',
+ 'path' => '/pop/v5/app/modify_hc_url',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c627c157-560d-43ff-***************',
+ ],
+ ],
+ [
+ 'name' => 'hcURL',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The health check URL of the application. The URL must start with `http://`, and can be up to 255 characters in length. Example: `http://127.0.0.1:8080/_ehc.html`. If this parameter is not specified, the health check URL of the application is not changed.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://127.0.0.1:8080/_ehc.html',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*****************',
+ ],
+ 'HealthCheckURL' => [
+ 'description' => 'The health check URL.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://127.0.0.1:8080/_ehc.html',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-*****************\\",\\n \\"HealthCheckURL\\": \\"http://127.0.0.1:8080/_ehc.html\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D16979DC-4D42-*****************</RequestId>\\n<Message>success</Message>\\n<HealthCheckURL>http://127.0.0.1:8080/_ehc.html</HealthCheckURL>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateHealthCheckUrl',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetChangeOrderInfo' => [
+ 'path' => '/pop/v5/changeorder/change_order_info',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ChangeOrderId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1074f3e2-e974-4a0e-****-************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4JFR-FV9F***************',
+ ],
+ 'changeOrderInfo' => [
+ 'description' => 'The details about the change process.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The state of the change process. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 7: partially executed'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '1074f3e2-e974-4a0e-****-************',
+ ],
+ 'BatchType' => [
+ 'description' => 'Indicates whether the change for the next batch is automatically or manually triggered when phased release is performed. Valid values:'."\n"
+ ."\n"
+ .'* Automatic: The change for the next batch is automatically triggered.'."\n"
+ .'* Manual: The change for the next batch is manually triggered.'."\n",
+ 'type' => 'string',
+ 'example' => 'Automatic',
+ ],
+ 'CoType' => [
+ 'description' => 'The type of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'Application Scale Out',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the change process is created.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-11-13 14:23:46',
+ ],
+ 'ChangeOrderDescription' => [
+ 'description' => 'The description of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'Application scale-out'."\n",
+ ],
+ 'BatchCount' => [
+ 'description' => 'The number of batches for the change.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'CreateUserId' => [
+ 'description' => 'The person in charge of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'SupportRollback' => [
+ 'description' => 'Indicates whether rollbacks are allowed. Valid values:'."\n"
+ ."\n"
+ .'* true: Rollbacks are allowed.'."\n"
+ .'* false: Rollbacks are not allowed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Desc' => [
+ 'description' => 'The description of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'IP of Scale-Out Instance: 47.107.XX.XX',
+ ],
+ 'PipelineInfoList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'PipelineInfo' => [
+ 'description' => 'The information about the batches of the change task.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PipelineName' => [
+ 'description' => 'The name of the batch.'."\n",
+ 'type' => 'string',
+ 'example' => ' Batch: 1',
+ ],
+ 'StartTime' => [
+ 'description' => 'The time when the change task was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '1583911702158',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the change task was updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '1583911743633',
+ ],
+ 'PipelineStatus' => [
+ 'description' => 'The state of the change task. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'PipelineId' => [
+ 'description' => 'The ID of each batch for the change during the phased release.'."\n",
+ 'type' => 'string',
+ 'example' => '4c4ee320-5e47-4a48-****-************',
+ ],
+ 'StageList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'StageInfoDTO' => [
+ 'description' => 'The stages of the change process.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StageId' => [
+ 'description' => 'The ID of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => '358a143f-09a0-45e0-****-************@**_*******_*****',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the stage. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'StageName' => [
+ 'description' => 'The name of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => 'Scale Out',
+ ],
+ 'StageResultDTO' => [
+ 'description' => 'The results of the task executed in the stage.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceDTOList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InstanceDTO' => [
+ 'description' => 'The results of the task executed on each Elastic Compute Service (ECS) instance in each stage.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The running state. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'InstanceIp' => [
+ 'description' => 'The IP address of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => '47.XX.XX.12 (Public)<br>***.**.*.*** (*******)',
+ ],
+ 'PodName' => [
+ 'description' => 'The name of the node.'."\n",
+ 'type' => 'string',
+ 'example' => 'canary-test',
+ ],
+ 'InstanceName' => [
+ 'description' => 'The name of the ECS instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'EDAS-scaled',
+ ],
+ 'PodStatus' => [
+ 'description' => 'The state of the pod.'."\n",
+ 'type' => 'string',
+ 'example' => 'In progress'."\n",
+ ],
+ 'InstanceStageDTOList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InstanceStageDTO' => [
+ 'description' => 'The results of the task executed on the ECS instance in each stage.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StageId' => [
+ 'description' => 'The ID of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => '5dd4c0f2-d81a-406f-****-************',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the stage. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'StartTime' => [
+ 'description' => 'The time when the execution was started.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-03-11T07:28:49Z',
+ ],
+ 'StageMessage' => [
+ 'description' => 'The information about the stage.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pulling image \\"registry-vpc.cn-hangzhou.aliyuncs.com****-user/1172745****_shared_repo:428084d6-265f-****-911a-7eb0d2c3****_15839117****\\',
+ ],
+ 'FinishTime' => [
+ 'description' => 'The time when the execution stopped.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-03-11T07:28:52Z',
+ ],
+ 'StageName' => [
+ 'description' => 'The name of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => ' scale out ',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ServiceStage' => [
+ 'description' => 'The results of tasks executed in each service-oriented stage.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'StageId' => [
+ 'description' => 'The ID of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => '358a143f-09a0-45e0-****-************',
+ ],
+ 'Status' => [
+ 'description' => 'The running state. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'Message' => [
+ 'description' => 'The execution result in the stage.'."\n",
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'StageName' => [
+ 'description' => 'Phase Name'."\n",
+ 'type' => 'string',
+ 'example' => 'Enable Tengine',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'StageDetailList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'StageDetailDTO' => [
+ 'description' => 'The execution results in each stage.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StageId' => [
+ 'description' => 'The ID of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => 'd7561440-10a6-452f-8a90-62f6e7ec****',
+ ],
+ 'StageStatus' => [
+ 'description' => 'The status of the stage. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'StageName' => [
+ 'description' => 'The name of the stage.'."\n",
+ 'type' => 'string',
+ 'example' => 'Process Start',
+ ],
+ 'TaskList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TaskInfoDTO' => [
+ 'description' => 'The information about the task.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskErrorIgnorance' => [
+ 'description' => 'Indicates whether the task is error-tolerant. If the task can tolerate errors, the errors that occur in the change process are ignored and the next task is executed.'."\n"
+ ."\n"
+ .'* 0: The task is not error-tolerant.'."\n"
+ .'* 1: The task is error-tolerant.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ShowManualIgnorance' => [
+ 'description' => 'Indicates whether errors that occur in the change process are ignored. Valid values:``'."\n"
+ ."\n"
+ .'* true: Errors that occur in the change process are ignored. This parameter can be set to true only when URL health checks are performed.'."\n"
+ .'* false: Errors that occur in the change process are not ignored.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TaskStatus' => [
+ 'description' => 'The state of the task. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: wait for manual confirmation to trigger the next batch during a manual phased release'."\n"
+ .'* 9: wait to trigger the next batch during an automatic phased release'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'TaskMessage' => [
+ 'description' => 'Task information'."\n",
+ 'type' => 'string',
+ 'example' => '[CALLBACK] 2020-03-11 15:28:44.781 requestId: c952ab99-8c5b-4ff1-9412-ae3bf9b1****, message: success',
+ ],
+ 'TaskName' => [
+ 'description' => 'The name of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'Build Image',
+ ],
+ 'TaskErrorCode' => [
+ 'description' => 'Error codes'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'RetryType' => [
+ 'description' => 'The type of the retry policy. Value 0 indicates no retry, value 1 indicates automatic retry, and value 2 indicates manual retry.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'TaskId' => [
+ 'description' => 'The ID of the task.'."\n",
+ 'type' => 'string',
+ 'example' => 'd6d3b934-90a1-4ae8-8cbd-2446003d****',
+ ],
+ 'TaskErrorMessage' => [
+ 'description' => 'The error message for the task.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Targets' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Items' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IP addresses for the associated ECS instances.'."\n",
+ 'type' => 'string',
+ 'example' => '["123.250.XX.XX","234.123.XX.XX"]',
+ ],
+ ],
+ ],
+ ],
+ 'TrafficControl' => [
+ 'description' => 'The throttling rules.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Routes' => [
+ 'description' => 'The route forwarding policy.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"app":"9c8247da-91b6-42bb-8f99-92a0b9c6f****","type":"GROUP"}]',
+ ],
+ 'Rules' => [
+ 'description' => 'The traffic routing rules.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"conditionType":"content","conditions":[{"key":"name","operator":"EQ","strategy":"PARAM","values":["jim"]},{"key":"name","operator":"EQ","strategy":"COOKIE","values":["jim"]}],"percent":100,"protocol":"SPRINGCLOUD","triggerPolicy":"AND"}]',
+ ],
+ 'Tips' => [
+ 'description' => 'The description of throttling rules.'."\n",
+ 'type' => 'string',
+ 'example' => 'This canary release batch is complete, and the user has confirmed to proceed to the next batch.'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'No permissions',
+ ],
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterMissing.ChangeOrderId.message',
+ 'errorMessage' => 'Change process ID is missing.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4JFR-FV9F***************\\",\\n \\"changeOrderInfo\\": {\\n \\"Status\\": 2,\\n \\"ChangeOrderId\\": \\"1074f3e2-e974-4a0e-****-************\\",\\n \\"BatchType\\": \\"Automatic\\",\\n \\"CoType\\": \\"Application Scale Out\\",\\n \\"CreateTime\\": \\"2019-11-13 14:23:46\\",\\n \\"ChangeOrderDescription\\": \\"应用扩容\\",\\n \\"BatchCount\\": 1,\\n \\"CreateUserId\\": \\"edas_com***_****@******-*****.***\\",\\n \\"SupportRollback\\": false,\\n \\"Desc\\": \\"IP of Scale-Out Instance: 47.107.XX.XX\\",\\n \\"PipelineInfoList\\": {\\n \\"PipelineInfo\\": [\\n {\\n \\"PipelineName\\": \\" Batch: 1\\",\\n \\"StartTime\\": \\"1583911702158\\",\\n \\"UpdateTime\\": \\"1583911743633\\",\\n \\"PipelineStatus\\": 2,\\n \\"PipelineId\\": \\"4c4ee320-5e47-4a48-****-************\\",\\n \\"StageList\\": {\\n \\"StageInfoDTO\\": [\\n {\\n \\"StageId\\": \\"358a143f-09a0-45e0-****-************@**_*******_*****\\",\\n \\"Status\\": 2,\\n \\"StageName\\": \\"Scale Out\\",\\n \\"StageResultDTO\\": {\\n \\"InstanceDTOList\\": {\\n \\"InstanceDTO\\": [\\n {\\n \\"Status\\": 2,\\n \\"InstanceIp\\": \\"47.XX.XX.12 (Public)<br>***.**.*.*** (*******)\\",\\n \\"PodName\\": \\"canary-test\\",\\n \\"InstanceName\\": \\"EDAS-scaled\\",\\n \\"PodStatus\\": \\"执行中\\",\\n \\"InstanceStageDTOList\\": {\\n \\"InstanceStageDTO\\": [\\n {\\n \\"StageId\\": \\"5dd4c0f2-d81a-406f-****-************\\",\\n \\"Status\\": 2,\\n \\"StartTime\\": \\"2020-03-11T07:28:49Z\\",\\n \\"StageMessage\\": \\"Pulling image \\\\\\\\\\\\\\"registry-vpc.cn-hangzhou.aliyuncs.com****-user/1172745****_shared_repo:428084d6-265f-****-911a-7eb0d2c3****_15839117****\\\\\\\\\\",\\n \\"FinishTime\\": \\"2020-03-11T07:28:52Z\\",\\n \\"StageName\\": \\" scale out \\"\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"ServiceStage\\": {\\n \\"StageId\\": \\"358a143f-09a0-45e0-****-************\\",\\n \\"Status\\": 2,\\n \\"Message\\": \\"Success\\",\\n \\"StageName\\": \\"Enable Tengine\\"\\n }\\n }\\n }\\n ]\\n },\\n \\"StageDetailList\\": {\\n \\"StageDetailDTO\\": [\\n {\\n \\"StageId\\": \\"d7561440-10a6-452f-8a90-62f6e7ec****\\",\\n \\"StageStatus\\": 2,\\n \\"StageName\\": \\"Process Start\\",\\n \\"TaskList\\": {\\n \\"TaskInfoDTO\\": [\\n {\\n \\"TaskErrorIgnorance\\": 0,\\n \\"ShowManualIgnorance\\": false,\\n \\"TaskStatus\\": \\"2\\",\\n \\"TaskMessage\\": \\"[CALLBACK] 2020-03-11 15:28:44.781 requestId: c952ab99-8c5b-4ff1-9412-ae3bf9b1****, message: success\\",\\n \\"TaskName\\": \\"Build Image\\",\\n \\"TaskErrorCode\\": \\"400\\",\\n \\"RetryType\\": 0,\\n \\"TaskId\\": \\"d6d3b934-90a1-4ae8-8cbd-2446003d****\\",\\n \\"TaskErrorMessage\\": \\"400\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n },\\n \\"Targets\\": {\\n \\"Items\\": [\\n \\"[\\\\\\"123.250.XX.XX\\\\\\",\\\\\\"234.123.XX.XX\\\\\\"]\\"\\n ]\\n },\\n \\"TrafficControl\\": {\\n \\"Routes\\": \\"[{\\\\\\"app\\\\\\":\\\\\\"9c8247da-91b6-42bb-8f99-92a0b9c6f****\\\\\\",\\\\\\"type\\\\\\":\\\\\\"GROUP\\\\\\"}]\\",\\n \\"Rules\\": \\"[{\\\\\\"conditionType\\\\\\":\\\\\\"content\\\\\\",\\\\\\"conditions\\\\\\":[{\\\\\\"key\\\\\\":\\\\\\"name\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"EQ\\\\\\",\\\\\\"strategy\\\\\\":\\\\\\"PARAM\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"jim\\\\\\"]},{\\\\\\"key\\\\\\":\\\\\\"name\\\\\\",\\\\\\"operator\\\\\\":\\\\\\"EQ\\\\\\",\\\\\\"strategy\\\\\\":\\\\\\"COOKIE\\\\\\",\\\\\\"values\\\\\\":[\\\\\\"jim\\\\\\"]}],\\\\\\"percent\\\\\\":100,\\\\\\"protocol\\\\\\":\\\\\\"SPRINGCLOUD\\\\\\",\\\\\\"triggerPolicy\\\\\\":\\\\\\"AND\\\\\\"}]\\",\\n \\"Tips\\": \\"灰度批次发布完毕,已确认继续下一批。\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetChangeOrderInfoResponse>\\n <Code>200</Code>\\n <Message>success</Message>\\n <RequestId>4JFR-FV9F***************</RequestId>\\n <changeOrderInfo>\\n <Status>2</Status>\\n <ChangeOrderId>1074f3e2-e974-4a0e-****-************</ChangeOrderId>\\n <BatchType>Automatic</BatchType>\\n <CoType>Application Scale Out</CoType>\\n <CreateTime>2019-11-13 14:23:46</CreateTime>\\n <ChangeOrderDescription>应用扩容</ChangeOrderDescription>\\n <BatchCount>1</BatchCount>\\n <CreateUserId>edas_com***_****@******-*****.***</CreateUserId>\\n <SupportRollback>false</SupportRollback>\\n <Desc>IP of Scale-Out Instance: 47.107.XX.XX</Desc>\\n <PipelineInfoList>\\n <PipelineName> Batch: 1</PipelineName>\\n <StartTime>1583911702158</StartTime>\\n <UpdateTime>1583911743633</UpdateTime>\\n <PipelineStatus>2</PipelineStatus>\\n <PipelineId>4c4ee320-5e47-4a48-****-************</PipelineId>\\n <StageList>\\n <StageId>358a143f-09a0-45e0-****-************@**_*******_*****</StageId>\\n <Status>2</Status>\\n <StageName>Scale Out</StageName>\\n <StageResultDTO>\\n <InstanceDTOList>\\n <Status>2</Status>\\n <InstanceIp>47.XX.XX.12 (Public)&lt;br&gt;***.**.*.*** (*******)</InstanceIp>\\n <PodName>canary-test</PodName>\\n <InstanceName>EDAS-scaled</InstanceName>\\n <PodStatus>执行中</PodStatus>\\n <InstanceStageDTOList>\\n <StageId>5dd4c0f2-d81a-406f-****-************</StageId>\\n <Status>2</Status>\\n <StartTime>2020-03-11T07:28:49Z</StartTime>\\n <StageMessage>Pulling image \\\\\\"registry-vpc.cn-hangzhou.aliyuncs.com****-user/1172745****_shared_repo:428084d6-265f-****-911a-7eb0d2c3****_15839117****\\\\</StageMessage>\\n <FinishTime>2020-03-11T07:28:52Z</FinishTime>\\n <StageName> scale out </StageName>\\n </InstanceStageDTOList>\\n </InstanceDTOList>\\n <ServiceStage>\\n <StageId>358a143f-09a0-45e0-****-************</StageId>\\n <Status>2</Status>\\n <Message>Success</Message>\\n <StageName>Enable Tengine</StageName>\\n </ServiceStage>\\n </StageResultDTO>\\n </StageList>\\n <StageDetailList>\\n <StageId>d7561440-10a6-452f-8a90-62f6e7ec****</StageId>\\n <StageStatus>2</StageStatus>\\n <StageName>Process Start</StageName>\\n <TaskList>\\n <TaskErrorIgnorance>0</TaskErrorIgnorance>\\n <ShowManualIgnorance>false</ShowManualIgnorance>\\n <TaskStatus>2</TaskStatus>\\n <TaskMessage>[CALLBACK] 2020-03-11 15:28:44.781 requestId: c952ab99-8c5b-4ff1-9412-ae3bf9b1****, message: success</TaskMessage>\\n <TaskName>Build Image</TaskName>\\n <TaskErrorCode>400</TaskErrorCode>\\n <TaskId>d6d3b934-90a1-4ae8-8cbd-2446003d****</TaskId>\\n <TaskErrorMessage>400</TaskErrorMessage>\\n </TaskList>\\n </StageDetailList>\\n </PipelineInfoList>\\n <TrafficControl>\\n <Routes>[{\\"app\\":\\"9c8247da-91b6-42bb-8f99-92a0b9c6f****\\",\\"type\\":\\"GROUP\\"}]</Routes>\\n <Rules>[{\\"conditionType\\":\\"content\\",\\"conditions\\":[{\\"key\\":\\"name\\",\\"operator\\":\\"EQ\\",\\"strategy\\":\\"PARAM\\",\\"values\\":[\\"jim\\"]},{\\"key\\":\\"name\\",\\"operator\\":\\"EQ\\",\\"strategy\\":\\"COOKIE\\",\\"values\\":[\\"jim\\"]}],\\"percent\\":100,\\"protocol\\":\\"SPRINGCLOUD\\",\\"triggerPolicy\\":\\"AND\\"}]</Rules>\\n <Tips>灰度批次发布完毕,已确认继续下一批。</Tips>\\n </TrafficControl>\\n </changeOrderInfo>\\n</GetChangeOrderInfoResponse>","errorExample":""}]',
+ 'title' => 'GetChangeOrderInfo',
+ 'summary' => 'Queries the details about a change process.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetSecureToken' => [
+ 'summary' => 'Queries the security token information of a namespace. You can call this operation to query information, such as the AccessKey ID, AccessKey secret, tenant ID, and the domain name of Address Server, for the specified namespace.',
+ 'path' => '/pop/v5/secure_token',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NamespaceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace, such as cn-beijing or cn-beijing:prod````.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-shenzhen:x*****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*************',
+ ],
+ 'SecureToken' => [
+ 'description' => 'The returned security token.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SecretKey' => [
+ 'description' => 'The AccessKey secret used in the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'gOSgbgR2R*************',
+ ],
+ 'AccessKey' => [
+ 'description' => 'The AccessKey ID used in the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'f676f1**************',
+ ],
+ 'BelongRegion' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => '”“',
+ ],
+ 'RegionName' => [
+ 'description' => 'The name of the region where the namespace resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'x******',
+ ],
+ 'EdasId' => [
+ 'description' => 'The ID of the Alibaba Cloud account that activated Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'example' => '11727458********',
+ ],
+ 'AddressServerHost' => [
+ 'description' => 'The address of Address Server associated with the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'addr-****-****.edas.aliyun.com',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the security token.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '7279',
+ ],
+ 'TenantId' => [
+ 'description' => 'The tenant ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => '401b7bc8-9441-4693-****-************',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region where the namespace resides.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen:x*******',
+ ],
+ 'MseRegistryType' => [
+ 'description' => 'The type of the Microservices Engine (MSE) registry.'."\n"
+ ."\n"
+ .'* default: the shared registry of EDAS'."\n"
+ .'* exclusive_mse: MSE Nacos registry'."\n",
+ 'type' => 'string',
+ 'example' => 'exclusive_mse',
+ ],
+ 'MseInstanceId' => [
+ 'description' => 'The ID of the MSE instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'mse_prepaid_public_cn-tl32p******',
+ ],
+ 'MseInternetAddress' => [
+ 'description' => 'The public endpoint of the MSE registry.'."\n",
+ 'type' => 'string',
+ 'example' => 'mse-aa2******-p.nacos-ans.mse.aliyuncs.com',
+ ],
+ 'MseIntranetAddress' => [
+ 'description' => 'The private endpoint of the MSE registry.'."\n",
+ 'type' => 'string',
+ 'example' => 'mse-72******-nacos-ans.mse.aliyuncs.com',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-*************\\",\\n \\"SecureToken\\": {\\n \\"SecretKey\\": \\"gOSgbgR2R*************\\",\\n \\"AccessKey\\": \\"f676f1**************\\",\\n \\"BelongRegion\\": \\"cn-shenzhen\\",\\n \\"Description\\": \\"”“\\",\\n \\"RegionName\\": \\"x******\\",\\n \\"EdasId\\": \\"11727458********\\",\\n \\"AddressServerHost\\": \\"addr-****-****.edas.aliyun.com\\",\\n \\"UserId\\": \\"edas_com***_****@******-*****.***\\",\\n \\"Id\\": 7279,\\n \\"TenantId\\": \\"401b7bc8-9441-4693-****-************\\",\\n \\"RegionId\\": \\"cn-shenzhen:x*******\\",\\n \\"MseRegistryType\\": \\"exclusive_mse\\",\\n \\"MseInstanceId\\": \\"mse_prepaid_public_cn-tl32p******\\",\\n \\"MseInternetAddress\\": \\"mse-aa2******-p.nacos-ans.mse.aliyuncs.com\\",\\n \\"MseIntranetAddress\\": \\"mse-72******-nacos-ans.mse.aliyuncs.com\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<SecureToken>\\n <EdasId>11727458********</EdasId>\\n <TenantId>401b7bc8-9441-4693-****-************</TenantId>\\n <SecretKey>gOSgbgR2R*************</SecretKey>\\n <Description>”“</Description>\\n <RegionName>x******</RegionName>\\n <UserId>edas_com***_****@******-*****.***</UserId>\\n <AddressServerHost>addr-****-****.edas.aliyun.com</AddressServerHost>\\n <AccessKey>f676f1**************</AccessKey>\\n <RegionId>cn-shenzhen:x*******</RegionId>\\n <Id>7279</Id>\\n <BelongRegion>cn-shenzhen</BelongRegion>\\n</SecureToken>\\n<RequestId>D16979DC-4D42-*************</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'GetSecureToken',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryEccInfo' => [
+ 'path' => '/pop/v5/ecc',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EccId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'EccInfo' => [
+ 'description' => 'The information about the ECC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'VPC ID'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-23727****',
+ ],
+ 'EccId' => [
+ 'description' => 'ECC ID'."\n",
+ 'type' => 'string',
+ 'example' => 'a5b9****-40b4-4d7b-9c2a-55d6c1c0****',
+ ],
+ 'EcuId' => [
+ 'description' => 'ECU ID'."\n",
+ 'type' => 'string',
+ 'example' => '0d4e****-6d87-401f-ba81-13df9877****',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the ECC group.'."\n",
+ 'type' => 'string',
+ 'example' => '57cd****-2d3b-496f-bcce-646d0a4d****',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the ECC group.'."\n",
+ 'type' => 'string',
+ 'example' => '_DEFAULT_GROUP',
+ ],
+ 'PackageMd5' => [
+ 'description' => 'The MD5 hash value of the deployment package version.'."\n",
+ 'type' => 'string',
+ 'example' => 'bab6****7a090e41ca9445c9b3cd****',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'e809****-43d7-4c6b-8e01-b0d9d1db****',
+ ],
+ 'PackageVersion' => [
+ 'description' => 'The version of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => '20210209.153400',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"EccInfo\\": {\\n \\"VpcId\\": \\"vpc-23727****\\",\\n \\"EccId\\": \\"a5b9****-40b4-4d7b-9c2a-55d6c1c0****\\",\\n \\"EcuId\\": \\"0d4e****-6d87-401f-ba81-13df9877****\\",\\n \\"GroupId\\": \\"57cd****-2d3b-496f-bcce-646d0a4d****\\",\\n \\"GroupName\\": \\"_DEFAULT_GROUP\\",\\n \\"PackageMd5\\": \\"bab6****7a090e41ca9445c9b3cd****\\",\\n \\"AppId\\": \\"e809****-43d7-4c6b-8e01-b0d9d1db****\\",\\n \\"PackageVersion\\": \\"20210209.153400\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<EccInfo>\\n <GroupName>_DEFAULT_GROUP</GroupName>\\n <VpcId>vpc-23727****</VpcId>\\n <AppId>e809****-43d7-4c6b-8e01-b0d9d1db****</AppId>\\n <PackageMd5>bab6****7a090e41ca9445c9b3cd****</PackageMd5>\\n <EcuId>0d4e****-6d87-401f-ba81-13df9877****</EcuId>\\n <EccId>a5b9****-40b4-4d7b-9c2a-55d6c1c0****</EccId>\\n <PackageVersion>20210209.153400</PackageVersion>\\n <GroupId>57cd****-2d3b-496f-bcce-646d0a4d****</GroupId>\\n</EccInfo>\\n<RequestId>b197-40ab-9155-****</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'QueryEccInfo',
+ 'summary' => 'Queries details about an elastic compute container (ECC). This operation is applicable to Container Service for Kubernetes (ACK) clusters.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetScalingRules' => [
+ 'path' => '/pop/v5/app/scalingRules',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '33e39be9-3e5f-*********',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group to which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'd8bb9d60-9**************',
+ ],
+ ],
+ [
+ 'name' => 'Mode',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the scaling rule. You can leave this parameter empty. Valid values:'."\n"
+ ."\n"
+ .'* SCALE_IN: scale-in rules'."\n"
+ .'* SCALE_OUT: scale-out rules'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => ' SCALE_IN',
+ 'enum' => [
+ 'SCALE_IN',
+ 'SCALE_OUT',
+ ],
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the scaling rule was last updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-***********',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'OversoldFactor' => [
+ 'description' => 'The overcommit ratio supported by a Docker cluster. Valid values:'."\n"
+ ."\n"
+ .'* 1: 1:1, which means that resources are not overcommitted.'."\n"
+ .'* 2: 1:2, which means that resources are overcommitted by 1:2.'."\n"
+ .'* 4: 1:4, which means that resources are overcommitted by 1:4.'."\n"
+ .'* 8: 1:8, which means that resources are overcommitted by 1:8.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-wz9b246z******',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the scaling rule was last updated. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: regular Docker cluster'."\n"
+ .'* 1: Swarm cluster (deprecated)'."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in EDAS'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n"
+ .'* 5: Container Service for Kubernetes (ACK) clusters'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'RuleList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Rule' => [
+ 'description' => 'The array data of the scaling rule.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the scaling rule.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-wz9b246z******',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the scaling rule was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the scaling rule was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601801',
+ ],
+ 'Rt' => [
+ 'description' => 'The service latency that triggers the scaling rule. Unit: milliseconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SpecId' => [
+ 'description' => 'The ID of the specification.'."\n",
+ 'type' => 'string',
+ 'example' => '03f493c0-xxxx-xxxx-xxxx-12e85cadeb41',
+ ],
+ 'MultiAzPolicy' => [
+ 'description' => 'The policy of auto scaling across multiple zones. Valid values:'."\n"
+ ."\n"
+ .'* PRIORITY: The vSwitch that is first selected has the highest priority.'."\n"
+ .'* BALANCE: This policy evenly distributes instances across zones in which the vSwitches reside.'."\n",
+ 'type' => 'string',
+ 'example' => 'PRIORITY',
+ ],
+ 'ResourceFrom' => [
+ 'description' => 'The source of the instance that you want to add during a scale-out. Valid values:'."\n"
+ ."\n"
+ .'* NEW: Elastic resources are used.'."\n"
+ .'* AVAILABLE: The existing resources are used.'."\n"
+ .'* AVAILABLE_FIRST: The existing resources are used first.'."\n",
+ 'type' => 'string',
+ 'example' => 'AVAILABLE',
+ ],
+ 'Mode' => [
+ 'description' => 'The type of the scaling rule. Valid values:'."\n"
+ ."\n"
+ .'* SCALE_IN: scale-in rules'."\n"
+ .'* SCALE_OUT: scale-out rules'."\n",
+ 'type' => 'string',
+ 'example' => 'SCALE_OUT',
+ ],
+ 'LoadNum' => [
+ 'description' => 'The system load that triggers the scaling rule. The system load is evaluated based on the number of processes that are being executed by CPUs and the number of processes that wait to be executed by CPUs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TemplateVersion' => [
+ 'description' => 'The version of the launch template.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1143542',
+ ],
+ 'Step' => [
+ 'description' => 'The number of instances that are added during each scale-out or removed during each scale-in.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Cond' => [
+ 'description' => 'The relationship among the conditions that trigger the scaling rule.'."\n"
+ ."\n"
+ .'* OR: one of the conditions'."\n"
+ .'* AND: all conditions'."\n",
+ 'type' => 'string',
+ 'example' => 'OR',
+ ],
+ 'Cpu' => [
+ 'description' => 'The minimum CPU utilization that triggers the scaling rule.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the instance group to which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'example' => 'd8bb9d60-91b5-4cdf-****-************',
+ ],
+ 'InstNum' => [
+ 'description' => 'The maximum number of instances in the group when a scale-out is performed, or the minimum number of instances in the group when a scale-in is performed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '33e39be9-3e5f-*********',
+ ],
+ 'Duration' => [
+ 'description' => 'The duration of the scaling rule. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1574251601',
+ ],
+ 'VSwitchIds' => [
+ 'description' => 'The IDs of the vSwitches. The IDs of multiple vSwitches are separated by commas (,).'."\n",
+ 'type' => 'string',
+ 'example' => 'vsw-mxxxxkxxxx4xxxxwbionj',
+ ],
+ 'MetricType' => [
+ 'description' => 'The type of the metric.'."\n",
+ 'type' => 'string',
+ 'example' => 'HSF',
+ ],
+ 'TemplateId' => [
+ 'description' => 'The ID of the launch template.'."\n",
+ 'type' => 'string',
+ 'example' => 'lt-bp1xxxxn73pxxxxf83l',
+ ],
+ 'Enable' => [
+ 'description' => 'Indicates whether scale-ins or scale-outs are allowed. Valid values:'."\n"
+ ."\n"
+ .'* true: Scale-ins or scale-outs are allowed.'."\n"
+ .'* false: Scale-ins or scale-outs are disallowed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"UpdateTime\\": 1574251601785,\\n \\"RequestId\\": \\"D16979DC-4D42-***********\\",\\n \\"Data\\": {\\n \\"OversoldFactor\\": 1,\\n \\"VpcId\\": \\"vpc-wz9b246z******\\",\\n \\"UpdateTime\\": 1574251601785,\\n \\"ClusterType\\": 2,\\n \\"RuleList\\": {\\n \\"Rule\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9b246z******\\",\\n \\"UpdateTime\\": 1574251601785,\\n \\"CreateTime\\": 1574251601801,\\n \\"Rt\\": 1,\\n \\"SpecId\\": \\"03f493c0-xxxx-xxxx-xxxx-12e85cadeb41\\",\\n \\"MultiAzPolicy\\": \\"PRIORITY\\",\\n \\"ResourceFrom\\": \\"AVAILABLE\\",\\n \\"Mode\\": \\"SCALE_OUT\\",\\n \\"LoadNum\\": 1,\\n \\"TemplateVersion\\": 1143542,\\n \\"Step\\": 1,\\n \\"Cond\\": \\"OR\\",\\n \\"Cpu\\": 1,\\n \\"GroupId\\": \\"d8bb9d60-91b5-4cdf-****-************\\",\\n \\"InstNum\\": 2,\\n \\"AppId\\": \\"33e39be9-3e5f-*********\\",\\n \\"Duration\\": 1574251601,\\n \\"VSwitchIds\\": \\"vsw-mxxxxkxxxx4xxxxwbionj\\",\\n \\"MetricType\\": \\"HSF\\",\\n \\"TemplateId\\": \\"lt-bp1xxxxn73pxxxxf83l\\",\\n \\"Enable\\": true\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Data>\\n <RuleList>\\n <Rule>\\n <Step>1</Step>\\n <SpecId/>\\n <AppId>33e39be9-3e5f-4028-****-************</AppId>\\n <MultiAzPolicy/>\\n <UpdateTime>1574251601785</UpdateTime>\\n <MetricType>HSF</MetricType>\\n <Mode>SCALE_OUT</Mode>\\n <GroupId>d8bb9d60-91b5-4cdf-****-************</GroupId>\\n <VpcId/>\\n <TemplateId/>\\n <Rt>1</Rt>\\n <ResourceFrom>AVAILABLE</ResourceFrom>\\n <Cpu>1</Cpu>\\n <VSwitchIds/>\\n <Cond>OR</Cond>\\n <InstNum>2</InstNum>\\n <Enable>true</Enable>\\n <CreateTime>1574251601801</CreateTime>\\n <Duration>1</Duration>\\n <LoadNum>1</LoadNum>\\n </Rule>\\n </RuleList>\\n <OversoldFactor>1</OversoldFactor>\\n <ClusterType>2</ClusterType>\\n <VpcId>vpc-wz9b246z******</VpcId>\\n</Data>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'GetScalingRules',
+ 'summary' => 'Queries scaling rules.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListUserDefineRegion' => [
+ 'path' => '/pop/v5/user_region_defs',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DebugEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether remote debugging is allowed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'UserDefineRegionList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'UserDefineRegionEntity' => [
+ 'description' => 'The namespaces.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of namespaces.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'BelongRegion' => [
+ 'description' => 'The ID of the region to which the namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen',
+ ],
+ 'RegionName' => [
+ 'description' => 'The name of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'betaappManager',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'betaappManager',
+ ],
+ 'DebugEnable' => [
+ 'description' => 'Indicates whether remote debugging is allowed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_****_test@aliyun-****.com',
+ ],
+ 'Id' => [
+ 'description' => 'The unique identifier of the namespace.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1330',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'> The ID cannot be changed after the namespace is created. The ID is in the `Physical region ID:Logical region identifier` format .'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen:betaappManager',
+ ],
+ 'MseInstanceId' => [
+ 'description' => 'The type of the registry. Valid values:'."\n"
+ ."\n"
+ .'* default: shared service registry of Enterprise Distributed Application Service (EDAS)'."\n"
+ .'* exclusive_mse: Microservices Engine (MSE) Nacos registry',
+ 'type' => 'string',
+ 'example' => 'default: EDAS',
+ ],
+ 'RegistryType' => [
+ 'description' => 'The ID of the MSE instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'mse_prepaid_public_cn-tl32n******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"UserDefineRegionList\\": {\\n \\"UserDefineRegionEntity\\": [\\n {\\n \\"BelongRegion\\": \\"cn-shenzhen\\",\\n \\"RegionName\\": \\"betaappManager\\",\\n \\"Description\\": \\"betaappManager\\",\\n \\"DebugEnable\\": false,\\n \\"UserId\\": \\"edas_****_test@aliyun-****.com\\",\\n \\"Id\\": 1330,\\n \\"RegionId\\": \\"cn-shenzhen:betaappManager\\",\\n \\"MseInstanceId\\": \\"default:EDAS\\",\\n \\"RegistryType\\": \\"mse_prepaid_public_cn-tl32n******\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<UserDefineRegionList>\\n <UserDefineRegionEntity>\\n <Description>betaappManager</Description>\\n <RegionName>betaappManager</RegionName>\\n <BelongRegion>cn-shenzhen</BelongRegion>\\n <RegionId>cn-shenzhen:betaappManager</RegionId>\\n <Id>1330</Id>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <DebugEnable>false</DebugEnable>\\n </UserDefineRegionEntity>\\n</UserDefineRegionList>","errorExample":""}]',
+ 'summary' => 'Queries custom namespaces.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetContainerConfiguration' => [
+ 'path' => '/pop/v5/app/container_config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3616cdca-4f92-**************',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n"
+ ."\n"
+ .'* If this parameter is specified, this operation queries the Tomcat configuration of the instance group.'."\n"
+ .'* If this parameter is not specified, this operation queries the Tomcat configuration of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8123db90-880f-**************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '34F8-FDG9-*****************',
+ ],
+ 'ContainerConfiguration' => [
+ 'description' => 'The Tomcat configuration.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpPort' => [
+ 'description' => 'The application port number for the Tomcat container. The value specified in the application configuration is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'ContextPath' => [
+ 'description' => 'The context path of the Tomcat container.'."\n",
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'UseBodyEncoding' => [
+ 'description' => 'Indicates whether useBodyEncodingForURI is enabled in the Tomcat container.'."\n"
+ ."\n"
+ .'* If no instance group is specified, the configuration of the application is returned.'."\n"
+ .'* If no application is specified, the default configuration is returned.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxThreads' => [
+ 'description' => 'The maximum number of threads in the Tomcat container.'."\n"
+ ."\n"
+ .'* If no instance group is specified, the configuration of the application is returned.'."\n"
+ .'* If no application is specified, the default configuration is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '400',
+ ],
+ 'URIEncoding' => [
+ 'description' => 'The Uniform Resource Identifier (URI) encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.'."\n"
+ ."\n"
+ .'* If no instance group is specified, the configuration of the application is returned.'."\n"
+ .'* If no application is specified, the default configuration is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'ISO-8859-1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"34F8-FDG9-*****************\\",\\n \\"ContainerConfiguration\\": {\\n \\"HttpPort\\": 8080,\\n \\"ContextPath\\": \\"/\\",\\n \\"UseBodyEncoding\\": true,\\n \\"MaxThreads\\": 400,\\n \\"URIEncoding\\": \\"ISO-8859-1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetContainerConfigurationResponse>\\n <Code>200</Code>\\n <Message>success</Message>\\n <RequestId>34F8-FDG9-*****************</RequestId>\\n <ContainerConfiguration>\\n <HttpPort>8080</HttpPort>\\n <ContextPath>/</ContextPath>\\n <UseBodyEncoding>true</UseBodyEncoding>\\n <MaxThreads>400</MaxThreads>\\n <URIEncoding>ISO-8859-1</URIEncoding>\\n </ContainerConfiguration>\\n</GetContainerConfigurationResponse>","errorExample":""}]',
+ 'title' => 'GetContainerConfiguration',
+ 'summary' => 'Queries the Tomcat configuration of an application or an instance group in which an application is deployed.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListApplication' => [
+ 'path' => '/pop/v5/app/app_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID. Specify this parameter if you want to filter applications by cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'c37aec2a-bcca-4ec1-****-************',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace ID. Specify this parameter if you want to filter applications by namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application. Specify this parameter if you want to filter applications by application name.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testapp',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group. Specify this parameter if you want to filter applications by resource group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-aek24j4s4b*****',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionIdFilter',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace that you use in the exact search to filter applications.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'AppIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application IDs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '['."\n"
+ .' "5657d271-****-4f03-9bb2-431f942886bb",'."\n"
+ .' "5657d271-****-4f03-9bb2-431f942bbddd"'."\n"
+ .']',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The page number. Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5d6fa0bc-cc3**********',
+ ],
+ 'ApplicationList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Application' => [
+ 'description' => 'The information about applications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the array object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '00ee517d-dd7d-4d4e-****-************',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:docTes',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'doc-test-consumer',
+ ],
+ 'Instances' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Port' => [
+ 'description' => 'The service port of the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'State' => [
+ 'description' => 'The state of the application. Valid values:'."\n"
+ ."\n"
+ .'* RUNNING: The application is running.'."\n"
+ .'* STOPPED: The application is stopped.'."\n"
+ .'* DEPLOYING: The application is being deployed.'."\n"
+ .'* DELETING: The application is being deleted.'."\n",
+ 'type' => 'string',
+ 'example' => 'RUNNING',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the application was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1664208000000',
+ ],
+ 'SlbIp' => [
+ 'description' => 'The IP address of the internal-facing Server Load Balancer (SLB) instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.0.***',
+ ],
+ 'SlbPort' => [
+ 'description' => 'The port of the internal-facing SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ 'SlbListenerPort' => [
+ 'description' => 'The listener port of the internal-facing SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8088',
+ ],
+ 'ExtSlbListenerPort' => [
+ 'description' => 'The listener port of the Internet-facing SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'BuildPackageId' => [
+ 'description' => 'The build package number of Enterprise Distributed Application Service (EDAS) Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '58',
+ ],
+ 'ExtSlbIp' => [
+ 'description' => 'The IP address of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '100.100.70.***',
+ ],
+ 'ApplicationType' => [
+ 'description' => 'The deployment type of the application. Valid values:'."\n"
+ ."\n"
+ .'* War: The application is deployed by using a WAR package.'."\n"
+ .'* FatJar: The application is deployed by using a JAR package.'."\n"
+ .'* Image: The application is deployed by using an image.'."\n"
+ .'* If this parameter is empty, the application is not deployed.'."\n",
+ 'type' => 'string',
+ 'example' => 'FatJar',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster in which the application is deployed. Valid values:'."\n"
+ ."\n"
+ .'* **2**: Elastic Compute Service (ECS) cluster'."\n"
+ .'* **3**: self-managed Kubernetes cluster in EDAS'."\n"
+ .'* **5**: Container Service for Kubernetes (ACK) cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'RunningInstanceCount' => [
+ 'description' => 'The number of running application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'c37aec2a-bcca-4ec1-****-************',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-aek24j4s4b*****',
+ ],
+ 'K8sNamespace' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'NamespaceId' => [
+ 'description' => 'The ID of the microservices namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou:test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"5d6fa0bc-cc3**********\\",\\n \\"ApplicationList\\": {\\n \\"Application\\": [\\n {\\n \\"AppId\\": \\"00ee517d-dd7d-4d4e-****-************\\",\\n \\"RegionId\\": \\"cn-beijing:docTes\\",\\n \\"Name\\": \\"doc-test-consumer\\",\\n \\"Instances\\": 5,\\n \\"Port\\": 8080,\\n \\"State\\": \\"RUNNING\\",\\n \\"CreateTime\\": 1664208000000,\\n \\"SlbIp\\": \\"192.168.0.***\\",\\n \\"SlbPort\\": 80,\\n \\"SlbListenerPort\\": 8088,\\n \\"ExtSlbListenerPort\\": 8080,\\n \\"BuildPackageId\\": 58,\\n \\"ExtSlbIp\\": \\"100.100.70.***\\",\\n \\"ApplicationType\\": \\"FatJar\\",\\n \\"ClusterType\\": 2,\\n \\"RunningInstanceCount\\": 0,\\n \\"ClusterId\\": \\"c37aec2a-bcca-4ec1-****-************\\",\\n \\"ResourceGroupId\\": \\"rg-aek24j4s4b*****\\",\\n \\"K8sNamespace\\": \\"default\\",\\n \\"NamespaceId\\": \\"cn-hangzhou:test\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5d6fa0bc-cc3**********</RequestId>\\n<Message>success</Message>\\n<ApplicationList>\\n <Application>\\n <BuildPackageId>58</BuildPackageId>\\n <ApplicationType>FatJar</ApplicationType>\\n <ResourceGroupId>rg-aek24j4s4b*****</ResourceGroupId>\\n <AppId>00ee517d-dd7d-4d4e-****-************</AppId>\\n <ClusterId>c37aec2a-bcca-4ec1-****-************</ClusterId>\\n <ClusterType>2</ClusterType>\\n <RegionId>cn-beijing:docTes</RegionId>\\n <RunningInstanceCount>0</RunningInstanceCount>\\n <Name>doc-test-consumer</Name>\\n </Application>\\n</ApplicationList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListApplication',
+ 'summary' => 'Queries a list of applications.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListDeployGroup' => [
+ 'summary' => 'Queries the instance groups to which an application is deployed.',
+ 'path' => '/pop/v5/app/deploy_group_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3FDE-DS9R-*********************',
+ ],
+ 'DeployGroupList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DeployGroup' => [
+ 'description' => 'The information about the instance group in which the application is deployed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the instance group in which the application is deployed.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VServerGroupId' => [
+ 'description' => 'The ID of the vServer group of the internal-facing Server Load Balancer (SLB) instance associated with the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'rsp-cige6******',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the application instance group. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 10: failed due to a system exception'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'CpuRequest' => [
+ 'description' => 'The number of CPU cores requested for each application instance when the application is running. Unit: cores. Value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the application was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627695779',
+ ],
+ 'MemoryRequest' => [
+ 'description' => 'The size of memory requested for each application instance when the application is running. Unit: MB. Value 0 indicates that no limit is set on the memory size.'."\n",
+ 'type' => 'string',
+ 'example' => '512',
+ ],
+ 'NameSpace' => [
+ 'description' => 'The namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'ping****est',
+ ],
+ 'AppVersionId' => [
+ 'description' => 'The ID of the change process for application deployment in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'changeorder_a**_*******_**',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the application was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627695779',
+ ],
+ 'DeploymentName' => [
+ 'description' => 'The name of the deployment.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'PreStop' => [
+ 'description' => 'The pre-stop script.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ 'PackageUrl' => [
+ 'description' => 'The URL of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar',
+ ],
+ 'PackageVersion' => [
+ 'description' => 'The version of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'E',
+ ],
+ 'BaseComponentMetaName' => [
+ 'description' => 'The name of the basic component.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-sc-consumer-****',
+ ],
+ 'CsClusterId' => [
+ 'description' => 'The ID of the Container Service for Kubernetes (ACK) cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'c66e65950db****cba92f17434df1****',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ 'LastUpdateTime' => [
+ 'description' => 'The time when the application was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1587888503825',
+ ],
+ 'Env' => [
+ 'description' => 'The ID of the ACK cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '497806cb-****-6a7',
+ ],
+ 'CpuLimit' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running.'."\n",
+ 'type' => 'string',
+ 'example' => '400',
+ ],
+ 'GroupType' => [
+ 'description' => 'The type of the instance group. Valid values:'."\n"
+ ."\n"
+ .'* 0: default group.'."\n"
+ .'* 1: Canary release is disabled for traffic management.'."\n"
+ .'* 2: Canary release is enabled for traffic management.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '0d247b93-8d62-4e34-****-************',
+ ],
+ 'PostStart' => [
+ 'description' => 'The post-start script.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ 'Labels' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'MemoryLimit' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is running. Unit: MB. Value 0 indicates that no limit is set on the memory size.'."\n",
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'Strategy' => [
+ 'description' => 'The throttling policy. This parameter is reserved.'."\n",
+ 'type' => 'string',
+ 'example' => 'RollingUpdate',
+ ],
+ 'Selector' => [
+ 'description' => 'The ID of the application deployed in the ACK cluster in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'example' => '53dd85cc-25b4-4d0e-****-6bf5465****4',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '577f4c50-16ee-43d8-****-************',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '_DEFAULT_GROUP',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'doc-test',
+ ],
+ 'PackageVersionId' => [
+ 'description' => 'The version of the deployment package that was used to deploy an application in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'a7d48fe8-ad8f-****-89bd-74cc1ee6****',
+ ],
+ 'Reversion' => [
+ 'description' => 'The version of the application. The value progressively increases in the range of 0 to 7.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'VExtServerGroupId' => [
+ 'description' => 'The ID of the vServer group of the Internet-facing SLB instance associated with the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'rsp-cige6******',
+ ],
+ 'PackagePublicUrl' => [
+ 'description' => 'The external download URL of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar',
+ ],
+ 'EphemeralStorageRequest' => [
+ 'description' => 'The minimum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'string',
+ 'example' => '4',
+ ],
+ 'EphemeralStorageLimit' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'string',
+ 'example' => '8',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3FDE-DS9R-*********************\\",\\n \\"DeployGroupList\\": {\\n \\"DeployGroup\\": [\\n {\\n \\"VServerGroupId\\": \\"rsp-cige6******\\",\\n \\"Status\\": \\"2\\",\\n \\"CpuRequest\\": \\"1\\",\\n \\"UpdateTime\\": 1573627695779,\\n \\"MemoryRequest\\": \\"512\\",\\n \\"NameSpace\\": \\"ping****est\\",\\n \\"AppVersionId\\": \\"changeorder_a**_*******_**\\",\\n \\"CreateTime\\": 1573627695779,\\n \\"DeploymentName\\": \\"test\\",\\n \\"PreStop\\": \\"{\\\\\\\\\\\\\\"exec\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"command\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"ls\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\"]}}\\\\\\"\\",\\n \\"PackageUrl\\": \\"http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar\\",\\n \\"PackageVersion\\": \\"E\\",\\n \\"BaseComponentMetaName\\": \\"k8s-sc-consumer-****\\",\\n \\"CsClusterId\\": \\"c66e65950db****cba92f17434df1****\\",\\n \\"AppId\\": \\"3616cdca-4f92-4413-****-************\\",\\n \\"LastUpdateTime\\": 1587888503825,\\n \\"Env\\": \\"497806cb-****-6a7\\",\\n \\"CpuLimit\\": \\"400\\",\\n \\"GroupType\\": 1,\\n \\"ClusterId\\": \\"0d247b93-8d62-4e34-****-************\\",\\n \\"PostStart\\": \\"{\\\\\\\\\\\\\\"exec\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"command\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"ls\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\"]}}\\\\\\"\\",\\n \\"Labels\\": \\"test\\",\\n \\"MemoryLimit\\": \\"0\\",\\n \\"Strategy\\": \\"RollingUpdate\\",\\n \\"Selector\\": \\"53dd85cc-25b4-4d0e-****-6bf5465****4\\",\\n \\"GroupId\\": \\"577f4c50-16ee-43d8-****-************\\",\\n \\"GroupName\\": \\"_DEFAULT_GROUP\\",\\n \\"ClusterName\\": \\"doc-test\\",\\n \\"PackageVersionId\\": \\"a7d48fe8-ad8f-****-89bd-74cc1ee6****\\",\\n \\"Reversion\\": \\"2\\",\\n \\"VExtServerGroupId\\": \\"rsp-cige6******\\",\\n \\"PackagePublicUrl\\": \\"http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar\\",\\n \\"EphemeralStorageRequest\\": \\"4\\",\\n \\"EphemeralStorageLimit\\": \\"8\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DeployGroupList>\\n <DeployGroup>\\n <GroupName>_DEFAULT_GROUP</GroupName>\\n <MemoryRequest>512</MemoryRequest>\\n <NameSpace>ping****est</NameSpace>\\n <AppVersionId>“”</AppVersionId>\\n <Env>497806cb-****-6a7</Env>\\n <CsClusterId>c66e65950db****cba92f17434df1****</CsClusterId>\\n <PackageVersion>E</PackageVersion>\\n <Reversion>2</Reversion>\\n <PreStop>\\"\\"</PreStop>\\n <LastUpdateTime>1587888503825</LastUpdateTime>\\n <ClusterName>doc-test</ClusterName>\\n <Selector>53dd85cc-25b4-4d0e-****-6bf5465****4</Selector>\\n <Status>2</Status>\\n <DeploymentName>test</DeploymentName>\\n <CpuLimit>400</CpuLimit>\\n <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>\\n <CreateTime>1573627695779</CreateTime>\\n <PostStart>\\"\\"</PostStart>\\n <Labels>test</Labels>\\n <PackageVersionId>“”</PackageVersionId>\\n <BaseComponentMetaName>k8s-sc-consumer-****</BaseComponentMetaName>\\n <GroupId>577f4c50-16ee-43d8-****-************</GroupId>\\n <MemoryLimit>0</MemoryLimit>\\n <AppId>3616cdca-4f92-4413-****-************</AppId>\\n <GroupType>1</GroupType>\\n <UpdateTime>1573627695779</UpdateTime>\\n <PackageUrl>http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar</PackageUrl>\\n <Strategy>RollingUpdate</Strategy>\\n <CpuRequest>1</CpuRequest>\\n <PackagePublicUrl>http://****.oss-cn-shanghai.aliyuncs.com/****/sc-****-consumer-E.jar</PackagePublicUrl>\\n </DeployGroup>\\n</DeployGroupList>\\n<Message>sucess</Message>\\n<RequestId>3FDE-DS9R-*********************</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListHistoryDeployVersion' => [
+ 'path' => '/pop/v5/app/deploy_history_version_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-************',
+ ],
+ 'PackageVersionList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'PackageVersion' => [
+ 'description' => 'The information about historical deployment packages.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The deployment mode of the application. Valid values:'."\n"
+ ."\n"
+ .'* url: The application is deployed by using a JAR or WAR package.'."\n"
+ .'* image: The application is deployed by using an image.'."\n",
+ 'type' => 'string',
+ 'example' => 'url',
+ ],
+ 'PublicUrl' => [
+ 'description' => 'The URL of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the deployment package was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627440892',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'deploy',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the deployment package was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627440892',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ 'WarUrl' => [
+ 'description' => 'The URL of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar',
+ ],
+ 'Id' => [
+ 'description' => 'The unique ID of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => '441beb18-da42-44dc-****-************',
+ ],
+ 'PackageVersion' => [
+ 'description' => 'The version of the application that was released by using the deployment package. This version can be used to call the RollbackApplication operation.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-************\\",\\n \\"PackageVersionList\\": {\\n \\"PackageVersion\\": [\\n {\\n \\"Type\\": \\"url\\",\\n \\"PublicUrl\\": \\"http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar\\",\\n \\"UpdateTime\\": 1573627440892,\\n \\"Description\\": \\"deploy\\",\\n \\"CreateTime\\": 1573627440892,\\n \\"AppId\\": \\"3616cdca-4f92-4413-****-************\\",\\n \\"WarUrl\\": \\"http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar\\",\\n \\"Id\\": \\"441beb18-da42-44dc-****-************\\",\\n \\"PackageVersion\\": \\"1.0\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<PackageVersionList>\\n <PackageVersion>\\n <Type>url</Type>\\n <Description>deploy</Description>\\n <AppId>3616cdca-4f92-4413-****-************</AppId>\\n <PublicUrl>http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar</PublicUrl>\\n <WarUrl>http://edas-sz.oss-cn-shenzhen**********/SPRING_CLOUD_PROVIDER.jar</WarUrl>\\n <CreateTime>1573627440892</CreateTime>\\n <UpdateTime>1573627440892</UpdateTime>\\n <Id>441beb18-da42-44dc-****-************</Id>\\n <PackageVersion>1.0</PackageVersion>\\n </PackageVersion>\\n</PackageVersionList>\\n<RequestId>D16979DC-4D42-************</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListHistoryDeployVersion',
+ 'summary' => 'Queries historical deployment packages of an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListRecentChangeOrder' => [
+ 'path' => '/pop/v5/changeorder/change_order_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-************',
+ ],
+ 'ChangeOrderList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ChangeOrder' => [
+ 'description' => 'The information about change processes.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The state of the change process. Valid values:'."\n"
+ ."\n"
+ .'* 0: ready to start execution'."\n"
+ .'* 1: in progress'."\n"
+ .'* 2: successful'."\n"
+ .'* 3: failed'."\n"
+ .'* 6: terminated'."\n"
+ .'* 8: waiting for manual confirmation (You can see the state when you manually confirm the execution of the next batch of the change.)'."\n"
+ .'* 9: waiting for automatic execution'."\n"
+ .'* 10: failed due to a system error'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'FinishTime' => [
+ 'description' => 'The time when the change process ended.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-11-13 14:24:02',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the change process was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2019-11-13 14:23:46',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user who created the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '1432536****',
+ ],
+ 'ChangeOrderDescription' => [
+ 'description' => 'The description of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'Version: 2020-05-14 20:02:33 | Deployment Package: hsf-pandora-boot-provider-1.0.jar | Deploy to: all groups'."\n",
+ ],
+ 'Source' => [
+ 'description' => 'The source of the change. Valid values:'."\n"
+ ."\n"
+ .'* console: the Enterprise Distributed Application Service (EDAS) console'."\n"
+ .'* pop: the POP API or tool'."\n",
+ 'type' => 'string',
+ 'example' => 'pop',
+ ],
+ 'BatchCount' => [
+ 'description' => 'The number of batches for the change. Valid values: 1 to 5.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'CreateUserId' => [
+ 'description' => 'The user who created the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'CoTypeCode' => [
+ 'description' => 'The type of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'CoDeploy',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The unique ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '1074f3e2-e974-4a0e-****-************',
+ ],
+ 'BatchType' => [
+ 'description' => 'The way in which the next batch is triggered during a phased release. Valid values:'."\n"
+ ."\n"
+ .'* Automatic'."\n"
+ .'* Manual'."\n",
+ 'type' => 'string',
+ 'example' => 'Automatic',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the application instance group on which the change was performed.'."\n",
+ 'type' => 'string',
+ 'example' => '8123db90-880f-486f-****-************',
+ ],
+ 'CoType' => [
+ 'description' => 'The type of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'Application Scale Out',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-************\\",\\n \\"ChangeOrderList\\": {\\n \\"ChangeOrder\\": [\\n {\\n \\"Status\\": 2,\\n \\"FinishTime\\": \\"2019-11-13 14:24:02\\",\\n \\"CreateTime\\": \\"2019-11-13 14:23:46\\",\\n \\"UserId\\": \\"1432536****\\",\\n \\"ChangeOrderDescription\\": \\"版本:2020-05-14 20:02:33 | 包名:hsf-pandora-boot-provider-1.0.jar | 部署目标:所有分组\\",\\n \\"Source\\": \\"pop\\",\\n \\"BatchCount\\": 1,\\n \\"CreateUserId\\": \\"[email protected]\\",\\n \\"CoTypeCode\\": \\"CoDeploy\\",\\n \\"ChangeOrderId\\": \\"1074f3e2-e974-4a0e-****-************\\",\\n \\"BatchType\\": \\"Automatic\\",\\n \\"GroupId\\": \\"8123db90-880f-486f-****-************\\",\\n \\"CoType\\": \\"Application Scale Out\\",\\n \\"AppId\\": \\"3616cdca-4f92-4413-****-************\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ChangeOrderList>\\n <ChangeOrder>\\n <Status>2</Status>\\n <BatchCount>1</BatchCount>\\n <FinishTime>2019-11-13 14:24:02</FinishTime>\\n <CreateTime>2019-11-13 14:23:46</CreateTime>\\n <BatchType>Automatic</BatchType>\\n <CoType>Application Scale Out</CoType>\\n <AppId>3616cdca-4f92-4413-****-************</AppId>\\n <ChangeOrderId>1074f3e2-e974-4a0e-****-************</ChangeOrderId>\\n <GroupId>8123db90-880f-486f-****-************</GroupId>\\n </ChangeOrder>\\n</ChangeOrderList>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListRecentChangeOrder',
+ 'summary' => 'Queries the change processes of an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListBuildPack' => [
+ 'summary' => 'Queries Enterprise Distributed Application Service (EDAS) Container versions.',
+ 'path' => '/pop/v5/app/build_pack_list',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'code'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4FD4-*************',
+ ],
+ 'BuildPackList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'BuildPack' => [
+ 'description' => 'The returned versions of EDAS Container.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PandoraVersion' => [
+ 'description' => 'The version of the Pandora container.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas.public.sar.V3.5.6',
+ ],
+ 'ConfigId' => [
+ 'description' => 'The build package number of EDAS Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '57',
+ ],
+ 'Feature' => [
+ 'description' => 'The features of the EDAS Container version, which are released for public preview.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'PandoraDesc' => [
+ 'description' => 'The description of the Pandora container.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'PluginInfo' => [
+ 'description' => 'The description of the plug-in.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Disabled' => [
+ 'description' => 'Indicates whether the EDAS Container version is disabled. A disabled version cannot be configured for use.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'TengineDownloadUrl' => [
+ 'description' => 'The download URL of the Tengine installer.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas.oss-cn-hangzhou.aliyuncs.com/components/tengine/3.4.7/tengine.sh',
+ ],
+ 'TomcatPath' => [
+ 'description' => 'The directory of the Tomcat container.'."\n",
+ 'type' => 'string',
+ 'example' => 'taobao-tomcat-production-7.0.59.3',
+ ],
+ 'TomcatDesc' => [
+ 'description' => 'The description of the Tomcat container.'."\n",
+ 'type' => 'string',
+ 'example' => '1\\. The config-client plug-in is updated. The issue of unread cache in multitenancy scenarios is fixed. 2. The High-Speed Service Framework (HSF) plug-in is updated to fix the issue that the qos command of the Pandora container cannot be executed and the issue that the service address cannot be found if the HSF plug-in subscribes to an excessive number of services. 3. The Fastjson package is updated to the sec06 secure version in all plug-ins that use this package.'."\n",
+ ],
+ 'SupportFeatures' => [
+ 'description' => 'The features supported by EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => 'tengine,fatjar,restful,eip_nodeport,dpath',
+ ],
+ 'TomcatDownloadUrl' => [
+ 'description' => 'The download URL of the Tomcat installer.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas.oss-cn-hangzhou.aliyuncs.com/edas-container/7.0.92/taobao-tomcat-production-7.0.92.tar.gz',
+ ],
+ 'TomcatVersion' => [
+ 'description' => 'The version of the Tomcat container.'."\n",
+ 'type' => 'string',
+ 'example' => '8.5.63',
+ ],
+ 'PandoraDownloadUrl' => [
+ 'description' => 'The download URL of the Pandora installer.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://edas.oss-cn-hangzhou.aliyuncs.com/edas-plugins/edas.sar.V3.5.6/taobao-hsf.tgz',
+ ],
+ 'PackVersion' => [
+ 'description' => 'The version of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3.5.6',
+ ],
+ 'MultipleTenant' => [
+ 'description' => 'Indicates whether EDAS Container supports multitenancy.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'TengineImageId' => [
+ 'description' => 'The ID of the Tengine image that corresponds to EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => 'registry.aliyuncs.com/edas/****-*********-*****:*.*.*',
+ ],
+ 'WithTengine' => [
+ 'description' => 'Indicates whether EDAS Container supports traffic management.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ImageId' => [
+ 'description' => 'The ID of the base image that corresponds to EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => 'registry.aliyuncs.com/ed**/****-*********:*.*.*',
+ ],
+ 'ScriptName' => [
+ 'description' => 'The name of the Shell script that runs EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'ScriptVersion' => [
+ 'description' => 'The version of the Shell script that runs EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0.3',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4FD4-*************\\",\\n \\"BuildPackList\\": {\\n \\"BuildPack\\": [\\n {\\n \\"PandoraVersion\\": \\"edas.public.sar.V3.5.6\\",\\n \\"ConfigId\\": 57,\\n \\"Feature\\": \\"“”\\",\\n \\"PandoraDesc\\": \\"test\\",\\n \\"PluginInfo\\": \\"1\\",\\n \\"Disabled\\": false,\\n \\"TengineDownloadUrl\\": \\"http://edas.oss-cn-hangzhou.aliyuncs.com/components/tengine/3.4.7/tengine.sh\\",\\n \\"TomcatPath\\": \\"taobao-tomcat-production-7.0.59.3\\",\\n \\"TomcatDesc\\": \\"1.更新config-client插件,修复多租户场景未读缓存的问题;2.更新hsf插件,修复pandora qos命令不能执行、hsf订阅服务数多的情况下可能会遇到服务地址找不到的问题;3.升级所有用到fastjson的插件到sec06安全版本。\\",\\n \\"SupportFeatures\\": \\"tengine,fatjar,restful,eip_nodeport,dpath\\",\\n \\"TomcatDownloadUrl\\": \\"http://edas.oss-cn-hangzhou.aliyuncs.com/edas-container/7.0.92/taobao-tomcat-production-7.0.92.tar.gz\\",\\n \\"TomcatVersion\\": \\"8.5.63\\",\\n \\"PandoraDownloadUrl\\": \\"http://edas.oss-cn-hangzhou.aliyuncs.com/edas-plugins/edas.sar.V3.5.6/taobao-hsf.tgz\\",\\n \\"PackVersion\\": \\"3.5.6\\",\\n \\"MultipleTenant\\": true,\\n \\"TengineImageId\\": \\"registry.aliyuncs.com/edas/****-*********-*****:*.*.*\\",\\n \\"WithTengine\\": true,\\n \\"ImageId\\": \\"registry.aliyuncs.com/ed**/****-*********:*.*.*\\",\\n \\"ScriptName\\": \\"default\\",\\n \\"ScriptVersion\\": \\"1.0.3\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4FD4-*************</RequestId>\\n<Message>success</Message>\\n<BuildPackList>\\n <BuildPack>\\n <TomcatDesc>1.更新config-client插件,修复多租户场景未读缓存的问题;2.更新hsf插件,修复pandora qos命令不能执行、hsf订阅服务数多的情况下可能会遇到服务地址找不到的问题;3.升级所有用到fastjson的插件到sec06安全版本。</TomcatDesc>\\n <ScriptVersion>1.0.3</ScriptVersion>\\n <WithTengine>true</WithTengine>\\n <TomcatDownloadUrl>http://edas.oss-cn-hangzhou.aliyuncs.com/edas-container/7.0.92/taobao-tomcat-production-7.0.92.tar.gz</TomcatDownloadUrl>\\n <Feature>“”</Feature>\\n <PandoraVersion>edas.public.sar.V3.5.6</PandoraVersion>\\n <PackVersion>3.5.6</PackVersion>\\n <MultipleTenant>true</MultipleTenant>\\n <PandoraDownloadUrl>http://edas.oss-cn-hangzhou.aliyuncs.com/edas-plugins/edas.sar.V3.5.6/taobao-hsf.tgz</PandoraDownloadUrl>\\n <PandoraDesc>test</PandoraDesc>\\n <TomcatPath>taobao-tomcat-production-7.0.59.3</TomcatPath>\\n <ScriptName>default</ScriptName>\\n <ImageId>registry.aliyuncs.com/ed**/****-*********:*.*.*</ImageId>\\n <TengineDownloadUrl>http://edas.oss-cn-hangzhou.aliyuncs.com/components/tengine/3.4.7/tengine.sh</TengineDownloadUrl>\\n <PluginInfo>1</PluginInfo>\\n <TomcatVersion>8.5.63</TomcatVersion>\\n <ConfigId>57</ConfigId>\\n <Disabled>false</Disabled>\\n <TengineImageId>registry.aliyuncs.com/edas/****-*********-*****:*.*.*</TengineImageId>\\n <SupportFeatures>tengine,fatjar,restful,eip_nodeport,dpath</SupportFeatures>\\n </BuildPack>\\n</BuildPackList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListBuildPack',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertOrUpdateRegion' => [
+ 'summary' => 'Creates or edits a custom namespace.',
+ 'path' => '/pop/v5/user_region_def',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionTag',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `Region ID:Namespace identifier` format. Example: cn-beijing:tdy218.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'RegionName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the namespace. The name can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test_region',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the namespace. The description can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to create or modify the namespace. If this parameter is left empty or is set to 0, the namespace is created. Otherwise, the namespace is modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'DebugEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable remote debugging. Valid values:'."\n"
+ ."\n"
+ .'* true: enables remote debugging.'."\n"
+ .'* false: disables remote debugging.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'RegistryType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '注册中心类型:'."\n"
+ .'- default,EDAS共享注册中心'."\n"
+ .'- exclusive_mse,MSE Nacos注册中心',
+ 'description' => 'The type of the registry.'."\n"
+ ."\n"
+ .'* default: the shared registry of Enterprise Distributed Application Service (EDAS)'."\n"
+ .'* exclusive_mse: a Microservices Engine (MSE) registry'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'MseInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'MSE注册中心实例ID',
+ 'description' => 'The ID of the MSE registry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mse_prepaid_public_cn-tl32n******',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '37793352-C568-4A5A-BF69-4DC853******',
+ ],
+ 'UserDefineRegionEntity' => [
+ 'description' => 'The information about the custom namespace.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'BelongRegion' => [
+ 'description' => 'The ID of the region to which the namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ 'RegionName' => [
+ 'description' => 'The name of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'test_region',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'Logical region'."\n",
+ ],
+ 'DebugEnable' => [
+ 'description' => 'Indicates whether remote debugging is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: Remote debugging is enabled.'."\n"
+ .'* false: Remote debugging is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the custom namespace belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_****_test@aliyun-****.com',
+ ],
+ 'Id' => [
+ 'description' => 'Indicates whether the namespace is created or modified. If this parameter is left empty or 0 is returned, the namespace is created. Otherwise, the namespace is modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '15160',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'* The ID of a custom namespace is in the `region ID:namespace identifier` format. Example: cn-beijing:tdy218.'."\n"
+ .'* The ID of the default namespace is in the `region ID` format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"37793352-C568-4A5A-BF69-4DC853******\\",\\n \\"UserDefineRegionEntity\\": {\\n \\"BelongRegion\\": \\"cn-beijing\\",\\n \\"RegionName\\": \\"test_region\\",\\n \\"Description\\": \\"逻辑Region\\",\\n \\"DebugEnable\\": false,\\n \\"UserId\\": \\"edas_****_test@aliyun-****.com\\",\\n \\"Id\\": 15160,\\n \\"RegionId\\": \\"cn-beijing:test\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>37793352-C568-4A5A-BF69-4DC8539D2E20</RequestId>\\n<UserDefineRegionEntity>\\n <RegionName>doctest</RegionName>\\n <UserId>edas_****_test@aliyun-****.com</UserId>\\n <DebugEnable>false</DebugEnable>\\n <Id>15160</Id>\\n <RegionId>cn-beijing:doctest</RegionId>\\n <BelongRegion>cn-beijing</BelongRegion>\\n</UserDefineRegionEntity>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'InsertOrUpdateRegion',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'SwitchAdvancedMonitoring' => [
+ 'summary' => 'Queries the status of the advanced application monitoring feature or configures this feature for an application that is deployed in an Elastic Compute Service (ECS) or Kubernetes cluster.',
+ 'path' => '/pop/v5/monitor/advancedMonitorInfo',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application for which you want to query or configure the advanced application monitoring feature.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '9e224bc6-a646-4484-****-e617b7e7****',
+ ],
+ ],
+ [
+ 'name' => 'EnableAdvancedMonitoring',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the advanced application monitoring feature. Valid values:'."\n"
+ ."\n"
+ .'* true: enables the advanced application monitoring feature.'."\n"
+ .'* false: disables the advanced application monitoring feature.'."\n"
+ ."\n"
+ .'If you call this operation to query the status of the advanced application monitoring feature, you do not need to specify this parameter.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'The advanced monitoring status is disabled already for application which app_id is 9e224bc6-a646-4484-ae31-e617b7e7****',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '577AED12-32D8-40B6-991F-17D7A601****',
+ ],
+ 'AdvancedMonitoringEnabled' => [
+ 'description' => 'Indicates whether the advanced application monitoring feature is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: The advanced application monitoring feature is enabled.'."\n"
+ .'* false: The advanced application monitoring feature is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 600 => [
+ [
+ 'errorCode' => 'Edas.Errorcode.OperationFailed.CloseAdvancedMonitor.Message',
+ 'errorMessage' => 'Failed to disable advanced monitoring.',
+ ],
+ [
+ 'errorCode' => 'Edas.Errorcode.OperationFailed.OpenAdvancedMonitor.Message',
+ 'errorMessage' => 'Failed to enable advanced monitoring.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"The advanced monitoring status is disabled already for application which app_id is 9e224bc6-a646-4484-ae31-e617b7e7****\\",\\n \\"RequestId\\": \\"577AED12-32D8-40B6-991F-17D7A601****\\",\\n \\"AdvancedMonitoringEnabled\\": false\\n}","errorExample":""},{"type":"xml","example":"<AdvancedMonitoringEnabled>false</AdvancedMonitoringEnabled>\\n<Message>The advanced monitoring status is disabled already for application which app_id is 9e224bc6-a646-4484-ae31-e617b7e7****</Message>\\n<RequestId>577AED12-32D8-40B6-991F-17D7A601****</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'SwitchAdvancedMonitoring',
+ 'description' => 'To call the SwitchAdvancedMonitoring operation, you must make sure that the version of Enterprise Distributed Application Service (EDAS) SDK for Java or Python is 3.15.2 or later.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ContinuePipeline' => [
+ 'summary' => 'Manually confirms the release of the next batch.',
+ 'path' => '/pop/v5/changeorder/pipeline_batch_confirm',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PipelineId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the ID of the change process that corresponds to a specific batch. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5648dbd7-df13********************',
+ ],
+ ],
+ [
+ 'name' => 'Confirm',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to release the next batch. Valid values:'."\n"
+ ."\n"
+ .'* true: releases the next batch.'."\n"
+ .'* false: does not release the next batch.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<RequestId>D16979DC-4D42-****************</RequestId>","errorExample":""}]',
+ 'title' => 'ContinuePipeline',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AbortChangeOrder' => [
+ 'summary' => 'Terminates a change process.',
+ 'path' => '/pop/v5/changeorder/change_order_abort',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ChangeOrderId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the change process. You can call the [GetChangeOrderInfo](~~62072~~) operation to query the change process ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '4f038ddf-b27b-****-****-88e44375****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57F146F6-3C94-****-****-A66EF4B9*****',
+ ],
+ 'TraceId' => [
+ 'description' => 'The ID of the trace.'."\n",
+ 'type' => 'string',
+ 'example' => '0b59000b15947****55688656d****',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The change process.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '4f038ddf-b27b-****-****-88e44375****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57F146F6-3C94-****-****-A66EF4B9*****\\",\\n \\"TraceId\\": \\"0b59000b15947****55688656d****\\",\\n \\"ErrorCode\\": \\"success\\",\\n \\"Data\\": {\\n \\"ChangeOrderId\\": \\"4f038ddf-b27b-****-****-88e44375****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<AbortChangeOrder>\\r\\n\\t <Data>\\r\\n\\t\\t <ChangeOrderId>4f038ddf-b27b-****-****-88e44375****</ChangeOrderId>\\r\\n\\t </Data>\\r\\n\\t <Message>success</Message>\\r\\n\\t <TraceId>0b59000b15947****55688656d****</TraceId>\\r\\n <RequestId>57F146F6-3C94-****-****-A66EF4B9*****</RequestId>\\r\\n\\t <Success>true</Success>\\r\\n\\t <ErrorCode>success</ErrorCode>\\r\\n\\t <Code>200</Code>\\r\\n</AbortChangeOrder>","errorExample":""}]',
+ 'title' => 'AbortChangeOrder',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RollbackChangeOrder' => [
+ 'summary' => 'Terminates an application change process and rolls back the application. This operation is applicable to applications that are deployed in Elastic Compute Service (ECS) clusters.',
+ 'path' => '/pop/v5/oam/changeorder/rollback',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ChangeOrderId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'dc5133d7-773f-4c81-****-e2103dce****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'B909AB1F-3763-4963-B1CE-0BDFA192****',
+ ],
+ 'TraceId' => [
+ 'description' => 'The ID of the trace.'."\n",
+ 'type' => 'string',
+ 'example' => '000000000000000000000000000000',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The information about the change process.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '4f40e616-cdcd-4250-a018-efd4599c****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"B909AB1F-3763-4963-B1CE-0BDFA192****\\",\\n \\"TraceId\\": \\"000000000000000000000000000000\\",\\n \\"ErrorCode\\": \\"success\\",\\n \\"Data\\": {\\n \\"ChangeOrderId\\": \\"4f40e616-cdcd-4250-a018-efd4599c****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>B909AB1F-3763-4963-B1CE-0BDFA192****</RequestId>\\n<TraceId>000000000000000000000000000000</TraceId>\\n<Data>\\n <ChangeOrderId>xxx-xxxx-xxx-xxxx</ChangeOrderId>\\n</Data>\\n<ErrorCode>success</ErrorCode>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'RollbackChangeOrder',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateApplicationBaseInfo' => [
+ 'summary' => 'Updates the basic information such as the description and owner of an application.',
+ 'path' => '/pop/v5/app/update_app_info',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c627c157-560d-43ff-****-************',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application. The name must start with a letter, and can contain letters, digits, underscores (\\_), and hyphens (-). The name can be up to 36 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'hello-edas',
+ ],
+ ],
+ [
+ 'name' => 'Desc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application. The description can be up to 256 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Test application'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Owner',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The owner of the application. The value can be up to 127 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test@aliyun_xxx.com',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-**************',
+ ],
+ 'Applcation' => [
+ 'description' => 'The applications that you want to modify.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ExtSlbIp' => [
+ 'description' => 'The IP address of the Internet-facing Server Load Balancer (SLB) instance.'."\n",
+ 'type' => 'string',
+ 'example' => '39.97.XX.XX',
+ ],
+ 'Owner' => [
+ 'description' => 'The owner of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test@aliyun_XXX.com',
+ ],
+ 'SlbPort' => [
+ 'description' => 'The port used by the internal-facing SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ 'ExtSlbName' => [
+ 'description' => 'The name of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the application was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1577259573911',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***@****.***',
+ ],
+ 'Port' => [
+ 'description' => 'The port used by the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'RunningInstanceCount' => [
+ 'description' => 'The number of running application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SlbIp' => [
+ 'description' => 'The IP address of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.XX.XX',
+ ],
+ 'Dockerize' => [
+ 'description' => 'Indicates whether the application is a Docker application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'InstanceCount' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'c627c157-560d-43ff-****-************',
+ ],
+ 'Memory' => [
+ 'description' => 'The size of memory configured for an application instance. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'd7730a49-629a-47bd-****-f45eb01f****',
+ ],
+ 'SlbId' => [
+ 'description' => 'The ID of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'a3d4*******',
+ ],
+ 'HealthCheckUrl' => [
+ 'description' => 'The health check URL.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://127.0.XX.XX:8080/_etc.html',
+ ],
+ 'ApplicationType' => [
+ 'description' => 'The deployment type of the application. Valid values:'."\n"
+ ."\n"
+ .'* War: The application is deployed by using a WAR package.'."\n"
+ .'* FatJar: The application is deployed by using a JAR package.'."\n"
+ .'* Image: The application is deployed by using an image.'."\n"
+ .'* If this parameter is empty, the application is not deployed.'."\n",
+ 'type' => 'string',
+ 'example' => 'FatJar',
+ ],
+ 'ExtSlbId' => [
+ 'description' => 'The ID of the Internet-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'ace93*******',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:****',
+ ],
+ 'BuildPackageId' => [
+ 'description' => 'The build package number of Enterprise Distributed Application Service (EDAS) Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '58',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: normal Docker cluster'."\n"
+ .'* 1: Swarm cluster'."\n"
+ .'* 2: ECS cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in EDAS'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n"
+ .'* 5: Container Service for Kubernetes (ACK) clusters'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'SlbName' => [
+ 'description' => 'The name of the internal-facing SLB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-**************\\",\\n \\"Applcation\\": {\\n \\"ExtSlbIp\\": \\"39.97.XX.XX\\",\\n \\"Owner\\": \\"test@aliyun_XXX.com\\",\\n \\"SlbPort\\": 80,\\n \\"ExtSlbName\\": \\"test\\",\\n \\"CreateTime\\": 1577259573911,\\n \\"UserId\\": \\"edas_com***@****.***\\",\\n \\"Port\\": 8080,\\n \\"RunningInstanceCount\\": 1,\\n \\"SlbIp\\": \\"192.168.XX.XX\\",\\n \\"Dockerize\\": false,\\n \\"Description\\": \\"test\\",\\n \\"InstanceCount\\": 1,\\n \\"AppId\\": \\"c627c157-560d-43ff-****-************\\",\\n \\"Memory\\": 0,\\n \\"Name\\": \\"test\\",\\n \\"ClusterId\\": \\"d7730a49-629a-47bd-****-f45eb01f****\\",\\n \\"SlbId\\": \\"a3d4*******\\",\\n \\"HealthCheckUrl\\": \\"http://127.0.XX.XX:8080/_etc.html\\",\\n \\"ApplicationType\\": \\"FatJar\\",\\n \\"ExtSlbId\\": \\"ace93*******\\",\\n \\"RegionId\\": \\"cn-beijing:****\\",\\n \\"BuildPackageId\\": 58,\\n \\"Cpu\\": 0,\\n \\"ClusterType\\": 2,\\n \\"SlbName\\": \\"test\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Applcation>\\n <SlbPort>0</SlbPort>\\n <BuildPackageId>0</BuildPackageId>\\n <AppId>c627c157-560d-43ff-****-************</AppId>\\n <Memory>0</Memory>\\n <Cpu>0</Cpu>\\n <Dockerize>false</Dockerize>\\n <ApplicationType>FatJar</ApplicationType>\\n <Owner>edas_com***_****@******-*****.***</Owner>\\n <Description>Ol432236</Description>\\n <RunningInstanceCount>0</RunningInstanceCount>\\n <UserId>edas_com***_****@******-*****.***</UserId>\\n <InstanceCount>1</InstanceCount>\\n <Name>testpopapi1120</Name>\\n <Port>8080</Port>\\n <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>\\n <RegionId>cn-shenzhen:****</RegionId>\\n <CreateTime>1574249022930</CreateTime>\\n <ClusterType>2</ClusterType>\\n</Applcation>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateApplicationBaseInfo',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'AddLogPath' => [
+ 'summary' => 'Adds a log directory to an application. This operation is applicable to applications that are deployed in Alibaba Cloud Elastic Compute Service (ECS) clusters and hybrid cloud ECS clusters.',
+ 'path' => '/pop/v5/log/popListLogDirs',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'autoTest' => true,
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413**********',
+ ],
+ ],
+ [
+ 'name' => 'Path',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The absolute path of the log directory that you want to add. The value must start and end with a forward slash (`/`) and must contain `/log` or `/logs`. The following directories are the default log directories in Enterprise Distributed Application Service (EDAS):'."\n"
+ ."\n"
+ .'* /home/admin/edas-container/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-7.0.59/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-production-7.0.59.3/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-production-7.0.70/logs/'."\n"
+ .'* /home/admin/edas-agent/logs/'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '/temp/log/',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413**********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3616cdca-4f92-4413**********\\"\\n}","type":"json"}]',
+ 'title' => 'AddLogPath',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteApplication' => [
+ 'summary' => 'Deletes an application.',
+ 'path' => '/pop/v5/changeorder/co_delete_app',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-*********',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '0b8e3c0b-5818-430*************',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '34DFE9FDV****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"0b8e3c0b-5818-430*************\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"34DFE9FDV****************\\"\\n}","type":"json"}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteLogPath' => [
+ 'summary' => 'Deletes resources associated with a log directory. This operation is suitable for applications deployed on Alibaba Cloud Elastic Compute Service (ECS) instances or container orchestration clusters from other cloud providers.',
+ 'path' => '/pop/v5/log/popListLogDirs',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'autoTest' => false,
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413**********',
+ ],
+ ],
+ [
+ 'name' => 'Path',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The absolute path of the log directory that you want to remove. The value must start and end with a forward slash (`/`) and must contain `/log` or `/logs`. The following directories are the default log directories in Enterprise Distributed Application Service (EDAS):'."\n"
+ ."\n"
+ .'* /home/admin/edas-container/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-7.0.59/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-production-7.0.59.3/logs/'."\n"
+ .'* /home/admin/taobao-tomcat-production-7.0.70/logs/'."\n"
+ .'* /home/admin/edas-agent/logs/'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/temp/log/',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413**********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3616cdca-4f92-4413**********\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>3616cdca-4f92-4413**********</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteLogPath',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteDeployGroup' => [
+ 'summary' => 'Deletes an instance group for an application.',
+ 'path' => '/pop/v5/deploy_group',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413-b31*************',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4D9F-DR94-FD****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"1\\",\\n \\"RequestId\\": \\"4D9F-DR94-FD****************\\"\\n}","errorExample":""},{"type":"xml","example":"<Data>1</Data>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteDeployGroup',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateHookConfiguration' => [
+ 'summary' => 'Mounts a script to an application or application instance group.',
+ 'path' => '/pop/app/config_app_hook_json',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'd498****-1dd8ec229862',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application instance group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'd498****-1dd8ec229862',
+ ],
+ ],
+ [
+ 'name' => 'Hooks',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The script to mount. Set the value in the JSON format. Example: `[{"ignoreFail":false,"name":"postprepareInstanceEnvironmentOnScaleOut","script":"ls"},{"ignoreFail":true,"name":"postdeleteInstanceDataOnScaleIn","script":""},{"ignoreFail":true,"name":"prestartInstance","script":""},{"ignoreFail":true,"name":"poststartInstance","script":""},{"ignoreFail":true,"name":"prestopInstance","script":""},{"ignoreFail":true,"name":"poststopInstance","script":""}]`'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"ignoreFail":false,"name":"postprepareInstanceEnvironmentOnScaleOut","script":"ls"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'd498****-1dd8ec229862',
+ ],
+ 'HooksConfiguration' => [
+ 'description' => 'The information about the mounted script.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'IgnoreFail' => [
+ 'description' => 'Indicates whether a mount failure is ignored. Valid values:'."\n"
+ ."\n"
+ .'* **true**: A mount failure is ignored.'."\n"
+ .'* **false**: A mount failure is not ignored.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the mounted script.'."\n",
+ 'type' => 'string',
+ 'example' => 'postprepareInstanceEnvironmentOnScaleOut',
+ ],
+ 'Script' => [
+ 'description' => 'The content of the mounted script.'."\n",
+ 'type' => 'string',
+ 'example' => 'ls',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"d498****-1dd8ec229862\\",\\n \\"HooksConfiguration\\": [\\n {\\n \\"IgnoreFail\\": true,\\n \\"Name\\": \\"postprepareInstanceEnvironmentOnScaleOut\\",\\n \\"Script\\": \\"ls\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<HooksConfiguration>\\n <Script>ls</Script>\\n <IgnoreFail>true</IgnoreFail>\\n <Name>postprepareInstanceEnvironmentOnScaleOut</Name>\\n</HooksConfiguration>\\n<Message>success</Message>\\n<RequestId>d498****-1dd8ec229862</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateHookConfiguration',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ModifyScalingRule' => [
+ 'summary' => 'Modifies the scaling rule for an application.',
+ 'path' => '/pop/v5/app/scaling_rules',
+ 'methods' => [
+ 'post',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '74ee****-db65-4322-a1f6-bcb60e5b****',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group to which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '8123db90-880f-486f-****-************',
+ ],
+ ],
+ [
+ 'name' => 'InCondition',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The relationship among the conditions that trigger a scale-in.'."\n"
+ ."\n"
+ .'* OR: one of the conditions'."\n"
+ .'* AND: all conditions'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '"OR"',
+ 'enum' => [
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'InEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to allow scale-ins.'."\n"
+ ."\n"
+ .'* true: allows scale-ins.'."\n"
+ .'* false: does not allow scale-ins.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'InCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The CPU utilization that triggers a scale-in.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'InDuration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The duration in which the metric threshold is exceeded. Unit: minutes.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'InInstanceNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum number of instances that must be retained in each group when a scale-in is performed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '3',
+ ],
+ ],
+ [
+ 'name' => 'InLoad',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The system load that triggers a scale-in.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'InRT',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum service latency that triggers a scale-in. The lower limit is 0. Unit: milliseconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'InStep',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances that are removed during each scale-in.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'OutCondition',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The relationship among the conditions that trigger a scale-out.'."\n"
+ ."\n"
+ .'* OR: one of the conditions'."\n"
+ .'* AND: all conditions'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '"OR"',
+ 'enum' => [
+ 'OR',
+ 'AND',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'OutCPU',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The CPU utilization that triggers a scale-out.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'OutDuration',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The duration in which the metric threshold is exceeded. Unit: minutes.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'OutEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to allow scale-outs.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'OutInstanceNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of instances in each group when a scale-out is performed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'OutLoad',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The system load that triggers a scale-out.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'OutRT',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum service latency that triggers a scale-out. The lower limit is 0. Unit: milliseconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'OutStep',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances that are added during each scale-out.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'ResourceFrom',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the instance to be added during a scale-out. Valid values:'."\n"
+ ."\n"
+ .'* NEW: elastic resources'."\n"
+ .'* AVAILABLE: existing resources If you prefer existing resources to elastic resources, set this parameter to AVAILABLE_FIRST.'."\n"
+ ."\n"
+ .'If you set this parameter to NEW or AVAILABLE_FIRST, you must specify the auto-scaling parameters. If you set this parameter to NEW, instances are created based on a launch template or the specifications of an existing instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '"AVAILABLE"',
+ 'enum' => [
+ 'AVAILABLE',
+ 'NEW',
+ 'AVAILABLE_FIRST',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'MultiAzPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The multi-zone scaling policy. Valid values:'."\n"
+ ."\n"
+ .'* PRIORITY: The vSwitch that is first selected has the highest priority.'."\n"
+ .'* BALANCE: This policy evenly distributes instances across zones in which the vSwitches reside.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"PRIORITY"',
+ 'enum' => [
+ 'PRIORITY',
+ 'BALANCE',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the virtual private cloud (VPC) that is associated with the instances created based on a launch template or the specifications of an existing instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"vpc-bp1j55oz3bg*****"',
+ ],
+ ],
+ [
+ 'name' => 'VSwitchIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the vSwitches that are associated with the VPC. Separate multiple IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"vsw-bp1ldxs3d4fd*****"',
+ ],
+ ],
+ [
+ 'name' => 'ScalingPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance handling mode during a scale-in. Valid values:'."\n"
+ ."\n"
+ .'* release: When a scale-in is performed, instances that are no longer used are released.'."\n"
+ .'* recycle: When a scale-in is performed, instances that are no longer used are stopped and reclaimed.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"release"',
+ 'enum' => [
+ 'release',
+ 'recycle',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'TemplateInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance whose specifications are used to create instances during a scale-out. This parameter is valid only when you set the OutEnable parameter to true.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"1"',
+ ],
+ ],
+ [
+ 'name' => 'TemplateInstanceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance whose specifications are used to create instances during a scale-out. This parameter takes effect only if you specify the TemplateInstanceId parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"tpl-tdy218"',
+ ],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The password that is used to log on to the instance. This parameter takes effect only if you choose to create instances based on the specifications of an existing instance during a scale-out.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"Pwd*****"',
+ ],
+ ],
+ [
+ 'name' => 'KeyPairName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The key pair that is used to log on to the instance. This parameter takes effect only if you choose to create instances based on the specifications of an existing instance during a scale-out.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"tdy218"',
+ ],
+ ],
+ [
+ 'name' => 'AcceptEULA',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Set the value to true if scale-outs are allowed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the launch template that is used to create instances during a scale-out. This parameter takes effect only if you set the OutEnable parameter to true. This parameter takes precedence over the TemplateInstanceId parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '"lt-wz9hkhn8wp*****"',
+ ],
+ ],
+ [
+ 'name' => 'TemplateVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the launch template that is used to create instances during a scale-out. This parameter takes effect only if you set the OutEnable parameter to true. To use the default template version, set this parameter to `-1`. Otherwise, set this parameter to the version that you want to use.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '-1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'CB36E997-FE54-476C-8C0D-********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CB36E997-FE54-476C-8C0D-********\\"\\n}","errorExample":""},{"type":"xml","example":"<Code>200</Code>\\n<Message>success</Message>","errorExample":""}]',
+ 'title' => 'ModifyScalingRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StartApplication' => [
+ 'summary' => 'Starts an application.',
+ 'path' => '/pop/v5/changeorder/co_start',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413**********',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute container (ECC) that corresponds to the Elastic Compute Service (ECS) instance on which you want to start the application. Separate multiple ECC IDs with commas (,). You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '""',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process for this operation. You can call the GetChangeOrderInfo operation to query the progress of this startup. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => '426d3328-11a***************',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-**************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"426d3328-11a***************\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-**************\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>426d3328-11a***************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'StartApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StopApplication' => [
+ 'summary' => 'Stops an application.',
+ 'path' => '/pop/v5/changeorder/co_stop',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c627c157-560d*******',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute container (ECC) that corresponds to the Elastic Compute Service (ECS) instance on which you want to stop the application. You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n"
+ ."\n"
+ .'* If you want to stop the application on multiple ECS instances, separate the ECC IDs with commas (,).'."\n"
+ .'* If you leave this parameter empty, the application will be stopped on all ECS instances.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '74ee9166-****1f6-bcb60e5b****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the details about the change process. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'a9557bac-ddd7-*********************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"a9557bac-ddd7-*********************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>a9557bac-ddd7-*********************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'StopApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateContainer' => [
+ 'summary' => 'Updates the Enterprise Distributed Application Service (EDAS) Container version of a High-Speed Service Framework (HSF) application. EDAS Container includes Ali-Tomcat and Pandora.',
+ 'path' => '/pop/v5/changeorder/co_update_container',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'e83acea6-****-47e1-96ae-c0e953772cdc',
+ ],
+ ],
+ [
+ 'name' => 'BuildPackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The build package number of EDAS Container. You can obtain the build package number in the Build package number column in the EDAS Container release notes table. For more information, see [Release notes for EDAS Container](~~92614~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '59',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned content.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'eb1b9862-****-476f-9e78-d6aa0842835a',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"eb1b9862-****-476f-9e78-d6aa0842835a\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323******\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>eb1b9862-****-476f-9e78-d6aa0842835a</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateContainer',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateContainerConfiguration' => [
+ 'summary' => 'Configures the Tomcat container for an application or application instance group in an Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/app/container_config',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c627c157-560d-43ff-************',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application instance group.'."\n"
+ ."\n"
+ .'* If an ID is specified, this operation configures the Tomcat container for the specified application instance group.'."\n"
+ .'* If you set this parameter to "", this operation configures the Tomcat container for the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8123db90-880f-**************',
+ ],
+ ],
+ [
+ 'name' => 'ContextPath',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The context path of the Tomcat container. The context path can be an empty string, a null WAR package name, a root directory, or other custom non-empty strings. It can contain letters, digits, hyphens (-), and underscores (\\_). Take note of the following items:'."\n"
+ ."\n"
+ .'* If this parameter is not specified when you configure the application instance group, the configuration of the application is applied.'."\n"
+ .'* If this parameter is not specified when you configure the Tomcat container for an application, the root directory `/` is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/',
+ ],
+ ],
+ [
+ 'name' => 'HttpPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application port number for the Tomcat container. Take note of the following items:'."\n"
+ ."\n"
+ .'* If this parameter is not specified when you configure the application instance group, the configuration of the application is applied.'."\n"
+ .'* If this parameter is not specified when you configure the application, the default port 8080 is applied.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '8080',
+ ],
+ ],
+ [
+ 'name' => 'MaxThreads',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of threads. Take note of the following items:'."\n"
+ ."\n"
+ .'* If this parameter is not specified when you configure the application instance group, the configuration of the application is applied.'."\n"
+ .'* If this parameter is not specified when you configure the application, the default value 250 is applied.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'URIEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The uniform resource identifier (URI) encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8. Take note of the following items:'."\n"
+ ."\n"
+ .'* If this parameter is not specified when you configure the application instance group, the configuration of the application is applied.'."\n"
+ .'* If this parameter is not specified when you configure the application, the default URI encoding scheme in the Tomcat container is applied.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ISO-8859-1',
+ ],
+ ],
+ [
+ 'name' => 'UseBodyEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to use the encoding scheme specified in the request body for URI query parameters. Take note of the following items:'."\n"
+ ."\n"
+ .'* If this parameter is not specified when you configure the application instance group, the configuration of the application is applied.'."\n"
+ .'* If this parameter is not specified when you configure the application, the default value false is applied.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned content.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-***************',
+ ],
+ 'ContainerConfiguration' => [
+ 'description' => 'The configuration of the Tomcat container.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpPort' => [
+ 'description' => 'The application port number for the Tomcat container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'ContextPath' => [
+ 'description' => 'The context path of the Tomcat container.'."\n",
+ 'type' => 'string',
+ 'example' => '/',
+ ],
+ 'UseBodyEncoding' => [
+ 'description' => 'Indicates whether useBodyEncodingForURI is enabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'MaxThreads' => [
+ 'description' => 'The maximum number of threads.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'URIEncoding' => [
+ 'description' => 'The URI encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.'."\n",
+ 'type' => 'string',
+ 'example' => 'ISO-8859-1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-***************\\",\\n \\"ContainerConfiguration\\": {\\n \\"HttpPort\\": 8080,\\n \\"ContextPath\\": \\"/\\",\\n \\"UseBodyEncoding\\": true,\\n \\"MaxThreads\\": 20,\\n \\"URIEncoding\\": \\"ISO-8859-1\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ContainerConfiguration>\\n <UseBodyEncoding>true</UseBodyEncoding>\\n <MaxThreads>20</MaxThreads>\\n <HttpPort>8080</HttpPort>\\n <URIEncoding>ISO-8859-1</URIEncoding>\\n</ContainerConfiguration>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateContainerConfiguration',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ChangeDeployGroup' => [
+ 'summary' => 'Changes the application instance group for an Elastic Compute Service (ECS) instance in an ECS cluster.',
+ 'path' => '/pop/v5/changeorder/co_change_group',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-**********',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute component (ECC) that corresponds to the ECS instance for which you want to change the application instance group. You can call the ListApplicationEcc operation to query the ECC ID. For more information, see [ListApplicationEcc](~~199277~~).'."\n"
+ ."\n"
+ .'> You can change the application instance group for only one ECS instance at a time.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '0cf49a6c-95a8-4aa8******',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application instance group. Examples: group_a and group_b. The parameter value for the default application instance group is `_DEFAULT_GROUP`. The name can be up to 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'ForceStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to forcibly change the application instance group if the deployment package version of the ECC is different from that of the application instance group.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '435f-regfr4********************',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F9E4-FDS4-****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"435f-regfr4********************\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F9E4-FDS4-****************\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F9E4-FDS4-****************</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>435f-regfr4********************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateJvmConfiguration' => [
+ 'summary' => 'Configures the Java virtual machine (JVM) parameters for an application or an instance group where the application is deployed.',
+ 'path' => '/pop/v5/app/app_jvm_config',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c627c157-560d-*************',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group where the application is deployed. You can call the ListDeployGroup operation to query the group ID. For more information, see [ListDeployGroup](~~62077~~).'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* To configure the JVM parameters for an instance group, set this parameter to a specific ID.'."\n"
+ ."\n"
+ .'* To configure the JVM parameters for an application, leave this parameter empty.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0afc726e-077e-4357-98b2-db9f7145****',
+ ],
+ ],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The custom JVM parameters.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If this parameter is not specified in the group configuration, the value specified in the application configuration is used.'."\n"
+ ."\n"
+ .'* If this parameter is not specified in the application configuration, the default value is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-Dproperty=value',
+ ],
+ ],
+ [
+ 'name' => 'MinHeapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The initial size of the heap memory. Unit: MB.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If this parameter is not specified in the group configuration, the value specified in the application configuration is used.'."\n"
+ ."\n"
+ .'* If this parameter is not specified in the application configuration, the default value is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '500',
+ ],
+ ],
+ [
+ 'name' => 'MaxPermSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the permanent generation heap memory. Unit: MB.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If this parameter is not specified in the group configuration, the value specified in the application configuration is used.'."\n"
+ ."\n"
+ .'* If this parameter is not specified in the application configuration, the default value is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'MaxHeapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of the heap memory. Unit: MB.'."\n"
+ ."\n"
+ .'> '."\n"
+ ."\n"
+ .'* If this parameter is not specified in the group configuration, the value specified in the application configuration is used.'."\n"
+ ."\n"
+ .'* If this parameter is not specified in the application configuration, the default value is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '500',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-********************',
+ ],
+ 'JvmConfiguration' => [
+ 'description' => 'The settings of the JVM parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxPermSize' => [
+ 'description' => 'The size of the permanent generation heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'Options' => [
+ 'description' => 'The optional parameters.'."\n",
+ 'type' => 'string',
+ 'example' => '”“',
+ ],
+ 'MaxHeapSize' => [
+ 'description' => 'The maximum size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ 'MinHeapSize' => [
+ 'description' => 'The initial size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-********************\\",\\n \\"JvmConfiguration\\": {\\n \\"MaxPermSize\\": 1000,\\n \\"Options\\": \\"”“\\",\\n \\"MaxHeapSize\\": 500,\\n \\"MinHeapSize\\": 500\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<JvmConfiguration>\\n <MaxPermSize>1000</MaxPermSize>\\n <MaxHeapSize>500</MaxHeapSize>\\n <MinHeapSize>500</MinHeapSize>\\n <Options/>\\n</JvmConfiguration>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateJvmConfiguration',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetJvmConfiguration' => [
+ 'path' => '/pop/v5/app/app_jvm_config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4***************',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group.'."\n"
+ ."\n"
+ .'* If an ID is specified, this operation queries the JVM configuration information of the instance group.'."\n"
+ .'* If an ID is not specified, this operation queries the JVM configuration information of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8123db90-880f-48**************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3F43-F34V-0VCD***********',
+ ],
+ 'JvmConfiguration' => [
+ 'description' => 'The JVM configuration of the application or instance group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MaxPermSize' => [
+ 'description' => 'The size of the permanent generation heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'MaxHeapSize' => [
+ 'description' => 'The maximum size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'Options' => [
+ 'description' => 'The custom parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '-XX:+UseConcMarkSweepGC -XX:-UseParNewGC',
+ ],
+ 'MinHeapSize' => [
+ 'description' => 'The initial size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3F43-F34V-0VCD***********\\",\\n \\"JvmConfiguration\\": {\\n \\"MaxPermSize\\": 1000,\\n \\"MaxHeapSize\\": 1000,\\n \\"Options\\": \\"-XX:+UseConcMarkSweepGC -XX:-UseParNewGC\\",\\n \\"MinHeapSize\\": 500\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<JvmConfiguration>\\n <MaxHeapSize>1000</MaxHeapSize>\\n <MinHeapSize>500</MinHeapSize>\\n <Options> -XX:+UseConcMarkSweepGC -XX:-UseParNewGC</Options>\\n</JvmConfiguration>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'GetJvmConfiguration',
+ 'summary' => 'Queries the Java Virtual Machine (JVM) configuration of an application or an instance group in which an application is deployed.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetApplication' => [
+ 'summary' => 'Queries the details about a specified application in an Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/app/app_info',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '29f0******************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'F8DFGED-K98***************',
+ ],
+ 'Application' => [
+ 'description' => 'The details of the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ExtSlbIp' => [
+ 'description' => 'The IP address of the Internet-facing Server Load Balancer (SLB) instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => '47.114.xxx.xx',
+ ],
+ 'Owner' => [
+ 'description' => 'The ID of the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'ouou@117274586608****',
+ ],
+ 'SlbPort' => [
+ 'description' => 'The port of the internal-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ 'NameSpace' => [
+ 'description' => 'The namespace to which the application belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'doc-test',
+ ],
+ 'ExtSlbName' => [
+ 'description' => 'The name of the Internet-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'aa8eee383db084f42aebc4d9f52c****',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the application was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1610550324226',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'test@dd******',
+ ],
+ 'Port' => [
+ 'description' => 'The service port of the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'RunningInstanceCount' => [
+ 'description' => 'The number of running instances for the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'SlbIp' => [
+ 'description' => 'The IP address of the internal-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.0.100',
+ ],
+ 'Dockerize' => [
+ 'description' => 'Indicates whether the application is a Docker application. Valid values:'."\n"
+ ."\n"
+ .'* false: The application is not a Docker application.'."\n"
+ .'* true: The application is a Docker application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'InstanceCount' => [
+ 'description' => 'The number of instances deployed with the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'cfac****-847e-4325-ad56-b5c2bc54****',
+ ],
+ 'SlbInfo' => [
+ 'description' => 'The information about the internal-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size of the application instance. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the ECS cluster in which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'example' => '5ffc5895-****-b03a-c223c6c3****',
+ ],
+ 'SlbId' => [
+ 'description' => 'The ID of the internal-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-bp****ck3s3b9xs6x****',
+ ],
+ 'HealthCheckUrl' => [
+ 'description' => 'The health check URL of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://127.0.0.1:8080/xyz.html',
+ ],
+ 'ApplicationType' => [
+ 'description' => 'The deployment type of the application. Valid values:'."\n"
+ ."\n"
+ .'* War: The application is deployed by using a WAR package.'."\n"
+ .'* FatJar: The application is deployed by using a JAR package.'."\n"
+ .'* Empty: The application is not deployed.'."\n",
+ 'type' => 'string',
+ 'example' => 'FatJar',
+ ],
+ 'ExtSlbId' => [
+ 'description' => 'The ID of the Internet-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'lb-bp1vceck3s3b9xs6x****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region in which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'BuildPackageId' => [
+ 'description' => 'The build package number of Enterprise Distributed Application Service (EDAS) Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '59',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the account.'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: regular Docker cluster'."\n"
+ .'* 1: Swarm cluster'."\n"
+ .'* 2: ECS cluster'."\n"
+ .'* 3: Kubernetes cluster'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'SlbName' => [
+ 'description' => 'The name of the internal-facing SLB instance that is bound to the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'EnableUrlCheck' => [
+ 'description' => 'Indicates whether the URL health check is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: The URL health check is enabled.'."\n"
+ .'* false: The URL health check is disabled.'."\n"
+ ."\n"
+ .'If the URL health check is enabled, EDAS attempts to detect the specified URL during application startup. If EDAS detects the specified URL, the application is considered to have started.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'EnablePortCheck' => [
+ 'description' => 'Indicates whether the port health check is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true: The port health check is enabled.'."\n"
+ .'* false: The port health check is disabled.'."\n"
+ ."\n"
+ .'If the port health check is enabled, EDAS checks whether a port exists during application startup. If the port exists, the application is considered to have started.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'AppPhase' => [
+ 'description' => 'The current status of the Kubernetes application, which is used to determine whether the application is in a stable state. If the application is in an unstable state, related configuration operations are prohibited. Valid values:'."\n"
+ ."\n"
+ .'* ready: The application is in the ready state and can be changed.'."\n"
+ .'* progressive: The application is being changed.'."\n"
+ .'* pending: The application change is blocked.'."\n"
+ .'* failed: The application fails to be changed.'."\n"
+ ."\n"
+ .'In these states, ready is a stable state and other states are unstable.'."\n",
+ 'type' => 'string',
+ 'example' => 'ready',
+ ],
+ 'HaveManageAccess' => [
+ 'type' => 'string',
+ ],
+ 'WorkloadType' => [
+ 'type' => 'string',
+ ],
+ 'ResourceGroupId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F8DFGED-K98***************\\",\\n \\"Application\\": {\\n \\"ExtSlbIp\\": \\"47.114.xxx.xx\\",\\n \\"Owner\\": \\"ouou@117274586608****\\",\\n \\"SlbPort\\": 80,\\n \\"NameSpace\\": \\"doc-test\\",\\n \\"ExtSlbName\\": \\"aa8eee383db084f42aebc4d9f52c****\\",\\n \\"CreateTime\\": 1610550324226,\\n \\"UserId\\": \\"test@dd******\\",\\n \\"Port\\": 8080,\\n \\"RunningInstanceCount\\": 1,\\n \\"SlbIp\\": \\"192.***.***.***\\",\\n \\"Dockerize\\": false,\\n \\"Description\\": \\"test\\",\\n \\"InstanceCount\\": 1,\\n \\"AppId\\": \\"cfac****-847e-4325-ad56-b5c2bc54****\\",\\n \\"SlbInfo\\": \\"test\\",\\n \\"Memory\\": 0,\\n \\"Name\\": \\"test\\",\\n \\"ClusterId\\": \\"5ffc5895-****-b03a-c223c6c3****\\",\\n \\"SlbId\\": \\"lb-bp****ck3s3b9xs6x****\\",\\n \\"HealthCheckUrl\\": \\"http://127.0.0.1:8080/xyz.html\\",\\n \\"ApplicationType\\": \\"FatJar\\",\\n \\"ExtSlbId\\": \\"lb-bp1vceck3s3b9xs6x****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BuildPackageId\\": 59,\\n \\"Email\\": \\"****@***.com\\",\\n \\"Cpu\\": 1,\\n \\"ClusterType\\": \\"2\\",\\n \\"SlbName\\": \\"test\\",\\n \\"EnableUrlCheck\\": false,\\n \\"EnablePortCheck\\": false,\\n \\"AppPhase\\": \\"ready\\",\\n \\"HaveManageAccess\\": \\"true\\",\\n \\"WorkloadType\\": \\"StatefulSet\\",\\n \\"ResourceGroupId\\": \\"rg-aekz****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F8DFGED-K98***************</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>\\n<Application>\\n <SlbId>lb-bp****ck3s3b9xs6x****</SlbId>\\n <Owner>ouou@117274586608****</Owner>\\n <Email>[email protected]</Email>\\n <Description>test</Description>\\n <HealthCheckUrl>http://127.0.0.1:8080/xyz.html</HealthCheckUrl>\\n <Memory>0</Memory>\\n <Port>8080</Port>\\n <NameSpace>doc-test</NameSpace>\\n <Cpu>1</Cpu>\\n <SlbName>test</SlbName>\\n <Name>test</Name>\\n <SlbPort>80</SlbPort>\\n <SlbIp>192.168.0.100</SlbIp>\\n <BuildPackageId>59</BuildPackageId>\\n <Dockerize>false</Dockerize>\\n <ClusterId>5ffc5895-****-b03a-c223c6c3****</ClusterId>\\n <CreateTime>1610550324226</CreateTime>\\n <ClusterType>2</ClusterType>\\n <SlbInfo>test</SlbInfo>\\n <ExtSlbId>lb-bp1vceck3s3b9xs6x****</ExtSlbId>\\n <ApplicationType>FatJar</ApplicationType>\\n <ExtSlbName>aa8eee383db084f42aebc4d9f52c****</ExtSlbName>\\n <InstanceCount>1</InstanceCount>\\n <AppId>cfac****-847e-4325-ad56-b5c2bc54****</AppId>\\n <UserId>test@dd******</UserId>\\n <RegionId>cn-hangzhou</RegionId>\\n <ExtSlbIp>47.114.xxx.xx</ExtSlbIp>\\n <RunningInstanceCount>1</RunningInstanceCount>\\n</Application>","errorExample":""}]',
+ 'title' => 'GetApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => "\n",
+ 'extraInfo' => ' ',
+ ],
+ 'ListComponents' => [
+ 'summary' => 'Queries the components that are related to applications in Elastic Compute Service (ECS) clusters.',
+ 'path' => '/pop/v5/resource/components',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'ComponentList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Component' => [
+ 'description' => 'The components.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the component. Valid values:'."\n"
+ ."\n"
+ .'* JDK'."\n"
+ .'* TOMCAT'."\n"
+ .'* TENGINE'."\n",
+ 'type' => 'string',
+ 'example' => 'JDK',
+ ],
+ 'ComponentKey' => [
+ 'description' => 'The key of the component.'."\n",
+ 'type' => 'string',
+ 'example' => 'JDK 7',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the component.'."\n",
+ 'type' => 'string',
+ 'example' => 'oraclejdk7',
+ ],
+ 'Expired' => [
+ 'description' => 'Indicates whether the component has expired. Valid values:'."\n"
+ ."\n"
+ .'* false: The component has not expired.'."\n"
+ .'* true: The component has expired.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'ComponentId' => [
+ 'description' => 'The ID of the component.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Desc' => [
+ 'description' => 'The description of the component.'."\n",
+ 'type' => 'string',
+ 'example' => 'JDK 7',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"ComponentList\\": {\\n \\"Component\\": [\\n {\\n \\"Type\\": \\"JDK\\",\\n \\"ComponentKey\\": \\"JDK 7\\",\\n \\"Version\\": \\"oraclejdk7\\",\\n \\"Expired\\": false,\\n \\"ComponentId\\": \\"1\\",\\n \\"Desc\\": \\"JDK 7\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ComponentList>\\n <Component>\\n <Desc>JDK 7</Desc>\\n <Type>JDK</Type>\\n <Version>oraclejdk7</Version>\\n <ComponentKey>JDK 7</ComponentKey>\\n <Expired>false</Expired>\\n <ComponentId>1</ComponentId>\\n </Component>\\n</ComponentList>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListComponents',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QueryApplicationStatus' => [
+ 'path' => '/pop/v5/app/app_status',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-441**************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-********',
+ ],
+ 'AppInfo' => [
+ 'description' => 'The information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EcuList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ecu' => [
+ 'description' => 'The information about elastic compute units (ECUs).'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the ECU.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the virtual private cloud (VPC).'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-wz9b246zg************',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECU was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573635952012',
+ ],
+ 'IpAddr' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '172.16.*.**',
+ ],
+ 'AvailableCpu' => [
+ 'description' => 'The number of available CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECU was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573626207270',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user associated with the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'i-wz9fp1ljg***********',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shen****-*',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU. You can run the `dmidecode` command on the ECS instance to query the ECU ID.'."\n",
+ 'type' => 'string',
+ 'example' => '07bd417a-b863-477d-****-************',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the group.'."\n",
+ 'type' => 'string',
+ 'example' => '8123db90-880f-486f-****-************',
+ ],
+ 'DockerEnv' => [
+ 'description' => 'Indicates whether Docker is installed.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Online' => [
+ 'description' => 'Indicates whether the ECU is online.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AvailableMem' => [
+ 'description' => 'The size of the available memory.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ZoneId' => [
+ 'description' => 'The ID of the zone.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shen****-*',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => 'EDAS-scaled-cluster: default cluster'."\n",
+ ],
+ 'HeartbeatTime' => [
+ 'description' => 'The time when the last heartbeat detection was performed. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573635952012',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EccList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Ecc' => [
+ 'description' => 'The information about elastic compute containers (ECCs).'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the ECC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-wz9b246zg************',
+ ],
+ 'UpdateTime' => [
+ 'description' => 'The time when the ECC was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573635952012',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '07bd417a-b863-477d-****-************',
+ ],
+ 'EccId' => [
+ 'description' => 'The unique ID of the ECC.'."\n",
+ 'type' => 'string',
+ 'example' => '0cf49a6c-95a8-4aa8-****-************',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '8123db90-880f-486f-****-************',
+ ],
+ 'AppState' => [
+ 'description' => 'The status of the application instance. Valid values:'."\n"
+ ."\n"
+ .'* 0: AGENT_OFF: indicates that the agent is offline.'."\n"
+ .'* 1: STOPPED: indicates that the application is stopped.'."\n"
+ .'* 3: RUNNING_BUT_URL_FAILED: indicates that the health check failed.'."\n"
+ .'* 7: RUNNING: indicates that the application is running.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '7',
+ ],
+ 'TaskState' => [
+ 'description' => 'The state of the latest task initiated on the application instance. Valid values:'."\n"
+ ."\n"
+ .'* 0: UNKNOWN: indicates that the state of the latest task is unknown.'."\n"
+ .'* 1: PROCESSING: indicates that the latest task is being processed.'."\n"
+ .'* 2: SUCCESS: indicates that the latest task is executed.'."\n"
+ .'* 3: FAILED: indicates that the latest task failed.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the ECC was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573626226691',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ 'ContainerStatus' => [
+ 'description' => 'The status of the container.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'Ip' => [
+ 'description' => 'The private IP address of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '172.16.*.***',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'GroupList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Group' => [
+ 'description' => 'The information about the instance groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the instance group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the instance group was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627441388',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '_DEFAULT_GROUP',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '8123db90-880f-486f-****-************',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the instance group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573626155185',
+ ],
+ 'AppVersionId' => [
+ 'description' => 'The ID of the change process for application deployment in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'changeorder_a**_*******_**',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ 'PackageVersionId' => [
+ 'description' => 'The version of the deployment package that was used to deploy an application in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '441beb18-da42-44dc-****-************',
+ ],
+ 'GroupType' => [
+ 'description' => 'The type of the instance group. Valid values:'."\n"
+ ."\n"
+ .'* 0: default group'."\n"
+ .'* 1: self-managed group'."\n"
+ .'* 2: canary release group'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '0d247b93-8d62-4e34-****-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeployRecordList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DeployRecord' => [
+ 'description' => 'The information about deployment records.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of deployment records.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EccId' => [
+ 'description' => 'The unique ID of the ECC.'."\n",
+ 'type' => 'string',
+ 'example' => '0cf49a6c-95a8-4aa8-****-************',
+ ],
+ 'EcuId' => [
+ 'description' => 'The unique ID of the ECU.'."\n",
+ 'type' => 'string',
+ 'example' => '07bd417a-b863-477d-****-************',
+ ],
+ 'PackageMd5' => [
+ 'description' => 'The MD5 hash value of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => 'd0db5bcb442e492104d0f00e10a03dd9',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the deployment record was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573626226691',
+ ],
+ 'PackageVersionId' => [
+ 'description' => 'The version of the deployment package that was used to deploy an application in the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '441beb18-da42-44dc-****-************',
+ ],
+ 'DeployRecordId' => [
+ 'description' => 'The ID of the deployment record.'."\n",
+ 'type' => 'string',
+ 'example' => 'bbc6c0d5-d792-4907-****-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Application' => [
+ 'description' => 'The basic information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'HealthCheckUrl' => [
+ 'description' => 'The health check URL.'."\n",
+ 'type' => 'string',
+ 'example' => '“”',
+ ],
+ 'Owner' => [
+ 'description' => 'The ID of the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the application was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573626207270',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_com***_****@******-*****.***',
+ ],
+ 'Port' => [
+ 'description' => 'The port used by the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'RunningInstanceCount' => [
+ 'description' => 'The number of application instances that are running.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Phone' => [
+ 'description' => 'The mobile number of the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => '1886666****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shenzhen:test',
+ ],
+ 'BuildPackageId' => [
+ 'description' => 'The build package number of Enterprise Distributed Application Service (EDAS) Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Dockerize' => [
+ 'description' => 'Indicates whether the application is a Docker application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Email' => [
+ 'description' => 'The email address of the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ 'Cpu' => [
+ 'description' => 'The number of CPU cores used by the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'InstanceCount' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'LaunchTime' => [
+ 'description' => 'The time when the application was launched. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'Memory' => [
+ 'description' => 'The memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'EDAS-scaled-cluster:default cluster'."\n",
+ ],
+ 'ApplicationId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-****-************',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '0d247b93-8d62-4e34-****-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-********\\",\\n \\"AppInfo\\": {\\n \\"EcuList\\": {\\n \\"Ecu\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9b246zg************\\",\\n \\"UpdateTime\\": 1573635952012,\\n \\"IpAddr\\": \\"172.16.*.**\\",\\n \\"AvailableCpu\\": 0,\\n \\"CreateTime\\": 1573626207270,\\n \\"UserId\\": \\"edas_com***_****@******-*****.***\\",\\n \\"InstanceId\\": \\"i-wz9fp1ljg***********\\",\\n \\"RegionId\\": \\"cn-shen****-*\\",\\n \\"EcuId\\": \\"07bd417a-b863-477d-****-************\\",\\n \\"GroupId\\": \\"8123db90-880f-486f-****-************\\",\\n \\"DockerEnv\\": false,\\n \\"Online\\": true,\\n \\"AvailableMem\\": 0,\\n \\"ZoneId\\": \\"cn-shen****-*\\",\\n \\"Name\\": \\"EDAS-scaled-cluster:默认集群\\",\\n \\"HeartbeatTime\\": 1573635952012\\n }\\n ]\\n },\\n \\"EccList\\": {\\n \\"Ecc\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9b246zg************\\",\\n \\"UpdateTime\\": 1573635952012,\\n \\"EcuId\\": \\"07bd417a-b863-477d-****-************\\",\\n \\"EccId\\": \\"0cf49a6c-95a8-4aa8-****-************\\",\\n \\"GroupId\\": \\"8123db90-880f-486f-****-************\\",\\n \\"AppState\\": 7,\\n \\"TaskState\\": 3,\\n \\"CreateTime\\": 1573626226691,\\n \\"AppId\\": \\"3616cdca-4f92-4413-****-************\\",\\n \\"ContainerStatus\\": \\"“”\\",\\n \\"Ip\\": \\"172.16.*.***\\"\\n }\\n ]\\n },\\n \\"GroupList\\": {\\n \\"Group\\": [\\n {\\n \\"UpdateTime\\": 1573627441388,\\n \\"GroupName\\": \\"_DEFAULT_GROUP\\",\\n \\"GroupId\\": \\"8123db90-880f-486f-****-************\\",\\n \\"CreateTime\\": 1573626155185,\\n \\"AppVersionId\\": \\"changeorder_a**_*******_**\\",\\n \\"AppId\\": \\"3616cdca-4f92-4413-****-************\\",\\n \\"PackageVersionId\\": \\"441beb18-da42-44dc-****-************\\",\\n \\"GroupType\\": 0,\\n \\"ClusterId\\": \\"0d247b93-8d62-4e34-****-************\\"\\n }\\n ]\\n },\\n \\"DeployRecordList\\": {\\n \\"DeployRecord\\": [\\n {\\n \\"EccId\\": \\"0cf49a6c-95a8-4aa8-****-************\\",\\n \\"EcuId\\": \\"07bd417a-b863-477d-****-************\\",\\n \\"PackageMd5\\": \\"d0db5bcb442e492104d0f00e10a03dd9\\",\\n \\"CreateTime\\": 1573626226691,\\n \\"PackageVersionId\\": \\"441beb18-da42-44dc-****-************\\",\\n \\"DeployRecordId\\": \\"bbc6c0d5-d792-4907-****-************\\"\\n }\\n ]\\n },\\n \\"Application\\": {\\n \\"HealthCheckUrl\\": \\"“”\\",\\n \\"Owner\\": \\"edas_com***_****@******-*****.***\\",\\n \\"CreateTime\\": 1573626207270,\\n \\"UserId\\": \\"edas_com***_****@******-*****.***\\",\\n \\"Port\\": 8080,\\n \\"RunningInstanceCount\\": 1,\\n \\"Phone\\": \\"1886666****\\",\\n \\"RegionId\\": \\"cn-shenzhen:test\\",\\n \\"BuildPackageId\\": 0,\\n \\"Dockerize\\": false,\\n \\"Email\\": \\"[email protected]\\",\\n \\"Cpu\\": 0,\\n \\"InstanceCount\\": 1,\\n \\"LaunchTime\\": 0,\\n \\"Memory\\": 0,\\n \\"Name\\": \\"EDAS-scaled-cluster:默认集群\\",\\n \\"ApplicationId\\": \\"3616cdca-4f92-4413-****-************\\",\\n \\"ClusterId\\": \\"0d247b93-8d62-4e34-****-************\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<AppInfo>\\n <EcuList>\\n <Ecu>\\n <AvailableMem>0</AvailableMem>\\n <AvailableCpu>0</AvailableCpu>\\n <InstanceId>i-wz9fp1ljg***********</InstanceId>\\n <Online>true</Online>\\n <UpdateTime>1573635952012</UpdateTime>\\n <UserId>edas_com***_****@******-*****.***</UserId>\\n <ZoneId>cn-shen****-*</ZoneId>\\n <GroupId>8123db90-880f-486f-****-************</GroupId>\\n <VpcId>vpc-wz9b246zg************</VpcId>\\n <IpAddr>172.16.0.107</IpAddr>\\n <Name>EDAS-scaled-cluster:默认集群</Name>\\n <HeartbeatTime>1573635952012</HeartbeatTime>\\n <CreateTime>1573626207270</CreateTime>\\n <RegionId>cn-shenzhen:xuanye</RegionId>\\n <EcuId>07bd417a-b863-477d-****-************</EcuId>\\n <DockerEnv>false</DockerEnv>\\n </Ecu>\\n </EcuList>\\n <EccList>\\n <Ecc>\\n <Ip>172.16.*.***</Ip>\\n <AppState>7</AppState>\\n <EccId>0cf49a6c-95a8-4aa8-****-************</EccId>\\n <CreateTime>1573626226691</CreateTime>\\n <AppId>3616cdca-4f92-4413-****-************</AppId>\\n <UpdateTime>1573635952024</UpdateTime>\\n <EcuId>07bd417a-b863-477d-****-************</EcuId>\\n <TaskState>3</TaskState>\\n <GroupId>8123db90-880f-486f-****-************</GroupId>\\n <VpcId>vpc-wz9b246zg************</VpcId>\\n </Ecc>\\n </EccList>\\n <Application>\\n <HealthCheckUrl/>\\n <Owner>edas_com***_****@******-*****.***</Owner>\\n <Phone>1886666****</Phone>\\n <RunningInstanceCount>1</RunningInstanceCount>\\n <BuildPackageId>0</BuildPackageId>\\n <UserId>edas_com***_****@******-*****.***</UserId>\\n <ApplicationId>3616cdca-4f92-4413-****-************</ApplicationId>\\n <Name>testPopApi</Name>\\n <InstanceCount>1</InstanceCount>\\n <Memory>0</Memory>\\n <Cpu>0</Cpu>\\n <Port>8080</Port>\\n <Email>[email protected]</Email>\\n <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>\\n <Dockerize>false</Dockerize>\\n <RegionId>cn-*******</RegionId>\\n <CreateTime>1573626155177</CreateTime>\\n <LaunchTime>0</LaunchTime>\\n </Application>\\n <DeployRecordList>\\n <DeployRecord>\\n <EccId>0cf49a6c-95a8-4aa8-****-************</EccId>\\n <PackageVersionId>441beb18-da42-44dc-****-************</PackageVersionId>\\n <CreateTime>1573627453139</CreateTime>\\n <DeployRecordId>bbc6c0d5-d792-4907-****-************</DeployRecordId>\\n <EcuId>07bd417a-b863-477d-****-************</EcuId>\\n <PackageMd5>d0db5bcb442e492104d0f00e10a03dd9</PackageMd5>\\n </DeployRecord>\\n </DeployRecordList>\\n <GroupList>\\n <Group>\\n <GroupType>0</GroupType>\\n <GroupName>_DEFAULT_GROUP</GroupName>\\n <ClusterId>0d247b93-8d62-4e34-****-************</ClusterId>\\n <PackageVersionId>441beb18-da42-44dc-****-************</PackageVersionId>\\n <CreateTime>1573626155185</CreateTime>\\n <AppId>3616cdca-4f92-4413-****-************</AppId>\\n <UpdateTime>1573627441388</UpdateTime>\\n <AppVersionId>changeorder_a**_*******_**</AppVersionId>\\n <GroupId>8123db90-880f-486f-****-************</GroupId>\\n </Group>\\n </GroupList>\\n</AppInfo>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'QueryApplicationStatus',
+ 'summary' => 'Queries the status of an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertDeployGroup' => [
+ 'summary' => 'Creates an instance group for a specified application.',
+ 'path' => '/pop/v5/deploy_group',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413-***********',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the instance group. The name can be up to 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'InitPackageVersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the initial deployment package associated with the instance group. You can call the ListHistoryDeployVersion operation to query the version. For more information, see [ListHistoryDeployVersion](~~149392~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '441beb18-da42-44dc-****-****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '3RD9-D3FRE****************',
+ ],
+ 'DeployGroupEntity' => [
+ 'description' => 'The information about the instance group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the instance group was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627695779',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the instance group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1573627695779',
+ ],
+ 'AppVersionId' => [
+ 'description' => 'The version of the deployment package for the application.'."\n"
+ ."\n"
+ .'* If the application is deployed, a string of random numbers is returned.'."\n"
+ .'* If the application is not deployed, the return value is empty.'."\n",
+ 'type' => 'string',
+ 'example' => '****f4c50-16ee-a02b-667*****',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3616cdca-4f92-4413-***********',
+ ],
+ 'PackageVersionId' => [
+ 'description' => 'The version of the deployment package that was used to deploy an application in the instance group.'."\n"
+ ."\n"
+ .'* If an application is deployed in the instance group, a string of random numbers is returned.'."\n"
+ .'* If no application is deployed in the instance group, the return value is empty.'."\n",
+ 'type' => 'string',
+ 'example' => '****7b93-8d62-4e34***********',
+ ],
+ 'GroupType' => [
+ 'description' => 'The type of the instance group. Valid values:'."\n"
+ ."\n"
+ .'* 0: the default group.'."\n"
+ .'* 1: a group for which canary traffic management is not enabled.'."\n"
+ .'* 2: a group for which canary traffic management is enabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the instance group.'."\n",
+ 'type' => 'string',
+ 'example' => '577f4c50-16ee-43d8-a02b-667*********',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '0d247b93-8d62-4e34***********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3RD9-D3FRE****************\\",\\n \\"DeployGroupEntity\\": {\\n \\"UpdateTime\\": 1573627695779,\\n \\"GroupName\\": \\"test\\",\\n \\"CreateTime\\": 1573627695779,\\n \\"AppVersionId\\": \\"****f4c50-16ee-a02b-667*****\\",\\n \\"AppId\\": \\"3616cdca-4f92-4413-***********\\",\\n \\"PackageVersionId\\": \\"****7b93-8d62-4e34***********\\",\\n \\"GroupType\\": 1,\\n \\"Id\\": \\"577f4c50-16ee-43d8-a02b-667*********\\",\\n \\"ClusterId\\": \\"0d247b93-8d62-4e34***********\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<DeployGroupEntity>\\n <GroupType>1</GroupType>\\n <GroupName>test</GroupName>\\n <ClusterId>0d247b93-8d62-4e34***************</ClusterId>\\n <PackageVersionId/>\\n <CreateTime>1573627695779</CreateTime>\\n <AppId>3616cdca-4f92-4413-***********</AppId>\\n <UpdateTime>1573627695779</UpdateTime>\\n <Id>577f4c50-16ee-43d8-a02b-667*********</Id>\\n <AppVersionId/>\\n</DeployGroupEntity>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'InsertDeployGroup',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'BindEcsSlb' => [
+ 'summary' => 'Binds a Server Load Balancer (SLB) instance to an application that is deployed in an Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/app/slb/bind_slb',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can query the application ID by calling the ListApplication operation. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-*****-ed2ae98de18d',
+ ],
+ ],
+ [
+ 'name' => 'SlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'lb-uf6j54m3a****cj01jx8',
+ ],
+ ],
+ [
+ 'name' => 'ListenerPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The listener port for the SLB instance.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'VServerGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the vServer group for the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rsp-2ze****6l*****',
+ ],
+ ],
+ [
+ 'name' => 'ListenerProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The listener protocol for the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'tcp',
+ ],
+ ],
+ [
+ 'name' => 'DeployGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group whose application you want to bind. You can call the ListDeployGroup operation to query the group ID. For more information, see [ListDeployGroup](~~62077~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '577f4c50-16ee-43d8-****-****',
+ ],
+ ],
+ [
+ 'name' => 'VServerGroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the vServer group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '****/31405/internet-test-ack-test****/default/clusterid',
+ ],
+ ],
+ [
+ 'name' => 'ListenerHealthCheckUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The health check URL.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/_ehc.html',
+ ],
+ ],
+ [
+ 'name' => 'VForwardingUrlRule',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The forwarding rule of the SLB listener.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'example.com/forwarding',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The change process ID for this operation.'."\n",
+ 'type' => 'string',
+ 'example' => 'cd65b247-****-475b-ad4b-7039040d625c',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ChangeOrderId\\": \\"cd65b247-****-475b-ad4b-7039040d625c\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\"\\n}","type":"json"}]',
+ 'title' => 'BindEcsSlb',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UnbindSlb' => [
+ 'summary' => 'Unbinds a Server Load Balancer (SLB) instance from an application.',
+ 'path' => '/pop/app/unbind_slb_json',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c627c157-560d-********************',
+ ],
+ ],
+ [
+ 'name' => 'SlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'lb-wz9vo49****************',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The network type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* **internet**: Internet-facing SLB instance'."\n"
+ .'* **intranet**: internal-facing SLB instance'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'internet',
+ ],
+ ],
+ [
+ 'name' => 'DeleteListener',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to remove the configured listeners. Valid values:'."\n"
+ ."\n"
+ .'* true: removes the configured listeners.'."\n"
+ .'* false: does not remove the configured listeners.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'Unbind slb success',
+ ],
+ 'Data' => [
+ 'description' => 'This parameter is left empty. It has no meaning.'."\n",
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"Unbind slb success\\",\\n \\"Data\\": \\"{}\\",\\n \\"RequestId\\": \\"D16979DC-4D42-************\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D16979DC-4D42-************</RequestId>\\n<Message>Unbind slb success</Message>\\n<Data>{}</Data>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RollbackApplication' => [
+ 'path' => '/pop/v5/changeorder/co_rollback',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application ID. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~423162~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3616cdca-4f92-4413-************',
+ ],
+ ],
+ [
+ 'name' => 'HistoryVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The historical version to which you want to roll back the application. Call the ListHistoryDeployVersion operation to query the historical versions of the application. Then, set this parameter based on the returned value of `PackageVersion`. For more information, see [ListHistoryDeployVersion](~~423163~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2019-11-13 14:22:22',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application group ID. You can call the ListDeployGroup operation to query the application group ID. For more information, see [ListDeployGroup](~~423184~~).'."\n"
+ ."\n"
+ .'If you need to roll back the application in all application groups, set this parameter to `all`.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '8123db90-880f-48***************',
+ ],
+ ],
+ [
+ 'name' => 'Batch',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of batches for the rollback. Default value: 1. Valid values: 1 to 5.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'BatchWaitTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The wait time between batches. Default value: 0. The default value indicates no wait time. Valid values: 0 to 5. Unit: minutes.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The change process ID. You can call the GetChangeOrderInfo operation to query the progress of this rollback. For more information, see [GetChangeOrderInfo](~~423155~~).'."\n",
+ 'type' => 'string',
+ 'example' => '921026b8-d1be-************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"921026b8-d1be-************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-*********\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D16979DC-4D42-*********</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>921026b8-d1be-************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'RollbackApplication',
+ 'summary' => 'Rolls back an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertApplication' => [
+ 'summary' => 'Creates an application in an Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/changeorder/co_create_app',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECS cluster in which you want to create the application. If you specify an ID, the application is created in the specified ECS cluster. If you leave this parameter empty, the application is created in the default cluster. We recommend that you specify this parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '13136119-f384-4f50-b76e-xxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'BuildPackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The build package number of EDAS Container. This parameter is required if you create a High-Speed Service Framework (HSF) application. You can query the build package number by using one of the following methods:'."\n"
+ ."\n"
+ .'* Call the ListBuildPack operation. For more information, see [ListBuildPack](~~149391~~).'."\n"
+ .'* Obtain the value in the **Build package number** column of the [Release notes for EDAS Container](~~92614~~) topic.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '59',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'create by edas pop api',
+ ],
+ ],
+ [
+ 'name' => 'ApplicationName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application. The name can contain only digits, letters, hyphens (-), and underscores (\\_) and must start with a letter. The name can be up to 36 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'hello-edas-test-1',
+ ],
+ ],
+ [
+ 'name' => 'ReservedPortStr',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The reserved port for the application. This parameter is deprecated.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8090',
+ ],
+ ],
+ [
+ 'name' => 'EcuInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The value of `ecu_id` of the ECS instance to be added during scale-out. The ECU ID is the unique identity for an ECS instance that is imported to EDAS. Separate multiple values of `ecu_id` with commas (,). You can call the ListScaleOutEcu operation to query the value of `ecu_id`. For more information, see [ListScaleOutEcu](~~149371~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '07bd417a-b863-477d-****-************',
+ ],
+ ],
+ [
+ 'name' => 'Cpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of CPU cores that can be used by the application container in a Swarm cluster. \\*\\*This parameter is deprecated.\\*\\*'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Mem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The memory size that can be used by the application container in a Swarm cluster. \\*\\*This parameter is deprecated.\\*\\*'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '2048',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the microservices namespace. To query the ID of a microservices namespace, you can choose **Resource Management** > **Microservice Namespaces** in the left-side navigation pane of the EDAS console or call the ListUserDefineRegion operation. For more information, see [ListUserDefineRegion](~~149377~~).'."\n"
+ ."\n"
+ .'* This parameter is required if the cluster you specify is not deployed in the default microservices namespace. Otherwise, the message `application regionId is different with cluster regionId!` appears.'."\n"
+ .'* If the cluster you specify is deployed in the default microservices namespace, you do not need to specify this parameter. Set this parameter to the ID of the microservices namespace in which the cluster you specify is deployed.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-beijing:prod',
+ ],
+ ],
+ [
+ 'name' => 'Jdk',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the Java Development Kit (JDK) used to deploy the application. **This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '8',
+ ],
+ ],
+ [
+ 'name' => 'WebContainer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of Apache Tomcat. **This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'PackageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the application deployment package. Valid values: war and jar.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'war',
+ ],
+ ],
+ [
+ 'name' => 'ComponentIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application component. You can call the ListComponents operation to query the component IDs. For more information, see [ListComponents](~~97502~~).'."\n"
+ ."\n"
+ .'This parameter is required if the application runs in Apache Tomcat or in a standard Java application runtime environment. The Apache Tomcat application runtime environment is applicable to Dubbo applications that are deployed by using WAR packages. A standard Java application runtime environment is applicable to Spring Boot or Spring Cloud applications that are deployed by using JAR packages.'."\n"
+ ."\n"
+ .'Valid values for common application components:'."\n"
+ ."\n"
+ .'* 4: Apache Tomcat 7.0.91'."\n"
+ .'* 7: Apache Tomcat 8.5.42'."\n"
+ .'* 5: OpenJDK 1.8.x'."\n"
+ .'* 6: OpenJDK 1.7.x'."\n"
+ ."\n"
+ .'This parameter is available only for Java SDK 2.57.3 or later, or Python SDK 2.57.3 or later. Assume that you use an SDK that is not provided by EDAS, for example, aliyun-python-sdk-core, aliyun-java-sdk-core, and Alibaba Cloud CLI. In this case, you can directly specify this parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '7',
+ ],
+ ],
+ [
+ 'name' => 'Hooks',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The script to mount. Set the value in the JSON format. Example: `[{"ignoreFail":false,"name":"postprepareInstanceEnvironmentOnScaleOut","script":"ls"},{"ignoreFail":true,"name":"postdeleteInstanceDataOnScaleIn","script":""},{"ignoreFail":true,"name":"prestartInstance","script":""},{"ignoreFail":true,"name":"poststartInstance","script":""},{"ignoreFail":true,"name":"prestopInstance","script":""},{"ignoreFail":true,"name":"poststopInstance","script":""}]`'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"ignoreFail":false,"name":"postprepareInstanceEnvironmentOnScaleOut","script":"ls"}]',
+ ],
+ ],
+ [
+ 'name' => 'JvmOptions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The custom parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-Dproperty=value',
+ ],
+ ],
+ [
+ 'name' => 'MinHeapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The initial size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '500',
+ ],
+ ],
+ [
+ 'name' => 'MaxPermSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of the permanent generation heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '200',
+ ],
+ ],
+ [
+ 'name' => 'MaxHeapSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of the heap memory. Unit: MB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '0',
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'EnableUrlCheck',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the URL health check. Valid values:'."\n"
+ ."\n"
+ .'* **true**: enables the URL health check.'."\n"
+ .'* **false**: does not enable the URL health check.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'EnablePortCheck',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the port health check. Valid values:'."\n"
+ ."\n"
+ .'* **true**: enable the port health check.'."\n"
+ .'* **false**: does not enable the port health check.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'HealthCheckUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The health check URL of the application. This parameter is equivalent to the HealthCheckURL parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://127.0.0.1:8080/_ehc.html',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-aek24j4s4b*****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'The application name test-hsy-C5039-paas-6 had been created successfully.',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4264F69C-686C-4107-B493-0599C8xxxxxx',
+ ],
+ 'ApplicationInfo' => [
+ 'description' => 'The information about the created application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'd0cf569e-dce3-4efb-****-08b70021****',
+ ],
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'hello-edas-test-1',
+ ],
+ 'Owner' => [
+ 'description' => 'The owner of the application. The owner is the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => '249763358688********',
+ ],
+ 'Dockerize' => [
+ 'description' => 'Indicates whether the application is a Docker application. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The application is a Docker application.'."\n"
+ .'* **false**: The application is not a Docker application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'RegionName' => [
+ 'description' => 'The name of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application. The ID is the unique identifier of the application in EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => '6c733bcd-6efb-47a1-8226-cf722c******',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the user who created the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'tdy218@1362469756xxxxxx',
+ ],
+ 'Port' => [
+ 'description' => 'The port used by the created application. Default value: 8080. You can call the UpdateContainerConfiguration operation to change the port. For more information, see [UpdateContainerConfiguration](~~149403~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"The application name test-hsy-C5039-paas-6 had been created successfully.\\",\\n \\"RequestId\\": \\"4264F69C-686C-4107-B493-0599C8xxxxxx\\",\\n \\"ApplicationInfo\\": {\\n \\"ChangeOrderId\\": \\"d0cf569e-dce3-4efb-****-08b70021****\\",\\n \\"AppName\\": \\"hello-edas-test-1\\",\\n \\"Owner\\": \\"249763358688********\\",\\n \\"Dockerize\\": false,\\n \\"RegionName\\": \\"cn-hangzhou\\",\\n \\"AppId\\": \\"6c733bcd-6efb-47a1-8226-cf722c******\\",\\n \\"UserId\\": \\"tdy218@1362469756xxxxxx\\",\\n \\"Port\\": 8080\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4264F69C-686C-4107-B493-0599C8xxxxxx</RequestId>\\n<Message>The application name test-hsy-C5039-paas-6 had been created successfully.</Message>\\n<ApplicationInfo>\\n <Dockerize>false</Dockerize>\\n <Owner>249763358688********</Owner>\\n <AppId>6c733bcd-6efb-47a1-8226-cf722c******</AppId>\\n <RegionName>cn-hangzhou</RegionName>\\n <UserId>tdy218@1362469756xxxxxx</UserId>\\n <Port>8080</Port>\\n <ChangeOrderId>d0cf569e-dce3-4efb-****-08b70021****</ChangeOrderId>\\n <AppName>hello-edas-test-1</AppName>\\n</ApplicationInfo>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'InsertApplication',
+ 'description' => '> To create an application in a Kubernetes cluster, call the InsertK8sApplication operation provided by Enterprise Distributed Application Service (EDAS).'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => '## Common application parameters'."\n"
+ ."\n"
+ .'1. Assume that you use EDAS SDK for Java to create a native Dubbo or Java web application that runs in Apache Tomcat. In this case, you can use the following common parameters:'."\n"
+ ."\n"
+ .' InsertApplicationRequest request = new InsertApplicationRequest();'."\n"
+ .' request.setApplicationName("hello-edas-test-1"); // The name of the application. '."\n"
+ .' request.setPackageType("war"); // The type of the application deployment package. This parameter is optional. '."\n"
+ .' request.setComponentIds("7"); // The application component. Set the value to 7 or 4. 7 indicates Apache Tomcat 8.5.42 and 4 indicates Apache Tomcat 7.0.91. '."\n"
+ .' request.setLogicalRegionId("cn-hangzhou:prod"); // The ID of the namespace. Take note that this parameter does not specify the name of the namespace. This parameter is required if the cluster you specify is not deployed in the default namespace. '."\n"
+ .' request.setClusterId("ebc364ca-1875-4266-ae1f-ad0e7c179417"); // The ID of the ECS cluster in which the application is to be created. '."\n"
+ ."\n"
+ .'2. Assume that you use EDAS SDK for Java to create a native Spring Boot or Spring Cloud application that runs in a standard Java application runtime environment. A Fat JAR package is used to create the application. In this case, you can use the following common parameters:'."\n"
+ ."\n"
+ .' InsertApplicationRequest request = new InsertApplicationRequest();'."\n"
+ .' request.setApplicationName("hello-edas-test-2"); // The name of the application. '."\n"
+ .' request.setPackageType("jar"); // The type of the application deployment package. This parameter is optional. '."\n"
+ .' request.setComponentIds("5"); // The application component. Set the value to 5 or 6. 5 indicates OpenJDK 1.8.0 and 6 indicates OpenJDK 1.8.0. If you leave this parameter empty, OpenJDK 1.8.0 is used. '."\n"
+ .' request.setLogicalRegionId("cn-hangzhou:prod"); // The ID of the namespace. Take note that this parameter does not specify the name of the namespace. This parameter is required if the cluster you specify is not deployed in the default namespace. '."\n"
+ .' request.setClusterId("ebc364ca-1875-4266-ae1f-ad0e7c179417"); // The ID of the ECS cluster in which the application is to be created. '."\n"
+ ."\n"
+ .'3. Assume that you use EDAS SDK for Java to create an HSF application that runs in EDAS Container. In this case, you can use the following common parameters:'."\n"
+ ."\n"
+ .' InsertApplicationRequest request = new InsertApplicationRequest();'."\n"
+ .' request.setBuildPackId(59); // The build package number of EDAS Container. The value 59 indicates that edas-container 3.5.8 is used. '."\n"
+ .' request.setApplicationName("hello-edas-test-3"); // The name of the application. '."\n"
+ .' request.setPackageType("war"); // The type of the application deployment package. Valid values: war and jar. This parameter is optional. '."\n"
+ .' request.setLogicalRegionId("cn-hangzhou:prod"); // The ID of the namespace. Take note that this parameter does not specify the name of the namespace. This parameter is required if the cluster you specify is not deployed in the default namespace. '."\n"
+ .' request.setClusterId("ebc364ca-1875-4266-ae1f-ad0e7c179417"); // The ID of the ECS cluster in which the application is to be created. '."\n",
+ ],
+ 'DeployApplication' => [
+ 'summary' => 'Deploys an application in an Elastic Compute Service (ECS) cluster.',
+ 'path' => '/pop/v5/changeorder/co_deploy',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~423162~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-********************',
+ ],
+ ],
+ [
+ 'name' => 'PackageVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the application deployment package. The value can be up to 64 characters in length. We recommend that you use a timestamp.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1.0',
+ ],
+ ],
+ [
+ 'name' => 'Desc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application deployment.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Deploy by edas pop api',
+ ],
+ ],
+ [
+ 'name' => 'DeployType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The deployment mode of the application. Valid values: `url` and `image`. The image value is deprecated. You can deploy an application to a Swarm cluster only by using an image.``'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'URL',
+ ],
+ ],
+ [
+ 'name' => 'WarUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the application deployment package. The package can be a WAR or JAR package. This parameter is required if you set the **DeployType** parameter to `url`. We recommend that you specify the URL of an application deployment package that is stored in an Object Storage Service (OSS) bucket.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://edas.oss-cn-hangzhou.aliyuncs.com/demo/hello-edas.war',
+ ],
+ ],
+ [
+ 'name' => 'ImageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the application image that is used to deploy the application in a Swarm cluster. We recommend that you use an image that is stored in Alibaba Cloud Container Registry. This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'registry.cn-hangzhou.aliyuncs.com/mw/testapp:latest',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group to which the application is deployed. You can call the ListDeployGroup operation to query the ID of the instance group. For more information, see [ListDeployGroup](~~423184~~).'."\n"
+ ."\n"
+ .'Set the parameter to `all` if you want to deploy the application to all instance groups.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'all',
+ ],
+ ],
+ [
+ 'name' => 'Batch',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of batches per instance group.'."\n"
+ ."\n"
+ .'* If you specify an ID when you set the GroupId parameter, the application is deployed to the specified instance group. The minimum number of batches that can be specified is 1. The maximum number of batches is the maximum number of ECS instances in the Normal state in the instance group. The actual value falls in the range of \\[1, specified number]. The specified number of batches equals the number of ECS instances in the specified instance group.'."\n"
+ .'* If you set the GroupId parameter to all, the application is deployed to all instance groups. The minimum number of batches that can be specified is 1. The maximum number of batches is the number of ECS instances in the instance group that has the largest number of ECS instances in the Normal state.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'BatchWaitTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The wait time between deployment batches for the application. Unit: minutes.'."\n"
+ ."\n"
+ .'* Default value: 0. If no wait time between deployment batches is needed, set this parameter to 0.'."\n"
+ .'* Maximum value: 5.'."\n"
+ ."\n"
+ .'If many deployment batches are needed, we recommend that you specify a small value for this parameter. Otherwise, the application deployment is time-consuming.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'AppEnv',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The environment variables of the application. Specify each environment variable by using two key-value pairs. Example: `{"name":"x","value":"y"},{"name":"x2","value":"y2"}`. The `keys` of the two key-value pairs are `name` and `value`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"name\\":\\"env_name_1\\", \\"value\\":\\"env_value_1\\"}, {\\"name\\":\\"env_name_2\\",\\"value\\":\\"env_value_2\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'BuildPackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The build package number of EDAS Container.'."\n"
+ ."\n"
+ .'* You do not need to set the parameter if you do not need to change the EDAS Container version during the deployment.'."\n"
+ .'* Set the parameter if you need to update the EDAS Container version of the application during the deployment.'."\n"
+ ."\n"
+ .'You can query the build package number by using one of the following methods:'."\n"
+ ."\n"
+ .'* Call the ListBuildPack operation. For more information, see [ListBuildPack](~~149391~~).'."\n"
+ .'* Obtain the value in the **Build package number** column of the [Release notes for EDAS Container](~~92614~~) topic. For example, `59` indicates `EDAS Container 3.5.8`.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '59',
+ ],
+ ],
+ [
+ 'name' => 'ComponentIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IDs of the components used by the application. The parameter is not applicable to High-Speed Framework (HSF) applications. You can call the ListComponents operation to query the component IDs. For more information, see [ListComponents](~~423223~~).'."\n"
+ ."\n"
+ .'* If you have specified the component IDs when you create the application, you do not need to set the parameter when you deploy the application.'."\n"
+ .'* Set the parameter if you need to update the component versions for the application during the deployment.'."\n"
+ ."\n"
+ .'Valid values for common application components:'."\n"
+ ."\n"
+ .'* 4: Apache Tomcat 7.0.91'."\n"
+ .'* 7: Apache Tomcat 8.5.42'."\n"
+ .'* 5: OpenJDK 1.8.x'."\n"
+ .'* 6: OpenJDK 1.7.x'."\n"
+ ."\n"
+ .'For more information, see the Common application parameters section of the [InsertApplication](~~423185~~) topic.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '7',
+ ],
+ ],
+ [
+ 'name' => 'ReleaseType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The mode in which the deployment batches are triggered. Valid values:'."\n"
+ ."\n"
+ .'* 0: automatic.'."\n"
+ .'* 1: You must manually trigger the next batch. You can manually click **Proceed to Next Batch** in the console or call the ContinuePipeline operation to proceed to the next batch. We recommend that you choose the automatic mode when you call an API operation to deploy the application. For more information, see [ContinuePipeline](~~126990~~).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Gray',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether canary release is selected as the deployment method. Valid values:'."\n"
+ ."\n"
+ .'* true: Canary release is selected.'."\n"
+ ."\n"
+ .' * To implement a canary release, specify the GroupId parameter, which specifies the ID of the instance group for the canary release.'."\n"
+ .' * Canary release can be selected as the deployment method for only one batch.'."\n"
+ .' * After the canary release is complete, the application is released in regular mode. The Batch parameter specifies the number of batches.'."\n"
+ ."\n"
+ .'* false: Single-batch release or phased release is selected.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'TrafficControlStrategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The canary release policy. For more information about canary release policies, see [DeployK8sApplication](~~423212~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"http":{"rules":[{"conditionType":"percent","percent":10}]}}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The change process ID of the application deployment.'."\n",
+ 'type' => 'string',
+ 'example' => 'adf86823-055b-48a4-a59f-fa5582******',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'd6834ee9-5045-*************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"adf86823-055b-48a4-a59f-fa5582******\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"d6834ee9-5045-*************\\"\\n}","errorExample":""},{"type":"xml","example":"<DeployApplicationResponse>\\n <Code>200</Code>\\n <ChangeOrderId>adf86823-055b-48a4-a59f-fa5582******</ChangeOrderId>\\n <Message>success</Message>\\n <RequestId>d6834ee9-5045-*************</RequestId>\\n</DeployApplicationResponse>","errorExample":""}]',
+ 'title' => 'DeployApplication',
+ 'description' => '> To deploy an application in a Container Service for Kubernetes (ACK) cluster that is imported into Enterprise Distributed Application Service (EDAS), call the DeployK8sApplication operation provided by EDAS. For more information, see [](~~149420~~)DeployK8sApplication.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ScaleoutApplicationWithNewInstances' => [
+ 'summary' => 'Purchases Elastic Compute Service (ECS) instances in the Enterprise Distributed Application Service (EDAS) console and adds the purchased ECS instances to the specified instance group of an application.',
+ 'path' => '/pop/v5/scaling/scale_out',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application that you want to scale out. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'e370c17f-*****-3df0721a327',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group that you want to scale out. You can call the ListDeployGroup operation to query the group ID. For more information, see [ListDeployGroup](~~62077~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'e37**********-33df0721a327',
+ ],
+ ],
+ [
+ 'name' => 'ScalingNum',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances to be added for the scale-out.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'maximum' => '100',
+ 'minimum' => '1',
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'TemplateId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the ECS instance launch template. You can call the DescribeLaunchTemplates operation to query the launch template ID. For more information, see [DescribeLaunchTemplates](~~73759~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lt-****hy9s2 ',
+ ],
+ ],
+ [
+ 'name' => 'TemplateVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the ECS instance launch template. You can call the DescribeLaunchTemplateVersions operation to query the launch template version. For more information, see [DescribeLaunchTemplateVersions](~~73761~~).'."\n"
+ ."\n"
+ .'> If you set this parameter to `-1`, the default launch template version is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-1',
+ ],
+ ],
+ [
+ 'name' => 'ScalingPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance reclaim mode of the scaling group. Valid values:'."\n"
+ ."\n"
+ .'* recycle: economical mode'."\n"
+ .'* release: release mode'."\n"
+ ."\n"
+ .'For more information about how to remove instances from a specified scaling group, see [RemoveInstances](~~25955~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'release',
+ ],
+ ],
+ [
+ 'name' => 'TemplateInstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the existing ECS instance used for the scale-out. If this parameter is specified, the specifications and configurations of the specified ECS instance are used as a template to purchase new instances.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-28wt4****',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster to which you want to add ECS instances. If the application and application instance group for the scale-out are specified, this parameter is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'e37**********-33df0721a327',
+ ],
+ ],
+ [
+ 'name' => 'InstanceChargeType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The billing method of the instance. Valid values:'."\n"
+ ."\n"
+ .'* PrePaid: subscription.'."\n"
+ .'* PostPaid: pay-as-you-go. This is the default value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PrePaid',
+ ],
+ ],
+ [
+ 'name' => 'InstanceChargePeriodUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the subscription period. Valid values:'."\n"
+ ."\n"
+ .'* Week: billed on a weekly basis.'."\n"
+ .'* Month: billed on a monthly basis. This is the default value.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Month',
+ ],
+ ],
+ [
+ 'name' => 'InstanceChargePeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The duration of the subscription. The unit of the subscription duration is specified by the InstanceChargePeriodUnit parameter. This parameter takes effect only when the InstanceChargeType parameter is set to PrePaid.'."\n"
+ ."\n"
+ .'* If the InstanceChargePeriodUnit parameter is set to Week, the valid values of the InstanceChargePeriod parameter are 1, 2, 3, and 4.'."\n"
+ .'* If the InstanceChargePeriodUnit parameter is set to Month, the valid values of the InstanceChargePeriod parameter are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable auto-renewal. This parameter takes effect only when the InstanceChargeType parameter is set to PrePaid. Valid values:'."\n"
+ ."\n"
+ .'* true: enables auto-renewal.'."\n"
+ .'* false: does not enable auto-renewal. This is the default value.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AutoRenewPeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The auto-renewal period. Valid values:'."\n"
+ ."\n"
+ .'* If the InstanceChargePeriodUnit parameter is set to Week, the valid values of the AutoRenewPeriod parameter are 1, 2, and 3.'."\n"
+ .'* If the InstanceChargePeriodUnit parameter is set to Month, the valid values of the AutoRenewPeriod parameter are 1, 2, 3, 6, 12, 24, 36, 48, and 60.'."\n"
+ ."\n"
+ .'Default value: 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'minimum' => '1',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process for the scale-out.'."\n",
+ 'type' => 'string',
+ 'example' => 'e370c17f-*****-3df0721a327',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'e370c17f-*****-3df0721a327',
+ ],
+ 'InstanceIds' => [
+ 'description' => 'The IDs of ECS instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of purchased ECS instances.'."\n",
+ 'type' => 'string',
+ 'example' => '["i-28wt4****","i-28wt4****"]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"e370c17f-*****-3df0721a327\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"e370c17f-*****-3df0721a327\\",\\n \\"InstanceIds\\": [\\n \\"[\\\\\\"i-28wt4****\\\\\\",\\\\\\"i-28wt4****\\\\\\"]\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>e370c17f-*****-3df0721a327</RequestId>\\n<ChangeOrderId>e370c17f-*****-3df0721a327</ChangeOrderId>\\n<InstanceIds>i-28wt4****</InstanceIds>\\n<InstanceIds>i-28wt4****</InstanceIds>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ScaleoutApplicationWithNewInstances',
+ 'description' => '## Limits'."\n"
+ ."\n"
+ .'Assume that the auto scaling feature is configured and enabled for an application. When an auto scale-in is triggered for the application, the ECS instances that are purchased by calling this operation are removed first.'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ScaleOutApplication' => [
+ 'summary' => 'Scales out an application.',
+ 'path' => '/pop/v5/changeorder/co_scale_out',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application that you want to scale out. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '3616cdca-4f92-4413*****************',
+ ],
+ ],
+ [
+ 'name' => 'EcuInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute unit (ECU) that corresponds to the Elastic Compute Service (ECS) instance to be added to the instance group for scale-out. You can call the ListScaleOutEcu operation to query the ECU ID. For more information, see [ListScaleOutEcu](~~149371~~). Separate multiple ECU IDs with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '8123db90-880f-486f-b***************',
+ ],
+ ],
+ [
+ 'name' => 'DeployGroup',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the instance group where the application you want to scale out is deployed. You can call the QueryApplicationStatus operation to query the group ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '4f1fb6f5-6769-4bd6******************',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the progress of this scale-out. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'f4208118-7171-4e20-92************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-***********************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"f4208118-7171-4e20-92************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-***********************\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>f4208118-7171-4e20-92************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ScaleOutApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ScaleInApplication' => [
+ 'summary' => 'Scales in the instances of an application.',
+ 'path' => '/pop/v5/changeorder/co_scale_in',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3616cdca-4f92-44***********************',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute container (ECC) that corresponds to the Elastic Compute Service (ECS) instance to be removed for the application. Separate multiple ECC IDs with commas (,). You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '7040f221-42df-48e8-9*******************',
+ ],
+ ],
+ [
+ 'name' => 'ForceStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to forcibly unpublish the application from the ECS instance. You need to set this parameter to true only if the ECS instance expires. In normal cases, you do not need to set this parameter to true.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process for this operation. You can call the GetChangeOrderInfo operation to query the progress of this scale-in. For more information, see [GetChangeOrderInfo](~~62072~~). No ID is generated if the ForceStatus parameter is set to true. You can check whether the request is successful based on the value of the Code parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'ddf5a4c7-a507-4a6e****************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"ddf5a4c7-a507-4a6e****************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>ddf5a4c7-a507-4a6e****************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ScaleInApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ResetApplication' => [
+ 'summary' => 'Resets an application.',
+ 'path' => '/pop/v5/changeorder/co_reset',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3616cdca-4f92*********',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute container (ECC) for which you want to reset the application. Separate multiple ECC IDs with commas (,). You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0cf49a6c-***********',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process for this operation. You can call the GetChangeOrderInfo operation to query the progress of this operation. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => '1c66548e-a082-40************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"1c66548e-a082-40************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-*********\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>1c66548e-a082-40************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ResetApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RestartApplication' => [
+ 'summary' => 'Restarts an application. This operation is suitable for applications that are deployed on Elastic Compute Service (ECS) instances.',
+ 'path' => '/pop/v5/changeorder/co_restart',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c627c157-560d*******',
+ ],
+ ],
+ [
+ 'name' => 'EccInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the elastic compute container (ECC) that corresponds to the ECS instance on which you want to restart the application. You can call the QueryApplicationStatus operation to query the ECC ID. For more information, see [QueryApplicationStatus](~~149394~~).'."\n"
+ ."\n"
+ .'* Separate multiple ECC IDs with commas (,).'."\n"
+ .'* If you leave this parameter empty, the application will be restarted on all the ECS instances deployed with the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '006c0ea5-5f8d-4398-af1e-**********',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n"
+ ."\n"
+ .'You can call the GetChangeOrderInfo operation to query the progress of this restart. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'a9557bac-ddd7-*********************',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"a9557bac-ddd7-*********************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>a9557bac-ddd7-*********************</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'RestartApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateK8sService' => [
+ 'summary' => 'Creates an application service in a Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_service',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the Kubernetes Service.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'service-http',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the Kubernetes Service. Set the value to ClusterIP.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ClusterIP',
+ ],
+ ],
+ [
+ 'name' => 'ServicePorts',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The port mapping of the Kubernetes Service. Set this parameter to a JSON array. The following parameters are included in the configurations:'."\n"
+ ."\n"
+ .'* **protocol**: the protocol used by the Service. Valid values: TCP and UDP. This parameter is mandatory.'."\n"
+ .'* **port**: the frontend service port. Valid values: 1 to 65535. This parameter is mandatory.'."\n"
+ .'* **targetPort**: the backend container port. Valid values: 1 to 65535. This parameter is mandatory.'."\n"
+ ."\n"
+ .'Example: `[{"protocol": "TCP", "port": 80, "targetPort": 8080},{"protocol": "TCP", "port": 81, "targetPort": 8081}]`'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"protocol":"TCP","port":80,"targetPort":8080}]',
+ ],
+ ],
+ [
+ 'name' => 'ExternalTrafficPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The policy used for external traffic management. Valid values:'."\n"
+ ."\n"
+ .'* Local: The network traffic can be routed to pods on the node where the Service is deployed.'."\n"
+ .'* Cluster: The network traffic can be routed to pods on other nodes in the cluster.'."\n"
+ ."\n"
+ .'Default value: Local.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Local',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The returned content.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The change process ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'b4b37bde-a125-****-****-741f7f4a9ae3',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"b4b37bde-a125-****-****-741f7f4a9ae3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>b4b37bde-a125-****-****-741f7f4a9ae3</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'CreateK8sService',
+ 'requestParamsDescription' => '> '."\n"
+ ."\n"
+ .'* The nodePort value must be unique within a cluster.'."\n"
+ ."\n"
+ .'* When you configure multi-port mappings for a Kubernetes Service, you cannot map a service port to multiple container ports by using the same protocol.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteK8sApplication' => [
+ 'summary' => 'Deletes an application from a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_apps',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application that you want to delete. You can call the ListApplication operation to query the application ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'dbac7e3c-****-49bc-b6de-ffc550018b45',
+ ],
+ ],
+ [
+ 'name' => 'Force',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to forcibly delete the application and disable application deletion protection.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process for this operation. If an instance on which the application is deployed is running or a Server Load Balancer (SLB) instance is bound to the application, this operation generates a change process ID and deletes the application. You can call the GetChangeOrderInfo operation to query the progress of this operation. You can determine whether the operation is successful based on the value of the Code parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '0a34531a-****-49dc-8e7f-0cbbbfa12cf0',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"0a34531a-****-49dc-8e7f-0cbbbfa12cf0\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323******\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>0a34531a-****-49dc-8e7f-0cbbbfa12cf0</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteK8sApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteK8sService' => [
+ 'summary' => 'Deletes an application service from a Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_service',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd***a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'service-http',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'b4b37bde-a125-43fc-****-741f7f4a9ae3',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '9041389c-*****-459c-8253-724bca7f51f0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"b4b37bde-a125-43fc-****-741f7f4a9ae3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"9041389c-*****-459c-8253-724bca7f51f0\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>9041389c-*****-459c-8253-724bca7f51f0</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>b4b37bde-a125-43fc-****-741f7f4a9ae3</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteK8sService',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateK8sApplicationBaseInfo' => [
+ 'summary' => 'Modifies basic information about an application that is deployed in a Kubernetes cluster.',
+ 'path' => '/pop/v5/oam/update_app_basic_info',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application that you want to modify.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '4f038ddf-b27b-****-****-88e44375****',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application. The description can be up to 256 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app for pre-production',
+ ],
+ ],
+ [
+ 'name' => 'Owner',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The owner of the application. The value can be up to 128 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Tom'."\n",
+ ],
+ ],
+ [
+ 'name' => 'PhoneNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The phone number of the application owner.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1361234xxxx',
+ ],
+ ],
+ [
+ 'name' => 'Email',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The email address of the application owner.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[email protected]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '57F146F6-3C94-****-****-A66EF4B9*****',
+ ],
+ 'Result' => [
+ 'description' => 'The result of the modification.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"57F146F6-3C94-****-****-A66EF4B9*****\\",\\n \\"Result\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>57F146F6-3C94-****-****-A66EF4B9*****</RequestId>\\n<Code>200</Code>\\n<Result>success</Result>","errorExample":""}]',
+ 'title' => 'UpdateK8sApplicationBaseInfo',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateK8sApplicationConfig' => [
+ 'path' => '/pop/v5/k8s/acs/k8s_app_configuration',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can query the application ID by calling the ListApplication operation. For more information, see [ListApplication](~~423162~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '23bf94d9-****-4994-9917-616a827aa777',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can query the cluster ID by calling the ListCluster operation. For more information, see [ListCluster](~~411844~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '9c28bbb9-****-44b3-b953-54ef8a2d0be2',
+ ],
+ ],
+ [
+ 'name' => 'CpuLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running. The value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'MemoryLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is running. Unit: MB. The value 0 indicates that no limit is set on the memory size.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'McpuLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed. The value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'CpuRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of CPU cores requested for each application instance when the application is running. Unit: cores. We recommend that you set this parameter. The value 0 indicates that no limit is set on CPU cores.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the CpuLimit parameter. Make sure that the value of this parameter does not exceed that of the CpuLimit parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'McpuRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum number of CPU cores required. Unit: cores. The value 0 indicates that no limit is set on CPU cores.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the CpuLimit parameter. Make sure that the value of this parameter does not exceed that of the CpuLimit parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'MemoryRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of memory requested for each application instance when the application is running. Unit: MB. We recommend that you set this parameter. If you do not want to apply for a memory quota, set this parameter to 0.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the MemoryLimit parameter. Make sure that the value of this parameter does not exceed that of the MemoryLimit parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '400',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Valid values: 1 to 1800. Default value: 600. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'EphemeralStorageRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum size of space required by ephemeral storage. Unit: GB. The value 0 indicates that no limit is set on the ephemeral storage space.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the EphemeralStorageLimit parameter. Make sure that the value of this parameter does not exceed that of the EphemeralStorageLimit parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'EphemeralStorageLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. The value 0 indicates that no limit is set on the ephemeral storage space.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '8806d1c6-****-48eb-9373-6bdef3007466',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Edas.errorcode.K8SAppConfiguration.UpdateFail',
+ 'errorMessage' => 'Failed to set app configuration.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"8806d1c6-****-48eb-9373-6bdef3007466\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-****\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>8806d1c6-87ab-48eb-9373-6bdef3007466</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateK8sApplicationConfig',
+ 'summary' => 'Updates the configuration of an application in a Container Service for Kubernetes (ACK) or Serverless Kubernetes cluster.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StartK8sApplication' => [
+ 'summary' => 'Starts an application in a Container Service for Kubernetes (ACK) cluster or Serverless Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/start_k8s_app',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Replicas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of instances on which you want to start the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Valid values: 1 to 1800. Default value: 600. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can query the application ID by calling the ListApplication operation. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-*******-ed2ae98de18d',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '*********d237-4827-a4f4-ed2ae98de18d',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"*********d237-4827-a4f4-ed2ae98de18d\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>*********d237-4827-a4f4-ed2ae98de18d</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StopK8sApplication' => [
+ 'summary' => 'Stops an application in a Container Service for Kubernetes (ACK) cluster or a Serverless Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/stop_k8s_app',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can query the application ID by calling the ListApplication operation. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-d237-*******8de18d',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '*******27-a4f4-ed2ae98de18d',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"*******27-a4f4-ed2ae98de18d\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>*******27-a4f4-ed2ae98de18d</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'StopK8sApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateK8sSlb' => [
+ 'summary' => 'Updates the Server Load Balancer (SLB) instance bound to an application that is deployed in a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_slb_binding',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can query the application ID by calling the ListApplication operation. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can query the cluster ID by calling the GetK8sCluster operation. For more information, see [GetK8sCluster](~~181437~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '712082c3-****-****-9217-a947b5cde6ee',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* Internet: an Internet-facing SLB instance'."\n"
+ .'* Intranet: an internal-facing SLB instance'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Internet',
+ ],
+ ],
+ [
+ 'name' => 'SlbProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The protocol used by the SLB instance. Set the value to TCP.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'TCP',
+ ],
+ ],
+ [
+ 'name' => 'TargetPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The backend port, which is also the service port of the application. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '8082',
+ ],
+ ],
+ [
+ 'name' => 'Port',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The frontend port. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'ServicePortInfos',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The information about the ports. This parameter is required if you want to configure multi-port mappings or use a protocol other than TCP. You must set this parameter to a JSON array. Example: \\[{"targetPort":8080,"port":82,"loadBalancerProtocol":"TCP"},{"port":81,"certId":"1362469756373809\\_16c185d6fa2\\_1914500329\\_-xxxxxxx","targetPort":8181,"lo adBalancerProtocol":"HTTPS"}]'."\n"
+ ."\n"
+ .'* port: required. The frontend port. Valid values: 1 to 65535. Each port must be unique.'."\n"
+ .'* targetPort: required. The backend port. Valid values: 1 to 65535.'."\n"
+ .'* loadBalancerProtocol: required. Valid values: TCP and HTTPS. If the HTTP protocol is used, set this parameter to TCP.'."\n"
+ .'* certId: the ID of the certificate. This parameter is required if the HTTPS protocol is used. You can purchase an SLB instance in the SLB console.'."\n"
+ .'* Note: The ServicePortInfos parameter is specified to support multi-port mappings. If you want this parameter to take effect, make sure that you specify the AppId, ClusterId, Type, and SlbId parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '{"targetPort":8080,"port":82,"loadBalancerProtocol":"TCP"},{"port":81,"certId":"136246975637380916c185d6fa21914500329_-xxxxxxx","targetPort":8181,"lo adBalancerProtocol":"HTTPS"}',
+ ],
+ ],
+ [
+ 'name' => 'Specification',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The specifications of the SLB instance.'."\n"
+ ."\n"
+ .'* slb.s1.small'."\n"
+ .'* slb.s2.small'."\n"
+ .'* slb.s2.medium'."\n"
+ .'* slb.s3.small'."\n"
+ .'* slb.s3.medium'."\n"
+ .'* slb.s3.large'."\n"
+ ."\n"
+ .'If you do not specify this parameter, the default value slb.s1.small is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'slb.s1.small',
+ ],
+ ],
+ [
+ 'name' => 'Scheduler',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scheduling algorithm for the SLB instance. If you do not specify this parameter, the default value rr is used. SLB supports the following scheduling algorithms: round-robin and weighted round-robin. Valid values:'."\n"
+ ."\n"
+ .'* wrr: weighted round-robin scheduling. Backend servers that have higher weights receive more requests than those that have lower weights.'."\n"
+ .'* rr: round-robin scheduling. Requests are sequentially distributed to backend servers.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'wrr',
+ ],
+ ],
+ [
+ 'name' => 'SlbName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SLB_doctest',
+ ],
+ ],
+ [
+ 'name' => 'DisableForceOverride',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to disable listener configuration overriding.'."\n"
+ ."\n"
+ .'* true: disables listener configuration overriding.'."\n"
+ .'* false: enables listener configuration overriding.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '9a1dcdee-****-****-ad37-cbf9dc91fba9',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"9a1dcdee-****-****-ad37-cbf9dc91fba9\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>9a1dcdee-****-****-ad37-cbf9dc91fba9</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateK8sService' => [
+ 'summary' => 'Updates an application service in a Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_service',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service in a Kubernetes cluster.'."\n"
+ ."\n"
+ .'* The name can contain lowercase letters, digits, and hyphens (-).'."\n"
+ .'* It must start with a letter and end with a letter or digit.'."\n"
+ .'* The name can be 2 to 32 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'service-http',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service in a Kubernetes cluster. Set the value to ClusterIP.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ClusterIP',
+ ],
+ ],
+ [
+ 'name' => 'ServicePorts',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The mappings between service ports. Set this parameter to a JSON array. The following parameters are included in the configurations:'."\n"
+ ."\n"
+ .'* **protocol**: the protocol used by the service. Valid values: TCP and UDP. This parameter is required.'."\n"
+ .'* **port**: the frontend service port. Valid values: 1 to 65535. This parameter is required.'."\n"
+ .'* **targetPort**: the backend container port. Valid values: 1 to 65535. This parameter is required.'."\n"
+ ."\n"
+ .'Example: `[{"protocol": "TCP", "port": 80, "targetPort": 8080},{"protocol": "TCP", "port": 81, "targetPort": 8081}]`'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '[{"protocol":"TCP","port":80,"targetPort":8080}]',
+ ],
+ ],
+ [
+ 'name' => 'ExternalTrafficPolicy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The policy used for external traffic management. Valid values:'."\n"
+ ."\n"
+ .'* Local: local mode'."\n"
+ .'* Cluster: cluster mode'."\n"
+ ."\n"
+ .'Default value: Local.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Local',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'b4b37bde-a125-****-****-741f7f4a9ae3',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"b4b37bde-a125-****-****-741f7f4a9ae3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>b4b37bde-a125-****-****-741f7f4a9ae3</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateK8sService',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateSlsLogStore' => [
+ 'summary' => 'Configures a Logstore for an application.',
+ 'path' => '/pop/v5/k8s/sls/update_sls_log_store',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'af58edcf-f7eb-****-****-db4e425f****',
+ ],
+ ],
+ [
+ 'name' => 'Configs',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The configurations of the Logstore.'."\n"
+ ."\n"
+ .'* The following parameters are included in the configurations:****'."\n"
+ ."\n"
+ .' * **type**: the collection type. Set this parameter to file to specify the file type. Set this parameter to stdout to specify the standard output type.'."\n"
+ ."\n"
+ .' * **logstore**: the name of the Logstore. Make sure that the name of the Logstore is unique in the cluster. The name must comply with the following rules:'."\n"
+ ."\n"
+ .' * The name can contain only lowercase letters, digits, hyphens (-), and underscores (\\_).'."\n"
+ .' * The name must start and end with a lowercase letter or a digit.'."\n"
+ .' * The name must be 3 to 63 characters in length.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**If you leave this parameter empty, the system automatically generates a name.'."\n"
+ ."\n"
+ .' * **LogDir**: If the standard output type is used, the collection path is stdout.log. If the file type is used, the collection path is the path of the collected file. Wildcards (\\*) are supported. The collection path must match the following regular expression: `^/(.+)/(.*)^/$`.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"logstore":"thisisanotherfilelog","type":"file","logDir":"/var/log/*"},{"logstore":"","type":"stdout","logDir":"stdout.log"},{"logstore":"thisisafilelog","type":"file","logDir":"/tmp/log/*"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-**************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-**************\\"\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<message>success</message>\\n<requestId>D16979DC-4D42-**************</requestId>","errorExample":""}]',
+ 'title' => 'UpdateSlsLogStore',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'StartK8sAppPrecheck' => [
+ 'summary' => 'Starts precheck for Kubernetes application changes.',
+ 'path' => '/pop/v5/k8s/app_precheck',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c37aec2a-bcca-4ec1-****-****',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster. This parameter specifies the Kubernetes namespace in which your application is deployed. By default, the default namespace is used.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'af58edcf-f7eb-****-****-db4e425f****',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 36 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testapp',
+ ],
+ ],
+ [
+ 'name' => 'Replicas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'LimitmCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running. Unit: millicores. The value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'RequestsmCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is created. Unit: millicores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '500',
+ ],
+ ],
+ [
+ 'name' => 'LimitMem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is running. Unit: MB. The value of LimitMem must be greater than or equal to that of RequestsMem.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4096',
+ ],
+ ],
+ [
+ 'name' => 'RequestsMem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is created. Unit: MB. The value 0 indicates that no limit is set on the memory size. The value of RequestsMem cannot be greater than that of LimitMem.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1024',
+ ],
+ ],
+ [
+ 'name' => 'LimitEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. The value 0 indicates that no limit is set on the ephemeral storage space.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RequestsEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum size of space required by ephemeral storage. Unit: GB. The value 0 indicates that no limit is set on the ephemeral storage space.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Envs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The environment variables that are used to deploy the application. The value must be a JSON array. Valid values: regular environment variables, Kubernetes ConfigMap environment variables, and Kubernetes Secret environment variables. Specify regular environment variables in the following format:'."\n"
+ ."\n"
+ .'`{"name":"x", "value": "y"}`'."\n"
+ ."\n"
+ .'Specify Kubernetes ConfigMap environment variables in the following format to reference values from ConfigMaps:'."\n"
+ ."\n"
+ .'`{ "name": "x2", "valueFrom": { "configMapKeyRef": { "name": "my-config", "key": "y2" } } }`'."\n"
+ ."\n"
+ .'Specify Kubernetes Secret environment variables in the following format to reference values from Secrets:'."\n"
+ ."\n"
+ .'`{ "name": "x3", "valueFrom": { "secretKeyRef": { "name": "my-secret", "key": "y3" } } }`'."\n"
+ ."\n"
+ .'> If you want to cancel this configuration, set this parameter to an empty JSON array, which is in the format of "\\[]".'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"x1","value":"y1"},{"name":"x2","valueFrom":{"configMapKeyRef":{"name":"my-config","key":"y2"}}},{"name":"x3","valueFrom":{"secretKeyRef":{"name":"my-secret","key":"y3"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'EnvFroms',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Kubernetes environment variables that are configured in EnvFrom mode. A ConfigMap or Secret is mounted to a directory. Each key corresponds to a file in the directory, and the content of the file is the value of the key.'."\n"
+ ."\n"
+ .'The following parameters are included in the configuration of the EnvFroms parameter:'."\n"
+ ."\n"
+ .'* configMapRef: the ConfigMap that is referenced. The following parameter is included:'."\n"
+ ."\n"
+ .' name: the name of the ConfigMap.'."\n"
+ ."\n"
+ .'* secretRef: the Secret that is referenced. The following parameter is included:'."\n"
+ ."\n"
+ .' name: the name of the Secret.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"appname","valueFrom":{"configMapKeyRef":{"name":"appconf","key":"name"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'EmptyDirs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes emptyDir volume to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* mountPath: The mount path in the container. This parameter is required.'."\n"
+ .'* readOnly: (Optional) The mount mode. The value true indicates the read-only mode. The value false indicates the read and write mode. Default value: false.'."\n"
+ .'* subPathExpr: (Optional) The regular expression that is used to match the subdirectory.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"mountPath":"/app-log","subPathExpr":"$(POD_IP)"},{"readOnly":true,"mountPath":"/etc/nginx"}]',
+ ],
+ ],
+ [
+ 'name' => 'JavaStartUpConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration of Java startup parameters for a Java application. These startup parameters involve the memory, application, garbage collection (GC) policy, tools, service registration and discovery, and custom configurations. Proper parameter settings help reduce the GC overheads, shorten the server response time, and improve the throughput. Set this parameter to a JSON string. In the example, original indicates the configuration value, and startup indicates a startup parameter. The system automatically concatenates all startup values as the settings of Java startup parameters for the application. To delete this configuration, leave the parameter value empty by entering `""` or `"{}"`. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* InitialHeapSize: the initial size of the heap memory.'."\n"
+ .'* MaxHeapSize: the maximum size of the heap memory.'."\n"
+ .'* CustomParams: the custom parameters, such as JVM -D parameters.'."\n"
+ .'* Other parameters: You can view the JSON structure submitted by the frontend.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"InitialHeapSize":{"original":512,"startup":"-Xms512m"},"MaxHeapSize":{"original":1024,"startup":"-Xmx1024m"}}',
+ ],
+ ],
+ [
+ 'name' => 'ConfigMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes ConfigMap or Secret to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* name: the name of the Kubernetes ConfigMap or Secret.'."\n"
+ .'* type: the type of the API object that you want to mount. You can mount a Kubernetes ConfigMap or Secret.'."\n"
+ .'* mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"nginx-config","type":"ConfigMap","mountPath":"/etc/nginx"},{"name":"tls-secret","type":"secret","mountPath":"/etc/ssh"}]',
+ ],
+ ],
+ [
+ 'name' => 'PvcMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes PersistentVolumeClaim (PVC) to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* pvcName: the name of the PVC. Make sure that the volume exists and is in the Bound state.'."\n"
+ ."\n"
+ .'* mountPaths: the directory to which you want to mount the PVC. You can configure multiple directories. You can set the following two parameters for each mount directory:'."\n"
+ ."\n"
+ .' * mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n"
+ .' * readOnly: the mount mode. The value true indicates the read-only mode. The value false indicates the read and write mode. Default value: false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"pvcName":"nas-pvc-1","mountPaths":[{"mountPath":"/usr/share/nginx/data"},{"mountPath":"/usr/share/nginx/html","readOnly":true}]}]',
+ ],
+ ],
+ [
+ 'name' => 'Annotations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The annotation of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"annotation-name-1":"annotation-value-1","annotation-name-2":"annotation-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The label of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"label-name-1":"label-value-1","label-name-2":"label-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'ImageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'registry.cn-hangzhou.aliyuncs.com/mw/testapp:latest',
+ ],
+ ],
+ [
+ 'name' => 'PackageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the deployment package.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar',
+ ],
+ ],
+ [
+ 'name' => 'LocalVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configurations that are used when the host files are mounted to the container on which the application is running. Example: `\\[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}\\]`. Description:'."\n"
+ ."\n"
+ .'* `nodePath`: the host path.'."\n"
+ .'* `mountPath`: the path in the container.'."\n"
+ .'* `type`: the mounting type.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ComponentIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application component. You can call the ListComponents operation to query application components. This parameter must be specified when the application runs in Apache Tomcat or in a standard Java application runtime environment. The Apache Tomcat application runtime environment is applicable to Dubbo applications that are deployed by using WAR packages. A standard Java application runtime environment is applicable to Spring Boot or Spring Cloud applications that are deployed by using JAR packages.'."\n"
+ ."\n"
+ .'Valid values for regular application component IDs:'."\n"
+ ."\n"
+ .'* 4: Apache Tomcat 7.0.91'."\n"
+ .'* 5: OpenJDK 1.8.x'."\n"
+ .'* 6: OpenJDK 1.7.x'."\n"
+ .'* 7: Apache Tomcat 8.5.42'."\n"
+ ."\n"
+ .'This parameter is available only for Java SDK 2.57.3 or later, or Python SDK 2.57.3 or later. Assume that you use an SDK that is not provided by Enterprise Distributed Application Service (EDAS), such as aliyun-python-sdk-core, aliyun-java-sdk-core, and Alibaba Cloud CLI. In this case, you can directly specify this parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '7',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The returned content.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7638276F-****-****-884F-54CC0BC84A8D',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The returned data.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Jobs' => [
+ 'description' => 'The jobs and the details about the jobs.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the job.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cluster Health Check'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7638276F-****-****-884F-54CC0BC84A8D\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Jobs\\": [\\n \\"集群健康检查。\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'StartK8sAppPrecheck',
+ ],
+ 'GetK8sApplication' => [
+ 'summary' => 'Queries the information about applications deployed in a Container Service for Kubernetes (ACK) cluster or a serverless Kubernetes cluster.',
+ 'path' => '/pop/v5/changeorder/co_application',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-4f98-a286-781659d9****',
+ ],
+ ],
+ [
+ 'name' => 'From',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source from which data is queried.'."\n"
+ ."\n"
+ .'* If you leave this parameter empty, a common query is performed.'."\n"
+ .'* If you set the value to deploy, you query application information from the deployment page.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'deploy',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'Applcation' => [
+ 'description' => 'The information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppId' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-****-47a5-b2ab-5c0323de****',
+ ],
+ 'DeployGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'DeployGroup' => [
+ 'description' => 'The information about the instance group in which the application is deployed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the instance group.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Components' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Components' => [
+ 'description' => 'The information about the component.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the component.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The component type. Valid values:'."\n",
+ 'type' => 'string',
+ 'example' => 'JDK',
+ ],
+ 'ComponentKey' => [
+ 'description' => 'The keyword that is included in the component name.'."\n",
+ 'type' => 'string',
+ 'example' => 'Open JDK 8',
+ ],
+ 'ComponentId' => [
+ 'description' => 'The component ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Env' => [
+ 'description' => 'The environment variable. This parameter is different from the EnvList parameter. This parameter specifies the referenced configuration of the ConfigMap or Secret.'."\n",
+ 'type' => 'string',
+ 'example' => '"["{\\"name\\":\\"test1\\",\\"valueFrom\\":{\\"configMapKeyRef\\":{\\"name\\":\\"edas-demo-configmap\\",\\"key\\":\\"key1\\"}}}","{\\"name\\":\\"k2\\",\\"value\\":\\"v2\\"}","{\\"name\\":\\"s1\\",\\"valueFrom\\":{\\"secretKeyRef\\":{\\"name\\":\\"edas-demo-secret\\",\\"key\\":\\"k1\\"}}}"]"',
+ ],
+ 'EnvFrom' => [
+ 'description' => 'The source of the environment variable.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"configMapRef":{"name":"test-cm"}}]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ImageInfo' => [
+ 'description' => 'The information about the image.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RepoId' => [
+ 'description' => 'The ID of the image repository.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ImageUrl' => [
+ 'description' => 'The URL of the image.'."\n",
+ 'type' => 'string',
+ 'example' => 'registry.cn-beijing.aliyuncs.com/edas-serverless-****/1314839****06888_shared_repo:5a166fbd-9d76-4f98-****-78165****c_1572***282',
+ ],
+ 'RepoOriginType' => [
+ 'description' => 'The source type of the image repository.'."\n",
+ 'type' => 'string',
+ 'example' => 'ALI_HUB',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag of the image.'."\n",
+ 'type' => 'string',
+ 'example' => '5a166fbd-9d76-4f98-****-781659d9f54c_1572485443282',
+ ],
+ 'RepoName' => [
+ 'description' => 'The name of the image repository.'."\n",
+ 'type' => 'string',
+ 'example' => '131****067006888_shared_repo',
+ ],
+ 'RepoNamespace' => [
+ 'description' => 'The namespace to which the image repository belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas-server****-user',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the image repository.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ ],
+ 'App' => [
+ 'description' => 'The basic information about the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestMem' => [
+ 'description' => 'The size of the reserved memory. Unit: MiB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'InstancesBeforeScaling' => [
+ 'description' => 'The number of application instances before the last auto scaling operation.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'DeployType' => [
+ 'description' => 'The deployment type of the application. Example: Image.'."\n",
+ 'type' => 'string',
+ 'example' => 'Image',
+ ],
+ 'ApplicationName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ApplicationType' => [
+ 'description' => 'The type of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'War',
+ ],
+ 'Instances' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'LimitMem' => [
+ 'description' => 'The maximum size of the memory allowed. Unit: MiB.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'Cmd' => [
+ 'description' => 'The startup command.'."\n",
+ 'type' => 'string',
+ 'example' => 'ls',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'BuildpackId' => [
+ 'description' => 'The build package number of Enterprise Distributed Application Service (EDAS) Container.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '57',
+ ],
+ 'TomcatVersion' => [
+ 'description' => 'The version of Apache Tomcat.'."\n",
+ 'type' => 'string',
+ 'example' => '8.5.55',
+ ],
+ 'CsClusterId' => [
+ 'description' => 'The ID of the cluster to which the container belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'c383bc813c1974e****451b50c0c8****',
+ ],
+ 'RequestCpuM' => [
+ 'description' => 'The number of requested CPU cores. Unit: millicores. 1,000 millicores equal one CPU core.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'example' => '00ee517d-dd7d-4d4e-****-****',
+ ],
+ 'K8sNamespace' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'EdasContainerVersion' => [
+ 'description' => 'The version of EDAS Container.'."\n",
+ 'type' => 'string',
+ 'example' => '3.60.0',
+ ],
+ 'LimitCpuM' => [
+ 'description' => 'The maximum number of CPU cores allowed. Unit: millicores. 1,000 millicores equal one CPU core.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1000',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'c37aec2a-bcca-4ec1-****-****',
+ ],
+ 'EnvList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Env' => [
+ 'description' => 'The list of environment variables.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of environment variables.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the environment variable.'."\n",
+ 'type' => 'string',
+ 'example' => 'CATALINA_OPTS',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the environment variable.'."\n",
+ 'type' => 'string',
+ 'example' => '-Xmx 1024m -Dhsf.default.tid=false $(EDAS_CATALINA_OPTS)',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CmdArgs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'CmdArg' => [
+ 'description' => 'The list of commands.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The command parameters.'."\n",
+ 'type' => 'string',
+ 'example' => '-lh',
+ ],
+ ],
+ ],
+ ],
+ 'DevelopType' => [
+ 'description' => 'The application type. Valid values:'."\n"
+ ."\n"
+ .'* General: native Java application'."\n"
+ .'* Pandora: Pandora application'."\n"
+ .'* Multilingual: multilingual application'."\n",
+ 'type' => 'string',
+ 'example' => 'General',
+ ],
+ 'SlbInfo' => [
+ 'description' => 'The configuration information about the Server Load Balancer (SLB).'."\n",
+ 'type' => 'string',
+ 'example' => '['."\n"
+ .' {'."\n"
+ .' "addressType": "intranet",'."\n"
+ .' "externalTrafficPolicy": "Local",'."\n"
+ .' "ip": "192.168.254.***",'."\n"
+ .' "name": "intranet-testapp",'."\n"
+ .' "portMappings": ['."\n"
+ .' {'."\n"
+ .' "loadBalancerProtocol": "TCP",'."\n"
+ .' "servicePort": {'."\n"
+ .' "port": 8080,'."\n"
+ .' "protocol": "TCP",'."\n"
+ .' "targetPort": 18081,'."\n"
+ .' "vServerGroupName": "k8s/31414/intranet-testapp/default/cc90e0c9508a44667bdae2e83d3******"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "scheduler": "rr",'."\n"
+ .' "serviceType": "LoadBalancer",'."\n"
+ .' "slbId": "lb-bp1ikoh3nrpgqsm******",'."\n"
+ .' "source": "create",'."\n"
+ .' "specification": "slb.s3.large"'."\n"
+ .' }'."\n"
+ .']',
+ ],
+ 'Annotations' => [
+ 'description' => 'The annotation of an application pod.'."\n",
+ 'type' => 'string',
+ 'example' => '{"test-annokey":"test-annovalue"}',
+ ],
+ 'Labels' => [
+ 'description' => 'The label of an application pod.'."\n",
+ 'type' => 'string',
+ 'example' => '{"test-labelkey":"test-labelvalue"}',
+ ],
+ 'LimitEphemeralStorage' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'string',
+ 'example' => '4',
+ ],
+ 'RequestEphemeralStorage' => [
+ 'description' => 'The size of space reserved for ephemeral storage resources. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'EnableEmptyPushReject' => [
+ 'description' => 'Indicates whether the Empty List Protection feature is enabled for the application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'EnableLosslessRule' => [
+ 'description' => 'Indicates whether the Graceful Release feature is enabled for the application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LosslessRuleAligned' => [
+ 'description' => 'Indicates whether the Graceful Rolling Release and Configure Complete Service Registration before Readiness Probing feature is enabled for the application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LosslessRuleDelayTime' => [
+ 'description' => 'The delay of service registration. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '120',
+ ],
+ 'LosslessRuleFuncType' => [
+ 'description' => 'The number of prefetching curves.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'LosslessRuleRelated' => [
+ 'description' => 'Indicates whether the Graceful Rolling Release and Configure Complete Service Prefetching before Readiness Probing feature is enabled for the application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'LosslessRuleWarmupTime' => [
+ 'description' => 'The service prefetching duration. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '120',
+ ],
+ 'FeatureAnnotations' => [
+ 'description' => 'The feature annotations. Possible values:'."\n"
+ ."\n"
+ .'* base.combination.edas: enables EDAS integrated management solution.'."\n"
+ .'* base.combination.arms: enables ARMS monitoring.'."\n"
+ .'* base.combination.mse: enables MSE microservices governance.'."\n"
+ .'* base.combination.none: enables lifecycle management.'."\n",
+ 'type' => 'string',
+ 'example' => 'base.combination.edas',
+ ],
+ 'WorkloadType' => [
+ 'description' => 'The workload type. Valid values: Deployment and StatefulSet. If you do not specify this parameter, Deployment is used.'."\n",
+ 'type' => 'string',
+ 'example' => 'Deployment',
+ ],
+ 'SecurityContext' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'Conf' => [
+ 'description' => 'The configurations.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PostStart' => [
+ 'description' => 'The script executed after the container is started.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ 'Readiness' => [
+ 'description' => 'The information about the readiness check on the container.'."\n",
+ 'type' => 'string',
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": \\[{"name": "test","value": "testvalue"}\\]}}',
+ ],
+ 'AhasEnabled' => [
+ 'description' => 'Indicates whether the application is connected to Application High Availability Service (AHAS).'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'K8sCmdArgs' => [
+ 'description' => 'The parameters of the startup command.'."\n",
+ 'type' => 'string',
+ 'example' => '-lh',
+ ],
+ 'Liveness' => [
+ 'description' => 'The information about the liveness check on the container.'."\n",
+ 'type' => 'string',
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}',
+ ],
+ 'DeployAcrossNodes' => [
+ 'description' => 'Indicates whether the application instances are deployed across nodes.'."\n"
+ ."\n"
+ .'* Value `true` indicates that the application instances are deployed across nodes.'."\n"
+ .'* Other values indicate that the application instances are not deployed across nodes.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'K8sCmd' => [
+ 'description' => 'The startup command.'."\n",
+ 'type' => 'string',
+ 'example' => 'ls',
+ ],
+ 'PreStop' => [
+ 'description' => 'The script executed before the container is stopped.'."\n",
+ 'type' => 'string',
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ 'DeployAcrossZones' => [
+ 'description' => 'Indicates whether the application instances are deployed across zones.'."\n"
+ ."\n"
+ .'* Value `true` indicates that the application instances are deployed across zones.'."\n"
+ .'* Other values indicate that the application instances are not deployed across zones.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'JarStartArgs' => [
+ 'description' => 'The startup parameters for a JAR application. This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => '-lh',
+ ],
+ 'K8sNasInfo' => [
+ 'description' => 'The information about the File Storage NAS (NAS) storage.',
+ 'type' => 'string',
+ 'example' => '[{"nasPath":"/mnt/","mountPath":"/mnt/"}]',
+ ],
+ 'JarStartOptions' => [
+ 'description' => 'The startup options for a JAR application. This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => '-h',
+ ],
+ 'RuntimeClassName' => [
+ 'description' => 'The type of the container runtime. This parameter is applicable only to clusters that use sandboxed containers.'."\n",
+ 'type' => 'string',
+ 'example' => 'runc',
+ ],
+ 'K8sLocalvolumeInfo' => [
+ 'description' => 'The information about the local storage.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"type":"","nodePath":"/mnt/","mountPath":"/mnt/"}]',
+ ],
+ 'K8sVolumeInfo' => [
+ 'description' => 'The information about the storage.'."\n",
+ 'type' => 'string',
+ 'example' => '"{\\"hostPaths\\":\\"[]\\",\\"emptyDirs\\":\\"[]\\"}"',
+ ],
+ 'Affinity' => [
+ 'description' => 'The affinity configuration of the pod.'."\n",
+ 'type' => 'string',
+ 'example' => '"{\\"nodeAffinity\\":{\\"requiredDuringSchedulingIgnoredDuringExecution\\":{\\"nodeSelectorTerms\\":[{\\"matchExpressions\\":[{\\"key\\":\\"beta.kubernetes.io/arch\\",\\"operator\\":\\"NotIn\\",\\"values\\":[\\"arm64\\",\\"arm32\\"]}]}]},\\"preferredDuringSchedulingIgnoredDuringExecution\\":[{\\"weight\\":5,\\"preference\\":{\\"matchExpressions\\":[{\\"key\\":\\"kubernetes.io/os\\",\\"operator\\":\\"In\\",\\"values\\":[\\"linux\\"]}]}}]},\\"podAffinity\\":{\\"requiredDuringSchedulingIgnoredDuringExecution\\":[{\\"labelSelector\\":{\\"matchExpressions\\":[{\\"key\\":\\"edas.oam.acname\\",\\"operator\\":\\"NotIn\\",\\"values\\":[\\"edas-test-app\\"]}]},\\"namespaces\\":[\\"default\\"],\\"topologyKey\\":\\"kubernetes.io/hostname\\"}]},\\"podAntiAffinity\\":{\\"preferredDuringSchedulingIgnoredDuringExecution\\":[{\\"weight\\":15,\\"podAffinityTerm\\":{\\"labelSelector\\":{\\"matchExpressions\\":[{\\"key\\":\\"edas.oam.acname\\",\\"operator\\":\\"In\\",\\"values\\":[\\"edas-test-app-2\\"]}]},\\"namespaces\\":[\\"default\\"],\\"topologyKey\\":\\"failure-domain.beta.kubernetes.io/zone\\"}}]}}"',
+ ],
+ 'Tolerations' => [
+ 'description' => 'The scheduling tolerance configuration of the pod.'."\n",
+ 'type' => 'string',
+ 'example' => '"[{\\"key\\":\\"edas-taint-key2\\",\\"operator\\":\\"Exists\\",\\"effect\\":\\"NoExecute\\",\\"tolerationSeconds\\":50},{\\"key\\":\\"edas-taint-key\\",\\"operator\\":\\"Equal\\",\\"value\\":\\"edas-taint-value\\",\\"effect\\":\\"PreferNoSchedule\\"}]"',
+ ],
+ 'UserBaseImageUrl' => [
+ 'description' => 'The URL of the base image. If you use a custom Java Development Kit (JDK) runtime, you must specify this parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'openjdk:8u302',
+ ],
+ ],
+ ],
+ 'LatestVersion' => [
+ 'description' => 'The information about the latest version.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Url' => [
+ 'description' => 'The URL of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar',
+ ],
+ 'WarUrl' => [
+ 'description' => 'The URL of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar',
+ ],
+ 'PackageVersion' => [
+ 'description' => 'The version of the deployment package.'."\n",
+ 'type' => 'string',
+ 'example' => '20200720',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"Applcation\\": {\\n \\"AppId\\": \\"a5281053-****-47a5-b2ab-5c0323de****\\",\\n \\"DeployGroups\\": {\\n \\"DeployGroup\\": [\\n {\\n \\"Components\\": {\\n \\"Components\\": [\\n {\\n \\"Type\\": \\"JDK\\",\\n \\"ComponentKey\\": \\"Open JDK 8\\",\\n \\"ComponentId\\": \\"5\\"\\n }\\n ]\\n },\\n \\"Env\\": \\"\\\\\\"[\\\\\\"{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"test1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"valueFrom\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"configMapKeyRef\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas-demo-configmap\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"key1\\\\\\\\\\\\\\"}}}\\\\\\",\\\\\\"{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"k2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"v2\\\\\\\\\\\\\\"}\\\\\\",\\\\\\"{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"s1\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"valueFrom\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"secretKeyRef\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas-demo-secret\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"k1\\\\\\\\\\\\\\"}}}\\\\\\"]\\\\\\"\\",\\n \\"EnvFrom\\": \\"[{\\\\\\"configMapRef\\\\\\":{\\\\\\"name\\\\\\":\\\\\\"test-cm\\\\\\"}}]\\"\\n }\\n ]\\n },\\n \\"ImageInfo\\": {\\n \\"RepoId\\": \\"cn-hangzhou\\",\\n \\"ImageUrl\\": \\"registry.cn-beijing.aliyuncs.com/edas-serverless-****/1314839****06888_shared_repo:5a166fbd-9d76-4f98-****-78165****c_1572***282\\",\\n \\"RepoOriginType\\": \\"ALI_HUB\\",\\n \\"Tag\\": \\"5a166fbd-9d76-4f98-****-781659d9f54c_1572485443282\\",\\n \\"RepoName\\": \\"131****067006888_shared_repo\\",\\n \\"RepoNamespace\\": \\"edas-server****-user\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n },\\n \\"App\\": {\\n \\"RequestMem\\": 1024,\\n \\"InstancesBeforeScaling\\": 10,\\n \\"DeployType\\": \\"Image\\",\\n \\"ApplicationName\\": \\"test\\",\\n \\"ApplicationType\\": \\"War\\",\\n \\"Instances\\": 4,\\n \\"LimitMem\\": 1024,\\n \\"Cmd\\": \\"ls\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"BuildpackId\\": 57,\\n \\"TomcatVersion\\": \\"8.5.55\\",\\n \\"CsClusterId\\": \\"c383bc813c1974e****451b50c0c8****\\",\\n \\"RequestCpuM\\": 1000,\\n \\"AppId\\": \\"00ee517d-dd7d-4d4e-****-****\\",\\n \\"K8sNamespace\\": \\"default\\",\\n \\"EdasContainerVersion\\": \\"3.60.0\\",\\n \\"LimitCpuM\\": 1000,\\n \\"ClusterId\\": \\"c37aec2a-bcca-4ec1-****-****\\",\\n \\"EnvList\\": {\\n \\"Env\\": [\\n {\\n \\"Name\\": \\"CATALINA_OPTS\\",\\n \\"Value\\": \\"-Xmx 1024m -Dhsf.default.tid=false $(EDAS_CATALINA_OPTS)\\"\\n }\\n ]\\n },\\n \\"CmdArgs\\": {\\n \\"CmdArg\\": [\\n \\"-lh\\"\\n ]\\n },\\n \\"DevelopType\\": \\"General\\",\\n \\"SlbInfo\\": \\"[\\\\n {\\\\n \\\\\\"addressType\\\\\\": \\\\\\"intranet\\\\\\",\\\\n \\\\\\"externalTrafficPolicy\\\\\\": \\\\\\"Local\\\\\\",\\\\n \\\\\\"ip\\\\\\": \\\\\\"192.168.254.***\\\\\\",\\\\n \\\\\\"name\\\\\\": \\\\\\"intranet-testapp\\\\\\",\\\\n \\\\\\"portMappings\\\\\\": [\\\\n {\\\\n \\\\\\"loadBalancerProtocol\\\\\\": \\\\\\"TCP\\\\\\",\\\\n \\\\\\"servicePort\\\\\\": {\\\\n \\\\\\"port\\\\\\": 8080,\\\\n \\\\\\"protocol\\\\\\": \\\\\\"TCP\\\\\\",\\\\n \\\\\\"targetPort\\\\\\": 18081,\\\\n \\\\\\"vServerGroupName\\\\\\": \\\\\\"k8s/31414/intranet-testapp/default/cc90e0c9508a44667bdae2e83d3******\\\\\\"\\\\n }\\\\n }\\\\n ],\\\\n \\\\\\"scheduler\\\\\\": \\\\\\"rr\\\\\\",\\\\n \\\\\\"serviceType\\\\\\": \\\\\\"LoadBalancer\\\\\\",\\\\n \\\\\\"slbId\\\\\\": \\\\\\"lb-bp1ikoh3nrpgqsm******\\\\\\",\\\\n \\\\\\"source\\\\\\": \\\\\\"create\\\\\\",\\\\n \\\\\\"specification\\\\\\": \\\\\\"slb.s3.large\\\\\\"\\\\n }\\\\n]\\",\\n \\"Annotations\\": \\"{\\\\\\"test-annokey\\\\\\":\\\\\\"test-annovalue\\\\\\"}\\",\\n \\"Labels\\": \\"{\\\\\\"test-labelkey\\\\\\":\\\\\\"test-labelvalue\\\\\\"}\\",\\n \\"LimitEphemeralStorage\\": \\"4\\",\\n \\"RequestEphemeralStorage\\": \\"2\\",\\n \\"EnableEmptyPushReject\\": true,\\n \\"EnableLosslessRule\\": true,\\n \\"LosslessRuleAligned\\": true,\\n \\"LosslessRuleDelayTime\\": 120,\\n \\"LosslessRuleFuncType\\": 2,\\n \\"LosslessRuleRelated\\": true,\\n \\"LosslessRuleWarmupTime\\": 120,\\n \\"FeatureAnnotations\\": \\"base.combination.edas\\",\\n \\"WorkloadType\\": \\"Deployment\\",\\n \\"SecurityContext\\": \\"{\\\\\\\\\\\\\\"runAsUser\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"runAsGroup\\\\\\\\\\\\\\":0}\\"\\n },\\n \\"Conf\\": {\\n \\"PostStart\\": \\"{\\\\\\\\\\\\\\"exec\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"command\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"ls\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\"]}}\\\\\\"\\",\\n \\"Readiness\\": \\"{\\\\\\"failureThreshold\\\\\\": 3,\\\\\\"initialDelaySeconds\\\\\\": 5,\\\\\\"successThreshold\\\\\\": 1,\\\\\\"timeoutSeconds\\\\\\": 1,\\\\\\"httpGet\\\\\\": {\\\\\\"path\\\\\\": \\\\\\"/consumer\\\\\\",\\\\\\"port\\\\\\": 8080,\\\\\\"scheme\\\\\\": \\\\\\"HTTP\\\\\\",\\\\\\"httpHeaders\\\\\\": \\\\\\\\[{\\\\\\"name\\\\\\": \\\\\\"test\\\\\\",\\\\\\"value\\\\\\": \\\\\\"testvalue\\\\\\"}\\\\\\\\]}}\\",\\n \\"AhasEnabled\\": true,\\n \\"K8sCmdArgs\\": \\"-lh\\",\\n \\"Liveness\\": \\"{\\\\\\"failureThreshold\\\\\\": 3,\\\\\\"initialDelaySeconds\\\\\\": 5,\\\\\\"successThreshold\\\\\\": 1,\\\\\\"timeoutSeconds\\\\\\": 1,\\\\\\"tcpSocket\\\\\\":{\\\\\\"host\\\\\\":\\\\\\"\\\\\\", \\\\\\"port\\\\\\":8080}}\\",\\n \\"DeployAcrossNodes\\": \\"true\\",\\n \\"K8sCmd\\": \\"ls\\",\\n \\"PreStop\\": \\"{\\\\\\\\\\\\\\"exec\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"command\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"ls\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\"]}}\\\\\\"\\",\\n \\"DeployAcrossZones\\": \\"true\\",\\n \\"JarStartArgs\\": \\"-lh\\",\\n \\"K8sNasInfo\\": \\"[{\\\\\\"nasPath\\\\\\":\\\\\\"/mnt/\\\\\\",\\\\\\"mountPath\\\\\\":\\\\\\"/mnt/\\\\\\"}]\\",\\n \\"JarStartOptions\\": \\"-h\\",\\n \\"RuntimeClassName\\": \\"runc\\",\\n \\"K8sLocalvolumeInfo\\": \\"[{\\\\\\"type\\\\\\":\\\\\\"\\\\\\",\\\\\\"nodePath\\\\\\":\\\\\\"/mnt/\\\\\\",\\\\\\"mountPath\\\\\\":\\\\\\"/mnt/\\\\\\"}]\\",\\n \\"K8sVolumeInfo\\": \\"\\\\\\"{\\\\\\\\\\\\\\"hostPaths\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"emptyDirs\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"[]\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"Affinity\\": \\"\\\\\\"{\\\\\\\\\\\\\\"nodeAffinity\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"requiredDuringSchedulingIgnoredDuringExecution\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"nodeSelectorTerms\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"matchExpressions\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"beta.kubernetes.io/arch\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NotIn\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"arm64\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"arm32\\\\\\\\\\\\\\"]}]}]},\\\\\\\\\\\\\\"preferredDuringSchedulingIgnoredDuringExecution\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"weight\\\\\\\\\\\\\\":5,\\\\\\\\\\\\\\"preference\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"matchExpressions\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"kubernetes.io/os\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"In\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"linux\\\\\\\\\\\\\\"]}]}}]},\\\\\\\\\\\\\\"podAffinity\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"requiredDuringSchedulingIgnoredDuringExecution\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"labelSelector\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"matchExpressions\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas.oam.acname\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NotIn\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"edas-test-app\\\\\\\\\\\\\\"]}]},\\\\\\\\\\\\\\"namespaces\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"topologyKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"kubernetes.io/hostname\\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\\"podAntiAffinity\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"preferredDuringSchedulingIgnoredDuringExecution\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"weight\\\\\\\\\\\\\\":15,\\\\\\\\\\\\\\"podAffinityTerm\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"labelSelector\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"matchExpressions\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas.oam.acname\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"In\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"values\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"edas-test-app-2\\\\\\\\\\\\\\"]}]},\\\\\\\\\\\\\\"namespaces\\\\\\\\\\\\\\":[\\\\\\\\\\\\\\"default\\\\\\\\\\\\\\"],\\\\\\\\\\\\\\"topologyKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"failure-domain.beta.kubernetes.io/zone\\\\\\\\\\\\\\"}}]}}\\\\\\"\\",\\n \\"Tolerations\\": \\"\\\\\\"[{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas-taint-key2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Exists\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"effect\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"NoExecute\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"tolerationSeconds\\\\\\\\\\\\\\":50},{\\\\\\\\\\\\\\"key\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas-taint-key\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Equal\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"edas-taint-value\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"effect\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PreferNoSchedule\\\\\\\\\\\\\\"}]\\\\\\"\\",\\n \\"UserBaseImageUrl\\": \\"openjdk:8u302\\"\\n },\\n \\"LatestVersion\\": {\\n \\"Url\\": \\"https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar\\",\\n \\"WarUrl\\": \\"https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar\\",\\n \\"PackageVersion\\": \\"20200720\\"\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetK8sApplicationResponse>\\n <Code>200</Code>\\n <Message>success</Message>\\n <RequestId>1053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n <Applcation>\\n <AppId>a5281053-****-47a5-b2ab-5c0323de****</AppId>\\n <DeployGroups>\\n <Components>\\n <Type>JDK</Type>\\n <ComponentKey>Open JDK 8</ComponentKey>\\n <ComponentId>5</ComponentId>\\n </Components>\\n </DeployGroups>\\n <ImageInfo>\\n <RepoId>cn-hangzhou</RepoId>\\n <ImageUrl>registry.cn-beijing.aliyuncs.com/edas-serverless-****/1314839****06888_shared_repo:5a166fbd-9d76-4f98-****-78165****c_1572***282</ImageUrl>\\n <RepoOriginType>ALI_HUB</RepoOriginType>\\n <Tag>5a166fbd-9d76-4f98-****-781659d9f54c_1572485443282</Tag>\\n <RepoName>131****067006888_shared_repo</RepoName>\\n <RepoNamespace>edas-server****-user</RepoNamespace>\\n <RegionId>cn-beijing</RegionId>\\n </ImageInfo>\\n <App>\\n <RequestMem>1024</RequestMem>\\n <InstancesBeforeScaling>10</InstancesBeforeScaling>\\n <DeployType>Image</DeployType>\\n <ApplicationName>test</ApplicationName>\\n <ApplicationType>War</ApplicationType>\\n <Instances>4</Instances>\\n <LimitMem>1024</LimitMem>\\n <Cmd>ls</Cmd>\\n <RegionId>cn-hangzhou</RegionId>\\n <BuildpackId>57</BuildpackId>\\n <TomcatVersion>8.5.55</TomcatVersion>\\n <CsClusterId>c383bc813c1974e****451b50c0c8****</CsClusterId>\\n <RequestCpuM>1000</RequestCpuM>\\n <AppId>00ee517d-dd7d-4d4e-****-****</AppId>\\n <K8sNamespace>default</K8sNamespace>\\n <EdasContainerVersion>3.60.0</EdasContainerVersion>\\n <ClusterId>c37aec2a-bcca-4ec1-****-****</ClusterId>\\n <EnvList>\\n <Name>CATALINA_OPTS</Name>\\n <Value>-Xmx 1024m -Dhsf.default.tid=false $(EDAS_CATALINA_OPTS)</Value>\\n </EnvList>\\n <CmdArgs>-lh</CmdArgs>\\n </App>\\n <Conf>\\n <PostStart>{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"ls\\\\\\",\\\\\\"/\\\\\\"]}}\\"</PostStart>\\n <Readiness>{\\"failureThreshold\\": 3,\\"initialDelaySeconds\\": 5,\\"successThreshold\\": 1,\\"timeoutSeconds\\": 1,\\"httpGet\\": {\\"path\\": \\"/consumer\\",\\"port\\": 8080,\\"scheme\\": \\"HTTP\\",\\"httpHeaders\\": \\\\[{\\"name\\": \\"test\\",\\"value\\": \\"testvalue\\"}\\\\]}}</Readiness>\\n <AhasEnabled>true</AhasEnabled>\\n <K8sCmdArgs>-lh</K8sCmdArgs>\\n <Liveness>{\\"failureThreshold\\": 3,\\"initialDelaySeconds\\": 5,\\"successThreshold\\": 1,\\"timeoutSeconds\\": 1,\\"tcpSocket\\":{\\"host\\":\\"\\", \\"port\\":8080}}</Liveness>\\n <DeployAcrossNodes>true</DeployAcrossNodes>\\n <K8sCmd>ls</K8sCmd>\\n <PreStop>{\\\\\\"exec\\\\\\":{\\\\\\"command\\\\\\":[\\\\\\"ls\\\\\\",\\\\\\"/\\\\\\"]}}\\"</PreStop>\\n <DeployAcrossZones>true</DeployAcrossZones>\\n <JarStartArgs>-lh</JarStartArgs>\\n <K8sNasInfo>[{\\"nasPath\\":\\"/mnt/\\",\\"mountPath\\":\\"/mnt/\\"}]</K8sNasInfo>\\n <JarStartOptions>-h</JarStartOptions>\\n <RuntimeClassName>runc</RuntimeClassName>\\n <K8sLocalvolumeInfo>[{\\"type\\":\\"\\",\\"nodePath\\":\\"/mnt/\\",\\"mountPath\\":\\"/mnt/\\"}]</K8sLocalvolumeInfo>\\n <K8sVolumeInfo>\\"{\\\\\\"hostPaths\\\\\\":\\\\\\"[]\\\\\\",\\\\\\"emptyDirs\\\\\\":\\\\\\"[]\\\\\\"}\\"</K8sVolumeInfo>\\n <ApmBinderLogFileConfigs>[{\\"filePattern\\":\\"test\\",\\"name\\":\\"auto-logstash\\",\\"path\\":\\"/home/admin\\",\\"type\\":\\"file\\"}]</ApmBinderLogFileConfigs>\\n </Conf>\\n <LatestVersion>\\n <Url>https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar</Url>\\n <WarUrl>https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar</WarUrl>\\n <PackageVersion>20200720</PackageVersion>\\n </LatestVersion>\\n </Applcation>\\n</GetK8sApplicationResponse>","errorExample":""}]',
+ 'title' => 'GetK8sApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetK8sServices' => [
+ 'path' => '/pop/v5/k8s/acs/k8s_service',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ 'Services' => [
+ 'description' => 'The list of services in the Kubernetes cluster.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the services in the Kubernetes cluster.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'ClusterIP',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'service-http',
+ ],
+ 'ClusterIP' => [
+ 'description' => 'The IP address of the service in the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => '104.23.xx.xx',
+ ],
+ 'ServicePorts' => [
+ 'description' => 'The mapping of service ports.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the service port mapping.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TargetPort' => [
+ 'description' => 'The backend container port.'."\n",
+ 'type' => 'string',
+ 'example' => '8080',
+ ],
+ 'NodePort' => [
+ 'description' => 'The port of the node.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Port' => [
+ 'description' => 'The frontend service port.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '80',
+ ],
+ 'Protocol' => [
+ 'description' => 'The protocol of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'TCP',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\",\\n \\"Services\\": [\\n {\\n \\"Type\\": \\"ClusterIP\\",\\n \\"Name\\": \\"service-http\\",\\n \\"ClusterIP\\": \\"104.23.xx.xx\\",\\n \\"ServicePorts\\": [\\n {\\n \\"TargetPort\\": \\"8080\\",\\n \\"NodePort\\": 0,\\n \\"Port\\": 80,\\n \\"Protocol\\": \\"TCP\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<Services>\\n <ClusterIP>104.23.xx.xx</ClusterIP>\\n <Type>ClusterIP</Type>\\n <Name>service-http</Name>\\n</Services>\\n<Services>\\n <ServicePorts>\\n <NodePort>0</NodePort>\\n <TargetPort>8080</TargetPort>\\n <Protocol>TCP</Protocol>\\n <Port>80</Port>\\n </ServicePorts>\\n</Services>\\n<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'summary' => 'Queries application services that are deployed in a Kubernetes cluster.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'QuerySlsLogStoreList' => [
+ 'path' => '/pop/v5/k8s/sls/query_sls_log_store_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'af58edcf-f7eb-****-****-db4e425f****',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of data that is collected by Log Service. Valid values:'."\n"
+ ."\n"
+ .'* file: the file type'."\n"
+ .'* stdout: the standard output type'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'file',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from Page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'd6834ee9-5045-*************',
+ ],
+ 'TotalSize' => [
+ 'description' => 'The number of log sources configured for the application.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Result' => [
+ 'description' => 'The configurations of Log Service for the application.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Link' => [
+ 'description' => 'The URL of the logging service.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://sls.console.aliyun.com/lognext/project/k8s-log-c846f28edbd1d4c6aa9d78c0e********/logsearch/thisisiss',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the logging service was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2020-05-18 22:08:46',
+ ],
+ 'Logstore' => [
+ 'description' => 'The name of the Logstore.'."\n",
+ 'type' => 'string',
+ 'example' => 'thisisatestlogstore',
+ ],
+ 'ConsumerSide' => [
+ 'description' => 'The type of the logging service.'."\n",
+ 'type' => 'string',
+ 'example' => 'Log Service'."\n",
+ ],
+ 'Project' => [
+ 'description' => 'The name of the project.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-log-c846f28edbd1d4c6aa9d78c0e********',
+ ],
+ 'Source' => [
+ 'description' => 'The source of logs. Valid values:'."\n"
+ ."\n"
+ .'* Standard output: stdout.log'."\n"
+ .'* File log: the directory that stores logs'."\n",
+ 'type' => 'string',
+ 'example' => '/var/log/*',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"d6834ee9-5045-*************\\",\\n \\"TotalSize\\": 1,\\n \\"Result\\": [\\n {\\n \\"Link\\": \\"https://sls.console.aliyun.com/lognext/project/k8s-log-c846f28edbd1d4c6aa9d78c0e********/logsearch/thisisiss\\",\\n \\"CreateTime\\": \\"2020-05-18 22:08:46\\",\\n \\"Logstore\\": \\"thisisatestlogstore\\",\\n \\"ConsumerSide\\": \\"SLS日志服务\\",\\n \\"Project\\": \\"k8s-log-c846f28edbd1d4c6aa9d78c0e********\\",\\n \\"Source\\": \\"/var/log/*\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<code>200</code>\\n<message>success</message>\\n<result>\\n <consumerSide>SLS日志服务</consumerSide>\\n <createTime>2020-05-18 22:08:46</createTime>\\n <link>https://sls.console.aliyun.com/lognext/project/k8s-log-c846f28edbd1d4c6aa9d78c0e********/logsearch/thisisiss</link>\\n <logstore>thisisatestlogstore</logstore>\\n <project>k8s-log-c846f28edbd1d4c6aa9d78c0e********</project>\\n <source>/var/log/*</source>\\n</result>\\n<totalSize>1</totalSize>","errorExample":""}]',
+ 'title' => 'QuerySlsLogStoreList',
+ 'summary' => 'Queries the configuration details of Log Service for an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetAppDeployment' => [
+ 'summary' => 'Queries the information about the Deployment of a Kubernetes application.',
+ 'path' => '/pop/v5/oam/app_deployment',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-*****-ed2ae98de18d',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The information about the Deployment of the application. The value is a JSON string.'."\n",
+ 'type' => 'string',
+ 'example' => ' {"metadata":{"name":"oambuild-group*","namespace":"default","selfLink":"/apis/apps/v1/namespaces/default/deployments/oambuil*","uid":"*-afc0-436e-9949-fb01994a9b63","resourceVersion":"969614832","generation":2,"creationTimestamp":"2021-04-06T11:38:46Z","labels":{"edas-domain":"edas-admin","edas.aliyun.oam.com/rollout-name":"oambuild-group-1","edas.aliyun.oam.com/rollout-namespace":"default","edas.aliyun.oam.com/rollout-revision":"3","edas.appid":"fc5e0f54-*-4cab-91a0-b7becb1f6174","edas.controlplane":"edas-oam","edas.oam.acname":"oambuild"...',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\" {\\\\\\"metadata\\\\\\":{\\\\\\"name\\\\\\":\\\\\\"oambuild-group*\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"default\\\\\\",\\\\\\"selfLink\\\\\\":\\\\\\"/apis/apps/v1/namespaces/default/deployments/oambuil*\\\\\\",\\\\\\"uid\\\\\\":\\\\\\"*-afc0-436e-9949-fb01994a9b63\\\\\\",\\\\\\"resourceVersion\\\\\\":\\\\\\"969614832\\\\\\",\\\\\\"generation\\\\\\":2,\\\\\\"creationTimestamp\\\\\\":\\\\\\"2021-04-06T11:38:46Z\\\\\\",\\\\\\"labels\\\\\\":{\\\\\\"edas-domain\\\\\\":\\\\\\"edas-admin\\\\\\",\\\\\\"edas.aliyun.oam.com/rollout-name\\\\\\":\\\\\\"oambuild-group-1\\\\\\",\\\\\\"edas.aliyun.oam.com/rollout-namespace\\\\\\":\\\\\\"default\\\\\\",\\\\\\"edas.aliyun.oam.com/rollout-revision\\\\\\":\\\\\\"3\\\\\\",\\\\\\"edas.appid\\\\\\":\\\\\\"fc5e0f54-*-4cab-91a0-b7becb1f6174\\\\\\",\\\\\\"edas.controlplane\\\\\\":\\\\\\"edas-oam\\\\\\",\\\\\\"edas.oam.acname\\\\\\":\\\\\\"oambuild\\\\\\"...\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\"\\n}","errorExample":""},{"type":"xml","example":"<GetAppDeploymentResponse>\\n<Message>success</Message>\\n<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>\\n<Data> {\\"metadata\\":{\\"name\\":\\"oambuild-group*\\",\\"namespace\\":\\"default\\",\\"selfLink\\":\\"/apis/apps/v1/namespaces/default/deployments/oambuil*\\",\\"uid\\":\\"*-afc0-436e-9949-fb01994a9b63\\",\\"resourceVersion\\":\\"969614832\\",\\"generation\\":2,\\"creationTimestamp\\":\\"2021-04-06T11:38:46Z\\",\\"labels\\":{\\"edas-domain\\":\\"edas-admin\\",\\"edas.aliyun.oam.com/rollout-name\\":\\"oambuild-group-1\\",\\"edas.aliyun.oam.com/rollout-namespace\\":\\"default\\",\\"edas.aliyun.oam.com/rollout-revision\\":\\"3\\",\\"edas.appid\\":\\"fc5e0f54-*-4cab-91a0-b7becb1f6174\\",\\"edas.controlplane\\":\\"edas-oam\\",\\"edas.oam.acname\\":\\"oambuild\\"...</Data>\\n<Code>200</Code>\\n</GetAppDeploymentResponse>","errorExample":""}]',
+ 'title' => 'GetAppDeployment',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeAppInstanceList' => [
+ 'path' => '/pop/v5/oam/app_instance_list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the ID of the application. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-*****-ed2ae98de18d',
+ ],
+ ],
+ [
+ 'name' => 'WithNodeInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to return the information about the node in which the pod resides.'."\n"
+ ."\n"
+ .'* `true`: returns the information about the node in which the pod resides'."\n"
+ .'* `false`: does not return the information about the node in which the pod resides'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ 'InstanceList' => [
+ 'description' => 'The application instances.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NodeLabels' => [
+ 'description' => 'The labels of the node. The value is a JSON string.'."\n",
+ 'type' => 'string',
+ 'example' => '{"alibabacloud.com/nodepool-id":"np0*5b9377fa907","beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"ecs.*","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"cn-hangzhou","failure-domain.beta.kubernetes.io/zone":"cn-hangzhou-b","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"cn-hangzhou*","kubernetes.io/os":"linux","node.kubernetes.io/instance-type":"ecs.*","topology.diskplugin.csi.alibabacloud.com/zone":"cn-hangzhou-b","topology.kubernetes.io/region":"cn-hangzhou","topology.kubernetes.io/zone":"cn-hangzhou-b"}',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the instance group to which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'example' => '93fdd228-*****-ed2ae98de18d',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the instance group to which the application is deployed.'."\n",
+ 'type' => 'string',
+ 'example' => '_DEFAULT_GROUP',
+ ],
+ 'Canary' => [
+ 'description' => 'Indicates whether the application was released in canary release mode.'."\n"
+ ."\n"
+ .'* `true`: The application was released in canary release mode.'."\n"
+ .'* `false`: The application was not released in canary release mode'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'NodeName' => [
+ 'description' => 'The name of the node.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou.192.168.0.*',
+ ],
+ 'PodRaw' => [
+ 'description' => 'The information about the pod. The value is a JSON string.'."\n",
+ 'type' => 'string',
+ 'example' => '{"metadata":{"name":"oambuild-group-1-*4xthz","generateName":"oambuild-group-*96-","namespace":"default","selfLink":"/api/v1/namespaces/default/pods/oambuild-grou*96-4xthz","uid":"7a23399c-*fe7ff4018","resourceVersion":"969614830","creationTimestamp":"2021-04-06T11:38:46Z","labels":{"ARMSApmAppId":"*","ARMSApmLicenseKey":"*"...',
+ ],
+ 'Version' => [
+ 'description' => 'The deployment package version of the node.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-04-06 19:37:42',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '93fdd228-*****-ed2ae98de18d',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'No permissions',
+ ],
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterMissing.AppId.message',
+ 'errorMessage' => 'Application ID is missing.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\",\\n \\"InstanceList\\": [\\n {\\n \\"NodeLabels\\": \\"{\\\\\\"alibabacloud.com/nodepool-id\\\\\\":\\\\\\"np0*5b9377fa907\\\\\\",\\\\\\"beta.kubernetes.io/arch\\\\\\":\\\\\\"amd64\\\\\\",\\\\\\"beta.kubernetes.io/instance-type\\\\\\":\\\\\\"ecs.*\\\\\\",\\\\\\"beta.kubernetes.io/os\\\\\\":\\\\\\"linux\\\\\\",\\\\\\"failure-domain.beta.kubernetes.io/region\\\\\\":\\\\\\"cn-hangzhou\\\\\\",\\\\\\"failure-domain.beta.kubernetes.io/zone\\\\\\":\\\\\\"cn-hangzhou-b\\\\\\",\\\\\\"kubernetes.io/arch\\\\\\":\\\\\\"amd64\\\\\\",\\\\\\"kubernetes.io/hostname\\\\\\":\\\\\\"cn-hangzhou*\\\\\\",\\\\\\"kubernetes.io/os\\\\\\":\\\\\\"linux\\\\\\",\\\\\\"node.kubernetes.io/instance-type\\\\\\":\\\\\\"ecs.*\\\\\\",\\\\\\"topology.diskplugin.csi.alibabacloud.com/zone\\\\\\":\\\\\\"cn-hangzhou-b\\\\\\",\\\\\\"topology.kubernetes.io/region\\\\\\":\\\\\\"cn-hangzhou\\\\\\",\\\\\\"topology.kubernetes.io/zone\\\\\\":\\\\\\"cn-hangzhou-b\\\\\\"}\\",\\n \\"GroupId\\": \\"93fdd228-*****-ed2ae98de18d\\",\\n \\"GroupName\\": \\"_DEFAULT_GROUP\\",\\n \\"Canary\\": false,\\n \\"NodeName\\": \\"cn-hangzhou.192.168.0.*\\",\\n \\"PodRaw\\": \\"{\\\\\\"metadata\\\\\\":{\\\\\\"name\\\\\\":\\\\\\"oambuild-group-1-*4xthz\\\\\\",\\\\\\"generateName\\\\\\":\\\\\\"oambuild-group-*96-\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"default\\\\\\",\\\\\\"selfLink\\\\\\":\\\\\\"/api/v1/namespaces/default/pods/oambuild-grou*96-4xthz\\\\\\",\\\\\\"uid\\\\\\":\\\\\\"7a23399c-*fe7ff4018\\\\\\",\\\\\\"resourceVersion\\\\\\":\\\\\\"969614830\\\\\\",\\\\\\"creationTimestamp\\\\\\":\\\\\\"2021-04-06T11:38:46Z\\\\\\",\\\\\\"labels\\\\\\":{\\\\\\"ARMSApmAppId\\\\\\":\\\\\\"*\\\\\\",\\\\\\"ARMSApmLicenseKey\\\\\\":\\\\\\"*\\\\\\"...\\",\\n \\"Version\\": \\"2021-04-06 19:37:42\\",\\n \\"AppId\\": \\"93fdd228-*****-ed2ae98de18d\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAppInstanceListResponse>\\n<Message>success</Message>\\n<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>\\n<InstanceList>\\n <GroupName>_DEFAULT_GROUP</GroupName>\\n <AppId>93fdd228-*****-ed2ae98de18d</AppId>\\n <NodeName>cn-hangzhou.192.168.0.*</NodeName>\\n <Version>2021-04-06 19:37:42</Version>\\n <Canary>false</Canary>\\n <NodeLabels>{\\"alibabacloud.com/nodepool-id\\":\\"np0*5b9377fa907\\",\\"beta.kubernetes.io/arch\\":\\"amd64\\",\\"beta.kubernetes.io/instance-type\\":\\"ecs.*\\",\\"beta.kubernetes.io/os\\":\\"linux\\",\\"failure-domain.beta.kubernetes.io/region\\":\\"cn-hangzhou\\",\\"failure-domain.beta.kubernetes.io/zone\\":\\"cn-hangzhou-b\\",\\"kubernetes.io/arch\\":\\"amd64\\",\\"kubernetes.io/hostname\\":\\"cn-hangzhou*\\",\\"kubernetes.io/os\\":\\"linux\\",\\"node.kubernetes.io/instance-type\\":\\"ecs.*\\",\\"topology.diskplugin.csi.alibabacloud.com/zone\\":\\"cn-hangzhou-b\\",\\"topology.kubernetes.io/region\\":\\"cn-hangzhou\\",\\"topology.kubernetes.io/zone\\":\\"cn-hangzhou-b\\"}</NodeLabels>\\n <PodRaw>{\\"metadata\\":{\\"name\\":\\"oambuild-group-1-*4xthz\\",\\"generateName\\":\\"oambuild-group-*96-\\",\\"namespace\\":\\"default\\",\\"selfLink\\":\\"/api/v1/namespaces/default/pods/oambuild-grou*96-4xthz\\",\\"uid\\":\\"7a23399c-*fe7ff4018\\",\\"resourceVersion\\":\\"969614830\\",\\"creationTimestamp\\":\\"2021-04-06T11:38:46Z\\",\\"labels\\":{\\"ARMSApmAppId\\":\\"*\\",\\"ARMSApmLicenseKey\\":\\"*\\"...</PodRaw>\\n <GroupId>93fdd228-*****-ed2ae98de18d</GroupId>\\n</InstanceList>\\n<Code>200</Code>\\n</DescribeAppInstanceListResponse>","errorExample":""}]',
+ 'title' => 'DescribeAppInstanceList',
+ 'summary' => 'Queries Kubernetes application instances.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetK8sAppPrecheckResult' => [
+ 'summary' => 'Queries the precheck result of a Kubernetes application.',
+ 'path' => '/pop/v5/k8s/app_precheck',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'A short description of struct',
+ 'description' => 'The ID of the cluster in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'c37aec2a-bcca-4ec1-****-************',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'testapp',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'The information about the application change precheck.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'B909AB1F-3763-4963-B1CE-0BDFA192****',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The precheck state for the application change. Valid values:'."\n"
+ ."\n"
+ .'* checking: The application is being prechecked.'."\n"
+ .'* pass: The application passed the precheck.'."\n"
+ .'* failed: The application failed the precheck.'."\n",
+ 'type' => 'string',
+ 'example' => 'checking',
+ ],
+ 'Reason' => [
+ 'description' => 'The reason why the application failed the precheck. This parameter is left empty when the application passed the precheck.'."\n",
+ 'type' => 'string',
+ 'example' => 'The Kubernetes cluster is disconnected from the EDAS control plane.'."\n",
+ ],
+ 'JobResults' => [
+ 'description' => 'The precheck result for the application change.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the precheck result for the application change.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the precheck item.'."\n",
+ 'type' => 'string',
+ 'example' => 'Cluster Health Check',
+ ],
+ 'Pass' => [
+ 'description' => 'Indicates whether the precheck item passed the precheck:'."\n"
+ ."\n"
+ .'* true: The precheck item passed the precheck.'."\n"
+ .'* false: The precheck item failed the precheck.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Interrupted' => [
+ 'description' => 'Specifies whether the precheck of the item was interrupted:'."\n"
+ ."\n"
+ .'* true: The precheck of the item was interrupted.'."\n"
+ .'* false: The precheck of the item was not interrupted.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Reason' => [
+ 'description' => 'The reason why the precheck item failed the precheck or the precheck of the item was interrupted. This parameter is left empty when the application passed the precheck.'."\n",
+ 'type' => 'string',
+ 'example' => 'The Kubernetes cluster is disconnected from the EDAS control plane.'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B909AB1F-3763-4963-B1CE-0BDFA192****\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"checking\\",\\n \\"Reason\\": \\"K8s集群失联。\\",\\n \\"JobResults\\": [\\n {\\n \\"Name\\": \\"Cluster Health Check\\",\\n \\"Pass\\": true,\\n \\"Interrupted\\": false,\\n \\"Reason\\": \\"K8s集群失联。\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'GetK8sAppPrecheckResult',
+ ],
+ 'BindK8sSlb' => [
+ 'summary' => 'Binds a Server Load Balancer (SLB) instance to an application that is deployed in a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_slb_binding',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '712082c3-f554-****-****-a947b5cde6ee',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* internet: Internet-facing SLB instance'."\n"
+ .'* intranet: internal-facing SLB instance'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'internet',
+ ],
+ ],
+ [
+ 'name' => 'SlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the SLB instance. If you leave this parameter empty, Enterprise Distributed Application Service (EDAS) automatically purchases an SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'lb-2ze1quax9t****iz82bjt',
+ ],
+ ],
+ [
+ 'name' => 'SlbProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The protocol used by the SLB instance. Valid values: TCP, HTTP, and HTTPS.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'TCP',
+ ],
+ ],
+ [
+ 'name' => 'TargetPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The backend port, which is also the service port of the application. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '8080',
+ ],
+ ],
+ [
+ 'name' => 'Port',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The frontend port. Valid values: 1 to 65535.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'ServicePortInfos',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The information about the ports. This parameter is required if you want to configure multi-port mappings or use a protocol other than TCP. You must set this parameter to a JSON array. Example: \\[{"targetPort":8080,"port":82,"loadBalancerProtocol":"TCP"},{"port":81,"certId":"1362469756373809\\_16c185d6fa2\\_1914500329\\_-xxxxxxx","targetPort":8181,"lo adBalancerProtocol":"HTTPS"}]'."\n"
+ ."\n"
+ .'* port: The frontend port. Valid values: 1 to 65535. This parameter is required. Each port must be unique.'."\n"
+ .'* targetPort: The backend port. Valid values: 1 to 65535. This parameter is required.'."\n"
+ .'* loadBalancerProtocol: This parameter is required. Valid values: TCP and HTTPS. If the HTTP protocol is used, set this parameter to TCP.'."\n"
+ .'* certId: the ID of the certificate. This parameter is required if the HTTPS protocol is used. You can purchase an SLB instance in the SLB console.'."\n"
+ ."\n"
+ .'> The ServicePortInfos parameter is specified to support multi-port mappings. If you want this parameter to take effect, make sure that you have set the AppId, ClusterId, Type, and SlbId parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '[{"targetPort":8080,"port":82,"loadBalancerProtocol":"TCP"},{"port":81,"certId":"136246975637380916c185d6fa21914500329_-988as","targetPort":8181,"lo adBalancerProtocol":"HTTPS"}]',
+ ],
+ ],
+ [
+ 'name' => 'Specification',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The instance type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* slb.s1.small'."\n"
+ .'* slb.s2.small'."\n"
+ .'* slb.s2.medium'."\n"
+ .'* slb.s3.small'."\n"
+ .'* slb.s3.medium'."\n"
+ .'* slb.s3.large'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'slb.s1.small',
+ ],
+ ],
+ [
+ 'name' => 'Scheduler',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scheduling algorithm for the SLB instance. If you do not specify this parameter, the default value rr is used. Valid values:'."\n"
+ ."\n"
+ .'* wrr: weighted round-robin scheduling. Backend servers that have higher weights receive more requests than those that have lower weights.'."\n"
+ .'* rr: round-robin scheduling. Requests are sequentially distributed to backend servers.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'wrr',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'b4b37bde-a125-****-****-741f7f4a9ae3',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"b4b37bde-a125-****-****-741f7f4a9ae3\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-****\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<ChangeOrderId>b4b37bde-a125-43fc-9f8e-741f7f4a9ae3</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UnbindK8sSlb' => [
+ 'summary' => 'Unbinds a Server Load Balancer (SLB) instance from an application that is deployed in a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_slb_binding',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****-a286-781659d9f54c',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can call the GetK8sCluster operation to query the cluster ID. For more information, see [GetK8sCluster](~~181437~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '712082c3-****-****-9217-a947b5cde6ee',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the SLB instance. Valid values:'."\n"
+ ."\n"
+ .'* **internet**: Internet-facing SLB instance'."\n"
+ .'* **intranet**: internal-facing SLB instance'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'internet',
+ ],
+ ],
+ [
+ 'name' => 'SlbName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the SLB instance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a2d4ab12666544a479cdd0711a97****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => 'b0a8441e-****-4e8e-9874-b56dea02952f',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1234-1sda-321d-1234',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"ChangeOrderId\\": \\"b0a8441e-****-4e8e-9874-b56dea02952f\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1234-1sda-321d-1234\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>1234-1sda-321d-1234</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>b0a8441e-****-4e8e-9874-b56dea02952f</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UnbindK8sSlb',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertK8sApplication' => [
+ 'summary' => 'Creates an application in a Container Service for Kubernetes (ACK) cluster or serverless Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/create_k8s_app',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'IntranetTargetPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The backend port of the internal-facing Server Load Balancer (SLB) instance. This port also serves as the service port of the application. Valid values: 1 to 65535.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'IntranetSlbPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The frontend port of the internal-facing SLB instance. Valid values: 1 to 65535.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'ImageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the image. This parameter is required if you set the `PackageType` parameter to `Image`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'registry.cn-beijing.aliyuncs.com/****_test/****-cons****:1.0',
+ ],
+ ],
+ [
+ 'name' => 'ApplicationDescription',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Application in the production environment'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RepoId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the image repository.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ced********',
+ ],
+ ],
+ [
+ 'name' => 'Replicas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of application instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'LimitCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running. Unit: cores. If the LimitmCpu parameter is specified, you can ignore this parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'LimitMem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is running. Unit: MB. The value of LimitMem must be greater than that of RequestsMem.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'RequestsCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is created. Unit: cores. Value 0 indicates that no limit is set on CPU cores. If the RequestsmCpu parameter is specified, the value of the RequestsmCpu parameter is used. You can ignore this parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'RequestsMem',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is created. Unit: MB. Value 0 indicates that no limit is set on the memory size. The value of RequestsMem cannot be greater than that of LimitMem.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Command',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The application startup command. If you specify this parameter, the value of this parameter will replace the startup command in the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ls',
+ ],
+ ],
+ [
+ 'name' => 'CommandArgs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The arguments in the command. The parameter value is a JSON array of strings. An example is `[{"argument":"-c"},{"argument":"test"}]`, where `-c` and `test` are two arguments that can be set.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"argument":"-lh"}]',
+ ],
+ ],
+ [
+ 'name' => 'AppName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the application. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 36 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'doc-test',
+ ],
+ ],
+ [
+ 'name' => 'IntranetSlbProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The protocol used by the internal-facing SLB instance. Valid values: TCP, HTTP, and HTTPS.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TCP',
+ ],
+ ],
+ [
+ 'name' => 'IntranetSlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the internal-facing SLB instance. If you do not specify this parameter, Enterprise Distributed Application Service (EDAS) automatically purchases a new SLB instance for you.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ae93********',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'c9cd****',
+ ],
+ ],
+ [
+ 'name' => 'InternetSlbId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the Internet-facing SLB instance. If you do not specify this parameter, EDAS automatically purchases a new SLB instance for you.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a3d4********',
+ ],
+ ],
+ [
+ 'name' => 'InternetSlbProtocol',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The protocol used by the Internet-facing SLB instance. Valid values: TCP, HTTP, and HTTPS.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TCP',
+ ],
+ ],
+ [
+ 'name' => 'InternetSlbPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The frontend port of the Internet-facing SLB instance. Valid values: 1 to 65535.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '80',
+ ],
+ ],
+ [
+ 'name' => 'InternetTargetPort',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The backend port of the internal-facing SLB instance. This port also serves as the service port of the application. Valid values: 1 to 65535.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '8080',
+ ],
+ ],
+ [
+ 'name' => 'Envs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The environment variables that are used to deploy the application. The value must be a JSON array. Valid values: regular environment variables, Kubernetes ConfigMap environment variables, or Kubernetes Secret environment variables. Specify regular environment variables in the following format:'."\n"
+ ."\n"
+ .'`{"name":"x", "value": "y"}`'."\n"
+ ."\n"
+ .'Specify Kubernetes ConfigMap environment variables in the following format to reference values from ConfigMaps:'."\n"
+ ."\n"
+ .'`{ "name": "x2", "valueFrom": { "configMapKeyRef": { "name": "my-config", "key": "y2" } } }`'."\n"
+ ."\n"
+ .'Specify Kubernetes Secret environment variables in the following format to reference values from Secrets:'."\n"
+ ."\n"
+ .'`{ "name": "x3", "valueFrom": { "secretKeyRef": { "name": "my-secret", "key": "y3" } } }`'."\n"
+ ."\n"
+ .'> If you want to cancel this configuration, set this parameter to an empty JSON array in the format of "\\[]".'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"x1","value":"y1"},{"name":"x2","valueFrom":{"configMapKeyRef":{"name":"my-config","key":"y2"}}},{"name":"x3","valueFrom":{"secretKeyRef":{"name":"my-secret","key":"y3"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'PreStop',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pre-stop script. Example: `{"tcpSocket":{"host":"", "port":8080}}`.'."\n"
+ ."\n"
+ .'If you want to cancel this configuration, leave this parameter empty by setting it to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ ],
+ [
+ 'name' => 'PostStart',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The post-start script. Example: `{"exec":{"command":\\["cat","/etc/group"\\]}}`.'."\n"
+ ."\n"
+ .'If you want to cancel this configuration, leave this parameter empty by setting it to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ ],
+ [
+ 'name' => 'Liveness',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for the liveness check on the container. Example: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}`.'."\n"
+ ."\n"
+ .'If you want to cancel this configuration, leave the parameter value empty by entering `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}',
+ ],
+ ],
+ [
+ 'name' => 'Readiness',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for the readiness check on the container. If the check fails, the traffic that passes through the Kubernetes Service is not transmitted to the container. Example: \\`{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": \\\\[{"name": "test","value": "testvalue"}\\\\]}}\\`.``'."\n"
+ ."\n"
+ .'If you want to cancel this configuration, leave the parameter value empty by entering `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}',
+ ],
+ ],
+ [
+ 'name' => 'NasId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the Network Attached Storage (NAS) file system that you want to mount to the application. If you do not specify this parameter but specify the MountDescs parameter, a NAS file system is automatically purchased and mounted to the vSwitch in the VPC.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dfs23****',
+ ],
+ ],
+ [
+ 'name' => 'MountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the NAS mounting configuration. Set this parameter to a serialized JSON string. Example: `\\[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}\\]`. The `nasPath` parameter specifies the file storage path, and the `mountPath` parameter specifies the path to mount the file system to the container where the application is running.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]',
+ ],
+ ],
+ [
+ 'name' => 'StorageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The storage type of the NAS file system.'."\n"
+ ."\n"
+ .'* Valid values for General-purpose NAS file systems: Capacity and Performance.'."\n"
+ .'* Valid values for Extreme NAS file systems: Standard and Advance.'."\n"
+ ."\n"
+ .'You can set this parameter only to Performance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Performance',
+ ],
+ ],
+ [
+ 'name' => 'LocalVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configurations that are used when the host files are mounted to the container on which the application is running. Example: `\\[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}\\]`. Description:'."\n"
+ ."\n"
+ .'* `nodePath`: the host path.'."\n"
+ .'* `mountPath`: the path in the container.'."\n"
+ .'* `type`: the mounting type.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster. This parameter specifies the Kubernetes namespace in which your application is deployed. By default, the default namespace is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the EDAS namespace. This parameter is required for a non-default namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-shenzhen:beta****',
+ ],
+ ],
+ [
+ 'name' => 'PackageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the deployment package. Valid values: FatJar, WAR, and Image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'WAR',
+ ],
+ ],
+ [
+ 'name' => 'PackageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application.'."\n"
+ ."\n"
+ .'> The version of EDAS SDK for Java or Python must be V2.44.0 or later.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar',
+ ],
+ ],
+ [
+ 'name' => 'PackageVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application. You must specify a version.'."\n"
+ ."\n"
+ .'> The version of EDAS SDK for Java or Python must be V2.44.0 or later.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20200720',
+ ],
+ ],
+ [
+ 'name' => 'JDK',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the Java Development Kit (JDK) on which the deployment package of the application depends. Valid values: Open JDK 7 and Open JDK 8. This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Open JDK 8',
+ ],
+ ],
+ [
+ 'name' => 'WebContainer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the Tomcat container on which the deployment package of the application depends. This parameter is applicable to Spring Cloud and Dubbo applications that you deploy by using WAR packages. This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'apache-tomcat-7.0.91',
+ ],
+ ],
+ [
+ 'name' => 'EdasContainerVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of `EDAS Container` on which the deployment package of the application depends.'."\n"
+ ."\n"
+ .'> This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3.5.9',
+ ],
+ ],
+ [
+ 'name' => 'UriEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URI encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter in the application configurations, the default URI encoding scheme in the Tomcat container is applied.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GBK',
+ ],
+ ],
+ [
+ 'name' => 'UseBodyEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to use the encoding scheme specified in the request body for URI query parameters.'."\n"
+ ."\n"
+ .'> If this parameter is not specified in application configuration, the default value false is applied.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'RequestsmCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is created. Unit: millicores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '500',
+ ],
+ ],
+ [
+ 'name' => 'LimitmCpu',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running. Unit: millicores. Value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'RuntimeClassName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the container runtime. This parameter is applicable only to clusters that use sandboxed containers.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'runc',
+ ],
+ ],
+ [
+ 'name' => 'DeployAcrossZones',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to distribute application instances across zones. Value `true` indicates that application instances are distributed across zones. Other values indicate that application instances are not distributed across zones.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Valid values: 1 to 1800. Unit: seconds. If you do not specify this Unidentifiedparameter, the default value 1800 is used.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'EnableAhas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable access to Application High Availability Service (AHAS). Valid values:'."\n"
+ ."\n"
+ .'* true: enables access to AHAS.'."\n"
+ .'* false: does not enable access to AHAS.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'WebContainerConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration of the Tomcat container. If you want to cancel this configuration, set this parameter to "" or "{}". The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* useDefaultConfig: specifies whether to use the default configuration. Value true indicates that the default configuration is used. Value false indicates that the custom configuration is used. If the default configuration is used, the following parameters do not take effect:'."\n"
+ ."\n"
+ .'* contextInputType: the type of the access path for the application. Valid values:'."\n"
+ ."\n"
+ .' * war: The access path is the name of the WAR package. You do not need to specify a custom path.'."\n"
+ .' * root: The access path for the application is `/`. You do not need to specify a custom path.'."\n"
+ .' * custom: If you select this option, you must specify a custom path for the contextPath parameter.'."\n"
+ ."\n"
+ .'* contextPath: the custom access path for the application. This parameter is required only when you set the contextInputType parameter to custom.'."\n"
+ ."\n"
+ .'* httpPort: the port number. The port number ranges from 1024 to 65535. Though the admin permissions are configured for the container, the root permissions are required to perform operations on ports whose number is less than 1024. Enter a value that ranges from 1024 to 65535 because the container has only the admin permissions. If you do not configure this parameter, the default port number 8080 is used.'."\n"
+ ."\n"
+ .'* maxThreads: the maximum number of connections in the connection pool. Default value: 400.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**This parameter significantly affects application performance. We recommend that you consult with technical support before you set this parameter.'."\n"
+ ."\n"
+ .'* uriEncoding: the URI encoding scheme in the Tomcat container. Valid values: UTF-8, ISO-8859-1, GBK, and GB2312. If you do not specify this parameter, the default value ISO-8859-1 is used.'."\n"
+ ."\n"
+ .'* useBodyEncoding: specifies whether to use the encoding scheme specified in the request body for URI query parameters.'."\n"
+ ."\n"
+ .'* useAdvancedServerXml: specifies whether to use advanced configurations to customize the server.xml file. If the preceding parameter types and specific parameters cannot meet your requirements, you can use advanced configurations to customize the server.xml file of Tomcat.'."\n"
+ ."\n"
+ .'* serverXml: the content of the server.xml file customized by using advanced configurations. This parameter takes effect only when you set the useAdvancedServerXml parameter to true.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"useDefaultConfig":false,"contextInputType":"custom","contextPath":"hello","httpPort":8088,"maxThreads":400,"uriEncoding":"UTF-8","useBodyEncoding":true,"useAdvancedServerXml":false}',
+ ],
+ ],
+ [
+ 'name' => 'JavaStartUpConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration of Java startup parameters for a Java application. These startup parameters involve the memory, application, garbage collection (GC) policy, tools, service registration and discovery, and custom configurations. Appropriate parameter settings help reduce the GC overheads, shorten the server response time, and improve the throughput. Set this parameter to a JSON string. In the example, original indicates the configuration value, and startup indicates a startup parameter. The system automatically concatenates all startup values as the settings of Java startup parameters for the application. To delete this configuration, leave the parameter value empty by entering `""` or `"{}"`. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* InitialHeapSize: the initial size of the heap memory.'."\n"
+ .'* MaxHeapSize: the maximum size of the heap memory.'."\n"
+ .'* CustomParams: the custom parameters, such as JVM -D parameters.'."\n"
+ .'* Other parameters: You can view the JSON structure submitted by the frontend.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"InitialHeapSize":{"original":512,"startup":"-Xms512m"},"MaxHeapSize":{"original":1024,"startup":"-Xmx1024m"},"CustomParams":{"original":"-Dcustom.property.sample=false","startup":"-Dcustom.property.sample=false"}}',
+ ],
+ ],
+ [
+ 'name' => 'SlsConfigs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Logstore configuration. To delete this configuration, leave the parameter value empty by entering `""` or `"{}"`.'."\n"
+ ."\n"
+ .'* The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .' * type: the collection type. Set this parameter to file to specify the file type. Set this parameter to stdout to specify the standard output type.'."\n"
+ ."\n"
+ .' * logstore: the name of the Logstore. Make sure that the name of the Logstore is unique in the cluster. The name must comply with the following rules:'."\n"
+ ."\n"
+ .' * The name can contain only lowercase letters, digits, hyphens (-), and underscores (\\_).'."\n"
+ .' * The name must start and end with a lowercase letter or a digit.'."\n"
+ .' * The name must be 3 to 63 characters in length. If you leave this parameter empty, the system automatically generates a name.'."\n"
+ ."\n"
+ .' * LogDir: If the standard output type is used, the collection path is stdout.log. If the file type is used, the collection path is the path of the collected file. Wildcards (\\*) are supported. The collection path must match the following regular expression: `^/(.+)/(.*)^/$`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"logstore":"thisisanotherfilelog","type":"file","logDir":"/var/log/*"},{"logstore":"","type":"stdout","logDir":"stdout.log"},{"logstore":"thisisafilelog","type":"file","logDir":"/tmp/log/*"}]',
+ ],
+ ],
+ [
+ 'name' => 'IsMultilingualApp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether the application is a multi-language application.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'DeployAcrossNodes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to distribute application instances across nodes. Value `true` indicates that application instances are distributed across nodes. Other values indicate that application instances are not distributed across nodes.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PvcMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes PersistentVolumeClaim (PVC) volume to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* pvcName: the name of the PVC volume. Make sure that the PVC volume is an existing volume and is in the Bound state.'."\n"
+ ."\n"
+ .'* mountPaths: the directory to which you want to mount the PVC volume. You can configure multiple directories. You can set the following two parameters for each mount directory:'."\n"
+ ."\n"
+ .' * mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n"
+ .' * readOnly: the mount mode. Value true indicates the read-only mode. Value false indicates the read and write mode. Default value: false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"pvcName":"nas-pvc-1","mountPaths":[{"mountPath":"/usr/share/nginx/data"},{"mountPath":"/usr/share/nginx/html","readOnly":true}]}]',
+ ],
+ ],
+ [
+ 'name' => 'ConfigMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes ConfigMap or Secret to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* name: the name of the Kubernetes ConfigMap or Secret.'."\n"
+ .'* type: the type of the API object that you want to mount. You can mount a Kubernetes ConfigMap or Secret.'."\n"
+ .'* mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"nginx-config","type":"ConfigMap","mountPath":"/etc/nginx"},{"name":"tls-secret","type":"secret","mountPath":"/etc/ssh"}]',
+ ],
+ ],
+ [
+ 'name' => 'CsClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. This parameter is required only when you create the application in a cluster that has not been imported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abcdefg',
+ ],
+ ],
+ [
+ 'name' => 'EnableAsm',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to activate Alibaba Cloud Service Mesh (ASM). Set this parameter to true only when you create the application in a cluster that has not been imported and you need to use ASM.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'EnvFroms',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Kubernetes environment variables that are configured in EnvFrom mode. A ConfigMap or Secret is mounted to a directory. Each key corresponds to a file in the directory, and the content of the file is the value of the key.'."\n"
+ ."\n"
+ .'The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* configMapRef: the ConfigMap that is referenced. The following parameter is contained:'."\n"
+ ."\n"
+ .' * name: the name of the ConfigMap.'."\n"
+ ."\n"
+ .'* secretRef: the Secret that is referenced. The following parameter is contained:'."\n"
+ ."\n"
+ .' * name: the name of the Secret.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"appname","valueFrom":{"configMapKeyRef":{"name":"appconf","key":"name"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'EmptyDirs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes emptyDir volume to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* mountPath: The mount path in the container. This parameter is required.'."\n"
+ .'* readOnly: (Optional) The mount mode. Value true indicates the read-only mode. Value false indicates the read and write mode. Default value: false.'."\n"
+ .'* subPathExpr: (Optional) The regular expression that is used to match the subdirectory.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"mountPath":"/app-log","subPathExpr":"$(POD_IP)"},{"readOnly":true,"mountPath":"/etc/nginx"}]',
+ ],
+ ],
+ [
+ 'name' => 'BuildPackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of `EDAS Container`. The value of this parameter conflicts with that of the `EdasContainerVersion` parameter. We recommend that you use the `EdasContainerVersion` parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '-1',
+ ],
+ ],
+ [
+ 'name' => 'CustomAffinity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The custom affinity.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'demo',
+ ],
+ ],
+ [
+ 'name' => 'CustomTolerations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The custom tolerances.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'demo',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '461',
+ ],
+ ],
+ [
+ 'name' => 'Annotations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The annotation of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"annotation-name-1":"annotation-value-1","annotation-name-2":"annotation-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The label of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"label-name-1":"label-value-1","label-name-2":"label-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'EnableEmptyPushReject',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否开启推空保护',
+ 'description' => 'Specifies whether to enable the empty list protection feature. Valid values:'."\n"
+ ."\n"
+ .'* true: enables the empty list protection feature.'."\n"
+ .'* false: disables the empty list protection feature.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'EnableLosslessRule',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损上线规则',
+ 'description' => 'Specifies whether to enable graceful start rules. Valid values:'."\n"
+ ."\n"
+ .'* true: enables graceful start rules.'."\n"
+ .'* false: disables graceful start rules.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleWarmupTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线服务预热时长',
+ 'description' => 'The service prefetching duration. Valid values: 0 to 86400. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '120',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleDelayTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线延迟注册时长',
+ 'description' => 'The delay of service registration. Valid values: 0 to 86400. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleFuncType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线服务预热曲线',
+ 'description' => 'The number of prefetching curves. Valid values: 0 to 20. The default value is 2, which is suitable for common prefetching scenarios. This value indicates that the received traffic of the provider during prefetching is displayed as a quadratic curve.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleAligned',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损滚动发布模式配置通过就绪检查前完成服务注册',
+ 'description' => 'Specifies whether to enable the graceful rolling deployment mode and ensure that the service is registered before the readiness check. Valid values:'."\n"
+ ."\n"
+ .'* true: provides port 55199 and the /health path for the health check in a non-intrusive manner. When the service is registered, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**If you set both the `LosslessRuleRelated` parameter and this parameter to `true`, the operation checks whether the service prefetching is complete.'."\n"
+ ."\n"
+ .'* false: does not check whether the service is registered.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleRelated',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损滚动发布模式配置通过就绪检查前完成服务预热',
+ 'description' => 'Specifies whether to enable the graceful rolling deployment mode and ensure that the service prefetching is complete before the readiness check. Valid values:'."\n"
+ ."\n"
+ .'* true: provides port 55199 and the /health path for the health check in a non-intrusive manner. When the service prefetching is complete, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.'."\n"
+ .'* false: does not check whether the service prefetching is complete.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ServiceConfigs',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '应用K8s服务信息',
+ 'description' => 'The configurations of services in a Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name": "test-svc-create","serviceType":"ClusterIP","portMappings":[{"servicePort": {"targetPort":8080,"port":80,"protocol":"TCP"}}]}]',
+ ],
+ ],
+ [
+ 'name' => 'AppTemplateName',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '创建应用使用的应用模版名称,若创建应用时指定应用模版,则将优先使用应用模版和AppConfig参数确定应用配置,忽略其他配置',
+ 'description' => 'The name of the template used to create the application. If you specify an application template when you create an application, the application template and the AppConfig parameter are used to configure the application. Other configurations are ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'app-template001',
+ ],
+ ],
+ [
+ 'name' => 'AppConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '使用应用模版时的应用配置,JSON格式字符串',
+ 'description' => 'The application configuration when the application template is used. Set this parameter to a JSON array.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{}',
+ ],
+ ],
+ [
+ 'name' => 'LimitEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RequestsEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the space size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'SecretName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the credential that is used to pull the images specified by the user. You must configure the Secret.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas-app-01-image-secret',
+ ],
+ ],
+ [
+ 'name' => 'ContainerRegistryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the repository used to build the image repository. If this parameter is left empty, the default repository provided by EDAS is used. Only the default repository provided by EDAS is supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Leave empty'."\n",
+ ],
+ ],
+ [
+ 'name' => 'WorkloadType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of Workload when creating an application is currently only supported for the Deployment type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Deployment',
+ ],
+ ],
+ [
+ 'name' => 'Sidecars',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Set up a Sidecar container for the application Pod. Support setting the format YAML for container configuration, which is the value of Sidecar container YAML configured with base64 encoding.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"yamlEncoded":"Y29tbWFuZDoKICAtIHRhaWwKICAtICctZicKICAtIC9kZXYvbnVsbAppbWFnZTogJ2J1c3lib3g6bGF0ZXN0JwpuYW1lOiBidXN5Ym94Cg=="}]',
+ ],
+ ],
+ [
+ 'name' => 'InitContainers',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Set the initialization container for the application Pod. Support setting the format YAML for container configuration, which is the value of Init container YAML configured with base64 encoding.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '['."\n"
+ .' {'."\n"
+ .' "yamlEncoded": "Y29tbWFuZDoKICAtIHNsZWVwCiAgLSAnNjAnCmltYWdlOiAnYnVzeWJveDpsYXRlc3QnCm5hbWU6IGluaXQtYnVzeWJveAo="'."\n"
+ .' }'."\n"
+ .']',
+ ],
+ ],
+ [
+ 'name' => 'UserBaseImageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'When using custom JDK runtime, it is necessary to configure the basic image address. The address needs to be publicly accessible, and the EDAS server will pull the image to build the application image.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'openjdk:8u302',
+ ],
+ ],
+ [
+ 'name' => 'TerminateGracePeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Set the grace stop timeout for the application. Unit: seconds.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '120',
+ ],
+ ],
+ [
+ 'name' => 'ImagePlatforms',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '镜像目标平台架构,当使用war、jar部署时有效,输入样例:1.指定x86 64架构:linux/amd64'."\n"
+ .'2.指定arm 64架构:linux/arm64'."\n"
+ .'3.指定构建双架构镜像:linux/amd64,linux/arm64'."\n"
+ .'4.不输入:默认架构',
+ 'description' => 'Mirror the target platform architecture, which is effective when deployed using war or jar. Enter an example:'."\n"
+ ."\n"
+ .'- Specify x86 64 architecture: Linux/amd64'."\n"
+ .'- Specify ARM 64 architecture: Linux/arm64'."\n"
+ .'- Specify the construction of dual architecture images: Linux/amd64, Linux/arm64'."\n"
+ .'- Do not input: default schema',
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Startup',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The startup probe can be used to detect the viability of slow start containers, avoiding them from being killed before startup. The format is as follows: {"FailureThreshold": 3, "initialDelaySeconds": 5, "SuccessThreshold": 1, "timeoutSeconds": 1, "https Get": {"path": "/consumer", "port": 8080, "scheme": "HTTP", "https Headers": [{"name": "test", "value": "testvalue"}]}.'."\n"
+ ."\n"
+ .'If set to "" or {}, it means delete, and if not set, it means ignore.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}',
+ ],
+ ],
+ [
+ 'name' => 'FeatureConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'CustomAgentVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SecurityContext',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'ApplicationInfo' => [
+ 'description' => 'The details of the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the change process ID. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'cd65b247-****-475b-ad4b-7039040d625c',
+ ],
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Dockerize' => [
+ 'description' => 'Indicates whether the application is a Docker application.'."\n"
+ ."\n"
+ .'* true: The application is a Docker application.'."\n"
+ .'* false: The application is not a Docker application.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Owner' => [
+ 'description' => 'The owner of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'zp',
+ ],
+ 'EdasId' => [
+ 'description' => 'The ID of the user to which the application belongs. This ID is generated by EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => '1172****6608****',
+ ],
+ 'ClusterType' => [
+ 'description' => 'The type of the cluster. Valid values:'."\n"
+ ."\n"
+ .'* 0: regular Docker cluster'."\n"
+ .'* 1: Swarm cluster (discontinued)'."\n"
+ .'* 2: Elastic Compute Service (ECS) cluster'."\n"
+ .'* 3: self-managed Kubernetes cluster in EDAS (discontinued)'."\n"
+ .'* 4: cluster in which Pandora automatically registers applications'."\n"
+ .'* 5: ACK cluster and serverless Kubernetes cluster'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'e83acea6-****-47e1-96ae-c0e95377****',
+ ],
+ 'UserId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the application belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas_test****@aliyun****.com',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"ApplicationInfo\\": {\\n \\"ChangeOrderId\\": \\"cd65b247-****-475b-ad4b-7039040d625c\\",\\n \\"AppName\\": \\"test\\",\\n \\"Dockerize\\": true,\\n \\"Owner\\": \\"zp\\",\\n \\"EdasId\\": \\"1172****6608****\\",\\n \\"ClusterType\\": 5,\\n \\"AppId\\": \\"e83acea6-****-47e1-96ae-c0e95377****\\",\\n \\"UserId\\": \\"edas_test****@aliyun****.com\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<InsertK8sApplicationResponse>\\n<RequestId>b197-40ab-9155-****</RequestId>\\n<Message>success</Message>\\n<ApplicationInfo>\\n <Dockerize>true</Dockerize>\\n <EdasId>1172****6608****</EdasId>\\n <Owner>zp</Owner>\\n <AppId>e83acea6-****-47e1-96ae-c0e95377****</AppId>\\n <UserId>edas_test****@aliyun****.com</UserId>\\n <ChangeOrderId>cd65b247-****-475b-ad4b-7039040d625c</ChangeOrderId>\\n <RegionId>cn-beijing</RegionId>\\n <ClusterType>5</ClusterType>\\n <AppName>test</AppName>\\n</ApplicationInfo>\\n<Code>200</Code>\\n</InsertK8sApplicationResponse>","errorExample":""}]',
+ 'title' => 'InsertK8sApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeployK8sApplication' => [
+ 'summary' => 'Deploys an application in a Container Service for Kubernetes (ACK) cluster or a serverless Kubernetes cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_apps',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PreStop',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The pre-stop script. Example: `{"tcpSocket":{"host":"", "port":8080}}`. If you want to cancel this configuration, set this parameter to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ ],
+ [
+ 'name' => 'Envs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The environment variables that are used to deploy the application. Set this parameter to a JSON array. Valid values: regular environment variables, Kubernetes ConfigMap environment variables, and Kubernetes Secret environment variables. Specify regular environment variables in the following format:'."\n"
+ ."\n"
+ .'`{"name":"x", "value": "y"}`'."\n"
+ ."\n"
+ .'Specify Kubernetes ConfigMap environment variables in the following format to reference values from ConfigMaps:'."\n"
+ ."\n"
+ .'`{ "name": "x2", "valueFrom": { "configMapKeyRef": { "name": "my-config", "key": "y2" } } }`'."\n"
+ ."\n"
+ .'Specify Kubernetes Secret environment variables in the following format to reference values from Secrets:'."\n"
+ ."\n"
+ .'`{ "name": "x3", "valueFrom": { "secretKeyRef": { "name": "my-secret", "key": "y3" } } }`'."\n"
+ ."\n"
+ .'> If you want to cancel this configuration, set this parameter to an empty JSON array, which is in the format of "\\[]".'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"x1","value":"y1"},{"name":"x2","valueFrom":{"configMapKeyRef":{"name":"my-config","key":"y2"}}},{"name":"x3","valueFrom":{"secretKeyRef":{"name":"my-secret","key":"y3"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'ImageTag',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag of the image.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'latest',
+ ],
+ ],
+ [
+ 'name' => 'BatchWaitTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum time interval for the phased release of pods. For more information, see [minReadySeconds](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#min-ready-seconds).'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'Command',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The commands that you run to start the container.'."\n"
+ ."\n"
+ .'> If you want to cancel this configuration, set this parameter to an empty string in the format of `""`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ls',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'e83acea6-****-47e1-96ae-c0e953772cdc',
+ ],
+ ],
+ [
+ 'name' => 'PostStart',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The post-start script. Example: `{"exec":{"command":\\["cat","/etc/group"\\]}}`. If you want to cancel this configuration, set this parameter to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"exec\\":{\\"command\\":[\\"ls\\",\\"/\\"]}}"',
+ ],
+ ],
+ [
+ 'name' => 'Readiness',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for the readiness check on the container. If the check fails, the traffic that passes through the Kubernetes service is not transmitted to the container. Example: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": \\[{"name": "test","value": "testvalue"}\\]}}`. If you want to cancel this configuration, set this parameter to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"httpGet": {"path": "/consumer","port": 8080,"scheme": "HTTP","httpHeaders": [{"name": "test","value": "testvalue"}]}}',
+ ],
+ ],
+ [
+ 'name' => 'Liveness',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for the liveness check on the container. Example: `{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}`. If you want to cancel this configuration, set this parameter to `""` or `{}`. If you do not specify this parameter, this configuration is ignored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}',
+ ],
+ ],
+ [
+ 'name' => 'Args',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The argument array in the container start-up command. Set this parameter to a JSON array in the format of `\\["args1","args2"\\]`, where each key is set to a string. If you want to cancel this configuration, set this parameter to an empty JSON array in the format of `"\\[\\]"`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["args1","args2"]',
+ ],
+ ],
+ [
+ 'name' => 'Replicas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of application instances. The minimum value is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Image',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The absolute URL of the image. This parameter setting overwrites the setting of the ImageTag parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'registry-vpc.cn-beijing.aliyuncs.com/t****/app:v1',
+ ],
+ ],
+ [
+ 'name' => 'CpuLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed for each application instance when the application is running. Unit: cores. Value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'MemoryLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of memory allowed for each application instance when the application is running. Unit: MB. Value 0 indicates that no limit is set on the memory size.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'CpuRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of CPU cores requested for each application instance when the application is running. Unit: cores. We recommend that you set this parameter. Value 0 indicates that no limit is set on CPU cores.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the CpuLimit parameter. Make sure that the value of this parameter does not exceed that of the CpuLimit parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'MemoryRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of memory requested for each application instance when the application is running. Unit: MB. We recommend that you set this parameter. If you do not want to apply for a memory quota, set this parameter to 0.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the MemoryLimit parameter. Make sure that the value of this parameter does not exceed that of the MemoryLimit parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'NasId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the File Storage NAS (NAS) file system mounted to the container in which the application is running. The NAS file system must be in the same region as the cluster. The NAS file system must have an available mount target, or have a mount target on the vSwitch in the virtual private cloud (VPC) in which the application resides. If you do not specify this parameter but specify the MountDescs parameter, a NAS file system is automatically purchased and mounted to the vSwitch in the VPC.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dfs23****',
+ ],
+ ],
+ [
+ 'name' => 'MountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the NAS mounting configuration. Set this parameter to a serialized JSON string. Example: `\\[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}\\]`. The nasPath parameter specifies the file storage path, and the mountPath parameter specifies the path to mount the file system to the container in which the application is running.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"nasPath": "/k8s","mountPath": "/mnt"},{"nasPath": "/files","mountPath": "/app/files"}]',
+ ],
+ ],
+ [
+ 'name' => 'StorageType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The storage type of the NAS file system.'."\n"
+ ."\n"
+ .'* Valid values for General-purpose NAS file systems: Capacity and Performance.'."\n"
+ .'* Valid values for Extreme NAS file systems: standard and advance.'."\n"
+ ."\n"
+ .'You can set this parameter only to Performance.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Performance',
+ ],
+ ],
+ [
+ 'name' => 'LocalVolume',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configurations that are used when the host files are mounted to the container on which the application is running. Example: `\\[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}\\]`. The nodePath parameter specifies the host path, the mountPath parameter specifies the path within the container, and the type parameter specifies the mounting type.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"type":"","nodePath":"/localfiles","mountPath":"/app/files"},{"type":"Directory","nodePath":"/mnt","mountPath":"/app/storage"}]',
+ ],
+ ],
+ [
+ 'name' => 'PackageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URL of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application.'."\n"
+ ."\n"
+ .'> The version of EDAS SDK for Java or Python must be V2.44.0 or later.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://e***.oss-cn-beijing.aliyuncs.com/s***-1.0-SNAPSHOT-spring-boot.jar',
+ ],
+ ],
+ [
+ 'name' => 'PackageVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the deployment package. This parameter is required if you use a FatJar or WAR package to deploy the application. You must specify a version.'."\n"
+ ."\n"
+ .'> The version of EDAS SDK for Java or Python must be V2.44.0 or later.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20200720',
+ ],
+ ],
+ [
+ 'name' => 'JDK',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the Java Development Kit (JDK) on which the deployment package of the application depends. Open JDK 7 and Open JDK 8 are supported. This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Open JDK 8',
+ ],
+ ],
+ [
+ 'name' => 'WebContainer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the Tomcat container on which the deployment package of the application depends. This parameter is applicable to Spring Cloud and Dubbo applications that you deploy by using WAR packages. This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'apache-tomcat-7.0.91',
+ ],
+ ],
+ [
+ 'name' => 'EdasContainerVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of EDAS Container on which the deployment package of the application depends. This parameter is applicable to High-Speed Service Framework (HSF) applications that you deploy by using WAR packages. This parameter is unavailable if you deploy applications by using images.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3.5.9',
+ ],
+ ],
+ [
+ 'name' => 'UriEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The URI encoding scheme. Valid values: ISO-8859-1, GBK, GB2312, and UTF-8.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter in the application configurations, the default URI encoding scheme in the Tomcat container is applied.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GBK',
+ ],
+ ],
+ [
+ 'name' => 'UseBodyEncoding',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to use the encoding scheme specified in the request body for URI query parameters.'."\n"
+ ."\n"
+ .'> If this parameter is not specified in application configuration, the default value false is applied.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'UpdateStrategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The phased release policy.'."\n"
+ ."\n"
+ .'* Example 1: One instance for a canary release + Two subsequent batches + Automatic batching + 1-minute batch interval.'."\n"
+ ."\n"
+ .'`{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}`'."\n"
+ ."\n"
+ .'* Example 2: One instance for a canary release + Two subsequent batches + Manual batching.'."\n"
+ ."\n"
+ .'`{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"manual"},"grayUpdate":{"gray":1}}`'."\n"
+ ."\n"
+ .'* Example 3: Two batches + Automatic batching + 0-minute batch interval.'."\n"
+ ."\n"
+ .'`{"type":"BatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":0}}`'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"type":"GrayBatchUpdate","batchUpdate":{"batch":2,"releaseType":"auto","batchWaitTime":1},"grayUpdate":{"gray":1}}',
+ ],
+ ],
+ [
+ 'name' => 'McpuRequest',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum number of CPU cores required. Unit: cores. Value 0 indicates that no limit is set on CPU cores.'."\n"
+ ."\n"
+ .'> You must set this parameter together with the CpuLimit parameter. Make sure that the value of this parameter does not exceed that of the CpuLimit parameter.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'McpuLimit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum number of CPU cores allowed. Unit: cores. Value 0 indicates that no limit is set on CPU cores.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'VolumesStr',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The data volume.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'PackageVersionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version ID of the deployment package.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2bcc********',
+ ],
+ ],
+ [
+ 'name' => 'ChangeOrderDesc',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The description of the change process.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Upgrade'."\n",
+ ],
+ ],
+ [
+ 'name' => 'RuntimeClassName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the container runtime. Valid values:'."\n"
+ ."\n"
+ .'* runc: standard container runtime'."\n"
+ .'* runv: sandboxed container runtime'."\n"
+ ."\n"
+ .'This parameter is applicable only to clusters that use sandboxed containers.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'runc',
+ ],
+ ],
+ [
+ 'name' => 'DeployAcrossZones',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to distribute application instances across zones. Value true indicates that application instances are distrubuted across zones. Other values indicate that application instances are not distributed across zones.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'BatchTimeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period for an at-a-time release. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'EnableAhas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable access to Application High Availability Service (AHAS).'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'WebContainerConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Tomcat container configuration. If you want to cancel this configuration, set this parameter to `""` or `"{}"`. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* useDefaultConfig: specifies whether to use the default configuration. Value true indicates to use the default configuration. Value false indicates to use the custom configuration. If the default configuration is used, the following parameters do not take effect.'."\n"
+ ."\n"
+ .'* contextInputType: the type of the access path for the application. Valid values:'."\n"
+ ."\n"
+ .' * war: The access path for the application is the name of the WAR package. You do not need to specify a custom path.'."\n"
+ .' * root: The access path for the application is /. You do not need to specify a custom path.'."\n"
+ .' * custom: If you select this option, you must specify a custom path for the contextPath parameter.'."\n"
+ ."\n"
+ .'* contextPath: the custom access path for the application. This parameter is required only when you set the contextInputType parameter to custom.'."\n"
+ ."\n"
+ .'* httpPort: the port number. The port number ranges from 1024 to 65535. Though the admin permissions are configured for the container, the root permissions are required to perform operations on ports whose number is less than 1024. Enter a value that ranges from 1025 to 65535 because the container has only the admin permissions. If you do not configure this parameter, the default port number 8080 is used.'."\n"
+ ."\n"
+ .'* maxThreads: the maximum number of connections in the connection pool. Default value: 400.'."\n"
+ ."\n"
+ .' **'."\n"
+ ."\n"
+ .' **Note**This parameter greatly affects the application performance. We recommend that you set this parameter under professional guidance.'."\n"
+ ."\n"
+ .'* uriEncoding: the URI encoding scheme in the Tomcat container. Valid values: UTF-8, ISO-8859-1, GBK, and GB2312. If you do not specify this parameter, the default value ISO-8859-1 is used.'."\n"
+ ."\n"
+ .'* useBodyEncoding: specifies whether to use the encoding scheme specified in the request body for URI query parameters.'."\n"
+ ."\n"
+ .'* useAdvancedServerXml: specifies whether to use advanced configurations to customize the `server.xml` file. If the preceding parameter types and specific parameters cannot meet your requirements, you can use advanced configurations to customize the `server.xml` file of Tomcat.'."\n"
+ ."\n"
+ .'* serverXml: the content of the `server.xml` file customized by using advanced configurations. This parameter takes effect only when you set the useAdvancedServerXml parameter to true.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"useDefaultConfig":false,"contextInputType":"custom","contextPath":"hello","httpPort":8088,"maxThreads":400,"uriEncoding":"UTF-8","useBodyEncoding":true,"useAdvancedServerXml":false}',
+ ],
+ ],
+ [
+ 'name' => 'JavaStartUpConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration of Java startup parameters for a Java application. These startup parameters involve the memory, application, garbage collection (GC) policy, tools, service registration and discovery, and custom configurations. Proper parameter settings help reduce the GC overheads, shorten the server response time, and improve the throughput. Set this parameter to a JSON string. In the example, original indicates the configuration value, and startup indicates a startup parameter. The system automatically concatenates all startup values as the settings of Java startup parameters for the application. To delete this configuration, leave the parameter value empty by entering `""` or `"{}"`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"InitialHeapSize":{"original":512,"startup":"-Xms512m"},"MaxHeapSize":{"original":1024,"startup":"-Xmx1024m"}}',
+ ],
+ ],
+ [
+ 'name' => 'SlsConfigs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Logstore configuration. If you want to cancel this configuration, leave the parameter value empty by entering `""` or `"{}"`.'."\n"
+ ."\n"
+ .'* The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .' * type: the collection type. Set this parameter to file to specify the file type. Set this parameter to stdout to specify the standard output type.'."\n"
+ ."\n"
+ .' * logstore: the name of the Logstore. Make sure that the name of the Logstore is unique in the cluster. The name must comply with the following rules:'."\n"
+ ."\n"
+ .' * The name can contain only lowercase letters, digits, hyphens (-), and underscores (\\_).'."\n"
+ .' * The name must start and end with a lowercase letter or a digit.'."\n"
+ .' * The name must be 3 to 63 characters in length. If you leave this parameter empty, the system automatically generates a name.'."\n"
+ ."\n"
+ .' * logDir: If the standard output type is used, the collection path is stdout.log. If the file type is used, the collection path is the path of the collected file. Wildcards (\\*) are supported. The collection path must match the following regular expression: `^/(.+)/(.*)^/$`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"logstore":"thisisanotherfilelog","type":"file","logDir":"/var/log/*"},{"logstore":"","type":"stdout","logDir":"stdout.log"},{"logstore":"thisisafilelog","type":"file","logDir":"/tmp/log/*"}]',
+ ],
+ ],
+ [
+ 'name' => 'DeployAcrossNodes',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to distribute application instances to multiple nodes. Value true indicates that application instances are distrubuted across zones. Other values indicate that application instances are not distributed across zones.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'TrafficControlStrategy',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The traffic adjustment policy for a canary release.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"http":{"rules":[{"conditionType":"percent","percent":10}]}}',
+ ],
+ ],
+ [
+ 'name' => 'PvcMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes PersistentVolumeClaim (PVC) to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* pvcName: the name of the PVC. Make sure that the volume exists and is in the Bound state.'."\n"
+ ."\n"
+ .'* mountPaths: the directory to which you want to mount the PVC. You can configure multiple directories. You can set the following two parameters for each mount directory:'."\n"
+ ."\n"
+ .' * mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n"
+ .' * readOnly: the mount mode. Value true indicates the read-only mode. Value false indicates the read and write mode. Default value: false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"pvcName":"nas-pvc-1","mountPaths":[{"mountPath":"/usr/share/nginx/data"},{"mountPath":"/usr/share/nginx/html","readOnly":true}]}]',
+ ],
+ ],
+ [
+ 'name' => 'ConfigMountDescs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes ConfigMap or Secret to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* name: the name of the Kubernetes ConfigMap or Secret.'."\n"
+ .'* type: the type of the API object that you want to mount. You can mount a Kubernetes ConfigMap or Secret.'."\n"
+ .'* mountPath: the mount path. The mount path must be an absolute path that starts with a forward slash (/).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '['."\n"
+ .' {'."\n"
+ .' "name": "nginx-config",'."\n"
+ .' "type": "ConfigMap",'."\n"
+ .' "mountPath": "/etc/nginx"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "name": "tls-secret",'."\n"
+ .' "type": "Secret",'."\n"
+ .' "mountPath": "/etc/ssh"'."\n"
+ .' }'."\n"
+ .']',
+ ],
+ ],
+ [
+ 'name' => 'EnvFroms',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Kubernetes environment variables that are configured in EnvFrom mode. A ConfigMap or Secret is mounted to a directory. Each key corresponds to a file in the directory, and the content of the file is the value of the key.'."\n"
+ ."\n"
+ .'This parameter contains the following parameters:'."\n"
+ ."\n"
+ .'* configMapRef: the ConfigMap that is referenced. The following parameter is contained:'."\n"
+ ."\n"
+ .' * name: the name of the ConfigMap.'."\n"
+ ."\n"
+ .'* secretRef: the Secret that is referenced. The following parameter is contained:'."\n"
+ ."\n"
+ .' * name: the name of the Secret.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"name":"appname","valueFrom":{"configMapKeyRef":{"name":"appconf","key":"name"}}}]',
+ ],
+ ],
+ [
+ 'name' => 'EmptyDirs',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration for mounting a Kubernetes emptyDir volume to a directory in an elastic container instance. The following parameters are included in the configuration:'."\n"
+ ."\n"
+ .'* mountPath: The mount path in the container. This parameter is required.'."\n"
+ .'* readOnly: (Optional) The mount mode. Value true indicates the read-only mode. Value false indicates the read and write mode. Default value: false.'."\n"
+ .'* subPathExpr: (Optional) The regular expression that is used to match the subdirectory.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"mountPath":"/app-log","subPathExpr":"$(POD_IP)"},{"readOnly":true,"mountPath":"/etc/nginx"}]',
+ ],
+ ],
+ [
+ 'name' => 'CustomAffinity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The affinity configuration of the pod. This parameter takes effect only if both the DeployAcrossNodes and DeployAcrossZones parameters are set to false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"beta.kubernetes.io/arch","operator":"NotIn","values":["arm64","arm32"]}]}]},"preferredDuringSchedulingIgnoredDuringExecution":[{"weight":5,"preference":{"matchExpressions":[{"key":"kubernetes.io/os","operator":"In","values":["linux"]}]}}]},"podAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":[{"namespaces":["default"],"topologyKey":"kubernetes.io/hostname","labelSelector":{"matchExpressions":[{"key":"edas.oam.acname","operator":"NotIn","values":["edas-test-app"]}]}}]},"podAntiAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"podAffinityTerm":{"namespaces":["default"],"topologyKey":"failure-domain.beta.kubernetes.io/zone","labelSelector":{"matchExpressions":[{"key":"edas.oam.acname","operator":"In","values":["edas-test-app-2"]}]}},"weight":15}]}}',
+ ],
+ ],
+ [
+ 'name' => 'CustomTolerations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The scheduling tolerance configuration of the pod. This parameter takes effect only if both the DeployAcrossNodes and DeployAcrossZones parameters are set to false.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"key":"edas-taint-key2","operator":"Exists","effect":"NoExecute","tolerationSeconds":50},{"key":"edas-taint-key","operator":"Equal","value":"edas-taint-value","effect":"PreferNoSchedule"}]',
+ ],
+ ],
+ [
+ 'name' => 'BuildPackId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The build package number of EDAS Container.'."\n"
+ ."\n"
+ .'* You do not need to set the parameter if you do not need to change the EDAS Container version during the deployment.'."\n"
+ .'* Set the parameter if you need to update the EDAS Container version of the application during the deployment.'."\n"
+ ."\n"
+ .'You can query the build package number by using one of the following methods:'."\n"
+ ."\n"
+ .'* Call the ListBuildPack operation. For more information, see [ListBuildPack](~~423222~~).'."\n"
+ .'* Obtain the value in the **Build package number** column of the [Release notes for EDAS Container](~~92614~~) topic. For example, `59` indicates `EDAS Container 3.5.8`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '59',
+ ],
+ ],
+ [
+ 'name' => 'Annotations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The annotation of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"annotation-name-1":"annotation-value-1","annotation-name-2":"annotation-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The label of an application pod.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"label-name-1":"label-value-1","label-name-2":"label-value-2"}',
+ ],
+ ],
+ [
+ 'name' => 'EnableEmptyPushReject',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否开启推空保护',
+ 'description' => 'Specifies whether to enable the empty list protection feature. Valid values:'."\n"
+ ."\n"
+ .'* true: enables the empty list protection feature.'."\n"
+ .'* false: disables the empty list protection feature.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'EnableLosslessRule',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损上线规则',
+ 'description' => 'Specifies whether to enable graceful start rules. Valid values:'."\n"
+ ."\n"
+ .'* true: enables graceful start rules.'."\n"
+ .'* false: disables graceful start rules.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleWarmupTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线服务预热时长',
+ 'description' => 'The service prefetching duration. Valid values: 0 to 86400. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '120',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleDelayTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线延迟注册时长',
+ 'description' => 'The delay of service registration. Valid values: 0 to 86400. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleFuncType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '无损上线服务预热曲线',
+ 'description' => 'The number of prefetching curves. Valid values: 0 to 20. The default value is 2, which is suitable for common prefetching scenarios. This value indicates that the received traffic amount of the provider during prefetching is displayed as a quadratic curve.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleAligned',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损滚动发布模式配置通过就绪检查前完成服务注册',
+ 'description' => 'Specifies whether to enable Graceful Rolling Release and configure Complete Service Registration before Readiness Probing. Valid values:'."\n"
+ ."\n"
+ .'* true: If you turn on the switch, the system uses the /health path and provides port 55199 for the health check. The system does not intrude into the application. When the service is registered, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.'."\n"
+ ."\n"
+ .'> If you set both the LosslessRuleRelated parameter and this parameter to true, the operation checks whether the service prefetching is complete.'."\n"
+ ."\n"
+ .'* false: If you turn off the switch, the system does not provide a port to check whether the service is registered.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'LosslessRuleRelated',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '是否启用无损滚动发布模式配置通过就绪检查前完成服务预热',
+ 'description' => 'Specifies whether to enable Graceful Rolling Release and configure Complete Service Prefetching before Readiness Probing. Valid values:'."\n"
+ ."\n"
+ .'* true: If you turn on the switch, the system uses the /health path and provides port 55199 for the health check. The system does not intrude into the application. When service prefetching is complete, the system returns HTTP 200 status code. Otherwise, the system returns HTTP 500 status code.'."\n"
+ .'* false: If you turn off the switch, the system does not provide a port to check whether service prefetching is complete.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'LimitEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The maximum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the ephemeral storage space.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'RequestsEphemeralStorage',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The minimum size of space required by ephemeral storage. Unit: GB. Value 0 indicates that no limit is set on the ephemeral storage space.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Sidecars',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '['."\n"
+ .' {'."\n"
+ .' "yamlEncoded": "Y29tbWFuZDoKICAtIHRhaWwKICAtICctZicKICAtIC9kZXYvbnVsbAppbWFnZTogJ2J1c3lib3g6bGF0ZXN0JwpuYW1lOiBidXN5Ym94Cg=="'."\n"
+ .' }'."\n"
+ .']',
+ ],
+ ],
+ [
+ 'name' => 'InitContainers',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '['."\n"
+ .' {'."\n"
+ .' "yamlEncoded": "Y29tbWFuZDoKICAtIHNsZWVwCiAgLSAnNjAnCmltYWdlOiAnYnVzeWJveDpsYXRlc3QnCm5hbWU6IGluaXQtYnVzeWJveAo="'."\n"
+ .' }'."\n"
+ .']',
+ ],
+ ],
+ [
+ 'name' => 'UserBaseImageUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'openjdk:8u302',
+ ],
+ ],
+ [
+ 'name' => 'CanaryRuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a8daf22e-****-968c7ff2ea34',
+ ],
+ ],
+ [
+ 'name' => 'TerminateGracePeriod',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '120',
+ ],
+ ],
+ [
+ 'name' => 'ImagePlatforms',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '镜像目标平台架构,当使用war、jar部署时有效,输入样例:'."\n"
+ .'1.指定x86 64架构:linux/amd64'."\n"
+ .'2.指定arm 64架构:linux/arm64'."\n"
+ .'3.指定构建双架构镜像:linux/amd64,linux/arm64'."\n"
+ .'4.不输入:默认架构',
+ 'description' => 'The destination image platform. This parameter takes effect only when you deploy applications by using .war or .jar packages.'."\n"
+ ."\n"
+ .'* If you want to specify x86\\_64, set the value to linux/amd64.'."\n"
+ .'* If you want to specify ARM64, set the value to linux/arm64.'."\n"
+ .'* If you want to specify both x86\\_64 and ARM64, set the value to linux/amd64,linux/arm64.'."\n"
+ .'* If you leave this parameter empty, the default architecture is used.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Startup',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"failureThreshold": 3,"initialDelaySeconds": 5,"successThreshold": 1,"timeoutSeconds": 1,"tcpSocket":{"host":"", "port":8080}}',
+ ],
+ ],
+ [
+ 'name' => 'CustomAgentVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3.1.4',
+ ],
+ ],
+ [
+ 'name' => 'SecurityContext',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the change process ID. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'cd65b247-****-475b-ad4b-7039040d625c',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de*****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"cd65b247-****-475b-ad4b-7039040d625c\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de*****\\"\\n}","errorExample":""},{"type":"xml","example":"<DeployK8sApplicationResponse>\\n <ChangeOrderId>cd65b247-****-475b-ad4b-7039040d625c</ChangeOrderId>\\n <Code>200</Code>\\n <Message>success</Message>\\n <RequestId>a5281053-08e4-47a5-b2ab-5c0323de*****</RequestId>\\n</DeployK8sApplicationResponse>","errorExample":""}]',
+ 'title' => 'DeployK8sApplication',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ScaleK8sApplication' => [
+ 'summary' => 'Scales out or in an application that is deployed in a Container Service for Kubernetes (ACK) cluster.',
+ 'path' => '/pop/v5/k8s/acs/k8s_apps',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '23bf94d9-****-4994-****-616a827aa777',
+ ],
+ ],
+ [
+ 'name' => 'Replicas',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The expected number of application instances after the scale-out or scale-in. The minimum number is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'docRequired' => true,
+ 'minimum' => '0',
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process. You can call the GetChangeOrderInfo operation to query the progress of this scaling operation. For more information, see [GetChangeOrderInfo](~~62072~~).'."\n",
+ 'type' => 'string',
+ 'example' => '9d7232b2-****-****-b9d9-7e17695779ab',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"9d7232b2-****-****-b9d9-7e17695779ab\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>9d7232b2-****-****-b9d9-7e17695779ab</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'RestartK8sApplication' => [
+ 'path' => '/pop/v5/k8s/acs/restart_k8s_app',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93fdd228-********ed2ae98de18d',
+ ],
+ ],
+ [
+ 'name' => 'Timeout',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The timeout period of the change process. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '*********-ed2ae98de18d',
+ ],
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '03FD1520-0FD6-436A-****-265318D7****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ChangeOrderId\\": \\"*********-ed2ae98de18d\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"03FD1520-0FD6-436A-****-265318D7****\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>03FD1520-0FD6-436A-****-265318D7****</RequestId>\\n<Message>success</Message>\\n<ChangeOrderId>*********-ed2ae98de18d</ChangeOrderId>\\n<Code>200</Code>","errorExample":""}]',
+ 'summary' => 'Restarts an application that is deployed in a Container Service for Kubernetes (ACK) cluster or a serverless Kubernetes cluster.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ConvertK8sResource' => [
+ 'path' => '/pop/v5/oam/k8s_resource_convert',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource that is used. Set the value to deployment.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'deployment',
+ 'default' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the resource.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'deployment-to-convert',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'default',
+ 'default' => '',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster. You can call the ListCluster operation to query the cluster ID. For more information, see [ListCluster](~~154995~~).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'b07c8192-****-adf4f7447720',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'convert success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'BA938591-*********-9690-BFD3F4DD7A93',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"convert success\\",\\n \\"RequestId\\": \\"BA938591-*********-9690-BFD3F4DD7A93\\"\\n}","type":"json"}]',
+ 'summary' => 'Converts a Deployment into an application.',
+ ],
+ 'AbortAndRollbackChangeOrder' => [
+ 'path' => '/pop/v5/changeorder/change_order_abort_and_rollback',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ChangeOrderId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '6b55106c-c7f2-40f7-a1d4-092870*****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '81E0B333-2871-****-****-B8F5FF43****',
+ ],
+ 'TraceId' => [
+ 'description' => 'The ID of the trace.'."\n",
+ 'type' => 'string',
+ 'example' => '210f07bf1640239405712621******',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'The error code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The information about the change process.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ChangeOrderId' => [
+ 'description' => 'The ID of the change process.'."\n",
+ 'type' => 'string',
+ 'example' => '4f40e616-cdcd-4250-a018-efd459******',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"81E0B333-2871-****-****-B8F5FF43****\\",\\n \\"TraceId\\": \\"210f07bf1640239405712621******\\",\\n \\"ErrorCode\\": \\"success\\",\\n \\"Data\\": {\\n \\"ChangeOrderId\\": \\"4f40e616-cdcd-4250-a018-efd459******\\"\\n }\\n}","type":"json"}]',
+ 'summary' => 'Terminates a change process and rolls back the application. This operation is applicable to applications that are deployed in Container Service for Kubernetes (ACK) clusters.',
+ ],
+ 'UpdateLocalitySetting' => [
+ 'summary' => 'Updates local configurations.',
+ 'path' => '/pop/sp/applications/locality/setting',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'NamespaceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'bfa00cfb-9642-4292-bb78-1d7d4c86004c',
+ ],
+ ],
+ [
+ 'name' => 'Enabled',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '15',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de*****',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Threshold' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '15',
+ ],
+ 'Enabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de*****\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Threshold\\": 15,\\n \\"Enabled\\": true\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateLocalitySetting',
+ ],
+ 'DeleteServiceGroup' => [
+ 'summary' => 'Deletes a service group.',
+ 'path' => '/pop/v5/service/serviceGroups',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the service group that you want to delete.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '789d9cda-74b1-****-****-05e21a0a7661',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECD1D6FC-4307-4583-BA6F-215F38****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"ECD1D6FC-4307-4583-BA6F-215F38****\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteServiceGroup',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetServiceConsumersPage' => [
+ 'path' => '/pop/sp/api/mseForOam/getServiceConsumersPage',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:doc-test',
+ ],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the data. Valid values:'."\n"
+ ."\n"
+ .'* agent: Use this value if you use the service query feature of the latest version to pass the query result.'."\n"
+ .'* registry: Use this value if you use the service query feature of the earlier version to pass the query result.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'agent',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dubbo',
+ ],
+ ],
+ [
+ 'name' => 'appId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'efbda488-7b33-432f-a40d-****0047****',
+ ],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the service. Set the value to edas.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas',
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the service. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0.0',
+ ],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The service group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DUBBO',
+ ],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP address of the service provider. Fuzzy searches are supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.20.x.xx',
+ ],
+ ],
+ [
+ 'name' => 'registryType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service registry. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nacos',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the request is successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalPages' => [
+ 'description' => 'The total number of returned pages.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalElements' => [
+ 'description' => 'The total number of returned entries.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'Size' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Content' => [
+ 'description' => 'The data array that is returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object of the data array.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Ip' => [
+ 'description' => 'The IP address of the service consumer.'."\n",
+ 'type' => 'string',
+ 'example' => '10.20.x.xx',
+ ],
+ 'EdasAppName' => [
+ 'description' => 'The name of the service consumer.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-lq-cartservice',
+ ],
+ 'EdassAppId' => [
+ 'description' => 'The ID of the service consumer.'."\n",
+ 'type' => 'string',
+ 'example' => 'efbda488-7b33-432f-a40d-****0047****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 3,\\n \\"Size\\": 5,\\n \\"Content\\": [\\n {\\n \\"Ip\\": \\"10.20.x.xx\\",\\n \\"EdasAppName\\": \\"k8s-lq-cartservice\\",\\n \\"EdassAppId\\": \\"efbda488-7b33-432f-a40d-****0047****\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceConsumersPage>\\n<Message>success</Message>\\n<Data>\\n <Size>5</Size>\\n <Content>\\n <EdassAppId>efbda488-7b33-432f-a40d-****0047****</EdassAppId>\\n <EdasAppName>k8s-lq-cartservice</EdasAppName>\\n <Ip>10.20.x.xx</Ip>\\n </Content>\\n <TotalElements>3</TotalElements>\\n <TotalPages>1</TotalPages>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</GetServiceConsumersPage>","errorExample":""}]',
+ 'title' => 'GetServiceConsumersPage',
+ 'summary' => 'Queries service consumers.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetServiceListPage' => [
+ 'path' => '/pop/sp/api/mseForOam/getServiceListPage',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cn-hangzhou:doc-test',
+ ],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the data. Valid values:'."\n"
+ ."\n"
+ .'* `agent`: Use this value if you use the service query feature of the latest version to pass the query result.'."\n"
+ .'* `registry`: Use this value if you use the service query feature of the earlier version to pass the query result.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Agent',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service. Valid values:'."\n"
+ ."\n"
+ .'* `dubbo`'."\n"
+ .'* `springCloud`'."\n"
+ .'* `hsf`'."\n"
+ .'* `istio`'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SpringCloud',
+ ],
+ ],
+ [
+ 'name' => 'searchType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service. Valid values:'."\n"
+ ."\n"
+ .'* `app`: searches by application.'."\n"
+ .'* `service`: searches by service.'."\n"
+ .'* `providerIp`: searches by IP address.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'App',
+ ],
+ ],
+ [
+ 'name' => 'searchValue',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The keyword used for the search.'."\n"
+ ."\n"
+ .'* Set this parameter to the ID of the application if you set the searchType parameter to app.``'."\n"
+ .'* Set this parameter to the name of the service if you set the serachType parameter to service.``'."\n"
+ .'* Set this parameter to the IP address of the application if you set the searchType parameter to providerIp.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibaba.edas.HelloService',
+ ],
+ ],
+ [
+ 'name' => 'side',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies the provider side or the consumer side. Valid values:'."\n"
+ ."\n"
+ .'* provider'."\n"
+ .'* consumer'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'provider',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from Page 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the request is successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Data' => [
+ 'description' => 'The returned data.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalPages' => [
+ 'description' => 'The total number of returned pages.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalElements' => [
+ 'description' => 'The total number of returned entries.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'Size' => [
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8',
+ ],
+ 'Content' => [
+ 'description' => 'The data array that is returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EdasAppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'k8s-lq-cartservice',
+ ],
+ 'InstanceNum' => [
+ 'description' => 'The number of instances.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Version' => [
+ 'description' => 'The version number.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0.0',
+ ],
+ 'ServiceId' => [
+ 'description' => 'The ID of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'EdasAppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'efbda488-7b33-432f-****-36530047****',
+ ],
+ 'ServiceName' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ 'RegisterType' => [
+ 'description' => 'The type of the service registry.'."\n",
+ 'type' => 'string',
+ 'example' => 'xx',
+ ],
+ 'Group' => [
+ 'description' => 'The service group.'."\n",
+ 'type' => 'string',
+ 'example' => 'DUBBO',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 6,\\n \\"Size\\": 8,\\n \\"Content\\": [\\n {\\n \\"EdasAppName\\": \\"k8s-lq-cartservice\\",\\n \\"InstanceNum\\": 1,\\n \\"Version\\": \\"1.0.0\\",\\n \\"ServiceId\\": \\"xx\\",\\n \\"EdasAppId\\": \\"efbda488-7b33-432f-****-36530047****\\",\\n \\"ServiceName\\": \\"com.alibabacloud.hipstershop.CartService\\",\\n \\"RegisterType\\": \\"xx\\",\\n \\"Group\\": \\"DUBBO\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceListPageResponse>\\n <Code>200</Code>\\n <Message>success</Message>\\n <Success>true</Success>\\n <Data>\\n <TotalPages>1</TotalPages>\\n <TotalElements>6</TotalElements>\\n <Size>8</Size>\\n <Content>\\n <EdasAppName>k8s-lq-cartservice</EdasAppName>\\n <InstanceNum>1</InstanceNum>\\n <Version>1.0.0</Version>\\n <ServiceId>xx</ServiceId>\\n <EdasAppId>efbda488-7b33-432f-****-36530047****</EdasAppId>\\n <ServiceName>com.alibabacloud.hipstershop.CartService</ServiceName>\\n <RegisterType>xx</RegisterType>\\n <Group>DUBBO</Group>\\n </Content>\\n </Data>\\n</GetServiceListPageResponse>","errorExample":""}]',
+ 'title' => 'GetServiceListPage',
+ 'summary' => 'Queries services.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetServiceMethodPage' => [
+ 'path' => '/pop/sp/api/mseForOam/getServiceMethodPage',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:doc-test',
+ ],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the data. Valid values:'."\n"
+ ."\n"
+ .'* agent: Use this value if you use the service query feature of the latest version to pass the query result.'."\n"
+ .'* registry: Use this value if you use the service query feature of the earlier version to pass the query result.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'agent',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service. Valid values:'."\n"
+ ."\n"
+ .'* dubbo: Dubbo service'."\n"
+ .'* springCloud: Spring Cloud service'."\n"
+ .'* hsf: High-speed Service Framework (HSF) service'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'springCloud',
+ ],
+ ],
+ [
+ 'name' => 'appId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '310b18c3-1dbe-4807-****-18d7d637****',
+ ],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the service. Set the value to edas.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas',
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas.service.consumer',
+ ],
+ ],
+ [
+ 'name' => 'serviceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas.service.consumer',
+ ],
+ ],
+ [
+ 'name' => 'serviceVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0.0',
+ ],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The group to which the service belongs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DUBBO',
+ ],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP address of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '127.0.0.1',
+ ],
+ ],
+ [
+ 'name' => 'registryType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service registry.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nacos',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'methodController',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The controller method.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.aliware.edas.DemoController',
+ ],
+ ],
+ [
+ 'name' => 'path',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The request path.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '/echo/{str}',
+ ],
+ ],
+ [
+ 'name' => 'name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the method.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'echo',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'HttpCode' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'BDC0C0FE-D63B-4FC8-****-4081C57E****',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the request is successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'PageNumber' => [
+ 'description' => 'The page number of the returned page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalSize' => [
+ 'description' => 'The total number of entries.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'Result' => [
+ 'description' => 'The data about the method.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterDetails' => [
+ 'description' => 'The details of the parameters.'."\n",
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'NameDetail' => [
+ 'description' => 'The details of the method.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'ParameterNames' => [
+ 'description' => 'The name of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'echo',
+ ],
+ 'ParameterDefinitions' => [
+ 'description' => 'The definition of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"description":"","name":"arg0","type":"java.lang.String"}]',
+ ],
+ 'Paths' => [
+ 'description' => 'The method path.'."\n",
+ 'type' => 'string',
+ 'example' => '/consumer/alive',
+ ],
+ 'ParameterTypes' => [
+ 'description' => 'The data type of the parameter.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.String',
+ ],
+ 'RequestMethods' => [
+ 'description' => 'The request method.'."\n",
+ 'type' => 'string',
+ 'example' => 'GET',
+ ],
+ 'ReturnDetails' => [
+ 'description' => 'The details of the response.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.String',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the method.'."\n",
+ 'type' => 'string',
+ 'example' => 'echo',
+ ],
+ 'MethodController' => [
+ 'description' => 'The method.'."\n",
+ 'type' => 'string',
+ 'example' => 'com.aliware.edas.EchoController',
+ ],
+ 'ReturnType' => [
+ 'description' => 'The data format of the response.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.String',
+ ],
+ 'ReturnDefinition' => [
+ 'description' => 'The return value.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The data format of the response.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.String',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the return value.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpCode\\": \\"200\\",\\n \\"RequestId\\": \\"BDC0C0FE-D63B-4FC8-****-4081C57E****\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 6,\\n \\"Result\\": [\\n {\\n \\"ParameterDetails\\": \\"{}\\",\\n \\"NameDetail\\": \\"name\\",\\n \\"ParameterNames\\": \\"echo\\",\\n \\"ParameterDefinitions\\": \\"[{\\\\\\"description\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"arg0\\\\\\",\\\\\\"type\\\\\\":\\\\\\"java.lang.String\\\\\\"}]\\",\\n \\"Paths\\": \\"/consumer/alive\\",\\n \\"ParameterTypes\\": \\"java.lang.String\\",\\n \\"RequestMethods\\": \\"GET\\",\\n \\"ReturnDetails\\": \\"java.lang.String\\",\\n \\"Name\\": \\"echo\\",\\n \\"MethodController\\": \\"com.aliware.edas.EchoController\\",\\n \\"ReturnType\\": \\"java.lang.String\\",\\n \\"ReturnDefinition\\": {\\n \\"Type\\": \\"java.lang.String\\",\\n \\"Id\\": \\"1\\"\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceMethodPage>\\n<HttpCode>200</HttpCode>\\n<RequestId>BDC0C0FE-D63B-4FC8-****-4081C57E****</RequestId>\\n<Message>success</Message>\\n<Data>\\n <PageSize>10</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalSize>6</TotalSize>\\n <Result>\\n <ParameterDefinitions>[{\\"description\\":\\"\\",\\"name\\":\\"arg0\\",\\"type\\":\\"java.lang.String\\"}]</ParameterDefinitions>\\n <ParameterNames>echo</ParameterNames>\\n <ParameterDetails>{}</ParameterDetails>\\n <MethodController>com.aliware.edas.EchoController</MethodController>\\n <Paths>/consumer/alive</Paths>\\n <RequestMethods>GET</RequestMethods>\\n <ParameterTypes>java.lang.String</ParameterTypes>\\n <ReturnType>java.lang.String</ReturnType>\\n <ReturnDetails>java.lang.String</ReturnDetails>\\n <NameDetail>name</NameDetail>\\n <Name>echo</Name>\\n </Result>\\n <Result>\\n <ReturnDefinition>\\n <Type>java.lang.String</Type>\\n <Id>1</Id>\\n </ReturnDefinition>\\n </Result>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</GetServiceMethodPage>","errorExample":""}]',
+ 'title' => 'GetServiceMethodPage',
+ 'summary' => 'Queries service methods.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetServiceProvidersPage' => [
+ 'path' => '/pop/sp/api/mseForOam/getServiceProvidersPage',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou:doc-test',
+ ],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of data. Valid values:'."\n"
+ ."\n"
+ .'* agent: Use this value if you use the service query feature of the latest version to pass the query result.'."\n"
+ .'* registry: Use this value if you use the service query feature of the earlier version to pass the query result.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'agent',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service. Valid values:'."\n"
+ ."\n"
+ .'* dubbo: Dubbo service'."\n"
+ .'* springCloud: Spring Cloud service'."\n"
+ .'* hsf: High-speed Service Framework (HSF) service'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dubbo',
+ ],
+ ],
+ [
+ 'name' => 'appId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'efbda488-7b33-432f-a40d-****0047****',
+ ],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the service. Set the value to edas.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas',
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the service. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0.0',
+ ],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The group to which the service belongs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DUBBO',
+ ],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP address of the service provider. Fuzzy searches are supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.20.x.xx',
+ ],
+ ],
+ [
+ 'name' => 'registryType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service registry. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nacos',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from Page 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the request is successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Data' => [
+ 'description' => 'The data structure.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalPages' => [
+ 'description' => 'The total number of returned pages.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalElements' => [
+ 'description' => 'The total number of returned entries.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Size' => [
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'Content' => [
+ 'description' => 'The data array returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the data array.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Timeout' => [
+ 'description' => 'The service timeout period.'."\n",
+ 'type' => 'string',
+ 'example' => '1000',
+ ],
+ 'Ip' => [
+ 'description' => 'The IP address of the service provider.'."\n",
+ 'type' => 'string',
+ 'example' => '10.20.XX.XX',
+ ],
+ 'Port' => [
+ 'description' => 'The port number of the service provider.'."\n",
+ 'type' => 'string',
+ 'example' => '12345',
+ ],
+ 'Iannotations' => [
+ 'description' => 'The remarks of the service provider.'."\n",
+ 'type' => 'string',
+ 'example' => '172.178.XX.XX',
+ ],
+ 'SerializeType' => [
+ 'description' => 'The serialization type.'."\n",
+ 'type' => 'string',
+ 'example' => 'hessian2',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TotalPages\\": 1,\\n \\"TotalElements\\": 1,\\n \\"Size\\": 5,\\n \\"Content\\": [\\n {\\n \\"Timeout\\": \\"1000\\",\\n \\"Ip\\": \\"10.20.XX.XX\\",\\n \\"Port\\": \\"12345\\",\\n \\"Iannotations\\": \\"172.178.XX.XX\\",\\n \\"SerializeType\\": \\"hessian2\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceProvidersPage>\\n<Message>success</Message>\\n<Data>\\n <Size>5</Size>\\n <Content>\\n <SerializeType>hessian2</SerializeType>\\n <Timeout>1000</Timeout>\\n <Port>12345</Port>\\n <Ip>10.20.x.xx</Ip>\\n </Content>\\n <TotalElements>1</TotalElements>\\n <TotalPages>1</TotalPages>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</GetServiceProvidersPage>","errorExample":""}]',
+ 'title' => 'GetServiceProvidersPage',
+ 'summary' => 'Queries service providers.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListConsumedServices' => [
+ 'path' => '/pop/v5/service/listConsumedServices',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'a66c5d1f-****-****-8c2b-6925f781b203',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'ConsumedServicesList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ListConsumedServices' => [
+ 'description' => 'The information about consumed services.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DockerApplication' => [
+ 'description' => 'Indicates whether the application runs in a Docker container. Valid values:'."\n"
+ ."\n"
+ .'* true: The application runs in a Docker container.'."\n"
+ .'* false: The application does not run in a Docker container.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the consumed service.'."\n",
+ 'type' => 'string',
+ 'example' => 'HSF',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the consumed service.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'Group2Ip' => [
+ 'description' => 'A reserved parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the consumed service.'."\n",
+ 'type' => 'string',
+ 'example' => 'service',
+ ],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ip' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The address where the service can be subscribed to.'."\n",
+ 'type' => 'string',
+ 'example' => '102.XX.XX.23',
+ ],
+ ],
+ ],
+ ],
+ 'Groups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'group' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The service group that corresponds to the consumed service.'."\n",
+ 'type' => 'string',
+ 'example' => '”group“',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"ConsumedServicesList\\": {\\n \\"ListConsumedServices\\": [\\n {\\n \\"DockerApplication\\": true,\\n \\"Type\\": \\"HSF\\",\\n \\"Version\\": \\"1.0\\",\\n \\"AppId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"Group2Ip\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Name\\": \\"service\\",\\n \\"Ips\\": {\\n \\"ip\\": [\\n \\"102.XX.XX.23\\"\\n ]\\n },\\n \\"Groups\\": {\\n \\"group\\": [\\n \\"”group“\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ConsumedServicesList>\\n</ConsumedServicesList>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListConsumedServices',
+ 'summary' => 'Queries the services that are consumed by an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListPublishedServices' => [
+ 'path' => '/pop/v5/service/listPublishedServices',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '1fbd8b72-****-****-bdfe-478dbc914121',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '1D6FC-4307-4583-BA6F-215F3857E****',
+ ],
+ 'PublishedServicesList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ListPublishedServices' => [
+ 'description' => 'The published services.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DockerApplication' => [
+ 'description' => 'Indicates whether the application runs in a Docker container. Valid values:'."\n"
+ ."\n"
+ .'* true: The application runs in a Docker container.'."\n"
+ .'* false: The application does not run in a Docker container.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the published service.'."\n",
+ 'type' => 'string',
+ 'example' => 'RESTful',
+ ],
+ 'Version' => [
+ 'description' => 'The version of the published services.'."\n",
+ 'type' => 'string',
+ 'example' => '--',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECD1D6FC-4307-4583-BA6F-215F3857E****',
+ ],
+ 'Group2Ip' => [
+ 'description' => 'A reserved parameter.'."\n",
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the published service.'."\n",
+ 'type' => 'string',
+ 'example' => 'providers:com.****',
+ ],
+ 'Ips' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ip' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The address where the service can be subscribed to.'."\n",
+ 'type' => 'string',
+ 'example' => '112.XX.XX.24',
+ ],
+ ],
+ ],
+ ],
+ 'Groups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'group' => [
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The service group that corresponds to the published service.'."\n",
+ 'type' => 'string',
+ 'example' => 'DEFAULT_GROUP',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1D6FC-4307-4583-BA6F-215F3857E****\\",\\n \\"PublishedServicesList\\": {\\n \\"ListPublishedServices\\": [\\n {\\n \\"DockerApplication\\": false,\\n \\"Type\\": \\"RESTful\\",\\n \\"Version\\": \\"--\\",\\n \\"AppId\\": \\"ECD1D6FC-4307-4583-BA6F-215F3857E****\\",\\n \\"Group2Ip\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Name\\": \\"providers:com.****\\",\\n \\"Ips\\": {\\n \\"ip\\": [\\n \\"112.XX.XX.24\\"\\n ]\\n },\\n \\"Groups\\": {\\n \\"group\\": [\\n \\"DEFAULT_GROUP\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>\\n<PublishedServicesList>\\n <ListPublishedServices>\\n <Groups>\\n <group>DEFAULT_GROUP</group>\\n </Groups>\\n <Name>providers:com.****</Name>\\n <DockerApplication>false</DockerApplication>\\n <Type>RESTful</Type>\\n <Group2Ip/>\\n <Version>--</Version>\\n <Ips>\\n </Ips>\\n </ListPublishedServices>\\n</PublishedServicesList>","errorExample":""}]',
+ 'title' => 'ListPublishedServices',
+ 'summary' => 'Queries the services that are published by an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetServiceDetail' => [
+ 'path' => '/pop/sp/api/mseForOam/getServiceDetail',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou:doc-test',
+ ],
+ ],
+ [
+ 'name' => 'origin',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the data. Valid values:'."\n"
+ ."\n"
+ .'* agent: Use this value if you use the service query feature of the latest version to pass the query result.'."\n"
+ .'* registry: Use this value if you use the service query feature of the earlier version to pass the query result.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'agent',
+ ],
+ ],
+ [
+ 'name' => 'serviceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service. Valid values:'."\n"
+ ."\n"
+ .'* dubbo'."\n"
+ .'* springCloud'."\n"
+ .'* hsf'."\n"
+ .'* istio'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'springCloud',
+ ],
+ ],
+ [
+ 'name' => 'appId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'efbda488-7b33-432f-a40d-****0047****',
+ ],
+ ],
+ [
+ 'name' => 'source',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The source of the service. Set the value to edas.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'edas',
+ ],
+ ],
+ [
+ 'name' => 'serviceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the service. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'com.alibabacloud.hipstershop.CartService',
+ ],
+ ],
+ [
+ 'name' => 'serviceVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The version of the service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1.0.0',
+ ],
+ ],
+ [
+ 'name' => 'group',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The group to which the service belongs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DUBBO',
+ ],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The IP address of the service provider. Fuzzy searches are supported.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10.20.x.xx',
+ ],
+ ],
+ [
+ 'name' => 'registryType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the service registry. This parameter is deprecated. You can ignore it.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'nacos',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message returned for the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the call was successful.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Data' => [
+ 'description' => 'The data structure.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EdasAppName' => [
+ 'description' => 'The name of the Enterprise Distributed Application Service (EDAS) application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test123',
+ ],
+ 'DubboApplicationName' => [
+ 'description' => 'The name of the Dubbo application.'."\n",
+ 'type' => 'string',
+ 'example' => 'cartservice',
+ ],
+ 'Version' => [
+ 'description' => 'The version number.'."\n",
+ 'type' => 'string',
+ 'example' => '1.0.0',
+ ],
+ 'RegistryType' => [
+ 'description' => 'The type of the service registry.'."\n",
+ 'type' => 'string',
+ 'example' => 'agent',
+ ],
+ 'SpringApplicationName' => [
+ 'description' => 'The name of the Spring application.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas.service.consumer',
+ ],
+ 'ServiceType' => [
+ 'description' => 'The type of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'springCloud',
+ ],
+ 'ServiceName' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas.service.consumer',
+ ],
+ 'Metadata' => [
+ 'description' => 'The metadata.'."\n",
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'Group' => [
+ 'description' => 'The group.'."\n",
+ 'type' => 'string',
+ 'example' => 'dubbo',
+ ],
+ 'Methods' => [
+ 'description' => 'The methods.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ParameterDetails' => [
+ 'description' => 'The parameter details.'."\n",
+ 'type' => 'string',
+ 'example' => '{}',
+ ],
+ 'NameDetail' => [
+ 'description' => 'The specific name.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ParameterNames' => [
+ 'description' => 'The parameter names.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ParameterDefinitions' => [
+ 'description' => 'The parameter definitions.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"description":"","name":"arg0","type":"java.lang.String"}]',
+ ],
+ 'Paths' => [
+ 'description' => 'The method paths.'."\n",
+ 'type' => 'string',
+ 'example' => '["/consumer-echo/feign/{str}"]',
+ ],
+ 'ParameterTypes' => [
+ 'description' => 'The parameter types.'."\n",
+ 'type' => 'string',
+ 'example' => '["java.lang.String"]',
+ ],
+ 'RequestMethods' => [
+ 'description' => 'The request methods.'."\n",
+ 'type' => 'string',
+ 'example' => 'GET',
+ ],
+ 'ReturnDetails' => [
+ 'description' => 'The response details.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'feign2',
+ ],
+ 'MethodController' => [
+ 'description' => 'The controllers.'."\n",
+ 'type' => 'string',
+ 'example' => 'com.aliware.edas.DemoController',
+ ],
+ 'ReturnType' => [
+ 'description' => 'The type of the response.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.String',
+ ],
+ 'ReturnDefinition' => [
+ 'description' => 'The definition of the value returned by the method.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the response.'."\n",
+ 'type' => 'string',
+ 'example' => 'foo',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the return value.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"EdasAppName\\": \\"test123\\",\\n \\"DubboApplicationName\\": \\"cartservice\\",\\n \\"Version\\": \\"1.0.0\\",\\n \\"RegistryType\\": \\"agent\\",\\n \\"SpringApplicationName\\": \\"edas.service.consumer\\",\\n \\"ServiceType\\": \\"springCloud\\",\\n \\"ServiceName\\": \\"edas.service.consumer\\",\\n \\"Metadata\\": \\"{}\\",\\n \\"Group\\": \\"dubbo\\",\\n \\"Methods\\": [\\n {\\n \\"ParameterDetails\\": \\"{}\\",\\n \\"NameDetail\\": \\"test\\",\\n \\"ParameterNames\\": \\"test\\",\\n \\"ParameterDefinitions\\": \\"[{\\\\\\"description\\\\\\":\\\\\\"\\\\\\",\\\\\\"name\\\\\\":\\\\\\"arg0\\\\\\",\\\\\\"type\\\\\\":\\\\\\"java.lang.String\\\\\\"}]\\",\\n \\"Paths\\": \\"[\\\\\\"/consumer-echo/feign/{str}\\\\\\"]\\",\\n \\"ParameterTypes\\": \\"[\\\\\\"java.lang.String\\\\\\"]\\",\\n \\"RequestMethods\\": \\"GET\\",\\n \\"ReturnDetails\\": \\"test\\",\\n \\"Name\\": \\"feign2\\",\\n \\"MethodController\\": \\"com.aliware.edas.DemoController\\",\\n \\"ReturnType\\": \\"java.lang.String\\",\\n \\"ReturnDefinition\\": {\\n \\"Type\\": \\"foo\\",\\n \\"Id\\": \\"1\\"\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetServiceDetail>\\n<Message>success</Message>\\n<Data>\\n <Group>dubbo</Group>\\n <RegistryType>agent</RegistryType>\\n <Version>1.0.0</Version>\\n <ServiceName>edas.service.consumer</ServiceName>\\n <ServiceType>springCloud</ServiceType>\\n <EdasAppName>test123</EdasAppName>\\n <Metadata>{}</Metadata>\\n <SpringApplicationName>edas.service.consumer</SpringApplicationName>\\n <Methods>\\n <ParameterDefinitions>[{\\"description\\":\\"\\",\\"name\\":\\"arg0\\",\\"type\\":\\"java.lang.String\\"}]</ParameterDefinitions>\\n <ParameterNames>test</ParameterNames>\\n <ParameterDetails>{}</ParameterDetails>\\n <MethodController>com.aliware.edas.DemoController</MethodController>\\n <Paths>[\\"/consumer-echo/feign/{str}\\"]</Paths>\\n <RequestMethods>GET</RequestMethods>\\n <ParameterTypes>[\\"java.lang.String\\"]</ParameterTypes>\\n <ReturnType>java.lang.String</ReturnType>\\n <ReturnDetails>test</ReturnDetails>\\n <NameDetail>test</NameDetail>\\n <Name>feign2</Name>\\n </Methods>\\n <Methods>\\n <ReturnDefinition>\\n <Type>foo</Type>\\n <Id>1</Id>\\n </ReturnDefinition>\\n </Methods>\\n <DubboApplicationName>cartservice</DubboApplicationName>\\n</Data>\\n<Code>200</Code>\\n<Success>true</Success>\\n</GetServiceDetail>","errorExample":""}]',
+ 'title' => 'GetServiceDetail',
+ 'summary' => 'Queries service details.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListMethods' => [
+ 'path' => '/pop/v5/service/list_methods',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'be213a4a-c7e4-473b-ab0****',
+ ],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Method',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message that indicates whether the request is successful.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '69AD2AA7-DB47-449B-941B-B14409DF****',
+ ],
+ 'ServiceMethodList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ServiceMethod' => [
+ 'description' => 'The information about service methods.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MethodName' => [
+ 'description' => 'The name of the service method.'."\n",
+ 'type' => 'string',
+ 'example' => 'echo',
+ ],
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'App',
+ ],
+ 'Output' => [
+ 'description' => 'The return type of the service method.'."\n",
+ 'type' => 'string',
+ 'example' => 'java.lang.string',
+ ],
+ 'ServiceName' => [
+ 'description' => 'The name of the service.'."\n",
+ 'type' => 'string',
+ 'example' => 'com.alibaba.edas.demo.EchoService',
+ ],
+ 'ParamTypes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ParamType' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'example' => 'string',
+ 'description' => 'The types of the input parameters of the service method.'."\n",
+ ],
+ ],
+ ],
+ ],
+ 'InputParams' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'InputParam' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'example' => 'test',
+ 'description' => 'The input parameters of the service method.'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"69AD2AA7-DB47-449B-941B-B14409DF****\\",\\n \\"ServiceMethodList\\": {\\n \\"ServiceMethod\\": [\\n {\\n \\"MethodName\\": \\"echo\\",\\n \\"AppName\\": \\"App\\",\\n \\"Output\\": \\"java.lang.string\\",\\n \\"ServiceName\\": \\"com.alibaba.edas.demo.EchoService\\",\\n \\"ParamTypes\\": {\\n \\"ParamType\\": [\\n \\"string\\"\\n ]\\n },\\n \\"InputParams\\": {\\n \\"InputParam\\": [\\n \\"test\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'ListMethods',
+ 'summary' => 'Queries service methods.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListServiceGroups' => [
+ 'summary' => 'Queries the service groups of a High-Speed Service Framework (HSF) application.',
+ 'path' => '/pop/v5/service/serviceGroups',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'ServiceGroupsList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ListServiceGroups' => [
+ 'description' => 'The information about service groups.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'GroupId' => [
+ 'description' => 'The ID of the service group.'."\n",
+ 'type' => 'string',
+ 'example' => '789d9cda-74b1-****-****-05e21a0a7661',
+ ],
+ 'GroupName' => [
+ 'description' => 'The name of the service group.'."\n",
+ 'type' => 'string',
+ 'example' => 'edas-test-group',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the service group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since the epoch time January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '1575357165770',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"ServiceGroupsList\\": {\\n \\"ListServiceGroups\\": [\\n {\\n \\"GroupId\\": \\"789d9cda-74b1-****-****-05e21a0a7661\\",\\n \\"GroupName\\": \\"edas-test-group\\",\\n \\"CreateTime\\": \\"1575357165770\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<ServiceGroupsList>\\n <ListServiceGroups>\\n <GroupName>edas-test-group</GroupName>\\n <CreateTime>1575357165770</CreateTime>\\n <GroupId>789d9cda-74b1-****-****-05e21a0a7661</GroupId>\\n </ListServiceGroups>\\n</ServiceGroupsList>\\n<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListServiceGroups',
+ 'requestParamsDescription' => 'No request parameters.'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertServiceGroup' => [
+ 'summary' => 'Creates a service group.',
+ 'path' => '/pop/v5/service/serviceGroups',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the service group that you want to create.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'edas-test-group',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'ECD1D6FC-4307-4583-BA6F-215F3857EAF4',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"ECD1D6FC-4307-4583-BA6F-215F3857EAF4\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'InsertServiceGroup',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateK8sIngressRule' => [
+ 'summary' => 'Creates an Ingress.',
+ 'path' => '/pop/v5/k8s/acs/k8s_ingress',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the Ingress. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter but cannot end with a hyphen (-). The name can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'my-ingress-rule',
+ ],
+ ],
+ [
+ 'name' => 'IngressConf',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The routing rules of the Ingress. Set this parameter to a JSON string in the following format:'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "rules": ['."\n"
+ .' {'."\n"
+ .' "host": "abc.com",'."\n"
+ .' "secretName": "tls-secret",'."\n"
+ .' "paths": ['."\n"
+ .' {'."\n"
+ .' "path": "/path",'."\n"
+ .' "backend": {'."\n"
+ .' "servicePort": 80,'."\n"
+ .' "serviceName": "xxx"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ ."\n"
+ .'Parameter description:'."\n"
+ ."\n"
+ .'* rules: the list of routing rules.'."\n"
+ .'* host: the domain name to be accessed.'."\n"
+ .'* secretName: the name of the Secret that stores the information about the Transport Layer Security (TLS) certificate. The certificate is required if you need to use the HTTPS protocol.'."\n"
+ .'* paths: the list of paths to be accessed.'."\n"
+ .'* path: the path to be accessed.'."\n"
+ .'* backend: the configuration of the backend service. You can specify a service that is created in the Enterprise Distributed Application Service (EDAS) console.'."\n"
+ .'* serviceName: the name of the backend service.'."\n"
+ .'* servicePort: the port of the backend service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '{"rules":[{"host":"abc.com","secretName":"tls-secret","paths":[{"path":"/path","backend":{"servicePort":80,"serviceName":"xxx"}}]}]}',
+ ],
+ ],
+ [
+ 'name' => 'Annotations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The annotations.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"alb.ingress.kubernetes.io/rewrite-target\\":\\"/consumer-echo/test\\"}',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The labels.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"test-labels\\":\\"test-value\\"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'CreateK8sIngressRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteK8sIngressRule' => [
+ 'summary' => 'Deletes an ingress.',
+ 'path' => '/pop/v5/k8s/acs/k8s_ingress',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the Ingress. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter but cannot end with a hyphen (-). The name can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'my-ingress-rule',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DeleteK8sIngressRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateK8sIngressRule' => [
+ 'summary' => 'Updates an ingress.',
+ 'path' => '/pop/v5/k8s/acs/k8s_ingress',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the Ingress. The name can contain lowercase letters, digits, and hyphens (-). It must start with a lowercase letter but cannot end with a hyphen (-). The name can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'my-ingress-rule',
+ ],
+ ],
+ [
+ 'name' => 'IngressConf',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The routing rules of the Ingress. Set this parameter to a JSON string in the following format:'."\n"
+ ."\n"
+ .' {'."\n"
+ .' "rules": ['."\n"
+ .' {'."\n"
+ .' "host": "abc.com",'."\n"
+ .' "secretName": "tls-secret",'."\n"
+ .' "paths": ['."\n"
+ .' {'."\n"
+ .' "path": "/path",'."\n"
+ .' "backend": {'."\n"
+ .' "servicePort": 80,'."\n"
+ .' "serviceName": "xxx"'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ ."\n"
+ .'Parameter description:'."\n"
+ ."\n"
+ .'* rules: the list of routing rules.'."\n"
+ .'* host: the domain name to be accessed.'."\n"
+ .'* secretName: the name of the Secret that stores the information about the Transport Layer Security (TLS) certificate. The certificate is required if you need to use the HTTPS protocol.'."\n"
+ .'* paths: the list of paths to be accessed.'."\n"
+ .'* path: the path to be accessed.'."\n"
+ .'* backend: the configuration of the backend service. You can specify a service that is created in the Enterprise Distributed Application Service (EDAS) console.'."\n"
+ .'* serviceName: the name of the backend service.'."\n"
+ .'* servicePort: the port of the backend service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"rules":[{"host":"abc.com","secretName":"tls-secret","paths":[{"path":"/path","backend":{"servicePort":80,"serviceName":"xxx"}}]}]}',
+ ],
+ ],
+ [
+ 'name' => 'Annotations',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The annotations.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"nginx.ingress.kubernetes.io/ssl-redirect\\":\\"true\\",\\"nginx.ingress.kubernetes.io/configuration-snippet\\":\\"set $test value\\"}',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The labels.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"test-label\\":\\"test-label-value\\"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateK8sIngressRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListK8sIngressRules' => [
+ 'path' => '/pop/v5/k8s/acs/k8s_ingress',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region where the cluster resides.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-xxxxxxxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Condition',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The filter conditions. Set the value to a JSON string in the format of {"field":"Name", "pattern":"my-"}, where:'."\n"
+ ."\n"
+ .'* field: the parameter to be matched. Valid values: Name and ClusterName.'."\n"
+ .'* pattern: the content to be matched.'."\n"
+ ."\n"
+ .'For example, a value of {"field":"Name", "pattern":"my-"} indicates that the specified filter conditions match the routing rules whose names start with my-.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"field":"Name", "pattern":"my-"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response object.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '5C1C9DE7-88FF-4B56-A47B-3DBBCEB******',
+ ],
+ 'Data' => [
+ 'description' => 'The response data.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object of the data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ClusterName' => [
+ 'description' => 'The cluster name.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-dev-cluster',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'example' => '5b2b4ab4-efbc-4a81-9c45-a5942881****',
+ ],
+ 'RegionId' => [
+ 'description' => 'The ID of the Alibaba Cloud region.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'IngressConfs' => [
+ 'description' => 'The Ingresses.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about Ingresses.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CreationTime' => [
+ 'description' => 'The time when the Ingress was created.'."\n",
+ 'type' => 'string',
+ 'example' => '2021-04-27 20:16:52',
+ ],
+ 'SslRedirect' => [
+ 'description' => 'Indicates whether SSL redirection is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Endpoint' => [
+ 'description' => 'The IP address of the Ingress.'."\n",
+ 'type' => 'string',
+ 'example' => '47.11x.xx.xx',
+ ],
+ 'Namespace' => [
+ 'description' => 'The Kubernetes namespace to which the Ingress belongs.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'Name' => [
+ 'description' => 'The Ingress name.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-ingress',
+ ],
+ 'DashboardUrl' => [
+ 'description' => 'The monitoring URL of the Ingress.'."\n",
+ 'type' => 'string',
+ 'example' => 'http://grafana.console.aliyun.com/d/10xxxx/ingress',
+ ],
+ 'Rules' => [
+ 'description' => 'The routing rules.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object of the routing rules.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'SecretName' => [
+ 'description' => 'The name of the Secret that stores the Transport Layer Security (TLS) certificate.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-secret',
+ ],
+ 'Host' => [
+ 'description' => 'The domain name to be accessed.'."\n",
+ 'type' => 'string',
+ 'example' => 'example.com',
+ ],
+ 'Paths' => [
+ 'description' => 'The paths to be accessed.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object of paths to be accessed.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'The state of the Ingress. Valid values:'."\n"
+ ."\n"
+ .'* **Normal**: The Ingress works as expected.'."\n"
+ .'* **ServiceNotFound**: The backend Service does not exist.'."\n"
+ .'* **InvalidServicePort**: The Service port is invalid.'."\n"
+ .'* **NotManagedService**: The Service is not managed by EDAS.'."\n"
+ .'* **Unknown**: An unknown error occurred.'."\n",
+ 'type' => 'string',
+ 'example' => 'Normal',
+ ],
+ 'Path' => [
+ 'description' => 'The path to be accessed.'."\n",
+ 'type' => 'string',
+ 'example' => '/foo/bar',
+ ],
+ 'AppName' => [
+ 'description' => 'The name of the EDAS application.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the EDAS application.'."\n",
+ 'type' => 'string',
+ 'example' => '43d30ba5-c568-460c-8080-d447ed1a****',
+ ],
+ 'Backend' => [
+ 'description' => 'The configurations of the backend Service.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceName' => [
+ 'description' => 'The name of the backend Service.'."\n",
+ 'type' => 'string',
+ 'example' => 'http-service',
+ ],
+ 'ServicePort' => [
+ 'description' => 'The port of the backend Service.'."\n",
+ 'type' => 'string',
+ 'example' => '8080',
+ ],
+ ],
+ ],
+ 'CollectRate' => [
+ 'description' => 'The collection rate that is set based on the trace query feature. You can add a trace ID to a gateway to use the trace query feature of EDAS.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'PathType' => [
+ 'description' => 'The path type that determines how a path is matched.'."\n"
+ ."\n"
+ .'* ImplementationSpecific (default)'."\n"
+ .'* Exact'."\n"
+ .'* Prefix'."\n",
+ 'type' => 'string',
+ 'example' => 'ImplementationSpecific',
+ ],
+ ],
+ ],
+ ],
+ 'EnableTls' => [
+ 'description' => 'Indicates whether TLS is enabled. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ ],
+ 'AlbId' => [
+ 'description' => 'The ID of the ALB instance.'."\n",
+ 'type' => 'string',
+ 'example' => 'alb-5sde0tq62r********',
+ ],
+ 'IngressType' => [
+ 'description' => 'The Ingress type. Valid values:'."\n"
+ ."\n"
+ .'* **NginxIngress**: NGINX Ingress controller'."\n"
+ .'* **AlbIngress**: ALB Ingress controller'."\n"
+ ."\n"
+ .'Default value: NginxIngress.'."\n",
+ 'type' => 'string',
+ 'example' => 'NginxIngress',
+ ],
+ 'OfficalBasicUrl' => [
+ 'description' => 'The URL used for basic monitoring of the open source version.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://g.console.aliyun.com/d/xxxxxx/nginx-ingress-dashboard-official',
+ ],
+ 'OfficalRequestUrl' => [
+ 'description' => 'The URL used for request performance monitoring of the open source version.'."\n",
+ 'type' => 'string',
+ 'example' => 'https://g.console.aliyun.com/d/xxxxxx/request-handling-performance-official',
+ ],
+ 'MseGatewayId' => [
+ 'description' => 'The ID of the MSE gateway.'."\n",
+ 'type' => 'string',
+ 'example' => 'gw-xxxxxxxx',
+ ],
+ 'MseGatewayName' => [
+ 'description' => 'The name of the MSE gateway.'."\n",
+ 'type' => 'string',
+ 'example' => 'gw-test-name',
+ ],
+ 'Annotations' => [
+ 'description' => 'The annotations.'."\n",
+ 'type' => 'string',
+ 'example' => '{"test-annotation":"test-annotation-value"}',
+ ],
+ 'Labels' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'string',
+ 'example' => '{"test-label": "test-labels"}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"5C1C9DE7-88FF-4B56-A47B-3DBBCEB******\\",\\n \\"Data\\": [\\n {\\n \\"ClusterName\\": \\"my-dev-cluster\\",\\n \\"ClusterId\\": \\"5b2b4ab4-efbc-4a81-9c45-a5942881****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"IngressConfs\\": [\\n {\\n \\"CreationTime\\": \\"2021-04-27 20:16:52\\",\\n \\"SslRedirect\\": true,\\n \\"Endpoint\\": \\"47.11x.xx.xx\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Name\\": \\"my-ingress\\",\\n \\"DashboardUrl\\": \\"http://grafana.console.aliyun.com/d/10xxxx/ingress\\",\\n \\"Rules\\": [\\n {\\n \\"SecretName\\": \\"my-secret\\",\\n \\"Host\\": \\"example.com\\",\\n \\"Paths\\": [\\n {\\n \\"Status\\": \\"Normal\\",\\n \\"Path\\": \\"/foo/bar\\",\\n \\"AppName\\": \\"my-app\\",\\n \\"AppId\\": \\"43d30ba5-c568-460c-8080-d447ed1a****\\",\\n \\"Backend\\": {\\n \\"ServiceName\\": \\"http-service\\",\\n \\"ServicePort\\": \\"8080\\"\\n },\\n \\"CollectRate\\": 100,\\n \\"PathType\\": \\"ImplementationSpecific\\"\\n }\\n ],\\n \\"EnableTls\\": false\\n }\\n ],\\n \\"AlbId\\": \\"alb-5sde0tq62r********\\",\\n \\"IngressType\\": \\"NginxIngress\\",\\n \\"OfficalBasicUrl\\": \\"https://g.console.aliyun.com/d/xxxxxx/nginx-ingress-dashboard-official\\",\\n \\"OfficalRequestUrl\\": \\"https://g.console.aliyun.com/d/xxxxxx/request-handling-performance-official\\",\\n \\"MseGatewayId\\": \\"gw-xxxxxxxx\\",\\n \\"MseGatewayName\\": \\"gw-test-name\\",\\n \\"Annotations\\": \\"{\\\\\\"test-annotation\\\\\\":\\\\\\"test-annotation-value\\\\\\"}\\",\\n \\"Labels\\": \\"{\\\\\\"test-label\\\\\\": \\\\\\"test-labels\\\\\\"}\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5C1C9DE7-88FF-4B56-A47B-3DBBCEB23256</RequestId>\\n<Message>success</Message>\\n<Data>\\n <ClusterId>5b2b4ab4-efbc-4a81-9c45-a5942881****</ClusterId>\\n <ClusterName>my-dev-cluster</ClusterName>\\n <RegionId>cn-hangzhou</RegionId>\\n <IngressConfs>\\n <SslRedirect/>\\n <Endpoint>47.11x.xx.xx</Endpoint>\\n <CreationTime>2021-04-27 20:16:52</CreationTime>\\n <Namespace>default</Namespace>\\n <DashboardUrl>http://grafana.console.aliyun.com/d/10xxxx/ingress</DashboardUrl>\\n <Name>my-ingress</Name>\\n <Rules>\\n <SecretName>my-secret</SecretName>\\n <Host>abc.com</Host>\\n <Paths>\\n <Path>/foo/bar</Path>\\n <Status>Normal</Status>\\n <AppId>43d30ba5-c568-460c-8080-d447ed1a****</AppId>\\n <AppName>my-app</AppName>\\n <Backend>\\n <ServicePort>8080</ServicePort>\\n <ServiceName>http-service</ServiceName>\\n </Backend>\\n </Paths>\\n </Rules>\\n </IngressConfs>\\n</Data>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'ListK8sIngressRules',
+ 'summary' => 'Queries ingresses.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateConfigTemplate' => [
+ 'summary' => 'Creates a configuration template.',
+ 'path' => '/pop/v5/config_template',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '配置模板名称',
+ 'description' => 'The name of the configuration template. The name can be up to 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'my-template',
+ ],
+ ],
+ [
+ 'name' => 'Format',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板数据格式',
+ 'description' => 'The data format of the configuration template. Valid values:'."\n"
+ ."\n"
+ .'* JSON: JSON format'."\n"
+ .'* XML: XML format'."\n"
+ .'* YAML: YAML format'."\n"
+ .'* Properties: .properties format'."\n"
+ .'* KeyValue: key-value pairs'."\n"
+ .'* Custom: custom format'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'JSON',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板描述',
+ 'description' => 'The description of the configuration template. The description can be up to 255 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'My configuration template'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板内容',
+ 'description' => 'The content of the configuration template. The value must be in the format that is specified by the Format parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ 'Code' => [
+ 'title' => '响应码',
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'title' => '响应码文本描述',
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'title' => '响应数据',
+ 'description' => 'The data returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '模板ID',
+ 'description' => 'The ID of the template.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '125122',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message ',
+ 'errorMessage' => 'You are not authorized to perform the operation. ',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Id\\": 125122\\n }\\n}","type":"json"}]',
+ 'title' => 'CreateConfigTemplate',
+ ],
+ 'CreateK8sConfigMap' => [
+ 'summary' => 'Creates a Kubernetes ConfigMap.',
+ 'path' => '/pop/v5/k8s/acs/k8s_config_map',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'b07c8192-****-adf4f7447720',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the ConfigMap. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'my-configmap',
+ ],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The data of the ConfigMap. The value must be a JSON array string.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-**************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-**************\\"\\n}","type":"json"}]',
+ 'title' => 'CreateK8sConfigMap',
+ ],
+ 'CreateK8sSecret' => [
+ 'summary' => 'Creates a Kubernetes Secret.',
+ 'path' => '/pop/v5/k8s/acs/k8s_secret',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The cluster ID.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '712082c3-****-****-9217-a947b5cde6ee',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the Secret. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'my-secret',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The Secret type. Valid values:'."\n"
+ ."\n"
+ .'* Opaque: user-defined data'."\n"
+ .'* kubernetes.io/tls: Transport Layer Security (TLS) certificate'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Opaque',
+ ],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The data of the Secret. The value must be a JSON array that contains the following information:'."\n"
+ ."\n"
+ .'* Key: Secret key'."\n"
+ .'* Value: Secret value'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}]',
+ ],
+ ],
+ [
+ 'name' => 'CertId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The certificate ID provided by Alibaba Cloud Certificate Management Service.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '6651483',
+ ],
+ ],
+ [
+ 'name' => 'CertRegionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The region in which the certificate is stored.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Base64Encoded',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether the data has been encoded in Base64. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4D9F-DR94-FD****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4D9F-DR94-FD****************\\"\\n}","type":"json"}]',
+ 'title' => 'CreateK8sSecret',
+ ],
+ 'DeleteConfigTemplate' => [
+ 'summary' => 'Deletes a configuration template.',
+ 'path' => '/pop/v5/config_template',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '配置模板ID',
+ 'description' => 'The ID of the configuration template.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '555',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-************',
+ ],
+ 'Code' => [
+ 'title' => '响应码',
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'title' => '响应码文本描述',
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message ',
+ 'errorMessage' => 'You are not authorized to perform the operation. ',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D16979DC-4D42-************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteConfigTemplate',
+ ],
+ 'DeleteK8sConfigMap' => [
+ 'summary' => 'Deletes a Kubernetes ConfigMap.',
+ 'path' => '/pop/v5/k8s/acs/k8s_config_map',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '51e37e91-6403-423a-9913-f236aa7a6a50',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the ConfigMap. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'my-configmap',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-************\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteK8sConfigMap',
+ ],
+ 'DeleteK8sSecret' => [
+ 'summary' => 'Deletes a Kubernetes Secret.',
+ 'path' => '/pop/v5/k8s/acs/k8s_secret',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '2b3a1013-31c7-433b-8fe7-3895d838b824',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the Secret. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'my-secret',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-*************\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteK8sSecret',
+ ],
+ 'UpdateConfigTemplate' => [
+ 'summary' => 'Modifies a configuration template.',
+ 'path' => '/pop/v5/config_template',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '配置模板ID',
+ 'description' => 'The ID of the configuration template.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '配置模板名称',
+ 'description' => 'The name of the configuration template. The name can be up to 64 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'configtmpl1',
+ ],
+ ],
+ [
+ 'name' => 'Format',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板数据格式',
+ 'description' => 'The data format of the configuration template. Valid values:'."\n"
+ ."\n"
+ .'* JSON: JSON format'."\n"
+ .'* XML: XML format'."\n"
+ .'* YAML: YAML format'."\n"
+ .'* Properties: .properties format'."\n"
+ .'* KeyValue: key-value pairs'."\n"
+ .'* Custom: custom format'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'JSON',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板描述',
+ 'description' => 'The description of the configuration template. The description can be up to 255 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Test configuration template'."\n",
+ ],
+ ],
+ [
+ 'name' => 'Content',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '模板内容',
+ 'description' => 'The content of the configuration template. The value must be in the format that is specified by the Format parameter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"name":"william","age":18}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-*************',
+ ],
+ 'Code' => [
+ 'title' => '响应码',
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'title' => '响应码文本描述',
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation. ',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D16979DC-4D42-*************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateConfigTemplate',
+ ],
+ 'UpdateK8sConfigMap' => [
+ 'summary' => 'Modifies a Kubernetes ConfigMap.',
+ 'path' => '/pop/v5/k8s/acs/k8s_config_map',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '7246cxxx-53xx-xxxx-xxxx-xxxxxxxx',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the ConfigMap. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'my-configmap',
+ ],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The data of the ConfigMap. Set this parameter to a JSON string.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateK8sConfigMap',
+ ],
+ 'UpdateK8sSecret' => [
+ 'summary' => 'Modifies a Kubernetes Secret.',
+ 'path' => '/pop/v5/k8s/acs/k8s_secret',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '9c28bbb9-****-44b3-b953-54ef8a2d0be2',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the Secret. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'my-secret',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The type of the Secret. Valid values:'."\n"
+ ."\n"
+ .'* Opaque: user-defined data type'."\n"
+ .'* kubernetes.io/tls: Transport Layer Security (TLS) certificate type'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'Opaque',
+ ],
+ ],
+ [
+ 'name' => 'Data',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The data of the Secret. The value must be a JSON array that contains the following information:'."\n"
+ ."\n"
+ .'* Key: Secret key'."\n"
+ .'* Value: Secret value'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '[{"Key":"name","Value":"william"},{"Key":"age","Value":"12"}]',
+ ],
+ ],
+ [
+ 'name' => 'CertId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the certificate.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '6650277',
+ ],
+ ],
+ [
+ 'name' => 'CertRegionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The region ID of the certificate.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Base64Encoded',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether the data has been encoded in Base64.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\"\\n}","type":"json"}]',
+ 'title' => 'UpdateK8sSecret',
+ ],
+ 'ListConfigTemplates' => [
+ 'summary' => 'Queries configuration templates.',
+ 'path' => '/pop/v5/config_template',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页码',
+ 'description' => 'The number of the page to return. Pages start from Page 1.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '配置模板ID',
+ 'description' => 'The ID of the configuration template.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '3d84efaf-37d9-49fb-a3a8-b38d5c******',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '配置模板名称',
+ 'description' => 'The name of the configuration template.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'config-tmpl-1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => '请求ID',
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4D9F-DR94-FD****************',
+ ],
+ 'Code' => [
+ 'title' => '响应码',
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'title' => '响应码文本描述',
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'title' => '查询结果',
+ 'description' => 'The result of the request.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CurrentPage' => [
+ 'title' => '当前分页',
+ 'description' => 'The page number of the returned page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'title' => '页大小',
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalSize' => [
+ 'title' => '配置模板总数',
+ 'description' => 'The total number of configuration templates.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'Result' => [
+ 'title' => '配置模板列表',
+ 'description' => 'The configuration templates.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'title' => '配置模板ID',
+ 'description' => 'The ID of the configuration template.'."\n",
+ 'type' => 'string',
+ 'example' => '3d84efaf-37d9-49fb-a3a8-b38d5c2b460c',
+ ],
+ 'Name' => [
+ 'title' => '配置模板名称',
+ 'description' => 'The name of the configuration template.'."\n",
+ 'type' => 'string',
+ 'example' => 'config-tmpl-1',
+ ],
+ 'Format' => [
+ 'title' => '模板数据格式',
+ 'description' => 'The data format of the configuration template.'."\n",
+ 'type' => 'string',
+ 'example' => 'JSON',
+ ],
+ 'Description' => [
+ 'title' => '模板描述',
+ 'description' => 'The description of the configuration template.'."\n",
+ 'type' => 'string',
+ 'example' => 'Test configuration template'."\n",
+ ],
+ 'Content' => [
+ 'title' => '模板内容',
+ 'description' => 'The content of the configuration template.'."\n",
+ 'type' => 'string',
+ 'example' => '{"name":"William"}',
+ ],
+ 'GmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => 'The time when the configuration template was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1638171689626',
+ ],
+ 'GmtModified' => [
+ 'title' => '更新时间',
+ 'description' => 'The time when the configuration template was updated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1638171689626',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message ',
+ 'errorMessage' => 'You are not authorized to perform the operation. ',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D9F-DR94-FD****************\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 100,\\n \\"Result\\": [\\n {\\n \\"Id\\": \\"3d84efaf-37d9-49fb-a3a8-b38d5c2b460c\\",\\n \\"Name\\": \\"config-tmpl-1\\",\\n \\"Format\\": \\"JSON\\",\\n \\"Description\\": \\"测试配置模板\\",\\n \\"Content\\": \\"{\\\\\\"name\\\\\\":\\\\\\"William\\\\\\"}\\",\\n \\"GmtCreate\\": 1638171689626,\\n \\"GmtModified\\": 1638171689626\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'ListConfigTemplates',
+ ],
+ 'GetJavaStartUpConfig' => [
+ 'path' => '/pop/v5/oam/java_start_up_config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5fdf50e8-*',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ 'JavaStartUpConfig' => [
+ 'description' => 'The configuration of Java startup parameters.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'StartUpArgs' => [
+ 'description' => 'The effective startup parameter configuration.'."\n",
+ 'type' => 'string',
+ 'example' => '-Xms512m',
+ ],
+ 'OriginalConfigs' => [
+ 'description' => 'The displayed startup parameter configuration.'."\n",
+ 'type' => 'string',
+ 'example' => '-Xms512m',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'UnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\",\\n \\"JavaStartUpConfig\\": {\\n \\"StartUpArgs\\": \\"-Xms512m\\",\\n \\"OriginalConfigs\\": \\"-Xms512m\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetJavaStartUpConfigResponse>\\n<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<JavaStartUpConfig>\\n <StartUpArgs>-Xms512m</StartUpArgs>\\n <OriginalConfigs>-Xms512m</OriginalConfigs>\\n</JavaStartUpConfig>\\n<Code>200</Code>\\n</GetJavaStartUpConfigResponse>","errorExample":""}]',
+ 'title' => 'GetJavaStartUpConfig',
+ 'summary' => 'Queries the configuration of Java startup parameters for an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'GetWebContainerConfig' => [
+ 'path' => '/pop/v5/oam/web_container_config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '5a166fbd-****-****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ 'WebContainerConfig' => [
+ 'description' => 'The Tomcat configurations of the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ContextPath' => [
+ 'description' => 'The context path.'."\n",
+ 'type' => 'string',
+ 'example' => 'ROOT',
+ ],
+ 'UseAdvancedServerXml' => [
+ 'description' => 'Indicates whether advanced configurations are used to customize the server.xml file.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UseDefaultConfig' => [
+ 'description' => 'Indicates whether the default configurations are used.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'HttpPort' => [
+ 'description' => 'The HTTP service port.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '8080',
+ ],
+ 'ContextInputType' => [
+ 'description' => 'The type of the context path.'."\n",
+ 'type' => 'string',
+ 'example' => 'root',
+ ],
+ 'UseBodyEncoding' => [
+ 'description' => 'Indicates whether the encoding scheme specified in the request body is used for uniform resource identifier (URI) query parameters.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'UriEncoding' => [
+ 'description' => 'The URI encoding scheme.'."\n",
+ 'type' => 'string',
+ 'example' => 'ISO-8859-1',
+ ],
+ 'MaxThreads' => [
+ 'description' => 'The maximum number of threads.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ 'ServerXml' => [
+ 'description' => 'The content of the server.xml file customized by using advanced configurations.'."\n",
+ 'type' => 'string',
+ 'example' => '<Server port=*****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'UnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\",\\n \\"WebContainerConfig\\": {\\n \\"ContextPath\\": \\"ROOT\\",\\n \\"UseAdvancedServerXml\\": true,\\n \\"UseDefaultConfig\\": true,\\n \\"HttpPort\\": 8080,\\n \\"ContextInputType\\": \\"root\\",\\n \\"UseBodyEncoding\\": true,\\n \\"UriEncoding\\": \\"ISO-8859-1\\",\\n \\"MaxThreads\\": 500,\\n \\"ServerXml\\": \\"<Server port=*****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<GetWebContainerConfigResponse>\\n<Message>success</Message>\\n<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Code>200</Code>\\n<WebContainerConfig>\\n <HttpPort>8080</HttpPort>\\n <UriEncoding>ISO-8859-1</UriEncoding>\\n <ContextPath>ROOT</ContextPath>\\n <ContextInputType>root</ContextInputType>\\n <UseBodyEncoding>true</UseBodyEncoding>\\n <ServerXml>&lt;Server port=*****</ServerXml>\\n <MaxThreads>500</MaxThreads>\\n <UseDefaultConfig>true</UseDefaultConfig>\\n <UseAdvancedServerXml>true</UseAdvancedServerXml>\\n</WebContainerConfig>\\n</GetWebContainerConfigResponse>","errorExample":""}]',
+ 'title' => 'GetWebContainerConfig',
+ 'summary' => 'Queries the Tomcat configurations of an application.',
+ 'description' => '***'."\n",
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'ListK8sConfigMaps' => [
+ 'summary' => 'Queries Kubernetes ConfigMaps.',
+ 'path' => '/pop/v5/k8s/acs/k8s_config_map',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'c0830281-366c-41b6-80fb-542e76******',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from Page 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'Condition',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The filter conditions. Set this parameter to a JSON string in the format of {"field":"Name", "pattern":"configmap-"}.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"field":"Name", "pattern":"configmap-"}',
+ ],
+ ],
+ [
+ 'name' => 'ShowRelatedApps',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to return a list of applications that use a ConfigMap. Valid values: true and false.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D16979DC-4D42-****************',
+ ],
+ 'Result' => [
+ 'description' => 'The query results that are returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Total' => [
+ 'description' => 'The total number of entries that are returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'ConfigMaps' => [
+ 'description' => 'The information about ConfigMaps.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'CreationTime' => [
+ 'description' => 'The time when the ConfigMaps were created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-01-31T02:46:14Z',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-cluster',
+ ],
+ 'Namespace' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the ConfigMap.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-config',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the Kubernetes cluster. You can obtain the cluster ID by calling the GetK8sCluster operation. For more information, see [GetK8sCluster](~~181437~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'd73918f4-3b08-4c17-bb07-eaf8********',
+ ],
+ 'Data' => [
+ 'description' => 'The information about ConfigMaps.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The user-defined key that is stored in the ConfigMap.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'Value' => [
+ 'description' => 'The user-defined value that is stored in the ConfigMap.'."\n",
+ 'type' => 'string',
+ 'example' => 'william',
+ ],
+ ],
+ ],
+ ],
+ 'RelatedApps' => [
+ 'description' => 'The related applications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '728cbdf2-da10-49b8-b69c-9168a********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D16979DC-4D42-****************\\",\\n \\"Result\\": {\\n \\"Total\\": 6,\\n \\"ConfigMaps\\": [\\n {\\n \\"CreationTime\\": \\"2022-01-31T02:46:14Z\\",\\n \\"ClusterName\\": \\"my-cluster\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Name\\": \\"my-config\\",\\n \\"ClusterId\\": \\"d73918f4-3b08-4c17-bb07-eaf8********\\",\\n \\"Data\\": [\\n {\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"william\\"\\n }\\n ],\\n \\"RelatedApps\\": [\\n {\\n \\"AppName\\": \\"my-app\\",\\n \\"AppId\\": \\"728cbdf2-da10-49b8-b69c-9168a********\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'ListK8sConfigMaps',
+ ],
+ 'ListK8sSecrets' => [
+ 'summary' => 'Queries Kubernetes Secrets.',
+ 'path' => '/pop/v5/k8s/acs/k8s_secret',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ClusterId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '7a953f9a-2946-4c7a-9d82-9939db******',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'default',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the region.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'PageNo',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of the page to return. Pages start from Page 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page. The value 0 indicates that all entries are returned on one page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'Condition',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The filter conditions. Set this parameter to a JSON string in the format of {"field":"Name", "pattern":"configmap-"}.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"field\\":\\"Name\\",\\"pattern\\":\\"product\\"}',
+ ],
+ ],
+ [
+ 'name' => 'ShowRelatedApps',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to return a list of applications that use a Secret.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'b197-40ab-9155-****',
+ ],
+ 'Result' => [
+ 'description' => 'The returned query results of Kubernetes Secrets.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Total' => [
+ 'description' => 'The total number of entries that are returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '6',
+ ],
+ 'Secrets' => [
+ 'description' => 'The information about Kubernetes Secrets.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the Secret. Valid values:'."\n"
+ ."\n"
+ .'* Opaque: user-defined data'."\n"
+ .'* kubernetes.io/tls: Transport Layer Security (TLS) certificate'."\n",
+ 'type' => 'string',
+ 'example' => 'Opaque',
+ ],
+ 'CreationTime' => [
+ 'description' => 'The time when the Secret was created. The time follows the ISO 8601 standard in the *yyyy-MM-dd*T*hh:mm:ss*Z format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-05-26T02:57:02Z',
+ ],
+ 'ClusterName' => [
+ 'description' => 'The name of the cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-cluster',
+ ],
+ 'Namespace' => [
+ 'description' => 'The namespace of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'Base64Encoded' => [
+ 'description' => 'Indicates whether the data is Base64-encoded. Valid values:'."\n"
+ ."\n"
+ .'* true: The data is Base64-encoded.'."\n"
+ .'* false: The data is not Base64-encoded.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'CertRegionId' => [
+ 'description' => 'The region in which the certificate is stored.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'CertId' => [
+ 'description' => 'The ID of the certificate provided by Alibaba Cloud Certificate Management Service.'."\n",
+ 'type' => 'string',
+ 'example' => '123456',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the Secret. The name must start with a letter, and can contain digits, letters, and hyphens (-). It can be up to 63 characters in length.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-secret',
+ ],
+ 'ClusterId' => [
+ 'description' => 'The ID of the cluster in Enterprise Distributed Application Service (EDAS).'."\n",
+ 'type' => 'string',
+ 'example' => '4472a6d3-f01d-4087-85a7-3dc52********',
+ ],
+ 'RelatedIngressRules' => [
+ 'description' => 'Rules in the Ingress that is associated with the Secret.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the rule in the Ingress.'."\n",
+ 'type' => 'string',
+ 'example' => 'testrulename',
+ ],
+ 'Namespace' => [
+ 'description' => 'The namespaces of the Kubernetes cluster.'."\n",
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'RelatedApps' => [
+ 'description' => 'Aplications that are associated with the Ingress.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the EDAS application.'."\n",
+ 'type' => 'string',
+ 'example' => 'app-test',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '6dc74432-5a35-4e68-8aaa-3700********',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Data' => [
+ 'description' => 'The data of the Kubernetes Secret.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The user-defined key of the Kubernetes Secret.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'Value' => [
+ 'description' => 'The user-defined value of the Kubernetes Secret.'."\n",
+ 'type' => 'string',
+ 'example' => 'william',
+ ],
+ ],
+ ],
+ ],
+ 'RelatedApps' => [
+ 'description' => 'Applications that use the Secret.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'my-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'b08eeb18-8946-410c-a1ea-dbbc********',
+ ],
+ ],
+ ],
+ ],
+ 'CertDetail' => [
+ 'description' => 'The details of the Secure Sockets Layer (SSL) certificate.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'EndTime' => [
+ 'description' => 'The time when the SSL certificate expired.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-02-22T02:32:41Z',
+ ],
+ 'Status' => [
+ 'description' => 'The state of the SSL certificate. Valid values:'."\n"
+ ."\n"
+ .'* normal: The SSL certificate is valid.'."\n"
+ .'* invalid: The SSL certificate is invalid.'."\n"
+ .'* expired: The SSL certificate has expired.'."\n"
+ .'* not_yet_valid: The SSL certificate is currently invalid.'."\n"
+ .'* about_to_expire: The SSL certificate is about to expire.'."\n",
+ 'type' => 'string',
+ 'example' => 'normal',
+ ],
+ 'StartTime' => [
+ 'description' => 'The time when the SSL certificate started to take effect.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-01-02T22:40:00Z',
+ ],
+ 'Issuer' => [
+ 'description' => 'The certificate authority (CA) that issued the SSL certificate.'."\n",
+ 'type' => 'string',
+ 'example' => 'CN=GlobalSign Root CA, OU=Root CA, O=GlobalSign nv-sa, C=BE',
+ ],
+ 'DomainNames' => [
+ 'description' => 'Domain names that are associated with the SSL certificate.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The domain name.'."\n",
+ 'type' => 'string',
+ 'example' => 'example.com',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'Edas.errorcode.PermissionDenied.message',
+ 'errorMessage' => 'You are not authorized to perform the operation.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"b197-40ab-9155-****\\",\\n \\"Result\\": {\\n \\"Total\\": 6,\\n \\"Secrets\\": [\\n {\\n \\"Type\\": \\"Opaque\\",\\n \\"CreationTime\\": \\"2022-05-26T02:57:02Z\\",\\n \\"ClusterName\\": \\"test-cluster\\",\\n \\"Namespace\\": \\"default\\",\\n \\"Base64Encoded\\": false,\\n \\"CertRegionId\\": \\"cn-hangzhou\\",\\n \\"CertId\\": \\"123456\\",\\n \\"Name\\": \\"my-secret\\",\\n \\"ClusterId\\": \\"4472a6d3-f01d-4087-85a7-3dc52********\\",\\n \\"RelatedIngressRules\\": [\\n {\\n \\"Name\\": \\"testrulename\\",\\n \\"Namespace\\": \\"default\\",\\n \\"RelatedApps\\": [\\n {\\n \\"AppName\\": \\"app-test\\",\\n \\"AppId\\": \\"6dc74432-5a35-4e68-8aaa-3700********\\"\\n }\\n ]\\n }\\n ],\\n \\"Data\\": [\\n {\\n \\"Key\\": \\"name\\",\\n \\"Value\\": \\"william\\"\\n }\\n ],\\n \\"RelatedApps\\": [\\n {\\n \\"AppName\\": \\"my-app\\",\\n \\"AppId\\": \\"b08eeb18-8946-410c-a1ea-dbbc********\\"\\n }\\n ],\\n \\"CertDetail\\": {\\n \\"EndTime\\": \\"2022-02-22T02:32:41Z\\",\\n \\"Status\\": \\"normal\\",\\n \\"StartTime\\": \\"2022-01-02T22:40:00Z\\",\\n \\"Issuer\\": \\"CN=GlobalSign Root CA, OU=Root CA, O=GlobalSign nv-sa, C=BE\\",\\n \\"DomainNames\\": [\\n \\"example.com\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'ListK8sSecrets',
+ ],
+ 'RetryChangeOrderTask' => [
+ 'summary' => 'Retries a failed process.',
+ 'path' => '/pop/v5/changeorder/task_retry',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the process.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '823-bhjf-23u4-eiuf*',
+ ],
+ ],
+ [
+ 'name' => 'RetryStatus',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The retry status.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'The retry information.'."\n",
+ 'type' => 'string',
+ 'example' => 'success retry task',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4823-bhjf-23u4-eiufh',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": \\"success retry task\\",\\n \\"RequestId\\": \\"4823-bhjf-23u4-eiufh\\"\\n}","errorExample":""},{"type":"xml","example":"<RetryChangeOrderTaskResponse>\\n<RequestId>4823-bhjf-23u4-eiufh</RequestId>\\n<Message>success</Message>\\n<Data>success retry task</Data>\\n<Code>200</Code>\\n</RetryChangeOrderTaskResponse>","errorExample":""}]',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'CreateApplicationScalingRule' => [
+ 'summary' => 'Creates an auto scaling policy for an application.',
+ 'path' => '/pop/v1/eam/scale/application_scaling_rule',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplicationlink](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the auto scaling policy. The name must start with a lowercase letter, and can contain lowercase letters, digits, and hyphens (-). The name must be 1 to 32 characters in length.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpu-trigger',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the auto scaling policy. Set the value to **trigger**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'trigger',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto scaling policy. Valid values:'."\n"
+ ."\n"
+ .'* **true**: enables the auto scaling policy.'."\n"
+ .'* **false**: disables the auto scaling policy.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleMetric',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleTimer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleTrigger',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The trigger policy for the auto scaling policy. Set the value in the JSON format by using the ScalingRuleTriggerDTO class. For more information, see Additional information about request parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ScalingRuleTriggerDTO{......}',
+ ],
+ ],
+ [
+ 'name' => 'ScalingBehaviour',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Configure custom elastic behavior, refer to the example for specific data structure.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "scaleUp": {'."\n"
+ .' "stabilizationWindowSeconds": "0",'."\n"
+ .' "selectPolicy": "Max",'."\n"
+ .' "policies": ['."\n"
+ .' {'."\n"
+ .' "type": "Pods",'."\n"
+ .' "value": 5,'."\n"
+ .' "periodSeconds": 15'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "scaleDown": {'."\n"
+ .' "stabilizationWindowSeconds": "300",'."\n"
+ .' "selectPolicy": "Max",'."\n"
+ .' "policies": ['."\n"
+ .' {'."\n"
+ .' "type": "Percent",'."\n"
+ .' "value": 200,'."\n"
+ .' "periodSeconds": 15'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'AppScalingRule' => [
+ 'description' => 'The information about the auto scaling policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The timestamp when the auto scaling policy was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The timestamp when the auto scaling policy was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application to which the auto scaling policy belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ 'LastDisableTime' => [
+ 'description' => 'The timestamp when the auto scaling policy was last disabled. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleEnabled' => [
+ 'description' => 'Indicates whether the auto scaling policy is enabled. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The auto scaling policy is enabled.'."\n"
+ .'* **false**: The auto scaling policy is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScaleRuleType' => [
+ 'description' => 'The type of the rule. Only trigger is supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'trigger',
+ ],
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleName' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ 'Metric' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Metrics' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricTargetAverageUtilization' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MetricType' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Trigger' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'The minimum number of replicas. The minimum value is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'The maximum number of replicas. The maximum value is 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '122',
+ ],
+ 'Triggers' => [
+ 'description' => 'The triggers.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the trigger. Only cron and app_metric are supported.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron',
+ ],
+ 'MetaData' => [
+ 'description' => 'The metadata of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => '{"dryRun":true}',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Behaviour' => [
+ 'description' => 'The scaling behavior.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ScaleUp' => [
+ 'description' => 'The behavior configurations of the scale-out.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'SelectPolicy' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Max',
+ ],
+ 'Policies' => [
+ 'description' => 'The configurations of the auto scaling policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'description' => 'The period during which the check is performed. Valid values: 0 to 1800. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '15',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the policy. The value can be Pods or Percent.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pods',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the auto scaling policy. The value of this parameter is an integer greater than 0. If the policy type is Pods, the value indicates the number of pods. If the policy type is Percent, the value indicates a percentage. The value is allowed to exceed 100%.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ScaleDown' => [
+ 'description' => 'The behavior configurations of the scale-in.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'SelectPolicy' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Max',
+ ],
+ 'Policies' => [
+ 'description' => 'The configurations of the auto scaling policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'description' => 'The period during which the check is performed. Valid values: 0 to 1800. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '15',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the policy. The value can be Pods or Percent.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pods',
+ ],
+ 'Value' => [
+ 'description' => 'The value of the auto scaling policy. The value of this parameter is an integer greater than 0. If the policy type is Pods, the value indicates the number of pods. If the policy type is Percent, the value indicates a percentage. The value is allowed to exceed 100%.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"AppScalingRule\\": {\\n \\"UpdateTime\\": 23212323123,\\n \\"CreateTime\\": 23212323123,\\n \\"AppId\\": \\"78194c76-3dca-418e-a263-cccd1ab4****\\",\\n \\"LastDisableTime\\": 23212323123,\\n \\"MaxReplicas\\": 1,\\n \\"ScaleRuleEnabled\\": true,\\n \\"ScaleRuleType\\": \\"trigger\\",\\n \\"MinReplicas\\": 1,\\n \\"ScaleRuleName\\": \\"cpu\\",\\n \\"Metric\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 1,\\n \\"Metrics\\": [\\n {\\n \\"MetricTargetAverageUtilization\\": 1,\\n \\"MetricType\\": \\"cpu\\"\\n }\\n ]\\n },\\n \\"Trigger\\": {\\n \\"MinReplicas\\": 2,\\n \\"MaxReplicas\\": 122,\\n \\"Triggers\\": [\\n {\\n \\"Type\\": \\"cron\\",\\n \\"MetaData\\": \\"{\\\\\\"dryRun\\\\\\":true}\\",\\n \\"Name\\": \\"cpu\\"\\n }\\n ]\\n },\\n \\"Behaviour\\": {\\n \\"ScaleUp\\": {\\n \\"StabilizationWindowSeconds\\": 0,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n },\\n \\"ScaleDown\\": {\\n \\"StabilizationWindowSeconds\\": 300,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n }\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<AppScalingRule>\\n <ScaleRuleEnabled>true</ScaleRuleEnabled>\\n <LastDisableTime>23212323123</LastDisableTime>\\n <AppId>78194c76-3dca-418e-a263-cccd1ab4****</AppId>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <CreateTime>23212323123</CreateTime>\\n <UpdateTime>23212323123</UpdateTime>\\n <ScaleRuleName>cpu</ScaleRuleName>\\n <ScaleRuleType>trigger</ScaleRuleType>\\n <Metric>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <Metrics>\\n <MetricType>cpu</MetricType>\\n <MetricTargetAverageUtilization>1</MetricTargetAverageUtilization>\\n </Metrics>\\n </Metric>\\n <Trigger>\\n <MinReplicas>2</MinReplicas>\\n <MaxReplicas>122</MaxReplicas>\\n <Triggers>\\n <Type>cron</Type>\\n <MetaData>{\\"dryRun\\":true}</MetaData>\\n <Name>cpu</Name>\\n </Triggers>\\n </Trigger>\\n</AppScalingRule>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'CreateApplicationScalingRule',
+ 'requestParamsDescription' => '## Additional information about request parameters'."\n"
+ ."\n"
+ .' public class ScalingRuleTriggerDTO {'."\n"
+ .' /**'."\n"
+ .' * The maximum number of replicas. The maximum value is 1000. '."\n"
+ .' */'."\n"
+ .' Integer maxReplicas;'."\n"
+ .' /**'."\n"
+ .' * The minimum number of replicas. The minimum value is 0. '."\n"
+ .' */'."\n"
+ .' Integer minReplicas;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' * The list of triggers. Multiple triggers are supported. '."\n"
+ .' */'."\n"
+ .' List<Trigger> triggers;'."\n"
+ ."\n"
+ .' @Data'."\n"
+ .' @ToString'."\n"
+ .' @Builder'."\n"
+ .' @AllArgsConstructor'."\n"
+ .' @NoArgsConstructor'."\n"
+ .' public static class Trigger {'."\n"
+ .' /**'."\n"
+ .' * The type of the trigger. Valid values: cron and app_metric. '."\n"
+ .' */'."\n"
+ .' String type;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' * The name of the trigger. The name must start with a letter, and can contain digits, letters, hyphens (-), and underscores (_). The name can be up to 30 characters in length. '."\n"
+ .' */'."\n"
+ .' String name;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' The metadata of the trigger. Set this parameter to a JSON string that consists of key-value pairs. The metadata varies based on the trigger type. '."\n"
+ .' 1. cron'."\n"
+ .' {"period":"weekly","dryRun":"false","timerInDay":[{"atTime":"08:00","targetReplicas":2},{"atTime":"20:00","targetReplicas":1}],"timerInWeek":["Sat","Thu"]}'."\n"
+ .' * period: the scaling cycle. Valid values: daily, weekly, and monthly. '."\n"
+ .' * dryRun: Value false indicates observation and scaling. Value true indicates observation only. '."\n"
+ .' * timerInDay: the daily scaling cycle, which specifies the number of replicas to be maintained from a specific point in time. '."\n"
+ .' * timerInWeek: the day of the week in the CRON expression. Example: Fri. '."\n"
+ ."\n"
+ .' 2. app_metric'."\n"
+ .' {\\"metricName\\":\\"arms_appstat.incall_QPS\\",\\"dryRun\\":\\"false\\",\\"targetValAvg\\":\\"true\\",\\"targetAverageValue\\":\\"100\\"}'."\n"
+ .' '."\n"
+ .' * metricName: the name of the metric. Valid values:'."\n"
+ .' * arms_appstat.incall_QPS: the queries per second (QPS).'."\n"
+ .' * arms_appstat.incall_rt: the response time (RT).'."\n"
+ .' * arms_appstat.system_CPU: the CPU utilization.'."\n"
+ .' * arms_appstat.system_MEM: the memory usage.'."\n"
+ .' * dryRun: Value false indicates observation and scaling. Value true indicates observation only. '."\n"
+ .' * targetValAvg: Value true indicates that the target value is an average value. Value false indicates that the target value is not an average value. Set this parameter to true only for the arms_appstat.incall_QPS metric. '."\n"
+ .' * targetAverageValue or targetValue: Specify the targetAverageValue parameter if the targetValAvg parameter is set to true. Specify the targetValue parameter if the targetValAvg parameter is set to false. '."\n"
+ .' */'."\n"
+ .' String metadata;'."\n"
+ .' }'."\n"
+ .' }'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DeleteApplicationScalingRule' => [
+ 'summary' => 'Deletes an auto scaling policy for an application.',
+ 'path' => '/pop/v1/eam/scale/application_scaling_rule',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpu-trigger',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '5d6fa0bc-cc3**********',
+ ],
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"5d6fa0bc-cc3**********\\",\\n \\"Code\\": 0,\\n \\"Message\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>5d6fa0bc-cc3**********</RequestId>","errorExample":""}]',
+ 'title' => 'DeleteApplicationScalingRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DisableApplicationScalingRule' => [
+ 'summary' => 'Disables an auto scaling policy for an application.',
+ 'path' => '/pop/v1/eam/scale/disable_application_scaling_rule',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cron-trigger',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '5d6fa0bc-cc3**********',
+ ],
+ 'AppScalingRule' => [
+ 'description' => 'The information about the auto scaling policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the auto scaling policy was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the auto scaling policy was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application to which the auto scaling policy belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ 'LastDisableTime' => [
+ 'description' => 'The time when the auto scaling policy was last disabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleEnabled' => [
+ 'description' => 'Indicates whether the auto scaling policy is enabled. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The auto scaling policy is enabled.'."\n"
+ .'* **false**: The auto scaling policy is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScaleRuleType' => [
+ 'description' => 'The type of the auto scaling policy. The value is fixed to trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'trigger',
+ ],
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleName' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron-trigger',
+ ],
+ 'Metric' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'Metrics' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricTargetAverageUtilization' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MetricType' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Trigger' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'The minimum number of replicas. The lower limit is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'The maximum number of replicas. The upper limit is 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'Triggers' => [
+ 'description' => 'The information about the trigger.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the trigger. Valid values: cron and app_metric.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron',
+ ],
+ 'MetaData' => [
+ 'description' => 'The metadata of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => '{"dryRun":true}',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron-trigger',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"5d6fa0bc-cc3**********\\",\\n \\"AppScalingRule\\": {\\n \\"UpdateTime\\": 23212323123,\\n \\"CreateTime\\": 23212323123,\\n \\"AppId\\": \\"78194c76-3dca-418e-a263-cccd1ab4****\\",\\n \\"LastDisableTime\\": 23212323123,\\n \\"MaxReplicas\\": 1,\\n \\"ScaleRuleEnabled\\": true,\\n \\"ScaleRuleType\\": \\"trigger\\",\\n \\"MinReplicas\\": 1,\\n \\"ScaleRuleName\\": \\"cron-trigger\\",\\n \\"Metric\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 12,\\n \\"Metrics\\": [\\n {\\n \\"MetricTargetAverageUtilization\\": 1,\\n \\"MetricType\\": \\"1\\"\\n }\\n ]\\n },\\n \\"Trigger\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 12,\\n \\"Triggers\\": [\\n {\\n \\"Type\\": \\"cron\\",\\n \\"MetaData\\": \\"{\\\\\\"dryRun\\\\\\":true}\\",\\n \\"Name\\": \\"cron-trigger\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>5d6fa0bc-cc3**********</RequestId>\\n<AppScalingRule>\\n <ScaleRuleEnabled>true</ScaleRuleEnabled>\\n <LastDisableTime>23212323123</LastDisableTime>\\n <AppId>78194c76-3dca-418e-a263-cccd1ab4****</AppId>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <CreateTime>23212323123</CreateTime>\\n <UpdateTime>23212323123</UpdateTime>\\n <ScaleRuleName>cron-trigger</ScaleRuleName>\\n <ScaleRuleType>trigger</ScaleRuleType>\\n <Metric>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>12</MaxReplicas>\\n <Metrics>\\n <MetricType>1</MetricType>\\n <MetricTargetAverageUtilization>1</MetricTargetAverageUtilization>\\n </Metrics>\\n </Metric>\\n <Trigger>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>12</MaxReplicas>\\n <Triggers>\\n <Type>cron</Type>\\n <MetaData>{\\"dryRun\\":true}</MetaData>\\n <Name>cron-trigger</Name>\\n </Triggers>\\n </Trigger>\\n</AppScalingRule>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DisableApplicationScalingRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'EnableApplicationScalingRule' => [
+ 'summary' => 'Enables an auto scaling policy for an application.',
+ 'path' => '/pop/v1/eam/scale/enable_application_scaling_rule',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpu-trigger',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'AppScalingRule' => [
+ 'description' => 'The information about the auto scaling policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the auto scaling policy was last modified.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the auto scaling policy was created.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application to which the auto scaling policy belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ 'LastDisableTime' => [
+ 'description' => 'The time when the auto scaling policy was last disabled.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleEnabled' => [
+ 'description' => 'Indicates whether the auto scaling policy is enabled. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The auto scaling policy is enabled.'."\n"
+ .'* **false**: The auto scaling policy is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScaleRuleType' => [
+ 'description' => 'The type of the auto scaling policy. The value is fixed to trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'trigger',
+ ],
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleName' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu-trigger',
+ ],
+ 'Metric' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Metrics' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricTargetAverageUtilization' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'MetricType' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Trigger' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'The minimum number of replicas. The lower limit is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'The maximum number of replicas. The upper limit is 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '122',
+ ],
+ 'Triggers' => [
+ 'description' => 'The list of triggers.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the trigger. Valid values: cron and app_metric.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron',
+ ],
+ 'MetaData' => [
+ 'description' => 'The metadata of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => '{"dryRun":true}',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"AppScalingRule\\": {\\n \\"UpdateTime\\": 23212323123,\\n \\"CreateTime\\": 23212323123,\\n \\"AppId\\": \\"78194c76-3dca-418e-a263-cccd1ab4****\\",\\n \\"LastDisableTime\\": 23212323123,\\n \\"MaxReplicas\\": 1,\\n \\"ScaleRuleEnabled\\": true,\\n \\"ScaleRuleType\\": \\"trigger\\",\\n \\"MinReplicas\\": 1,\\n \\"ScaleRuleName\\": \\"cpu-trigger\\",\\n \\"Metric\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 1,\\n \\"Metrics\\": [\\n {\\n \\"MetricTargetAverageUtilization\\": 12,\\n \\"MetricType\\": \\"cpu\\"\\n }\\n ]\\n },\\n \\"Trigger\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 122,\\n \\"Triggers\\": [\\n {\\n \\"Type\\": \\"cron\\",\\n \\"MetaData\\": \\"{\\\\\\"dryRun\\\\\\":true}\\",\\n \\"Name\\": \\"cpu\\"\\n }\\n ]\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<AppScalingRule>\\n <ScaleRuleEnabled>true</ScaleRuleEnabled>\\n <LastDisableTime>23212323123</LastDisableTime>\\n <AppId>78194c76-3dca-418e-a263-cccd1ab4****</AppId>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <CreateTime>23212323123</CreateTime>\\n <UpdateTime>23212323123</UpdateTime>\\n <ScaleRuleName>cpu-trigger</ScaleRuleName>\\n <ScaleRuleType>trigger</ScaleRuleType>\\n <Metric>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <Metrics>\\n <MetricType>cpu</MetricType>\\n <MetricTargetAverageUtilization>12</MetricTargetAverageUtilization>\\n </Metrics>\\n </Metric>\\n <Trigger>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>122</MaxReplicas>\\n <Triggers>\\n <Type>cron</Type>\\n <MetaData>{\\"dryRun\\":true}</MetaData>\\n <Name>cpu</Name>\\n </Triggers>\\n </Trigger>\\n</AppScalingRule>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'EnableApplicationScalingRule',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'UpdateApplicationScalingRule' => [
+ 'summary' => 'Modifies an auto scaling policy for an application.',
+ 'path' => '/pop/v1/eam/scale/application_scaling_rule',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpu-trigger',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the auto scaling policy.'."\n"
+ ."\n"
+ .'* Set the value to trigger.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'trigger',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the auto scaling policy. Valid values:'."\n"
+ ."\n"
+ .'* **true**: enables the auto scaling policy.'."\n"
+ .'* **false**: disables the auto scaling policy.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleMetric',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleTimer',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'ScalingRuleTrigger',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The trigger policy for the auto scaling policy. Set this parameter in the JSON format by using the ScalingRuleTriggerDTO class. For more information, see Additional description of request parameters.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ScalingRuleTriggerDTO{......}',
+ ],
+ ],
+ [
+ 'name' => 'ScalingBehaviour',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The behavior of the auto scaling. See the example for the data structure.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"scaleUp":{"stabilizationWindowSeconds":"0","selectPolicy":"Max","policies":[{"type":"Pods","value":5,"periodSeconds":15}]},"scaleDown":{"stabilizationWindowSeconds":"300","selectPolicy":"Max","policies":[{"type":"Percent","value":200,"periodSeconds":15}]}}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'AppScalingRule' => [
+ 'description' => 'The information about the auto scaling policy.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the auto scaling policy was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the auto scaling policy was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application to which the auto scaling policy belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ 'LastDisableTime' => [
+ 'description' => 'The time when the auto scaling policy was last disabled. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1574251601785',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleEnabled' => [
+ 'description' => 'Indicates whether the auto scaling policy is enabled. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The auto scaling policy is enabled.'."\n"
+ .'* **false**: The auto scaling policy is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScaleRuleType' => [
+ 'description' => 'The type of the auto scaling policy. The value is fixed to trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'trigger',
+ ],
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleName' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu-trigger',
+ ],
+ 'Metric' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Metrics' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricTargetAverageUtilization' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MetricType' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Trigger' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'The minimum number of replicas. The minimum value is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'The maximum number of replicas. The maximum value is 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '122',
+ ],
+ 'Triggers' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the trigger. Valid values: cron and app_metric.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron',
+ ],
+ 'MetaData' => [
+ 'description' => 'The metadata of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => '{"dryRun":true}',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Behaviour' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ScaleUp' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'description' => 'The cooldown time of the scale-out. Valid values: 0 to 3600. Unit: seconds. Default value: 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'SelectPolicy' => [
+ 'description' => 'The step size policy for the scale-out. Valid values: Max, Min, and Disable.'."\n",
+ 'type' => 'string',
+ 'example' => 'Max',
+ ],
+ 'Policies' => [
+ 'description' => 'The configuration of the policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'description' => 'The cycle of the policy check. Valid values: 0 to 1800. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '15',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the policy. Valid values: Pods and Percent.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pods',
+ ],
+ 'Value' => [
+ 'description' => 'The policy value of auto scaling. Set the value to an integer greater than zero. If the policy type is Pods, the value of this parameter indicates the number of pods. If the policy type is Percent, the value of this parameter indicates a percentage, which can exceed 100%.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ScaleDown' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'description' => 'The cooldown time of the scale-in. Valid values: 0 to 3600. Unit: seconds. Default value: 300.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'SelectPolicy' => [
+ 'description' => 'The step size policy for the scale-in. Valid values: Max, Min, and Disable.'."\n",
+ 'type' => 'string',
+ 'example' => 'Max',
+ ],
+ 'Policies' => [
+ 'description' => 'The configuration of the policy.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'description' => 'The cycle of the policy check. Valid values: 0 to 1800. Unit: seconds.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '15',
+ ],
+ 'Type' => [
+ 'description' => 'The type of the policy. Valid values: Pods and Percent.'."\n",
+ 'type' => 'string',
+ 'example' => 'Pods',
+ ],
+ 'Value' => [
+ 'description' => 'The policy value of auto scaling. Set the value to an integer greater than zero. If the policy type is Pods, the value of this parameter indicates the number of pods. If the policy type is Percent, the value of this parameter indicates a percentage, which can exceed 100%.'."\n",
+ 'type' => 'string',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"AppScalingRule\\": {\\n \\"UpdateTime\\": 1574251601785,\\n \\"CreateTime\\": 1574251601785,\\n \\"AppId\\": \\"78194c76-3dca-418e-a263-cccd1ab4****\\",\\n \\"LastDisableTime\\": 1574251601785,\\n \\"MaxReplicas\\": 1,\\n \\"ScaleRuleEnabled\\": true,\\n \\"ScaleRuleType\\": \\"trigger\\",\\n \\"MinReplicas\\": 1,\\n \\"ScaleRuleName\\": \\"cpu-trigger\\",\\n \\"Metric\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 1,\\n \\"Metrics\\": [\\n {\\n \\"MetricTargetAverageUtilization\\": 1,\\n \\"MetricType\\": \\"cpu\\"\\n }\\n ]\\n },\\n \\"Trigger\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 122,\\n \\"Triggers\\": [\\n {\\n \\"Type\\": \\"cron\\",\\n \\"MetaData\\": \\"{\\\\\\"dryRun\\\\\\":true}\\",\\n \\"Name\\": \\"cpu\\"\\n }\\n ]\\n },\\n \\"Behaviour\\": {\\n \\"ScaleUp\\": {\\n \\"StabilizationWindowSeconds\\": 0,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n },\\n \\"ScaleDown\\": {\\n \\"StabilizationWindowSeconds\\": 300,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n }\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<Message>success</Message>\\n<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<AppScalingRule>\\n <ScaleRuleEnabled>true</ScaleRuleEnabled>\\n <LastDisableTime>23212323123</LastDisableTime>\\n <AppId>78194c76-3dca-418e-a263-cccd1ab4****</AppId>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <CreateTime>23212323123</CreateTime>\\n <UpdateTime>23212323123</UpdateTime>\\n <ScaleRuleName>cpu-trigger</ScaleRuleName>\\n <ScaleRuleType>trigger</ScaleRuleType>\\n <Metric>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <Metrics>\\n <MetricType>cpu</MetricType>\\n <MetricTargetAverageUtilization>1</MetricTargetAverageUtilization>\\n </Metrics>\\n </Metric>\\n <Trigger>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>122</MaxReplicas>\\n <Triggers>\\n <Type>cron</Type>\\n <MetaData>{\\"dryRun\\":true}</MetaData>\\n <Name>cpu</Name>\\n </Triggers>\\n </Trigger>\\n</AppScalingRule>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'UpdateApplicationScalingRule',
+ 'requestParamsDescription' => '## Additional description of request parameters'."\n"
+ ."\n"
+ .' public class ScalingRuleTriggerDTO {'."\n"
+ .' /**'."\n"
+ .' * The maximum number of replicas. The maximum value is 1000. '."\n"
+ .' */'."\n"
+ .' Integer maxReplicas;'."\n"
+ .' /**'."\n"
+ .' * The minimum number of replicas. The minimum value is 0. '."\n"
+ .' */'."\n"
+ .' Integer minReplicas;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' * The list of triggers. Multiple triggers are supported. '."\n"
+ .' */'."\n"
+ .' List<Trigger> triggers;'."\n"
+ ."\n"
+ .' @Data'."\n"
+ .' @ToString'."\n"
+ .' @Builder'."\n"
+ .' @AllArgsConstructor'."\n"
+ .' @NoArgsConstructor'."\n"
+ .' public static class Trigger {'."\n"
+ .' /**'."\n"
+ .' * The type of the trigger. Valid values: cron and app_metric. '."\n"
+ .' */'."\n"
+ .' String type;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' * The name of the trigger. The name must start with a letter, and can contain digits, letters, hyphens (-), and underscores (_). The name can be up to 30 characters in length. '."\n"
+ .' */'."\n"
+ .' String name;'."\n"
+ ."\n"
+ .' /**'."\n"
+ .' The metadata of the trigger. Set this parameter to a JSON string that consists of key-value pairs. The metadata varies based on the trigger type. '."\n"
+ .' 1. cron'."\n"
+ .' {"period":"weekly","dryRun":"false","timerInDay":[{"atTime":"08:00","targetReplicas":2},{"atTime":"20:00","targetReplicas":1}],"timerInWeek":["Sat","Thu"]}'."\n"
+ .' * period: the scaling cycle. Valid values: daily, weekly, and monthly. '."\n"
+ .' * dryRun: Value false indicates observation and scaling. Value true indicates observation only. '."\n"
+ .' * timerInDay: the daily scaling cycle, which specifies the number of replicas to be maintained from a specific point in time. '."\n"
+ .' * timerInWeek: the day of the week in the CRON expression. Example: Fri. '."\n"
+ ."\n"
+ .' 2. app_metric'."\n"
+ .' {\\"metricName\\":\\"arms_appstat.incall_QPS\\",\\"dryRun\\":\\"false\\",\\"targetValAvg\\":\\"true\\",\\"targetAverageValue\\":\\"100\\"}'."\n"
+ .' '."\n"
+ .' * metricName: the name of the metric. Valid values:'."\n"
+ .' * arms_appstat.incall_QPS: the queries per second (QPS).'."\n"
+ .' * arms_appstat.incall_rt: the response time (RT).'."\n"
+ .' * arms_appstat.system_CPU: the CPU utilization.'."\n"
+ .' * arms_appstat.system_MEM: the memory usage.'."\n"
+ .' * dryRun: Value false indicates observation and scaling. Value true indicates observation only. '."\n"
+ .' * targetValAvg: Value true indicates that the target value is an average value. Value false indicates that the target value is not an average value. Set this parameter to true only for the arms_appstat.incall_QPS metric. '."\n"
+ .' * targetAverageValue or targetValue: Specify the targetAverageValue parameter if the targetValAvg parameter is set to true. Specify the targetValue parameter if the targetValAvg parameter is set to false. '."\n"
+ .' */'."\n"
+ .' String metadata;'."\n"
+ .' }'."\n"
+ .' }'."\n",
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'DescribeApplicationScalingRules' => [
+ 'path' => '/pop/v1/eam/scale/application_scaling_rules',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the application. You can call the ListApplication operation to query the application ID. For more information, see [ListApplication](~~149390~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The message that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'a5281053-08e4-47a5-b2ab-5c0323de7b5a',
+ ],
+ 'AppScalingRules' => [
+ 'description' => 'The auto scaling policies of the application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'CurrentPage' => [
+ 'description' => 'The page number of the returned page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'The number of auto scaling policies returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'TotalSize' => [
+ 'description' => 'The total number of auto scaling policies.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '20',
+ ],
+ 'Result' => [
+ 'description' => 'The information about auto scaling policies.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UpdateTime' => [
+ 'description' => 'The time when the auto scaling policy was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'CreateTime' => [
+ 'description' => 'The time when the auto scaling policy was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application to which the auto scaling policy belongs.'."\n",
+ 'type' => 'string',
+ 'example' => '78194c76-3dca-418e-a263-cccd1ab4****',
+ ],
+ 'LastDisableTime' => [
+ 'description' => 'The time when the auto scaling policy was last disabled. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '23212323123',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleEnabled' => [
+ 'description' => 'Indicates whether the auto scaling policy is enabled. Valid values:'."\n"
+ ."\n"
+ .'* **true**: The auto scaling policy is enabled.'."\n"
+ .'* **false**: The auto scaling policy is disabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ScaleRuleType' => [
+ 'description' => 'The type of the auto scaling policy. The value is fixed to trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'trigger',
+ ],
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'ScaleRuleName' => [
+ 'description' => 'The name of the auto scaling policy.'."\n",
+ 'type' => 'string',
+ 'example' => 'cpu-trigger',
+ ],
+ 'Metric' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'Metrics' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricTargetAverageUtilization' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MetricType' => [
+ 'description' => 'This parameter is deprecated.'."\n",
+ 'type' => 'string',
+ 'example' => 'asd',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Trigger' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'MinReplicas' => [
+ 'description' => 'The minimum number of replicas. The lower limit is 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxReplicas' => [
+ 'description' => 'The maximum number of replicas. The upper limit is 1000.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '122',
+ ],
+ 'Triggers' => [
+ 'description' => 'The configurations of the trigger.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'The type of the trigger. Valid values: cron and app_metric.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron',
+ ],
+ 'MetaData' => [
+ 'description' => 'The metadata of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => '{"dryRun":true}',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the trigger.'."\n",
+ 'type' => 'string',
+ 'example' => 'cron-trigger',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'Behaviour' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ScaleUp' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'SelectPolicy' => [
+ 'type' => 'string',
+ ],
+ 'Policies' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ScaleDown' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StabilizationWindowSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'SelectPolicy' => [
+ 'type' => 'string',
+ ],
+ 'Policies' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PeriodSeconds' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Type' => [
+ 'type' => 'string',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"a5281053-08e4-47a5-b2ab-5c0323de7b5a\\",\\n \\"AppScalingRules\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 20,\\n \\"Result\\": [\\n {\\n \\"UpdateTime\\": 23212323123,\\n \\"CreateTime\\": 23212323123,\\n \\"AppId\\": \\"78194c76-3dca-418e-a263-cccd1ab4****\\",\\n \\"LastDisableTime\\": 23212323123,\\n \\"MaxReplicas\\": 1,\\n \\"ScaleRuleEnabled\\": true,\\n \\"ScaleRuleType\\": \\"trigger\\",\\n \\"MinReplicas\\": 1,\\n \\"ScaleRuleName\\": \\"cpu-trigger\\",\\n \\"Metric\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 1,\\n \\"Metrics\\": [\\n {\\n \\"MetricTargetAverageUtilization\\": 1,\\n \\"MetricType\\": \\"asd\\"\\n }\\n ]\\n },\\n \\"Trigger\\": {\\n \\"MinReplicas\\": 1,\\n \\"MaxReplicas\\": 122,\\n \\"Triggers\\": [\\n {\\n \\"Type\\": \\"cron\\",\\n \\"MetaData\\": \\"{\\\\\\"dryRun\\\\\\":true}\\",\\n \\"Name\\": \\"cron-trigger\\"\\n }\\n ]\\n },\\n \\"Behaviour\\": {\\n \\"ScaleUp\\": {\\n \\"StabilizationWindowSeconds\\": 15,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n },\\n \\"ScaleDown\\": {\\n \\"StabilizationWindowSeconds\\": 300,\\n \\"SelectPolicy\\": \\"Max\\",\\n \\"Policies\\": [\\n {\\n \\"PeriodSeconds\\": 15,\\n \\"Type\\": \\"Pods\\",\\n \\"Value\\": \\"10\\"\\n }\\n ]\\n }\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<AppScalingRules>\\n <PageSize>10</PageSize>\\n <CurrentPage>1</CurrentPage>\\n <TotalSize>20</TotalSize>\\n <Result>\\n <ScaleRuleEnabled>true</ScaleRuleEnabled>\\n <LastDisableTime>23212323123</LastDisableTime>\\n <AppId>78194c76-3dca-418e-a263-cccd1ab4****</AppId>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <CreateTime>23212323123</CreateTime>\\n <UpdateTime>23212323123</UpdateTime>\\n <ScaleRuleName>cpu-trigger</ScaleRuleName>\\n <ScaleRuleType>trigger</ScaleRuleType>\\n <Metric>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>1</MaxReplicas>\\n <Metrics>\\n <MetricType>asd</MetricType>\\n <MetricTargetAverageUtilization>1</MetricTargetAverageUtilization>\\n </Metrics>\\n </Metric>\\n <Trigger>\\n <MinReplicas>1</MinReplicas>\\n <MaxReplicas>122</MaxReplicas>\\n <Triggers>\\n <Type>cron</Type>\\n <MetaData>{\\"dryRun\\":true}</MetaData>\\n <Name>cron-trigger</Name>\\n </Triggers>\\n </Trigger>\\n </Result>\\n</AppScalingRules>\\n<Message>success</Message>\\n<RequestId>a5281053-08e4-47a5-b2ab-5c0323de7b5a</RequestId>\\n<Code>200</Code>","errorExample":""}]',
+ 'title' => 'DescribeApplicationScalingRules',
+ 'summary' => 'Queries the auto scaling policies of an application.',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ ],
+ 'InsertSwimmingLaneGroup' => [
+ 'summary' => 'Creates a lane group.',
+ 'path' => '/pop/v5/trafficmgnt/swimming_lane_groups',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the lane group.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'EntryApp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ingress application. The application is in the EDAS:{application ID} format.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'EDAS:5cc89013-9232-4b36-b3eb-ff89b3d2****',
+ ],
+ ],
+ [
+ 'name' => 'AppIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'IDs of all applications that are related to the lane group. Separate multiple applications with commas (,).'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'bdb251cc-02a6-48dd-891b-2ab21b25****,ee33ed0c-fddc-47b5-9f63-e1ccc4be****',
+ ],
+ ],
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the custom namespace. The ID is in the physical region ID:custom namespace identifier format. Example: cn-hangzhou:test.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-hangzhou:test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'D5268CAC-D356-5C8D-BC7C-FBE0D13B****',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou:test',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane group.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '64',
+ ],
+ 'ApplicationList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Application' => [
+ 'description' => 'The list of all applications that are related to the lane group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about applications.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'bdb251cc-02a6-48dd-891b-2ab21b25****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'EntryApplication' => [
+ 'description' => 'The information about the Enterprise Distributed Application Service (EDAS) ingress gateway.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'bdb251cc-02a6-48dd-891b-2ab21b25c****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 605 => [
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterInvalid.PointedParameter.message',
+ 'errorMessage' => 'The value of parameter {0} is invalid.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D5268CAC-D356-5C8D-BC7C-FBE0D13B****\\",\\n \\"Data\\": {\\n \\"NamespaceId\\": \\"cn-hangzhou:test\\",\\n \\"Name\\": \\"test\\",\\n \\"Id\\": 64,\\n \\"ApplicationList\\": {\\n \\"Application\\": [\\n {\\n \\"AppName\\": \\"test-app\\",\\n \\"AppId\\": \\"bdb251cc-02a6-48dd-891b-2ab21b25****\\"\\n }\\n ]\\n },\\n \\"EntryApplication\\": {\\n \\"AppName\\": \\"test-app\\",\\n \\"AppId\\": \\"bdb251cc-02a6-48dd-891b-2ab21b25c****\\"\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'InsertSwimmingLaneGroup',
+ ],
+ 'InsertSwimmingLane' => [
+ 'summary' => 'Creates a lane.',
+ 'path' => '/pop/v5/trafficmgnt/swimming_lanes',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the custom namespace. The ID is in the `physical region ID:custom namespace identifier` format. Example: `cn-hangzhou:test`.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-beijing:test',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the lane.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'test1',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'tag',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '95',
+ ],
+ ],
+ [
+ 'name' => 'EntryRules',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The throttling conditions.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"priority":1,"path":"/traffic","condition":"AND","restItems":[{"type":"header","name":"testheader","value":"testvalue","cond":"==","operator":"rawvalue"}]}]',
+ ],
+ ],
+ [
+ 'name' => 'EnableRules',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the throttling rule.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AppInfos',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The information about applications related to the lane.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"appId":"f72deaac-26ba-429a-948d-5fa47c4a****"},{"appId":"5049d2c8-f997-4fc9-92a2-153506a6****"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '75972A87-5682-5277-ADA7-DA2A01BE****',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:test',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '95',
+ ],
+ 'EntryRule' => [
+ 'description' => 'The throttling rule for the lane.'."\n"
+ ."\n"
+ .'priority: the priority of the throttling rule for the lane. Valid values: 1 to 100.'."\n"
+ ."\n"
+ .'path: the path that is matched by the throttling rule for the lane.'."\n"
+ ."\n"
+ .'restItems: conditions to be met.'."\n"
+ ."\n"
+ .'condition: the relationship among the conditions to be met.'."\n"
+ ."\n"
+ .'* AND: all conditions'."\n"
+ .'* OR: one of the conditions'."\n"
+ ."\n"
+ .'restItems.type: the type of the rule. Valid values:'."\n"
+ ."\n"
+ .'* header: matches by request header.'."\n"
+ .'* cookie: matches by request cookie.'."\n"
+ .'* param: matches by request parameters.'."\n"
+ ."\n"
+ .'restItems.name: the key that matches the rule.'."\n"
+ ."\n"
+ .'restItems.value: the value that matches the rule.'."\n"
+ ."\n"
+ .'restItems.cond: the condition that matches the rule. Valid values:'."\n"
+ ."\n"
+ .'* "==": The parameter value is equal to the value that you enter in the Value field.'."\n"
+ .'* "!=": The parameter value is not equal to the value that you enter in the Value field.'."\n"
+ .'* ">": The parameter value is greater than the value that you enter in the Value field.'."\n"
+ .'* "<": The parameter value is less than the value that you enter in the Value field.'."\n"
+ .'* ">=": The parameter value is greater than or equal to the value that you enter in the Value field.'."\n"
+ .'* "<=": The parameter value is less than or equal to the value that you enter in the Value field.'."\n"
+ .'* "in": The parameter value is within the values that you enter in the Value field.'."\n"
+ ."\n"
+ .'restItems.operator: the type of the value. Valid values:'."\n"
+ ."\n"
+ .'* rawvalue: the initial value'."\n"
+ .'* mod: the reminder obtained by performing modulo operation'."\n"
+ .'* list: the value from the list'."\n",
+ 'type' => 'string',
+ 'example' => '[{\\"condition\\":\\"AND\\",\\"enable\\":false,\\"path\\":\\"/traffic\\",\\"priority\\":1,\\"restItems\\":[{\\"cond\\":\\"==\\",\\"datum\\":\\"testvalue\\",\\"name\\":\\"testheader\\",\\"operator\\":\\"rawvalue\\",\\"type\\":\\"header\\",\\"value\\":\\"testvalue\\"}]}]',
+ ],
+ 'AppInfos' => [
+ 'description' => 'The applications that are associated with lanes.'."\n",
+ 'type' => 'string',
+ 'example' => '[{"appId":"9dcba109-ee9f-4e67-8916-41'."\n"
+ .'*******"}]',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => '8202e09',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => 'test1',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '88',
+ ],
+ 'SwimmingLaneAppRelationShipList' => [
+ 'description' => 'The association relationships between lanes and applications.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-app',
+ ],
+ 'Rules' => [
+ 'description' => 'The association rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'dubbo',
+ ],
+ 'LaneId' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '88',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'bd170895-096c-4944-9007-d4582c77****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 605 => [
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterInvalid.PointedParameter.message',
+ 'errorMessage' => 'The value of parameter {0} is invalid.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"75972A87-5682-5277-ADA7-DA2A01BE****\\",\\n \\"Data\\": {\\n \\"NamespaceId\\": \\"cn-beijing:test\\",\\n \\"GroupId\\": 95,\\n \\"EntryRule\\": \\"[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enable\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/traffic\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"restItems\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"cond\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"==\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"datum\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testvalue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testheader\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rawvalue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"header\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testvalue\\\\\\\\\\\\\\"}]}]\\",\\n \\"AppInfos\\": \\"[{\\\\\\"appId\\\\\\":\\\\\\"9dcba109-ee9f-4e67-8916-41\\\\n*******\\\\\\"}]\\",\\n \\"Tag\\": \\"8202e09\\",\\n \\"Name\\": \\"test1\\",\\n \\"Id\\": 88,\\n \\"SwimmingLaneAppRelationShipList\\": [\\n {\\n \\"AppName\\": \\"test-app\\",\\n \\"Rules\\": \\"dubbo\\",\\n \\"LaneId\\": 88,\\n \\"AppId\\": \\"bd170895-096c-4944-9007-d4582c77****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'InsertSwimmingLane',
+ ],
+ 'DeleteSwimmingLane' => [
+ 'summary' => 'Deletes a lane.',
+ 'path' => '/pop/v5/trafficmgnt/swimming_lanes',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LaneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '241',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Data' => [
+ 'description' => 'Indicates whether the lane is deleted.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4264F69C-686C-4107-B493-0599C8d1****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Data\\": 1,\\n \\"RequestId\\": \\"4264F69C-686C-4107-B493-0599C8d1****\\"\\n}","type":"json"}]',
+ 'title' => 'DeleteSwimmingLane',
+ ],
+ 'UpdateSwimmingLaneGroup' => [
+ 'summary' => 'Updates a lane group.',
+ 'path' => '/pop/v5/trafficmgnt/swimming_lane_groups',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '98',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the lane group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'test-swimlanegroup',
+ ],
+ ],
+ [
+ 'name' => 'EntryApp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ingress application. The application is in the EDAS:{application ID} format.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'EDAS:dd2690a7-3fe4-4975-9a4c-5a60ffd6****',
+ ],
+ ],
+ [
+ 'name' => 'AppIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The list of application IDs related to the lane group.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '8e7689af-6ddd-4676-8ee6-5fbecdf2****,f72deaac-26ba-429a-948d-5fa47c4a****,5049d2c8-f997-4fc9-92a2-153506a6****,99a2d4b5-99a5-4e25-a964-1bd03a17****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The content that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '7580ED24-A2F0-5ECC-9F2B-B92E2509****',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou:test',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane group.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '98',
+ ],
+ 'ApplicationList' => [
+ 'description' => 'The list of applications related to the lane group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The object data of the application list.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '476d26d9-b54c-40b8-8af9-d898cdc2****',
+ ],
+ ],
+ ],
+ ],
+ 'EntryApplication' => [
+ 'description' => 'The EDAS ingress gateway information.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-gateway',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'd52c9de9-53d0-4191-aa72-88974a6f****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ [
+ 'errorCode' => 'OperationFailed.AuthExchange',
+ 'errorMessage' => 'Error transforming authentication data into whitelist rules.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"7580ED24-A2F0-5ECC-9F2B-B92E2509****\\",\\n \\"Data\\": {\\n \\"NamespaceId\\": \\"cn-hangzhou:test\\",\\n \\"Name\\": \\"name\\",\\n \\"Id\\": 98,\\n \\"ApplicationList\\": [\\n {\\n \\"AppName\\": \\"test-app\\",\\n \\"AppId\\": \\"476d26d9-b54c-40b8-8af9-d898cdc2****\\"\\n }\\n ],\\n \\"EntryApplication\\": {\\n \\"AppName\\": \\"test-gateway\\",\\n \\"AppId\\": \\"d52c9de9-53d0-4191-aa72-88974a6f****\\"\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateSwimmingLaneGroup',
+ ],
+ 'UpdateSwimmingLane' => [
+ 'summary' => '更新泳道',
+ 'path' => '/pop/v5/trafficmgnt/swimming_lanes',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LaneId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '224',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the lane.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => 'test-swimlane',
+ ],
+ ],
+ [
+ 'name' => 'EnableRules',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to enable the throttling rule.'."\n",
+ 'type' => 'boolean',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'AppInfos',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The list of applications that are related to the lane.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"appId":"8e7689af-6ddd-4676-8ee6-5fbecdf2****"},{"appId":"f72deaac-26ba-429a-948d-5fa47c4a****"},{"appId":"99a2d4b5-99a5-4e25-a964-1bd03a17****"}]',
+ ],
+ ],
+ [
+ 'name' => 'EntryRules',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The configuration of the throttling rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"priority":1,"path":"/traffictest","condition":"AND","restItems":[{"type":"header","name":"testheader","value":"testheadervalue","cond":"==","operator":"rawvalue"}]}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '6CB46AEA-309C-5041-9EC7-FCF4478F****',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-beijing:qa',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '171',
+ ],
+ 'EntryRule' => [
+ 'description' => 'The rule of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => '[{\\"condition\\":\\"AND\\",\\"enable\\":true,\\"path\\":\\"/traffictest\\",\\"priority\\":1,\\"restItems\\":[{\\"cond\\":\\"==\\",\\"datum\\":\\"testheadervalue\\",\\"name\\":\\"testheader\\",\\"operator\\":\\"rawvalue\\",\\"type\\":\\"header\\",\\"value\\":\\"testheadervalue\\"}]}]"',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => '2cb6b8a',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-swimlane',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '321',
+ ],
+ 'SwimmingLaneAppRelationShipList' => [
+ 'description' => 'The list of associations between the lane and the related application.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The association between the lane and the related application.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'test-app',
+ ],
+ 'Rules' => [
+ 'description' => 'The association rule.'."\n",
+ 'type' => 'string',
+ 'example' => 'dubbo',
+ ],
+ 'LaneId' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '321',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '476d26d9-b54c-40b8-8af9-d898cdc2****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"6CB46AEA-309C-5041-9EC7-FCF4478F****\\",\\n \\"Data\\": {\\n \\"NamespaceId\\": \\"cn-beijing:qa\\",\\n \\"GroupId\\": 171,\\n \\"EntryRule\\": \\"[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/traffictest\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"restItems\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"cond\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"==\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"datum\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testheadervalue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testheader\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rawvalue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"header\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"testheadervalue\\\\\\\\\\\\\\"}]}]\\\\\\"\\",\\n \\"Tag\\": \\"2cb6b8a\\",\\n \\"Name\\": \\"test-swimlane\\",\\n \\"Id\\": 321,\\n \\"SwimmingLaneAppRelationShipList\\": [\\n {\\n \\"AppName\\": \\"test-app\\",\\n \\"Rules\\": \\"dubbo\\",\\n \\"LaneId\\": 321,\\n \\"AppId\\": \\"476d26d9-b54c-40b8-8af9-d898cdc2****\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'UpdateSwimmingLane',
+ ],
+ 'ListSwimmingLaneGroup' => [
+ 'path' => '/pop/v5/trafficmgnt/swimming_lane_groups',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'LogicalRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the namespace.'."\n"
+ ."\n"
+ .'The ID of a custom namespace is in the region ID:namespace identifier format. Example: cn-beijing:test.\\'."\n"
+ .'The ID of the default namespace is in the region ID format. Example: cn-beijing.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-shenzhen:publish',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'BF238E37-671A-5045-B49A-0B29C166****',
+ ],
+ 'Data' => [
+ 'description' => 'The data of the lane group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the microservices namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-shanghai:daily',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane group.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '257',
+ ],
+ 'ApplicationList' => [
+ 'description' => 'The applications that are related to the lane group.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'java-app',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '406073bf-afc2-4142-b3d7-629a0308****',
+ ],
+ ],
+ ],
+ ],
+ 'EntryApplication' => [
+ 'description' => 'The information about the Enterprise Distributed Application Service (EDAS) ingress gateway.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'java-app',
+ ],
+ 'Source' => [
+ 'description' => 'The data source. Set the value to EDAS.'."\n",
+ 'type' => 'string',
+ 'example' => 'EDAS',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '406073bf-afc2-4142-b3d7-629a0308****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterInvalid.PointedParameter.message',
+ 'errorMessage' => 'The value of parameter {0} is invalid.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"BF238E37-671A-5045-B49A-0B29C166****\\",\\n \\"Data\\": [\\n {\\n \\"NamespaceId\\": \\"cn-shanghai:daily\\",\\n \\"Name\\": \\"name\\",\\n \\"Id\\": 257,\\n \\"ApplicationList\\": [\\n {\\n \\"AppName\\": \\"java-app\\",\\n \\"AppId\\": \\"406073bf-afc2-4142-b3d7-629a0308****\\"\\n }\\n ],\\n \\"EntryApplication\\": {\\n \\"AppName\\": \\"java-app\\",\\n \\"Source\\": \\"EDAS\\",\\n \\"AppId\\": \\"406073bf-afc2-4142-b3d7-629a0308****\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListSwimmingLaneGroup',
+ 'summary' => 'Queries lane groups.',
+ ],
+ 'ListSwimmingLane' => [
+ 'path' => '/pop/v5/trafficmgnt/swimming_lanes',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '79',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The object data that is returned.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The HTTP status code that is returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The additional information that is returned.'."\n",
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C2CDBBF9-9C9A-5AA1-9F39-094ADEB3****',
+ ],
+ 'Data' => [
+ 'description' => 'The data that is returned.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NamespaceId' => [
+ 'description' => 'The ID of the microservices namespace.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou:pre2',
+ ],
+ 'GroupId' => [
+ 'description' => 'The ID of the lane group.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '156',
+ ],
+ 'ScenarioSign' => [
+ 'description' => 'The expected tag.'."\n",
+ 'type' => 'string',
+ 'example' => 'd0ad1052',
+ ],
+ 'EntryRule' => [
+ 'description' => 'The conditions.'."\n",
+ 'type' => 'string',
+ 'example' => '[{\\"condition\\":\\"AND\\",\\"enable\\":true,\\"path\\":\\"/\\",\\"priority\\":1,\\"restItems\\":[{\\"cond\\":\\"==\\",\\"datum\\":\\"value\\",\\"name\\":\\"tags\\",\\"operator\\":\\"rawvalue\\",\\"type\\":\\"header\\",\\"value\\":\\"value\\"}]}]',
+ ],
+ 'Tag' => [
+ 'description' => 'The tag.'."\n",
+ 'type' => 'string',
+ 'example' => '2cb6b8a',
+ ],
+ 'EnableRules' => [
+ 'description' => 'Indicates whether the throttling rule is enabled.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the lane.'."\n",
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ 'Id' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '348',
+ ],
+ 'SwimmingLaneAppRelationShipList' => [
+ 'description' => 'The applications that are related to the lane.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => [
+ 'description' => 'The name of the application.'."\n",
+ 'type' => 'string',
+ 'example' => 'prod-app-58846',
+ ],
+ 'Rules' => [
+ 'description' => 'The association rule.'."\n",
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'LaneId' => [
+ 'description' => 'The ID of the lane.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '348',
+ ],
+ 'AppId' => [
+ 'description' => 'The ID of the application.'."\n",
+ 'type' => 'string',
+ 'example' => '3b615783-01f1-4569-baa3-cb71bdb6****',
+ ],
+ 'Extra' => [
+ 'description' => 'Additional information.',
+ 'type' => 'string',
+ 'example' => 'edas-canary',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'Edas.errorcode.ParameterInvalid.PointedParameter.message',
+ 'errorMessage' => 'The value of parameter {0} is invalid.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"C2CDBBF9-9C9A-5AA1-9F39-094ADEB3****\\",\\n \\"Data\\": [\\n {\\n \\"NamespaceId\\": \\"cn-hangzhou:pre2\\",\\n \\"GroupId\\": 156,\\n \\"ScenarioSign\\": \\"d0ad1052\\",\\n \\"EntryRule\\": \\"[{\\\\\\\\\\\\\\"condition\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AND\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"enable\\\\\\\\\\\\\\":true,\\\\\\\\\\\\\\"path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"/\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"priority\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"restItems\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"cond\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"==\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"datum\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"tags\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"operator\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rawvalue\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"header\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\"}]}]\\",\\n \\"Tag\\": \\"2cb6b8a\\",\\n \\"EnableRules\\": true,\\n \\"Name\\": \\"name\\",\\n \\"Id\\": 348,\\n \\"SwimmingLaneAppRelationShipList\\": [\\n {\\n \\"AppName\\": \\"prod-app-58846\\",\\n \\"Rules\\": \\"\\\\\\"\\\\\\"\\",\\n \\"LaneId\\": 348,\\n \\"AppId\\": \\"3b615783-01f1-4569-baa3-cb71bdb6****\\",\\n \\"Extra\\": \\"edas-canary\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => 'ListSwimmingLane',
+ 'summary' => 'Queries lanes in a lane group.',
+ ],
+ 'DescribeLocalitySetting' => [
+ 'path' => '/pop/sp/applications/locality/setting',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-shanghai',
+ ],
+ ],
+ [
+ 'name' => 'NamespaceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cn-shanghai:test',
+ ],
+ ],
+ [
+ 'name' => 'AppId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'dc190221-22b5-491c-a548-82f5fa1e3e26',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'HttpStatusCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1053-08e4-47a5-b2ab-5c0323de****',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Threshold' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '15',
+ ],
+ 'Enabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1053-08e4-47a5-b2ab-5c0323de****\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"Threshold\\": 15,\\n \\"Enabled\\": true\\n }\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-gov-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-nu16-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-edge-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fujian',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-haidian-cm12-c01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-bj-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-prod-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-2',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-3',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-test-306',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao-nebula',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et15-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et2-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-st4-d01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-su18-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-yushanfang',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangbei-na61-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou-na62-a01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-nebula-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1-oxs',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'rus-west-1-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'edas.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'edas.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'edas.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'edas.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'edas.cn-north-2-gov-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'edas.cn-qingdao.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'edas.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'edas.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'edas.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'edas.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'edas.us-east-1.aliyuncs.com',
+ ],
+ ],
+];
diff --git a/data/en_us/edas/2018-01-31/api-docs.php b/data/en_us/edas/2018-01-31/api-docs.php
new file mode 100644
index 0000000..5c3c8c0
--- /dev/null
+++ b/data/en_us/edas/2018-01-31/api-docs.php
@@ -0,0 +1,358 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Edas',
+ 'version' => '2018-01-31',
+ ],
+ 'directories' => [
+ [
+ 'id' => 62669,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'EdasProduce',
+ ],
+ ],
+ [
+ 'id' => 62671,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'EdasRefund',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'EdasProduce' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'data',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'success' => [
+ 'type' => 'boolean',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'synchro' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'AUTHERROR',
+ 'errorMessage' => 'user check error',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'EdasRefund' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'data',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'type' => 'string',
+ ],
+ 'success' => [
+ 'type' => 'boolean',
+ ],
+ 'message' => [
+ 'type' => 'string',
+ ],
+ 'data' => [
+ 'type' => 'string',
+ ],
+ 'requestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 601 => [
+ [
+ 'errorCode' => 'AUTHERROR',
+ 'errorMessage' => 'user check error',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-gov-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-nu16-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-edge-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fujian',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-haidian-cm12-c01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-bj-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-prod-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-2',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-internal-test-3',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-test-306',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong-finance-pop',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao-nebula',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et15-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-et2-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-internal-test-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-inner',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-st4-d01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-su18-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-yushanfang',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangbei-na61-b01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou-na62-a01',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-nebula-1',
+ 'endpoint' => 'edas.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1-oxs',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'rus-west-1-pop',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'edas.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'edas.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'edas.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'edas.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'edas.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'edas.cn-north-2-gov-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'edas.cn-qingdao.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'edas.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'edas.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'edas.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'edas.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'edas.us-east-1.aliyuncs.com',
+ ],
+ ],
+];