diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/elasticsearch/2019-04-22/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/elasticsearch/2019-04-22/api-docs.php')
| -rw-r--r-- | data/zh_cn/elasticsearch/2019-04-22/api-docs.php | 364 |
1 files changed, 64 insertions, 300 deletions
diff --git a/data/zh_cn/elasticsearch/2019-04-22/api-docs.php b/data/zh_cn/elasticsearch/2019-04-22/api-docs.php index e1df307..e8b42d2 100644 --- a/data/zh_cn/elasticsearch/2019-04-22/api-docs.php +++ b/data/zh_cn/elasticsearch/2019-04-22/api-docs.php @@ -1,26 +1,18 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'elasticsearch', - 'version' => '2019-04-22', - ], + 'info' => ['style' => 'RPC', 'product' => 'elasticsearch', 'version' => '2019-04-22'], 'directories' => [ [ 'id' => 62994, 'title' => '交换机', 'type' => 'directory', - 'children' => [ - 'DescribeVSwitches', - ], + 'children' => ['DescribeVSwitches'], ], [ 'id' => 62996, 'title' => 'VPC', 'type' => 'directory', - 'children' => [ - 'DescribeVpcs', - ], + 'children' => ['DescribeVpcs'], ], ], 'components' => [ @@ -29,14 +21,8 @@ 'apis' => [ 'DescribeVSwitches' => [ 'summary' => '根据条件查询VSwitch列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -48,74 +34,33 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '64424', - 'abilityTreeNodes' => [ - 'FEATUREelasticsearchFBYZT8', - ], + 'abilityTreeNodes' => ['FEATUREelasticsearchFBYZT8'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '交换机所属区域id', - 'description' => '待查询的交换机所属的地域ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '交换机所属区域id', 'description' => '待查询的交换机所属的地域ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '要查询的交换机所属VPC的ID。', - 'description' => '待查询的交换机所属VPC的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-25cdvfeq58pl****', - ], + 'schema' => ['title' => '要查询的交换机所属VPC的ID。', 'description' => '待查询的交换机所属VPC的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-25cdvfeq58pl****'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '列表的页码', - 'description' => '交换机列表的页码。默认值:1,取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['title' => '列表的页码', 'description' => '交换机列表的页码。默认值:1,取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '分页查询时每页的行数', - 'description' => '分页查询时设置的每页行数。默认值:50,取值范围:1~50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '1', - 'example' => '10', - 'default' => '50', - ], + 'schema' => ['title' => '分页查询时每页的行数', 'description' => '分页查询时设置的每页行数。默认值:50,取值范围:1~50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '1', 'example' => '10', 'default' => '50'], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'title' => '要查询的交换机的ID。', - 'description' => '待查询的交换机所属的可用区ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-d', - ], + 'schema' => ['title' => '要查询的交换机的ID。', 'description' => '待查询的交换机所属的可用区ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-d'], ], ], 'responses' => [ @@ -123,11 +68,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83B', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83B'], 'VSwitches' => [ 'title' => '交换机数组结果', 'description' => '交换机数组结果。', @@ -152,41 +93,16 @@ 'example' => 'Available', 'enum' => [], ], - 'VSwitchId' => [ - 'title' => '交换机的ID。', - 'description' => '交换机的ID。', - 'type' => 'string', - 'example' => 'vsw-25bcdxs7pv1****', - ], - 'IsDefault' => [ - 'title' => '是否是默认交换机。取值:'."\n" - .'true:是默认交换机。'."\n" - .'false:非默认交换机。', - 'description' => '是否是默认交换机。取值:'."\n" - ."\n" - .'- true:是默认交换机'."\n" - .'- false:不是默认交换机', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CidrBlock' => [ - 'title' => '交换机的IPv4网段。', - 'description' => '交换机的IPv4网段。', - 'type' => 'string', - 'example' => '172.16.0.0/24', - ], - 'GmtCreate' => [ - 'title' => '交换机的创建时间。', - 'description' => '交换机的创建时间。', - 'type' => 'string', - 'example' => '2022-01-18T12:43:57Z', - ], - 'VSwitchName' => [ - 'title' => '交换机的名称。', - 'description' => '交换机的名称。', - 'type' => 'string', - 'example' => 'vswitch', - ], + 'VSwitchId' => ['title' => '交换机的ID。', 'description' => '交换机的ID。', 'type' => 'string', 'example' => 'vsw-25bcdxs7pv1****'], + 'IsDefault' => ['title' => '是否是默认交换机。取值:'."\n" + .'true:是默认交换机。'."\n" + .'false:非默认交换机。', 'description' => '是否是默认交换机。取值:'."\n" + ."\n" + .'- true:是默认交换机'."\n" + .'- false:不是默认交换机', 'type' => 'boolean', 'example' => 'true'], + 'CidrBlock' => ['title' => '交换机的IPv4网段。', 'description' => '交换机的IPv4网段。', 'type' => 'string', 'example' => '172.16.0.0/24'], + 'GmtCreate' => ['title' => '交换机的创建时间。', 'description' => '交换机的创建时间。', 'type' => 'string', 'example' => '2022-01-18T12:43:57Z'], + 'VSwitchName' => ['title' => '交换机的名称。', 'description' => '交换机的名称。', 'type' => 'string', 'example' => 'vswitch'], ], ], ], @@ -201,14 +117,8 @@ ], 'DescribeVpcs' => [ 'summary' => '查询当前用户在当前可用区下的VPC列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -221,60 +131,28 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '64423', - 'abilityTreeNodes' => [ - 'FEATUREelasticsearchGHNE3U', - ], + 'abilityTreeNodes' => ['FEATUREelasticsearchGHNE3U'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'title' => '区域ID', - 'description' => '待查询的VPC所属的地域ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['title' => '区域ID', 'description' => '待查询的VPC所属的地域ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'title' => '可用区Id', - 'description' => '查询的VPC所属的可用区ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-d', - ], + 'schema' => ['title' => '可用区Id', 'description' => '查询的VPC所属的可用区ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-d'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '分页查询页码', - 'description' => 'VPC列表的页码。默认值:1,取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['title' => '分页查询页码', 'description' => 'VPC列表的页码。默认值:1,取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '分页查询每页大小', - 'description' => '分页查询时设置的每页行数。默认值:50,取值范围:1~50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - 'default' => '50', - ], + 'schema' => ['title' => '分页查询每页大小', 'description' => '分页查询时设置的每页行数。默认值:50,取值范围:1~50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'default' => '50'], ], ], 'responses' => [ @@ -282,12 +160,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '唯一请求ID', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0FE2C83B', - ], + 'RequestId' => ['title' => '唯一请求ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0FE2C83B'], 'Vpcs' => [ 'title' => '返回结果,vpc集合', 'description' => 'VPC数组结果。', @@ -302,18 +175,8 @@ 'description' => '', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'title' => 'vpc唯一标识', - 'description' => 'VPC的ID。', - 'type' => 'string', - 'example' => 'vpc-bp1qpo0kug3a20qqe****', - ], - 'VpcName' => [ - 'title' => 'vpc名称', - 'description' => 'VPC名称。', - 'type' => 'string', - 'example' => 'vpc1', - ], + 'VpcId' => ['title' => 'vpc唯一标识', 'description' => 'VPC的ID。', 'type' => 'string', 'example' => 'vpc-bp1qpo0kug3a20qqe****'], + 'VpcName' => ['title' => 'vpc名称', 'description' => 'VPC名称。', 'type' => 'string', 'example' => 'vpc1'], 'Status' => [ 'title' => 'VPC的状态,取值:'."\n" .'Pending:配置中。'."\n" @@ -326,49 +189,19 @@ 'example' => 'Available', 'enum' => [], ], - 'IsDefault' => [ - 'title' => '是否是该地域的默认VPC', - 'description' => '是否是该地域的默认VPC,取值:'."\n" - ."\n" - .'- true:是该地域的默认VPC。'."\n" - .'- false:不是该地域的默认VPC。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CidrBlock' => [ - 'title' => 'VPC的IPv4网段。', - 'description' => 'VPC的IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'RegionNo' => [ - 'title' => 'VPC所在的地域ID。', - 'description' => 'VPC所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreate' => [ - 'title' => 'VPC的创建时间。', - 'description' => 'VPC的创建时间。', - 'type' => 'string', - 'example' => '2021-04-18T15:02:37Z', - ], - 'GmtModified' => [ - 'title' => 'VPC的修改时间。', - 'description' => 'VPC的修改时间。', - 'type' => 'string', - 'example' => '2021-04-18T15:02:37Z', - ], + 'IsDefault' => ['title' => '是否是该地域的默认VPC', 'description' => '是否是该地域的默认VPC,取值:'."\n" + ."\n" + .'- true:是该地域的默认VPC。'."\n" + .'- false:不是该地域的默认VPC。', 'type' => 'boolean', 'example' => 'true'], + 'CidrBlock' => ['title' => 'VPC的IPv4网段。', 'description' => 'VPC的IPv4网段。', 'type' => 'string', 'example' => '192.168.0.0/16'], + 'RegionNo' => ['title' => 'VPC所在的地域ID。', 'description' => 'VPC所在的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'GmtCreate' => ['title' => 'VPC的创建时间。', 'description' => 'VPC的创建时间。', 'type' => 'string', 'example' => '2021-04-18T15:02:37Z'], + 'GmtModified' => ['title' => 'VPC的修改时间。', 'description' => 'VPC的修改时间。', 'type' => 'string', 'example' => '2021-04-18T15:02:37Z'], 'VSwitchs' => [ 'title' => '查询到的VPC中交换机的列表信息。最多可以查询到VPC中最近创建的300个交换机的信息', 'description' => '查询到的VPC中交换机的列表信息。最多可以查询到VPC中最近创建的300个交换机的信息。', 'type' => 'array', - 'items' => [ - 'title' => 'vpc交换机标识', - 'description' => '交换机的ID。', - 'type' => 'string', - 'example' => 'vsw-bp1nhbnpv2blyz8dl****', - ], + 'items' => ['title' => 'vpc交换机标识', 'description' => '交换机的ID。', 'type' => 'string', 'example' => 'vsw-bp1nhbnpv2blyz8dl****'], ], ], ], @@ -384,97 +217,28 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'elasticsearch.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'elasticsearch.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'elasticsearch.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'elasticsearch.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'elasticsearch.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'elasticsearch.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'elasticsearch.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'elasticsearch.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'elasticsearch.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'elasticsearch.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'elasticsearch.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'elasticsearch.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'elasticsearch.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'elasticsearch.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'elasticsearch.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'elasticsearch.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'elasticsearch.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'elasticsearch.cn-hangzhou-finance.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'elasticsearch.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'elasticsearch.cn-north-2-gov-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'elasticsearch.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'elasticsearch.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'elasticsearch.cn-wulanchabu.aliyuncs.com', - ], + ['regionId' => 'cn-qingdao', 'endpoint' => 'elasticsearch.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'elasticsearch.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'elasticsearch.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'elasticsearch.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'elasticsearch.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'elasticsearch.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'elasticsearch.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'elasticsearch.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'endpoint' => 'elasticsearch.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'elasticsearch.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'elasticsearch.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'elasticsearch.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'elasticsearch.eu-west-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'elasticsearch.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'elasticsearch.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'elasticsearch.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'endpoint' => 'elasticsearch.ap-south-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'elasticsearch.cn-hangzhou-finance.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'elasticsearch.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'elasticsearch.cn-north-2-gov-1.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'endpoint' => 'elasticsearch.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'elasticsearch.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'endpoint' => 'elasticsearch.cn-wulanchabu.aliyuncs.com'], ], ]; |
