summaryrefslogtreecommitdiff
path: root/data/zh_cn/privatelink/2020-04-15
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/privatelink/2020-04-15
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/privatelink/2020-04-15')
-rw-r--r--data/zh_cn/privatelink/2020-04-15/api-docs.php11271
1 files changed, 4348 insertions, 6923 deletions
diff --git a/data/zh_cn/privatelink/2020-04-15/api-docs.php b/data/zh_cn/privatelink/2020-04-15/api-docs.php
index b63cb84..5e66aad 100644
--- a/data/zh_cn/privatelink/2020-04-15/api-docs.php
+++ b/data/zh_cn/privatelink/2020-04-15/api-docs.php
@@ -1,210 +1,175 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Privatelink',
- 'version' => '2020-04-15',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Privatelink', 'version' => '2020-04-15'],
'directories' => [
[
- 'id' => 176808,
- 'title' => '私网连接服务',
+ 'children' => ['OpenPrivateLinkService', 'CheckProductOpen'],
'type' => 'directory',
- 'children' => [
- 'OpenPrivateLinkService',
- 'CheckProductOpen',
- ],
+ 'title' => '私网连接服务',
+ 'id' => 46549,
],
[
- 'id' => 176765,
- 'title' => '地域与可用区',
+ 'children' => ['DescribeRegions', 'DescribeZones'],
'type' => 'directory',
- 'children' => [
- 'DescribeRegions',
- 'DescribeZones',
- ],
+ 'title' => '地域与可用区',
+ 'id' => 46546,
],
[
- 'id' => 3189,
- 'title' => '终端节点服务',
+ 'children' => ['CreateVpcEndpointService', 'UpdateVpcEndpointServiceAttribute', 'GetVpcEndpointServiceAttribute', 'ListVpcEndpointServices', 'ListVpcEndpointServicesByEndUser', 'DeleteVpcEndpointService'],
'type' => 'directory',
- 'children' => [
- 'CreateVpcEndpointService',
- 'UpdateVpcEndpointServiceAttribute',
- 'GetVpcEndpointServiceAttribute',
- 'ListVpcEndpointServices',
- 'DeleteVpcEndpointService',
- ],
+ 'title' => '终端节点服务',
+ 'id' => 46502,
],
[
- 'id' => 3191,
- 'title' => '服务白名单',
+ 'children' => ['AddUserToVpcEndpointService', 'ListVpcEndpointServiceUsers', 'RemoveUserFromVpcEndpointService'],
'type' => 'directory',
- 'children' => [
- 'AddUserToVpcEndpointService',
- 'ListVpcEndpointServiceUsers',
- 'RemoveUserFromVpcEndpointService',
- ],
+ 'title' => '服务白名单',
+ 'id' => 46508,
],
[
- 'id' => 3194,
- 'title' => '服务资源',
+ 'children' => ['UpdateVpcEndpointServiceResourceAttribute', 'AttachResourceToVpcEndpointService', 'ListVpcEndpointServiceResources', 'DetachResourceFromVpcEndpointService'],
'type' => 'directory',
- 'children' => [
- 'UpdateVpcEndpointServiceResourceAttribute',
- 'AttachResourceToVpcEndpointService',
- 'ListVpcEndpointServiceResources',
- 'DetachResourceFromVpcEndpointService',
- ],
+ 'title' => '服务资源',
+ 'id' => 46512,
],
[
- 'id' => 3198,
- 'title' => '终端节点',
+ 'children' => ['DeleteVpcEndpoint', 'CreateVpcEndpoint', 'UpdateVpcEndpointAttribute', 'ListVpcEndpoints', 'GetVpcEndpointAttribute'],
'type' => 'directory',
- 'children' => [
- 'DeleteVpcEndpoint',
- 'CreateVpcEndpoint',
- 'UpdateVpcEndpointAttribute',
- 'ListVpcEndpoints',
- 'GetVpcEndpointAttribute',
- 'ListVpcEndpointServicesByEndUser',
- ],
+ 'title' => '终端节点',
+ 'id' => 46517,
],
[
- 'id' => 3203,
- 'title' => '终端节点连接',
+ 'children' => ['EnableVpcEndpointConnection', 'UpdateVpcEndpointConnectionAttribute', 'ListVpcEndpointConnections', 'DisableVpcEndpointConnection'],
'type' => 'directory',
- 'children' => [
- 'EnableVpcEndpointConnection',
- 'UpdateVpcEndpointConnectionAttribute',
- 'ListVpcEndpointConnections',
- 'DisableVpcEndpointConnection',
- ],
+ 'title' => '终端节点连接',
+ 'id' => 46524,
],
[
- 'id' => 3207,
- 'title' => '终端节点可用区',
+ 'children' => ['AddZoneToVpcEndpoint', 'ListVpcEndpointZones', 'RemoveZoneFromVpcEndpoint'],
'type' => 'directory',
- 'children' => [
- 'AddZoneToVpcEndpoint',
- 'ListVpcEndpointZones',
- 'RemoveZoneFromVpcEndpoint',
- ],
+ 'title' => '终端节点可用区',
+ 'id' => 46529,
],
[
- 'id' => 176753,
- 'title' => '终端节点可用区连接',
+ 'children' => ['DisableVpcEndpointZoneConnection', 'EnableVpcEndpointZoneConnection', 'UpdateVpcEndpointZoneConnectionResourceAttribute'],
'type' => 'directory',
- 'children' => [
- 'DisableVpcEndpointZoneConnection',
- 'EnableVpcEndpointZoneConnection',
- 'UpdateVpcEndpointZoneConnectionResourceAttribute',
- ],
+ 'title' => '终端节点可用区连接',
+ 'id' => 46542,
],
[
- 'id' => 3212,
- 'title' => '安全组',
+ 'children' => ['AttachSecurityGroupToVpcEndpoint', 'ListVpcEndpointSecurityGroups', 'DetachSecurityGroupFromVpcEndpoint'],
'type' => 'directory',
- 'children' => [
- 'AttachSecurityGroupToVpcEndpoint',
- 'ListVpcEndpointSecurityGroups',
- 'DetachSecurityGroupFromVpcEndpoint',
- ],
+ 'title' => '安全组',
+ 'id' => 46533,
],
[
- 'id' => 176748,
- 'title' => '标签&资源组',
+ 'children' => ['UntagResources', 'ListTagResources', 'TagResources', 'ChangeResourceGroup'],
'type' => 'directory',
- 'children' => [
- 'UntagResources',
- 'ListTagResources',
- 'TagResources',
- 'ChangeResourceGroup',
- ],
+ 'title' => '标签&资源组',
+ 'id' => 46537,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
- 'OpenPrivateLinkService' => [
- 'summary' => '开启私网连接服务。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddUserToVpcEndpointService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
- [
- 'APP' => [],
- ],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkWPBSZV',
+ 'systemTags' => ['operationType' => 'create'],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务白名单账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '132193271328****'],
+ ],
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => "\n"
+ .'是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会添加服务白名单。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ [
+ 'name' => 'UserARN',
+ 'in' => 'query',
+ 'schema' => ['description' => 'ARN格式的用户白名单。', 'type' => 'string', 'required' => false, 'example' => 'acs:ram:*:<account-id>:*'],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D',
- ],
- 'OrderId' => [
- 'description' => '订单ID。',
- 'type' => 'string',
- 'example' => '3245****',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'AccountTypeRestricted',
- 'errorMessage' => 'Please submit the application for beta testing first. You can activate the product after the application is approved.',
- ],
- [
- 'errorCode' => 'OrderOpend',
- 'errorMessage' => 'You have already activated the service. Go to the console to start using it.',
- ],
- [
- 'errorCode' => 'InvalidAccountStatus.NotEnoughBalance',
- 'errorMessage' => 'Your account does not have enough balance.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'MissingParam.UserArn', 'errorMessage' => 'The param of UserArn is missing.', 'description' => '参数UserArn缺失。'],
+ ['errorCode' => 'Mismatch.UserIdAndUserArn', 'errorMessage' => 'The %s and %s are mismatched.', 'description' => '参数%s和%s不匹配。'],
+ ],
+ ],
+ 'title' => '添加服务白名单',
+ 'summary' => '调用AddUserToVpcEndpointService接口,为终端节点服务添加服务白名单。',
+ 'description' => '- 添加服务白名单之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **AddUserToVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发添加服务白名单。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:AddUserToVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"OrderId\\": \\"3245****\\"\\n}","errorExample":""},{"type":"xml","example":"<OpenPrivateLinkServiceResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <OrderId>3245****</OrderId>\\n</OpenPrivateLinkServiceResponse>","errorExample":""}]',
- 'title' => '开启私网连接服务',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<AddUserToVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</AddUserToVpcEndpointServiceResponse>","errorExample":""}]',
],
- 'CheckProductOpen' => [
- 'summary' => '调用CheckProductOpen接口,查询是否已开通私网连接。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'AddZoneToVpcEndpoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -213,57 +178,136 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelink7YBDSO',
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '16161',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkGBNC0X'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加可用区的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou-b'],
+ ],
+ [
+ 'name' => 'VSwitchId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加的可用区中的交换机,系统会自动在该交换机下创建一个终端节点网卡。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vsw-hjkshjvdkdvd****'],
+ ],
+ [
+ 'name' => 'ip',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加的可用区中的终端节点网卡的IP。', 'type' => 'string', 'required' => false, 'example' => '192.XX.XX.32'],
+ ],
+ [
+ 'name' => 'EndpointId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加可用区的终端节点的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会添加可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加可用区的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'Ipv6Address',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加的可用区中的终端节点网卡的IPv6地址。', 'type' => 'string', 'required' => false, 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****'],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- 'Success' => [
- 'description' => '私网连接服务开通状态。'."\n"
- ."\n"
- .'仅取值:**true**,表示开通。'."\n"
- ."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NeedOpenProduct',
- 'errorMessage' => 'The product is not activated.',
- ],
+ ['errorCode' => 'OperationDenied.EndpointProtected', 'errorMessage' => 'The operation is not allowed because of EndpointProtected.', 'description' => '终端节点开启托管保护,不允许操作。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointZoneDuplicated', 'errorMessage' => 'The zone is duplicated for the Endpoint.', 'description' => '终端节点服务下面可用区不可以重复'],
+ ['errorCode' => 'EndpointServiceNotSupportedZone', 'errorMessage' => 'The specified endpoint service does not support the zone.', 'description' => '终端节点服务不支持当前可用区。'],
+ ['errorCode' => 'QuotaMisMatched', 'errorMessage' => 'The resource you applied for has exceeded the quota.', 'description' => '申请的资源超过配额'],
+ ['errorCode' => 'EndpointDuplicated', 'errorMessage' => 'The endpoint of the service already exists and cannot be created again.', 'description' => '此服务的终端节点已存在,不能重复创建'],
+ ['errorCode' => 'EndpointServiceDeleted', 'errorMessage' => 'The specified Service is already deleted.', 'description' => '终端节点服务已经被删除'],
+ ['errorCode' => 'EndpointServiceResourceNotFound', 'errorMessage' => 'The specified service resource is not found.', 'description' => '终端节点服务资源未找到'],
+ ['errorCode' => 'VSwitchNotFound', 'errorMessage' => 'The specified VSwitch does not exist.', 'description' => ''],
+ ['errorCode' => 'EniIpUnavailable', 'errorMessage' => 'The specified IP address is unavailable.', 'description' => '指定的IP不可用'],
+ ['errorCode' => 'EndpointProtected', 'errorMessage' => 'The specified Endpoint is protected.', 'description' => '终端节点已经设置操作保护'],
+ ['errorCode' => 'VSwitchStatusNotAllowed', 'errorMessage' => 'The specified vswitch status is not Available.', 'description' => '交换机状态还未可用'],
+ ['errorCode' => 'VpcNatServiceException', 'errorMessage' => 'The vpcNat service is busy', 'description' => 'vpcNat服务繁忙,请稍后再试'],
+ ['errorCode' => 'ResourceNotEnough.VSwitchIp', 'errorMessage' => 'The specified resource of VSwitchIp is not enough.', 'description' => 'vswitchip数量不够'],
+ ['errorCode' => 'OperationDenied.VSwitchNotSupportDualstack', 'errorMessage' => 'The specified VSwitch does not support dualstack.', 'description' => 'VSwitch不支持双栈。'],
+ ['errorCode' => 'OperationDenied.AddressIpVersionNotSupportSpecifyIpv6', 'errorMessage' => 'The AddressIpVersion of the endpoint does not support specifying IPv6 address.', 'description' => '终端节点的AddressIpVersion不支持指定IPv6地址。'],
+ ['errorCode' => 'IllegalParam.Ip', 'errorMessage' => 'The specified parameter IP is invalid.', 'description' => '指定的IP地址格式不符合要求。'],
+ ['errorCode' => 'IllegalParam.Ipv6Address', 'errorMessage' => 'The specified parameter Ipv6Address is invalid.', 'description' => '指定的IPv6地址格式不符合要求。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CheckProductOpenResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <Success>true</Success>\\n</CheckProductOpenResponse>","errorExample":""}]',
- 'title' => '查询是否已开通私网连接',
- ],
- 'DescribeRegions' => [
- 'summary' => '调用DescribeRegions接口,查看私网连接可选的地域和可用区。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'https',
+ 'title' => '为终端节点添加可用区',
+ 'summary' => '调用AddZoneToVpcEndpoint接口,为终端节点添加可用区。',
+ 'description' => '- **AddZoneToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未添加完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的状态:'."\n"
+ ."\n"
+ .' - 当终端节点可用区处于**Creating**状态时,表示终端节点可用区正在添加中。'."\n"
+ .' - 当在终端节点中可以查询到该可用区时,表示终端节点可用区添加完成。'."\n"
+ ."\n"
+ .'- **AddZoneToVpcEndpoint**接口不支持给同一个终端节点实例并发添加可用区。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:AddZoneToVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"<AddZoneToVpcEndpointResponse>\\n <RequestId>0c593ea1-3bea-11e9-b96b-88e9fe637760</RequestId>\\n</AddZoneToVpcEndpointResponse>","errorExample":""}]',
+ ],
+ 'AttachResourceToVpcEndpointService' => [
+ 'summary' => '调用AttachResourceToVpcEndpointService接口,为终端节点服务添加服务资源。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -272,55 +316,65 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkX3ZDB5',
- ],
- 'autoTest' => false,
+ 'abilityTreeCode' => '16162',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkZR0ZOX'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要添加服务资源的终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '服务资源类型。取值:'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'slb'],
],
[
- 'name' => 'ServiceResourceType',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'PrivateLink支持的开服地域,与服务资源类型有关,不同的服务类型支持的地域存在差异。在查询PrivateLink开服地域时可指定服务资源类型,取值如下:'."\n"
- ."\n"
- .'- **slb**(默认):表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **ALL**:上述全部。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ALL' => 'ALL',
- 'nlb' => 'nlb',
- 'alb' => 'alb',
- 'slb' => 'slb',
- ],
- 'example' => 'slb',
- ],
+ 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务资源所属的可用区。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-j'],
+ ],
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加服务资源的终端节点服务。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会添加服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要添加服务资源的终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -328,77 +382,64 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Regions' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Region' => [
- 'description' => '可用地域的集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用地域的集合。',
- 'type' => 'object',
- 'properties' => [
- 'LocalName' => [
- 'description' => '地域名称。',
- 'type' => 'string',
- 'example' => '华东1(杭州)',
- ],
- 'RegionEndpoint' => [
- 'description' => '地域服务的终端节点。',
- 'type' => 'string',
- 'example' => 'privatelink.cn-hangzhou.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'ServiceResourceTypes' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'ServiceResourceType' => [
- 'description' => '该地域支持的资源类型列表。'."\n"
- .'>若入参中ServiceResourceType指定为"ALL",则返回支持的全部资源类型。若指定为具体的资源类型,则列表中仅返回指定的资源类型。',
- 'type' => 'array',
- 'items' => [
- 'description' => '支持的资源类型。',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionEndpoint\\": \\"privatelink.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ServiceResourceTypes\\": {\\n \\"ServiceResourceType\\": [\\n \\"slb\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n <RequestId>A355E857-97F5-5054-9AC8-BCE064939652</RequestId>\\n <Regions>\\n <Region>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>privatelink.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东1(杭州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>privatelink.cn-shanghai.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东2(上海)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-nanjing</RegionId>\\n <RegionEndpoint>privatelink.cn-nanjing.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东5(南京-本地地域)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-qingdao</RegionId>\\n <RegionEndpoint>privatelink.cn-qingdao.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北1(青岛)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>privatelink.cn-beijing.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北2(北京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>privatelink.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北3(张家口)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>privatelink.cn-huhehaote.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北5(呼和浩特)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-wulanchabu</RegionId>\\n <RegionEndpoint>privatelink.cn-wulanchabu.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北6(乌兰察布)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>privatelink.cn-shenzhen.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南1(深圳)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-heyuan</RegionId>\\n <RegionEndpoint>privatelink.cn-heyuan.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南2(河源)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-guangzhou</RegionId>\\n <RegionEndpoint>privatelink.cn-guangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南3(广州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-chengdu</RegionId>\\n <RegionEndpoint>privatelink.cn-chengdu.aliyuncs.com</RegionEndpoint>\\n <LocalName>西南1(成都)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>privatelink.cn-hongkong.aliyuncs.com</RegionEndpoint>\\n <LocalName>中国香港</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>新加坡</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-2.aliyuncs.com</RegionEndpoint>\\n <LocalName>澳大利亚(悉尼)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-3.aliyuncs.com</RegionEndpoint>\\n <LocalName>马来西亚(吉隆坡)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-5.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度尼西亚(雅加达)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>privatelink.ap-northeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>日本(东京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>privatelink.eu-central-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>德国(法兰克福)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>privatelink.eu-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>英国(伦敦)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-west-1</RegionId>\\n <RegionEndpoint>privatelink.us-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(硅谷)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>privatelink.us-east-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(弗吉尼亚)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-south-1</RegionId>\\n <RegionEndpoint>privatelink.ap-south-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度(孟买)</LocalName>\\n </Region>\\n </Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
- 'title' => '查看可选的地域和可用区',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceOperationDenied', 'errorMessage' => 'The specified operation of endpoint service is not allowed.', 'description' => '终端节点服务处理中,不允许操作。'],
+ ['errorCode' => 'EndpointServiceResourceExist', 'errorMessage' => 'The specified resource already exists.', 'description' => '终端节点服务下面的资源已经存在,请勿重复添加。'],
+ ['errorCode' => 'LoadBalancerNotFound', 'errorMessage' => 'The specified load balancer does not exist.', 'description' => '负载均衡不存在。'],
+ ['errorCode' => 'LoadBalancerNotSupportPrivateLink', 'errorMessage' => 'The specified SLB does not support PrivateLink.', 'description' => '当前负载均衡不支持Privatelink。'],
+ ['errorCode' => 'AlbNotFound', 'errorMessage' => 'The specified Alb does not exist.', 'description' => 'ALI负载均衡不存在。'],
+ ['errorCode' => 'EndpointServiceResourceTypeNotSupport', 'errorMessage' => 'The specified resource type is not supported.', 'description' => '终端节点服务资源类型不支持。'],
+ ['errorCode' => 'QuotaMisMatched', 'errorMessage' => 'The resource you applied for has exceeded the quota.', 'description' => '申请的资源超过配额'],
+ ['errorCode' => 'VSwitchNotFound', 'errorMessage' => 'The specified VSwitch does not exist.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.NatGateway', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'Mismatch.ResourceType', 'errorMessage' => 'The %s is mismatched for %s and %s.', 'description' => '%s在%s和%s中不匹配。'],
+ ['errorCode' => 'EndpointServiceNotSupportedZone', 'errorMessage' => 'The specified endpoint service does not support the zone.', 'description' => '终端节点服务不支持当前可用区。'],
+ ['errorCode' => 'ServiceResourceNotSupportIpv6', 'errorMessage' => 'The resource is not support ipv6.', 'description' => '终端节点服务不支持IPv6'],
+ ['errorCode' => 'EndpointServiceResourceTypeNotEqual', 'errorMessage' => 'the service resource type not equal request type.', 'description' => '请求中的resourceType与服务类型不一致'],
+ ['errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch', 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.', 'description' => '终端节点服务与后端资源AddressIpVersion不匹配'],
+ ],
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'title' => '为终端节点服务添加服务资源',
+ 'description' => '- 为终端节点服务添加服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **AttachResourceToVpcEndpointService**接口不支持在同一个终端节点服务实例下并发添加服务资源。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeZones' => [
- 'summary' => '调用DescribeZones接口,查询指定地域中可用区的列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:AttachResourceToVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<AttachResourceToVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</AttachResourceToVpcEndpointServiceResponse>","errorExample":""}]',
+ ],
+ 'AttachSecurityGroupToVpcEndpoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -407,113 +448,245 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkVQ750H',
- ],
- 'autoTest' => false,
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '16163',
+ 'abilityTreeNodes' => ['FEATUREprivatelink57DP0F'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => '要加入安全组的终端节点所属的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ [
+ 'name' => 'SecurityGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要加入的安全组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sg-hp3c8qj1tyct90ej****'],
+ ],
+ [
+ 'name' => 'EndpointId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要加入安全组的终端节点的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会加入安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要加入安全组的终端节点所属的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '可用区所在的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'SecurityGroupExist', 'errorMessage' => 'The specified security group already exists.', 'description' => '当前安全组已经存在。'],
+ ['errorCode' => 'EndpointServiceDeleted', 'errorMessage' => 'The specified Service is already deleted.', 'description' => '终端节点服务已经被删除'],
+ ['errorCode' => 'SecurityGroupNotFound', 'errorMessage' => 'The specified security group does not exist.', 'description' => '当前安全组未找到。'],
+ ['errorCode' => 'SecurityGroupTypeNotSupport', 'errorMessage' => 'The specified security group type is not supported.', 'description' => '该安全组类型不支持'],
+ ['errorCode' => 'SecurityGroupTypeOnlySingleTypeSupporteded', 'errorMessage' => 'The specified security group only support one type.', 'description' => '安全组只支持一种类型'],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup', 'errorMessage' => 'The gateway load balancer not support security group.', 'description' => '网关型负载均衡类型不支持设置安全组'],
+ ],
+ ],
+ 'title' => '将终端节点加入安全组',
+ 'summary' => '调用AttachSecurityGroupToVpcEndpoint接口,将终端节点加入安全组。',
+ 'description' => '- **AttachSecurityGroupToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点加入安全组尚未完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的状态:'."\n"
+ ."\n"
+ .' - 当终端节点处于**Pending**状态时,表示终端节点正在添加中。'."\n"
+ .' - 当终端节点处于**Active**状态时,表示终端节点添加完成。'."\n"
+ ."\n"
+ .'- **AttachSecurityGroupToVpcEndpoint**接口不支持将同一个终端节点实例并发加入安全组。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:AttachSecurityGroupToVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"<AttachSecurityGroupToVpcEndpointResponse>\\n <RequestId>8D778FF9-7640-4C13-BCD6-9265CA9A2F81</RequestId>\\n</AttachSecurityGroupToVpcEndpointResponse>","errorExample":""}]',
+ ],
+ 'ChangeResourceGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ServiceResourceType',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkEUMK18'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
'in' => 'query',
- 'allowEmptyValue' => false,
'schema' => [
- 'description' => 'PrivateLink在某个地域可用区支持的情况,取决于后端服务资源类型。在查询PrivateLink支持的可用区列表时可指定服务资源类型,取值如下:'."\n"
+ 'title' => '资源类型',
+ 'description' => '资源类型。取值:'."\n"
."\n"
- .'- **slb**(默认):表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。',
+ .'- **VpcEndpoint**(默认值):终端节点。'."\n"
+ ."\n"
+ .'- **VpcEndpointService**:终端节点服务。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'nlb' => 'nlb',
- 'alb' => 'alb',
- 'slb' => 'slb',
- ],
- 'example' => 'slb',
+ 'example' => 'VpcEndpoint',
+ 'default' => 'VpcEndpoint',
+ 'enum' => ['VpcEndpoint', 'VpcEndpointService'],
],
],
[
- 'name' => 'RegionId',
+ 'name' => 'ResourceId',
'in' => 'query',
+ 'schema' => ['title' => '资源Id', 'description' => '待修改资源组的私网连接资源ID。', 'type' => 'string', 'required' => true, 'example' => 'ep-hp3i05294c2d2d****'],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['title' => '目标资源组', 'description' => '要替换的目标资源组的ID。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmy*****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '可用区所在的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing', 'description' => ''],
+ ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid', 'description' => ''],
+ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found', 'description' => ''],
+ ],
+ ],
+ 'title' => '更改资源组',
+ 'summary' => '更改资源组。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","type":"json"}]',
+ ],
+ 'CheckProductOpen' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelink7YBDSO'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F',
- ],
- 'Zones' => [
- 'type' => 'object',
- 'itemNode' => true,
- 'properties' => [
- 'Zone' => [
- 'description' => '可用区的集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用区的集合。',
- 'type' => 'object',
- 'properties' => [
- 'LocalName' => [
- 'description' => '可用区名称。',
- 'type' => 'string',
- 'example' => '华东1 可用区B',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou-b',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ 'Success' => ['description' => '私网连接服务开通状态。'."\n"
+ ."\n"
+ .'仅取值:**true**,表示开通。'."\n"
+ ."\n", 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"LocalName\\": \\"华东1 可用区B\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeZonesResponse>\\r\\n <RequestId>6FEA0CF3-D3B9-43E5-A304-D217037876A8</RequestId>\\r\\n <Zones>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-b</ZoneId>\\r\\n <LocalName>华东 1 可用区 B</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-f</ZoneId>\\r\\n <LocalName>华东 1 可用区 F</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-g</ZoneId>\\r\\n <LocalName>华东 1 可用区 G</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-h</ZoneId>\\r\\n <LocalName>华东 1 可用区 H</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-i</ZoneId>\\r\\n <LocalName>华东 1 可用区 I</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-j</ZoneId>\\r\\n <LocalName>华东 1 可用区 J</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-k</ZoneId>\\r\\n <LocalName>华东 1 可用区 K</LocalName>\\r\\n </Zone>\\r\\n </Zones>\\r\\n</DescribeZonesResponse>","errorExample":""}]',
- 'title' => '查询指定地域中可用区的列表',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'CreateVpcEndpointService' => [
- 'summary' => '调用CreateVpcEndpointService接口,创建终端节点服务。',
- 'methods' => [
- 'post',
- 'get',
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'NeedOpenProduct', 'errorMessage' => 'The product is not activated.', 'description' => '产品未开通'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'title' => '查询是否已开通私网连接',
+ 'summary' => '调用CheckProductOpen接口,查询是否已开通私网连接。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'privatelink:CheckProductOpen',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CheckProductOpenResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <Success>true</Success>\\n</CheckProductOpenResponse>","errorExample":""}]',
+ ],
+ 'CreateVpcEndpoint' => [
+ 'summary' => '创建终端节点。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -525,162 +698,98 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '16165',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
+ 'abilityTreeCode' => '16164',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~469325~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '终端节点所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。'."\n"
- ."\n\n"
- ."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。'."\n", 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求,取值:'."\n"
- ."\n"
- .'- **true**:发送检查请求,不会创建资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- ."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会创建终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ServiceDescription',
+ 'name' => 'EndpointName',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'This is my EndpointService.',
- ],
+ 'schema' => ['description' => '终端节点名称。'."\n"
+ ."\n"
+ .'长度为2~128个字符,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'AutoAcceptEnabled',
+ 'name' => 'EndpointType',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动接受终端节点连接,取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- ."\n"
- .'- **false**(默认值):不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '终端节点类型。取值:'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点。您可以添加应用型负载均衡ALB(ApplicationLoad Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
+ ."\n"
+ .'- **Reverse**:表示反向终端节点。您可以添加VPC NAT网关作为服务资源。'."\n"
+ .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点。您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。'."\n"
+ ."\n"
+ .'> 支持反向终端节点的服务只能由阿里云和生态合作伙伴提供,默认不支持自己创建,如需自己创建,请联系客户经理申请。', 'type' => 'string', 'required' => false, 'example' => 'Interface'],
],
[
- 'name' => 'Payer',
+ 'name' => 'ZonePrivateIpAddressCount',
'in' => 'query',
- 'schema' => [
- 'description' => '付费方,取值:'."\n"
- ."\n"
- .'- **Endpoint**:服务使用方。'."\n"
- ."\n"
- .'- **EndpointService**:服务提供方。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Endpoint',
- ],
+ 'schema' => ['description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'ZoneAffinityEnabled',
+ 'name' => 'EndpointDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**(默认值):否。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '终端节点描述。'."\n"
+ ."\n"
+ .'描述长度为2~256个字符,开头不能为`http://`和`https://`。', 'type' => 'string', 'required' => false, 'example' => 'This is my Endpoint.'],
],
[
- 'name' => 'ServiceResourceType',
+ 'name' => 'VpcId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源类型。取值:'."\n"
- ."\n"
- .'- **slb** :表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb** :表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。'."\n"
- ."\n"
- .'> 不支持访问NLB的TCPSSL类型监听。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'slb',
- ],
+ 'schema' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-hp356stwkxg3fn2xe****'],
],
[
- 'name' => 'Resource',
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点关联的终端节点服务。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'epsrv-hp3xdsq46ael67lo****'],
+ ],
+ [
+ 'name' => 'ServiceName',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点关联的终端节点服务的名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
+ ],
+ [
+ 'name' => 'Zone',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => '终端节点服务资源合集。创建时最多支持10个资源。创建后可通过为终端节点添加服务资源继续添加。',
+ 'description' => '终端节点可用区列表。',
'type' => 'array',
'items' => [
- 'description' => '终端节点服务资源合集。',
+ 'description' => '当前地域下的可用区ID。'."\n"
+ ."\n"
+ .'系统将在您指定的可用区下创建资源。',
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'description' => '添加到终端节点服务中的服务资源的类型,一个终端节点服务最多支持添加20个服务资源。取值:'."\n"
- ."\n"
- .'- **slb** :表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb** :表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。'."\n"
- ."\n"
- .'> 在支持私网连接功能的地域内,专有网络类型的传统型负载均衡CLB实例均支持作为终端节点服务的服务资源。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'slb',
- ],
- 'ResourceId' => [
- 'description' => '添加到终端节点服务中的服务资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-huhehaote-a',
- ],
+ 'VSwitchId' => ['description' => '在可用区内要创建终端节点网卡的交换机。'."\n"
+ .'您最多可以设置10个交换机。', 'type' => 'string', 'required' => false, 'example' => 'vsw-hp3uf6045ljdhd5zr****'],
+ 'ZoneId' => ['description' => '终端节点的可用区。'."\n"
+ ."\n"
+ .'您最多可以设置10个可用区。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote-b'],
+ 'ip' => ['description' => '指定终端节点可用区的弹性网卡 IPv4 地址。', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'],
+ 'Ipv6Address' => ['description' => '指定终端节点可用区的弹性网卡 IPv6 地址。'."\n"
+ .'>仅AddressIpVersion属性取值为DualStack时,该参数才可指定。', 'type' => 'string', 'required' => false, 'example' => '2408:4005:34d:****:a58b:62a3:6b55:****'],
],
'required' => false,
],
@@ -689,42 +798,32 @@
],
],
[
- 'name' => 'RegionId',
+ 'name' => 'SecurityGroupId',
'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '终端节点服务所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~469325~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
+ 'description' => '终端节点网卡关联的安全组列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端节点网卡关联的安全组,安全组可以管控VPC到终端节点网卡的数据通信。', 'type' => 'string', 'required' => false, 'example' => 'sg-bp1fg655nh68xyz9****'],
+ 'required' => false,
+ 'example' => 'sg-hp33bw6ynvm2yb0e****',
+ 'maxItems' => 10,
],
],
[
- 'name' => 'ServiceSupportIPv6',
+ 'name' => 'ProtectedEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**(默认值):否。',
- 'type' => 'boolean',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否开启托管保护,STS调用方式下生效。取值:'."\n"
+ .' '."\n"
+ .'- **true**:开启。开启托管保护后,只有和创建时相同的用户才能通过STS方式对该终端节点进行修改或者删除等操作。'."\n"
+ .'- **false**(默认值):不开启。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmy*****',
- ],
+ 'schema' => ['description' => '终端节点所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'Tag',
@@ -737,22 +836,8 @@
'description' => '标签列表。'."\n",
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'env',
- ],
- 'Value' => [
- 'description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'prod',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'env'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'prod'],
],
'required' => false,
],
@@ -761,6 +846,36 @@
],
],
[
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmy*****'],
+ ],
+ [
+ 'name' => 'PolicyDocument',
+ 'in' => 'query',
+ 'schema' => ['description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "Version": "1",'."\n"
+ .' "Statement": ['."\n"
+ .' {'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Action": ['."\n"
+ .' "oss:List*",'."\n"
+ .' "oss:PutObject",'."\n"
+ .' "oss:GetObject"'."\n"
+ .' ],'."\n"
+ .' "Resource": ['."\n"
+ .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
+ .' ],'."\n"
+ .' "Principal": {'."\n"
+ .' "RAM": ['."\n"
+ .' "acs:ram::14199xxxxxx:*"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ [
'name' => 'AddressIpVersion',
'in' => 'query',
'schema' => [
@@ -768,28 +883,35 @@
."\n"
.'- **IPv4**:IPv4类型(默认)。'."\n"
.'- **DualStack**:双栈类型。'."\n"
- .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。终端节点服务支持双栈,要求其后端资源也需支持双栈。',
+ .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'IPv4' => 'IPv4',
- 'DualStack' => 'DualStack',
- ],
+ 'enumValueTitles' => [],
'example' => 'IPv4',
],
],
[
- 'name' => 'SupportedRegionList',
+ 'name' => 'ZoneAffinityEnabled',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**(默认值):否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ServiceRegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点服务所属的地域 ID。缺省值为当前地域,即您创建终端节点所在地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'],
+ ],
+ [
+ 'name' => 'CrossRegionBandwidth',
+ 'in' => 'query',
+ 'schema' => ['description' => '跨地域带宽值,仅当终端节点和终端节点服务跨地域时涉及该参数。单位:Mbps。取值:'."\n"
+ ."\n"
+ .'- **默认值**:中国内地与中国内地跨地域取值1000,其他情况取值100。'."\n"
+ .'- **最小值**:100。'."\n"
+ .'- **最大值**:受限于当前账号的配额(具体数值请参见[配额与限制](https://help.aliyun.com/zh/privatelink/quotas-and-limits?spm=a2c4g.11174283.help-menu-search-120462.d_0)章节)。'."\n"
+ .'> 如需指定该参数,请确保您创建的是跨地域的终端节点。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000'],
],
],
'responses' => [
@@ -797,244 +919,141 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'ServiceBusinessStatus' => [
- 'description' => '终端节点服务的业务状态。取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- 'ServiceName' => [
- 'description' => '终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceStatus' => [
- 'description' => '终端节点服务的状态。取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'ServiceDescription' => [
- 'description' => '终端节点服务的描述信息。',
- 'type' => 'string',
- 'example' => 'This is my EndpointService.',
- ],
- 'CreateTime' => [
- 'description' => '终端节点服务的创建时间。',
- 'type' => 'string',
- 'example' => '2022-01-02T19:11:12Z',
- ],
- 'ServiceDomain' => [
- 'description' => '终端节点服务的服务域名。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'AutoAcceptEnabled' => [
- 'description' => '是否自动接受终端节点连接。取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- .'- **false**:不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceId' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceSupportIPv6' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'deprecated' => true,
- 'example' => 'false',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmy*****',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'SupportedRegionSet' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ServiceRegionId' => [
- 'type' => 'string',
- 'deprecated' => true,
- ],
- 'RegionServiceStatus' => [
- 'type' => 'string',
- ],
- 'RegionBusinessStatus' => [
- 'type' => 'string',
- ],
- 'SupportedRegionId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
+ 'EndpointDomain' => ['description' => '终端节点域名。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'CreateTime' => ['description' => '终端节点的创建时间。', 'type' => 'string', 'example' => '2022-01-02T19:11:12Z'],
+ 'EndpointBusinessStatus' => ['description' => '终端节点的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'EndpointDescription' => ['description' => '终端节点描述。', 'type' => 'string', 'example' => 'This is my Endpoint.'],
+ 'ServiceId' => ['description' => '终端节点关联的终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'EndpointStatus' => ['description' => '终端节点状态。取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'VpcId' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'example' => 'vpc-hp356stwkxg3fn2xe****'],
+ 'EndpointName' => ['description' => '终端节点名称。', 'type' => 'string', 'example' => 'test'],
+ 'ServiceName' => ['description' => '终端节点关联的终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****'],
+ 'Bandwidth' => ['description' => '终端节点的连接带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
+ 'EndpointId' => ['description' => '终端节点ID。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****'],
+ 'ConnectionStatus' => ['description' => '终端节点连接状态。取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Disconnected'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型(默认)。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceRegionId' => ['description' => '终端节点服务所属的地域 ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'CrossRegionBandwidth' => ['description' => '终端节点的跨地域带宽值,仅当终端节点和终端节点服务跨地域时涉及该参数。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceExist',
- 'errorMessage' => 'The specified Endpoint Service already exists.',
- ],
- [
- 'errorCode' => 'AlbNotFound',
- 'errorMessage' => 'The specified Alb does not exist.',
- ],
- [
- 'errorCode' => 'LoadBalancerNotFound',
- 'errorMessage' => 'The specified load balancer does not exist.',
- ],
- [
- 'errorCode' => 'LoadBalancerNotSupportPrivateLink',
- 'errorMessage' => 'The specified SLB does not support PrivateLink.',
- ],
- [
- 'errorCode' => 'GenerateResourceIdFailed',
- 'errorMessage' => 'Failed to generate ResourceId.',
- ],
- [
- 'errorCode' => 'QuotaMisMatched',
- 'errorMessage' => 'The resource you applied for has exceeded the quota.',
- ],
- [
- 'errorCode' => 'VSwitchNotFound',
- 'errorMessage' => 'The specified VSwitch does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServicePayerForbidden',
- 'errorMessage' => 'The parameter EndpointServicePayer is forbidden. The user is not in the whitelist.',
- ],
- [
- 'errorCode' => 'NeedOpenProduct',
- 'errorMessage' => 'The product is not activated.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotSupportedZone',
- 'errorMessage' => 'The specified endpoint service does not support the zone.',
- ],
- [
- 'errorCode' => 'IllegalParamFormat.%s',
- 'errorMessage' => 'The param format of %s is illegal.',
- ],
- [
- 'errorCode' => 'MissingParam.%s',
- 'errorMessage' => 'The param of %s is missing.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.NatGateway',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'Mismatch.ResourceType',
- 'errorMessage' => 'The %s is mismatched for %s and %s.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotSupportIpv6',
- 'errorMessage' => 'The param supportIpv6 of EndpointService is forbidden , resource is not support ipv6.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainNotSupport',
- 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.',
- ],
- [
- 'errorCode' => 'Conflict.ServiceName',
- 'errorMessage' => 'The ServiceName %s is conflict.',
- ],
- [
- 'errorCode' => 'InvalidParam.PrivateDnsName',
- 'errorMessage' => 'The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com.',
- ],
- [
- 'errorCode' => 'OperationDenied.ZoneAffinityNotSupport',
- 'errorMessage' => 'The operation is not allowed because of zone affinity not support.',
- ],
- [
- 'errorCode' => 'OperationDenied.RamPolicyNotSupport',
- 'errorMessage' => 'The operation is not allowed because of RamPolicyNotSupport.',
- ],
- [
- 'errorCode' => 'OperationDenied.ResourceTypeNotSupportDualStack',
- 'errorMessage' => 'The specified resource type does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch',
- 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.',
- ],
- [
- 'errorCode' => 'IllegalParam.AddressIpVersion',
- 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.',
- ],
- [
- 'errorCode' => 'SpecifiedAlbNotSupport',
- 'errorMessage' => 'The specified alb %s is not supported.',
- ],
+ ['errorCode' => 'EndpointExist', 'errorMessage' => 'The specified Endpoint already exists.', 'description' => '当前终端节点已经存在。'],
+ ['errorCode' => 'EndpointZoneDuplicated', 'errorMessage' => 'The zone is duplicated for the Endpoint.', 'description' => '终端节点服务下面可用区不可以重复'],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceNotSupportedZone', 'errorMessage' => 'The specified endpoint service does not support the zone.', 'description' => '终端节点服务不支持当前可用区。'],
+ ['errorCode' => 'VSwitchNotFound', 'errorMessage' => 'The specified VSwitch does not exist.', 'description' => ''],
+ ['errorCode' => 'SecurityGroupNotFound', 'errorMessage' => 'The specified security group does not exist.', 'description' => '当前安全组未找到。'],
+ ['errorCode' => 'VpcTunnelNotFound', 'errorMessage' => 'The specified VPC tunnel does not exist.', 'description' => '当前VPC信道未找到。'],
+ ['errorCode' => 'VpcNotFound', 'errorMessage' => 'The specified VPC does not exist.', 'description' => '当前VPC未找到。'],
+ ['errorCode' => 'GenerateResourceIdFailed', 'errorMessage' => 'Failed to generate ResourceId.', 'description' => '生成资源ID失败。'],
+ ['errorCode' => 'QuotaMisMatched', 'errorMessage' => 'The resource you applied for has exceeded the quota.', 'description' => '申请的资源超过配额'],
+ ['errorCode' => 'EndpointMustContainSecurityGroup', 'errorMessage' => 'The specified endpoint must have at least one security group.', 'description' => '终端节点需要至少加入一个安全组'],
+ ['errorCode' => 'EndpointDuplicated', 'errorMessage' => 'The endpoint of the service already exists and cannot be created again.', 'description' => '此服务的终端节点已存在,不能重复创建'],
+ ['errorCode' => 'EndpointServiceDeleted', 'errorMessage' => 'The specified Service is already deleted.', 'description' => '终端节点服务已经被删除'],
+ ['errorCode' => 'EndpointServiceResourceNotFound', 'errorMessage' => 'The specified service resource is not found.', 'description' => '终端节点服务资源未找到'],
+ ['errorCode' => 'SecurityGroupTypeNotSupport', 'errorMessage' => 'The specified security group type is not supported.', 'description' => '该安全组类型不支持'],
+ ['errorCode' => 'EniIpUnavailable', 'errorMessage' => 'The specified IP address is unavailable.', 'description' => '指定的IP不可用'],
+ ['errorCode' => 'EndpointServiceNotAuthorized', 'errorMessage' => 'The specified endpoint service is not authorized to user.', 'description' => '终端节点服务未授权给用户。'],
+ ['errorCode' => 'SecurityGroupTypeOnlySingleTypeSupporteded', 'errorMessage' => 'The specified security group only support one type.', 'description' => '安全组只支持一种类型'],
+ ['errorCode' => 'QuotaExceeded.IpQuotaPerEp', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => ''],
+ ['errorCode' => 'Mismatch.EndpointType', 'errorMessage' => 'The %s is mismatched for %s and %s.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointService', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'CheckServiceLinkRoleError', 'errorMessage' => 'The ServiceLink role check error.', 'description' => 'ServiceLinkRole校验错误'],
+ ['errorCode' => 'ResourceNotEnough.VSwitchIp', 'errorMessage' => 'The specified resource of VSwitchIp is not enough.', 'description' => 'vswitchip数量不够'],
+ ['errorCode' => 'VSwitchStatusNotAllowed', 'errorMessage' => 'The specified vswitch status is not Available.', 'description' => '交换机状态还未可用'],
+ ['errorCode' => 'QuotaExceeded.epZonePerEndpoint', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '用户单个endpoint可用区限制'],
+ ['errorCode' => 'QuotaExceeded.totalEpPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '用户单个VPC终端节点数量限额。'],
+ ['errorCode' => 'QuotaExceeded.totalIdleEndpoint', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '用户空闲未连接endpoint总数限制'],
+ ['errorCode' => 'OperationDenied.EndpointPolicyNotSupport', 'errorMessage' => 'The operation is not allowed because of EndpointPolicyNotSupport.', 'description' => '操作不允许,终端节点策略不支持'],
+ ['errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport', 'errorMessage' => 'The operation is not allowed because of %s.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'OperationDenied.PrivateDomainNotSupport', 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'DependencyViolation.PrivateDnsName', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '资源%s依赖于%s,导致操作无法完成'],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup', 'errorMessage' => 'The gateway load balancer not support security group.', 'description' => '网关型负载均衡类型不支持设置安全组'],
+ ['errorCode' => 'GatewayLoadBalancerZoneCountDeny', 'errorMessage' => 'The GatewayLoadBalancer zone count not support', 'description' => '可用区数量不满足限制,无法操作。'],
+ ['errorCode' => 'OperationDenied.EndpointTypeNotSupportDualstack', 'errorMessage' => 'The specified endpoint type does not support dualstack, only the Interface and GatewayLoadBalancer types support dual stack.', 'description' => '终端节点类型不支持双栈,仅Interface、GatewayLoadBalancer类型支持双栈。'],
+ ['errorCode' => 'OperationDenied.EndpointServiceNotSupportDualstack', 'errorMessage' => 'The specified endpoint service does not support dualstack.', 'description' => '终端节点服务不支持双栈。'],
+ ['errorCode' => 'OperationDenied.VSwitchNotSupportDualstack', 'errorMessage' => 'The specified VSwitch does not support dualstack.', 'description' => 'VSwitch不支持双栈。'],
+ ['errorCode' => 'OperationDenied.AddressIpVersionNotSupportSpecifyIpv6', 'errorMessage' => 'The AddressIpVersion of the endpoint does not support specifying IPv6 address.', 'description' => '终端节点的AddressIpVersion不支持指定IPv6地址。'],
+ ['errorCode' => 'IllegalParam.Ip', 'errorMessage' => 'The specified parameter IP is invalid.', 'description' => '指定的IP地址格式不符合要求。'],
+ ['errorCode' => 'IllegalParam.Ipv6Address', 'errorMessage' => 'The specified parameter Ipv6Address is invalid.', 'description' => '指定的IPv6地址格式不符合要求。'],
+ ['errorCode' => 'IllegalParam.AddressIpVersion', 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.', 'description' => '指定的参数AddressIpVersion 不符合要求。'],
+ ['errorCode' => 'SpecifiedAlbNotSupport', 'errorMessage' => 'The specified alb %s is not supported.', 'description' => '指定的alb实例不支持。'],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"CreateTime\\": \\"2022-01-02T19:11:12Z\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"ZoneAffinityEnabled\\": false,\\n \\"AutoAcceptEnabled\\": false,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"\\",\\n \\"RegionBusinessStatus\\": \\"\\",\\n \\"SupportedRegionId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '创建终端节点服务',
- 'description' => '- 创建终端节点服务之前,请确保您已创建支持私网连接的负载均衡资源。具体操作,请参见[创建负载均衡实例](~~174064~~)。'."\n"
- .'- **CreateVpcEndpointService**接口属于异步接口,即系统会返回一个实例ID,但该终端节点服务尚未创建完成,系统后台任务仍在进行中。您可以调用[GetVpcEndpointServiceAttribute](~~183542~~)查询终端节点服务的创建状态:'."\n"
- ."\n"
- .' - 当终端节点服务处于**Creating**状态时,表示终端节点服务正在创建。'."\n"
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"CreateTime\\": \\"2022-01-02T19:11:12Z\\",\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Bandwidth\\": 200,\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ZoneAffinityEnabled\\": false,\\n \\"ServiceRegionId\\": \\"cn-huhehaote\\",\\n \\"CrossRegionBandwidth\\": 1000\\n}","type":"json"}]',
+ 'title' => '创建终端节点',
+ 'description' => '**CreateVpcEndpoint**接口属于异步接口,即系统会返回一个实例ID,但该终端节点尚未创建完成,系统后台任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~469349~~)查询终端节点的创建状态:'."\n"
."\n"
- .' - 当终端节点服务处于**Active**状态时,表示终端节点服务创建完成。',
- ],
- 'UpdateVpcEndpointServiceAttribute' => [
- 'summary' => '调用UpdateVpcEndpointServiceAttribute接口,修改终端节点服务的属性。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ .'- 当终端节点处于**Creating**状态时,表示终端节点正在创建中。'."\n"
+ .'- 当终端节点处于**Active**状态时,表示终端节点创建完成。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:CreateVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'privatelink:VpcEndpointServiceId', 'validationType' => 'always'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/*'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'CreateVpcEndpointService' => [
+ 'summary' => '调用CreateVpcEndpointService接口,创建终端节点服务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1043,144 +1062,153 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '16189',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '16165',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '终端节点服务所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~469325~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。'."\n"
+ ."\n\n"
+ ."\n", 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求,取值:'."\n"
- ."\n"
- .'- **true**:发送检查请求,不会修改资源属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- ."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP'."\n"
- .' 2xx状态码并直接修改资源属性。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '是否只预检此次请求,取值:'."\n"
+ ."\n"
+ .'- **true**:发送检查请求,不会创建资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ ."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的描述信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'This is my EndpointService.',
- ],
+ 'schema' => ['description' => '终端节点服务的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'This is my EndpointService.'],
],
[
'name' => 'AutoAcceptEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => '是否自动接受终端节点连接,取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- ."\n"
- .'- **false**:不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ ."\n"
+ .'- **false**(默认值):不自动接受终端节点连接。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
- 'name' => 'ConnectBandwidth',
+ 'name' => 'Payer',
'in' => 'query',
- 'schema' => [
- 'description' => '默认连接带宽峰值。默认值:**3072**。单位:Mbps。'."\n"
- ."\n"
- .'取值范围:**100**~**10240**。'."\n"
- ."\n"
- .'> 当服务资源为传统型负载均衡CLB或应用型负载均衡ALB时,支持设置默认连接带宽峰值;当服务资源为网络型负载均衡NLB时,不支持设置连接带宽。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3072',
- ],
+ 'schema' => ['description' => '付费方,取值:'."\n"
+ ."\n"
+ .'- **Endpoint**:服务使用方。'."\n"
+ ."\n"
+ .'- **EndpointService**:服务提供方。', 'type' => 'string', 'required' => false, 'example' => 'Endpoint'],
],
[
'name' => 'ZoneAffinityEnabled',
'in' => 'query',
+ 'schema' => ['description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**(默认值):否。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
+ ],
+ [
+ 'name' => 'ServiceResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务资源类型。取值:'."\n"
+ ."\n"
+ .'- **slb** :表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb** :表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。'."\n"
+ ."\n"
+ .'> 不支持访问NLB的TCPSSL类型监听。', 'type' => 'string', 'required' => false, 'example' => 'slb'],
+ ],
+ [
+ 'name' => 'Resource',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- ."\n"
- .'- **true**(默认值):是。'."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
+ 'description' => '终端节点服务资源合集。创建时最多支持10个资源。创建后可通过为终端节点添加服务资源继续添加。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端节点服务资源合集。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => ['description' => '添加到终端节点服务中的服务资源的类型,一个终端节点服务最多支持添加20个服务资源。取值:'."\n"
+ ."\n"
+ .'- **slb** :表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb** :表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'required' => false, 'example' => 'slb'],
+ 'ResourceId' => ['description' => '添加到终端节点服务中的服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote-a'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'true',
+ 'maxItems' => 10,
],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '终端节点服务所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~469325~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'ServiceSupportIPv6',
'in' => 'query',
+ 'schema' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**(默认值):否。', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmy*****'],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**(默认值):否。',
- 'type' => 'boolean',
- 'deprecated' => true,
+ 'description' => '标签列表。'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签列表。'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'env'],
+ 'Value' => ['description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'prod'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'false',
+ 'maxItems' => 21,
],
],
[
@@ -1189,41 +1217,23 @@
'schema' => [
'description' => '协议版本。取值:'."\n"
."\n"
- .'- **IPv4**:IPv4类型。'."\n"
+ .'- **IPv4**:IPv4类型(默认)。'."\n"
.'- **DualStack**:双栈类型。'."\n"
- .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。',
+ .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。终端节点服务支持双栈,要求其后端资源也需支持双栈。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'IPv4' => 'IPv4',
- 'DualStack' => 'DualStack',
- ],
+ 'enumValueTitles' => [],
'example' => 'IPv4',
],
],
[
- 'name' => 'AddSupportedRegionSet',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'DeleteSupportedRegionSet',
+ 'name' => 'SupportedRegionList',
'in' => 'query',
'style' => 'flat',
'schema' => [
+ 'description' => '终端节点服务支持的地域列表,服务使用方可从列表中的地域发起终端节点连接。',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['description' => '终端节点服务支持的地域 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
'required' => false,
],
],
@@ -1231,160 +1241,177 @@
'responses' => [
200 => [
'schema' => [
- 'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
+ 'ServiceBusinessStatus' => ['description' => '终端节点服务的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ 'ServiceName' => ['description' => '终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceStatus' => ['description' => '终端节点服务的状态。取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'ServiceDescription' => ['description' => '终端节点服务的描述信息。', 'type' => 'string', 'example' => 'This is my EndpointService.'],
+ 'CreateTime' => ['description' => '终端节点服务的创建时间。', 'type' => 'string', 'example' => '2022-01-02T19:11:12Z'],
+ 'ServiceDomain' => ['description' => '终端节点服务的服务域名。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'false'],
+ 'AutoAcceptEnabled' => ['description' => '是否自动接受终端节点连接。取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'example' => 'false'],
+ 'ServiceId' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceSupportIPv6' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'false'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmy*****'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'SupportedRegionSet' => [
+ 'description' => '终端节点服务支持的地域列表,服务使用方可从列表中的地域发起终端节点连接。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceRegionId' => ['type' => 'string', 'deprecated' => true, 'description' => ''],
+ 'RegionServiceStatus' => ['description' => '终端节点服务支持的地域的状态。取值:'."\n"
+ ."\n"
+ .'- **Pending**:变更中。'."\n"
+ .'- **Available**:可用。'."\n"
+ .'- **Deleting**:删除中。'."\n"
+ .'- **Failed**:失败。'."\n"
+ .'- **Closed**:关闭。', 'type' => 'string', 'example' => 'Available'],
+ 'RegionBusinessStatus' => ['description' => '终端节点服务支持的地域的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'SupportedRegionId' => ['description' => '终端节点服务支持的地域 ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceLocked',
- 'errorMessage' => 'The specified Service is locked.',
- ],
- [
- 'errorCode' => 'EndpointServiceOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint service is not allowed.',
- ],
- [
- 'errorCode' => 'IllegalParamFormat.%s',
- 'errorMessage' => 'The param format of %s is illegal.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateServiceDomainBusinessStatus',
- 'errorMessage' => 'The operation is not allowed because of PrivateServiceDomainBusinessStatus.',
- ],
- [
- 'errorCode' => 'MissingParam.%s',
- 'errorMessage' => 'The param of %s is missing.',
- ],
- [
- 'errorCode' => 'ServiceResourceNotSupportIpv6',
- 'errorMessage' => 'The resource is not support ipv6.',
- ],
- [
- 'errorCode' => 'EndpointServiceDowngradeNotAllowed',
- 'errorMessage' => 'The EndpointService is not allowed for downgrade.',
- ],
- [
- 'errorCode' => 'DependencyViolation.PrivateDnsName',
- 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainNotSupport',
- 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport',
- 'errorMessage' => 'The operation is not allowed because of %s.',
- ],
- [
- 'errorCode' => 'Conflict.ServiceName',
- 'errorMessage' => 'The ServiceName %s is conflict.',
- ],
- [
- 'errorCode' => 'InvalidParam.PrivateDnsName',
- 'errorMessage' => 'The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com.',
- ],
- [
- 'errorCode' => 'OperationDenied.ResourceTypeNotSupportDualStack',
- 'errorMessage' => 'The specified resource type does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch',
- 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.',
- ],
- [
- 'errorCode' => 'EndpointServiceConnectionDependence',
- 'errorMessage' => 'There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4.',
- ],
+ ['errorCode' => 'EndpointServiceExist', 'errorMessage' => 'The specified Endpoint Service already exists.', 'description' => '当前终端节点服务已经存在。'],
+ ['errorCode' => 'AlbNotFound', 'errorMessage' => 'The specified Alb does not exist.', 'description' => 'ALI负载均衡不存在。'],
+ ['errorCode' => 'LoadBalancerNotFound', 'errorMessage' => 'The specified load balancer does not exist.', 'description' => '负载均衡不存在。'],
+ ['errorCode' => 'LoadBalancerNotSupportPrivateLink', 'errorMessage' => 'The specified SLB does not support PrivateLink.', 'description' => '当前负载均衡不支持Privatelink。'],
+ ['errorCode' => 'GenerateResourceIdFailed', 'errorMessage' => 'Failed to generate ResourceId.', 'description' => '生成资源ID失败。'],
+ ['errorCode' => 'QuotaMisMatched', 'errorMessage' => 'The resource you applied for has exceeded the quota.', 'description' => '申请的资源超过配额'],
+ ['errorCode' => 'VSwitchNotFound', 'errorMessage' => 'The specified VSwitch does not exist.', 'description' => ''],
+ ['errorCode' => 'EndpointServicePayerForbidden', 'errorMessage' => 'The parameter EndpointServicePayer is forbidden. The user is not in the whitelist.', 'description' => '终端节点服务的付费类型, 不在白名单中'],
+ ['errorCode' => 'NeedOpenProduct', 'errorMessage' => 'The product is not activated.', 'description' => '产品未开通'],
+ ['errorCode' => 'EndpointServiceNotSupportedZone', 'errorMessage' => 'The specified endpoint service does not support the zone.', 'description' => '终端节点服务不支持当前可用区。'],
+ ['errorCode' => 'IllegalParamFormat.%s', 'errorMessage' => 'The param format of %s is illegal.', 'description' => '指定的%s格式无效。请检查参数约束,并在修改后重试。'],
+ ['errorCode' => 'MissingParam.%s', 'errorMessage' => 'The param of %s is missing.', 'description' => '参数%s缺失。'],
+ ['errorCode' => 'ResourceNotFound.NatGateway', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'Mismatch.ResourceType', 'errorMessage' => 'The %s is mismatched for %s and %s.', 'description' => '%s在%s和%s中不匹配。'],
+ ['errorCode' => 'EndpointServiceNotSupportIpv6', 'errorMessage' => 'The param supportIpv6 of EndpointService is forbidden , resource is not support ipv6.', 'description' => '终端节点服务不支持IPv6'],
+ ['errorCode' => 'OperationDenied.PrivateDomainNotSupport', 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'Conflict.ServiceName', 'errorMessage' => 'The ServiceName %s is conflict.', 'description' => '服务名称%s冲突'],
+ ['errorCode' => 'InvalidParam.PrivateDnsName', 'errorMessage' => 'The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com.', 'description' => ''],
+ ['errorCode' => 'OperationDenied.ZoneAffinityNotSupport', 'errorMessage' => 'The operation is not allowed because of zone affinity not support.', 'description' => '不允许操作,因为不支持域名就近解析。'],
+ ['errorCode' => 'OperationDenied.RamPolicyNotSupport', 'errorMessage' => 'The operation is not allowed because of RamPolicyNotSupport.', 'description' => '不允许操作,因为不支持ram策略。'],
+ ['errorCode' => 'OperationDenied.ResourceTypeNotSupportDualStack', 'errorMessage' => 'The specified resource type does not support dualstack.', 'description' => '服务后端资源类型不支持双栈。'],
+ ['errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch', 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.', 'description' => '终端节点服务与后端资源AddressIpVersion不匹配'],
+ ['errorCode' => 'IllegalParam.AddressIpVersion', 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.', 'description' => '指定的参数AddressIpVersion 不符合要求。'],
+ ['errorCode' => 'SpecifiedAlbNotSupport', 'errorMessage' => 'The specified alb %s is not supported.', 'description' => '指定的alb实例不支持。'],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointServiceAttributeResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n</UpdateVpcEndpointServiceAttributeResponse>","errorExample":""}]',
- 'title' => '修改终端节点服务的属性',
- 'description' => '- 修改终端节点服务的属性之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **UpdateVpcEndpointServiceAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点服务的属性。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'GetVpcEndpointServiceAttribute' => [
- 'summary' => '调用GetVpcEndpointServiceAttribute接口,获取终端节点服务属性信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"CreateTime\\": \\"2022-01-02T19:11:12Z\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"ZoneAffinityEnabled\\": false,\\n \\"AutoAcceptEnabled\\": false,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"Available\\",\\n \\"RegionBusinessStatus\\": \\"Normal\\",\\n \\"SupportedRegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '创建终端节点服务',
+ 'description' => '- 创建终端节点服务之前,请确保您已创建支持私网连接的负载均衡资源。具体操作,请参见[创建负载均衡实例](~~174064~~)。'."\n"
+ .'- **CreateVpcEndpointService**接口属于异步接口,即系统会返回一个实例ID,但该终端节点服务尚未创建完成,系统后台任务仍在进行中。您可以调用[GetVpcEndpointServiceAttribute](~~183542~~)查询终端节点服务的创建状态:'."\n"
+ ."\n"
+ .' - 当终端节点服务处于**Creating**状态时,表示终端节点服务正在创建。'."\n"
+ ."\n"
+ .' - 当终端节点服务处于**Active**状态时,表示终端节点服务创建完成。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:CreateVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/*'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'DeleteVpcEndpoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16175',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '16166',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要删除的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会删除终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'EndpointId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要删除的终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要删除的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
],
'responses' => [
@@ -1392,430 +1419,181 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Payer' => [
- 'description' => '付费方,取值:'."\n"
- ."\n"
- .'- **Endpoint**:服务使用方。'."\n"
- .'- **EndpointService**:服务提供方。',
- 'type' => 'string',
- 'example' => 'Endpoint',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- 'ServiceDescription' => [
- 'description' => '终端节点服务的描述信息。',
- 'type' => 'string',
- 'example' => 'This is my EndpointService.',
- ],
- 'CreateTime' => [
- 'description' => '终端节点服务的创建时间。',
- 'type' => 'string',
- 'example' => '2020-01-02T19:11:12Z',
- ],
- 'MaxBandwidth' => [
- 'description' => '终端节点连接的最大带宽。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1024',
- ],
- 'MinBandwidth' => [
- 'description' => '终端节点连接的最小带宽。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'ServiceDomain' => [
- 'description' => '终端节点服务的服务域名。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'AutoAcceptEnabled' => [
- 'description' => '是否自动接受终端节点连接,取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- ."\n"
- .'- **false**:不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- ."\n"
- .'- **true**(默认值):是。'."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceId' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'Zones' => [
- 'description' => '服务资源所属的可用区列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '服务资源所属的可用区。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-b',
- ],
- ],
- 'ServiceBusinessStatus' => [
- 'description' => '终端节点服务的业务状态,取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'ServiceName' => [
- 'description' => '终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceStatus' => [
- 'description' => '终端节点服务的状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'ConnectBandwidth' => [
- 'description' => '默认连接带宽峰值。单位:Mbps。取值范围:**100~10240**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3072',
- ],
- 'RegionId' => [
- 'description' => '终端节点服务所属的地域。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ServiceType' => [
- 'description' => '终端节点类型。'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点,您可以添加传统型负载均衡CLB(Classic Load Balancer)、应用型负载均衡ALB(Application Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
- .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点,您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。',
- 'type' => 'string',
- 'example' => 'Interface',
- ],
- 'ServiceResourceType' => [
- 'description' => '服务资源类型,取值:'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- 'ServiceSupportIPv6' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- .'- **false**(默认值):否。',
- 'type' => 'boolean',
- 'deprecated' => true,
- 'example' => 'false',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmy*****',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'SupportedRegionSet' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ServiceRegionId' => [
- 'type' => 'string',
- 'deprecated' => true,
- ],
- 'RegionServiceStatus' => [
- 'type' => 'string',
- ],
- 'RegionBusinessStatus' => [
- 'type' => 'string',
- ],
- 'SupportedRegionId' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
+ ['errorCode' => 'OperationDenied.EndpointProtected', 'errorMessage' => 'The operation is not allowed because of EndpointProtected.', 'description' => '终端节点开启托管保护,不允许操作。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointDependenceViolation', 'errorMessage' => 'The specified endpoint has dependent zone(s).', 'description' => '终端节点下存在可用区,不可以删除。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointProtected', 'errorMessage' => 'The specified Endpoint is protected.', 'description' => '终端节点已经设置操作保护'],
+ ['errorCode' => 'EndpointAssociatedVpc', 'errorMessage' => 'The endpoint is associated with a vpc.', 'description' => '终端节点已关联了vpc,请先删除该终端节点的路由条目。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Payer\\": \\"Endpoint\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"CreateTime\\": \\"2020-01-02T19:11:12Z\\",\\n \\"MaxBandwidth\\": 1024,\\n \\"MinBandwidth\\": 100,\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"AutoAcceptEnabled\\": true,\\n \\"ZoneAffinityEnabled\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"Zones\\": [\\n \\"cn-huhehaote-b\\"\\n ],\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ConnectBandwidth\\": 3072,\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"\\",\\n \\"RegionBusinessStatus\\": \\"\\",\\n \\"SupportedRegionId\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetVpcEndpointServiceAttributeResponse>\\n <Payer>Endpoint</Payer>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <ServiceDescription>This is my EndpointService.</ServiceDescription>\\n <CreateTime>2020-01-02T19:11:12Z</CreateTime>\\n <MaxBandwidth>1024</MaxBandwidth>\\n <MinBandwidth>100</MinBandwidth>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <AutoAcceptEnabled>true</AutoAcceptEnabled>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <Zones>cn-huhehaote-b</Zones>\\n <ServiceBusinessStatus>Normal</ServiceBusinessStatus>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceStatus>Active</ServiceStatus>\\n <ConnectBandwidth>1024</ConnectBandwidth>\\n <RegionId>cn-huhehaote</RegionId>\\n <ServiceType>Interface</ServiceType>\\n <ServiceResourceType>slb</ServiceResourceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <ResourceGroupId>rg-acfmy*****</ResourceGroupId>\\n</GetVpcEndpointServiceAttributeResponse>","errorExample":""}]',
- 'title' => '获取终端节点服务属性信息',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListVpcEndpointServices' => [
- 'summary' => '调用ListVpcEndpointServices接口,查询终端节点服务列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'https',
+ 'title' => '删除终端节点',
+ 'summary' => '调用DeleteVpcEndpoint接口,删除终端节点。',
+ 'description' => '- 删除终端节点之前,请先删除终端节点中已添加的可用区。'."\n"
+ .'- **DeleteVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未删除完成,系统后台删除任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~469349~~)查询终端节点的删除状态:'."\n"
+ ."\n"
+ .' - 当终端节点处于**Deleting**状态时,表示终端节点正在删除中。'."\n"
+ .' - 当查询不到指定的终端节点时,表示终端节点删除成功。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'privatelink:DeleteVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcEndpointResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n</DeleteVpcEndpointResponse>","errorExample":""}]',
+ ],
+ 'DeleteVpcEndpointService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16180',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
+ 'schema' => ['description' => "\n"
+ .'客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- ],
+ 'schema' => ['description' => "\n"
+ .'是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会删除资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- ],
- [
- 'name' => 'ServiceName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
- ],
- [
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
+ 'schema' => ['description' => '要删除的终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'ServiceResourceType',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源类型,取值:'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'slb',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
- [
- 'name' => 'AutoAcceptEnabled',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '是否自动接受终端节点连接,取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- ."\n"
- .'- **false**:不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'ServiceStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Active',
- ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceOperationDenied', 'errorMessage' => 'The specified operation of endpoint service is not allowed.', 'description' => '终端节点服务处理中,不允许操作。'],
+ ['errorCode' => 'EndpointServiceDependenceViolation', 'errorMessage' => 'The specified EndpointService already contains a resource.', 'description' => '当前终端节点服务存在资源。'],
+ ['errorCode' => 'EndpointServiceConnectionDependence', 'errorMessage' => 'You cannot delete EndpointService with Endpoint connected.', 'description' => '无法删除有终端节点关联的终端节点服务。'],
+ ['errorCode' => 'DeleteFailedDueToEndpointExist', 'errorMessage' => 'The specified EndpointService id deleted failed , due to EndpointExist.', 'description' => '终端节点还未删除'],
],
- [
- 'name' => 'ServiceBusinessStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的业务状态,取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Normal',
+ ],
+ 'title' => '删除终端节点服务',
+ 'summary' => '调用DeleteVpcEndpointService接口,删除终端节点服务。',
+ 'description' => '- 删除终端节点服务之前,请先断开终端节点连接并移除服务资源。'."\n"
+ .'- **DeleteVpcEndpointService**接口属于异步接口,即系统会返回一个请求ID,但终端节点服务尚未删除,系统后台的删除任务仍在进行。您可以调用[GetVpcEndpointServiceAttribute](~~183542~~)查询终端节点服务的删除状态:'."\n"
+ .' - 当终端节点服务处于**Deleting**状态时,表示终端节点服务正在删除中。'."\n"
+ .' - 当查询不到该终端节点服务时,表示终端节点服务删除完成。'."\n"
+ .'- **DeleteVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发删除终端节点服务。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'privatelink:DeleteVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DeleteVpcEndpointServiceResponse>","errorExample":""}]',
+ ],
+ 'DescribeRegions' => [
+ 'summary' => '调用 DescribeRegions 接口,查询 PrivateLink 私网连接支持的地域列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ZoneAffinityEnabled',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkX3ZDB5'],
+ 'autoTest' => false,
+ ],
+ 'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签。',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmy*****',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'AddressIpVersion',
+ 'name' => 'ServiceResourceType',
'in' => 'query',
'schema' => [
- 'description' => '协议版本。取值:'."\n"
+ 'description' => 'PrivateLink支持的开服地域,与服务资源类型有关,不同的服务类型支持的地域存在差异。在查询PrivateLink开服地域时可指定服务资源类型,取值如下:'."\n"
."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
+ .'- **slb**(默认):表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb**:表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。'."\n"
+ ."\n"
+ .'- **ALL**:上述全部。',
'type' => 'string',
'required' => false,
- 'example' => 'IPv4',
+ 'enumValueTitles' => [],
+ 'example' => 'slb',
],
],
],
@@ -1824,304 +1602,123 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Services' => [
- 'description' => '终端节点服务集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端节点服务集合。',
- 'type' => 'object',
- 'properties' => [
- 'AutoAcceptEnabled' => [
- 'description' => '是否自动接受终端节点连接,取值:'."\n"
- ."\n"
- .'- **true**:自动接受终端节点连接。'."\n"
- ."\n"
- .'- **false**:不自动接受终端节点连接。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceId' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'CreateTime' => [
- 'description' => '终端节点服务的创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-24T17:15:10Z',
- ],
- 'MinBandwidth' => [
- 'description' => '终端节点连接的最小带宽。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'MaxBandwidth' => [
- 'description' => '终端节点连接的最大带宽。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1024',
- ],
- 'ServiceStatus' => [
- 'description' => '终端节点服务的状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持可用区就近解析,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RegionId' => [
- 'description' => '终端节点服务所属的地域。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ServiceDomain' => [
- 'description' => '终端节点服务的服务域名。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'Payer' => [
- 'description' => '付费方,取值:'."\n"
- ."\n"
- .'- **Endpoint**:服务使用方。'."\n"
- .'- **EndpointService**:服务提供方。',
- 'type' => 'string',
- 'example' => 'Endpoint',
- ],
- 'ServiceBusinessStatus' => [
- 'description' => '终端节点服务的业务状态,取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'ConnectBandwidth' => [
- 'description' => '默认连接带宽峰值。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1024',
- ],
- 'ServiceName' => [
- 'description' => '终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceDescription' => [
- 'description' => '终端节点服务的描述信息。',
- 'type' => 'string',
- 'example' => 'This is my EndpointService.',
- ],
- 'ServiceResourceType' => [
- 'description' => '服务资源类型,取值:'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- 'ServiceType' => [
- 'description' => '终端节点服务类型,取值:'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点,您可以添加传统型负载均衡CLB(Classic Load Balancer)、应用型负载均衡ALB(Application Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
- .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点,您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。',
- 'type' => 'string',
- 'example' => 'Interface',
- ],
- 'ServiceSupportIPv6' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。'."\n",
- 'type' => 'boolean',
- 'deprecated' => true,
- 'example' => 'false',
- ],
- 'Tags' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签列表。',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。',
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
- ],
- ],
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmy*****',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'SupportedRegionSet' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ServiceRegionId' => [
- 'type' => 'string',
- 'deprecated' => true,
- ],
- 'RegionServiceStatus' => [
- 'type' => 'string',
- ],
- 'RegionBusinessStatus' => [
- 'type' => 'string',
- ],
- 'SupportedRegionId' => [
- 'type' => 'string',
+ 'Regions' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Region' => [
+ 'description' => '可用地域的集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '可用地域的集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LocalName' => ['description' => '地域名称。', 'type' => 'string', 'example' => '华东1(杭州)'],
+ 'RegionEndpoint' => ['description' => '地域服务的终端节点。', 'type' => 'string', 'example' => 'privatelink.cn-hangzhou.aliyuncs.com'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ServiceResourceTypes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ServiceResourceType' => [
+ 'description' => '该地域支持的资源类型列表。'."\n"
+ .'>若入参中ServiceResourceType指定为"ALL",则返回支持的全部资源类型。若指定为具体的资源类型,则列表中仅返回指定的资源类型。',
+ 'type' => 'array',
+ 'items' => ['description' => '支持的资源类型。', 'type' => 'string', 'example' => 'slb'],
+ ],
],
+ 'description' => '',
],
],
],
],
],
+ 'description' => '',
],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分批次查询时每次显示的条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Services\\": [\\n {\\n \\"AutoAcceptEnabled\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"CreateTime\\": \\"2021-09-24T17:15:10Z\\",\\n \\"MinBandwidth\\": 100,\\n \\"MaxBandwidth\\": 1024,\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"Payer\\": \\"Endpoint\\",\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"ConnectBandwidth\\": 1024,\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"\\",\\n \\"RegionBusinessStatus\\": \\"\\",\\n \\"SupportedRegionId\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServicesResponse>\\n <Services>\\n <AutoAcceptEnabled>true</AutoAcceptEnabled>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <CreateTime>2021-09-24T17:15:10Z</CreateTime>\\n <MinBandwidth>100</MinBandwidth>\\n <MaxBandwidth>1024</MaxBandwidth>\\n <ServiceStatus>Active</ServiceStatus>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <RegionId>cn-huhehaote</RegionId>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <Payer>Endpoint</Payer>\\n <ServiceBusinessStatus>Normal</ServiceBusinessStatus>\\n <ConnectBandwidth>1024</ConnectBandwidth>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceDescription>This is my EndpointService.</ServiceDescription>\\n <ServiceResourceType>slb</ServiceResourceType>\\n <ServiceType>Interface</ServiceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n <ResourceGroupId>rg-acfmy*****</ResourceGroupId>\\n </Services>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointServicesResponse>","errorExample":""}]',
- 'title' => '查询终端节点服务列表',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Regions\\": {\\n \\"Region\\": [\\n {\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"RegionEndpoint\\": \\"privatelink.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ServiceResourceTypes\\": {\\n \\"ServiceResourceType\\": [\\n \\"slb\\"\\n ]\\n }\\n }\\n ]\\n },\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeRegionsResponse>\\n <RequestId>A355E857-97F5-5054-9AC8-BCE064939652</RequestId>\\n <Regions>\\n <Region>\\n <RegionId>cn-hangzhou</RegionId>\\n <RegionEndpoint>privatelink.cn-hangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东1(杭州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shanghai</RegionId>\\n <RegionEndpoint>privatelink.cn-shanghai.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东2(上海)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-nanjing</RegionId>\\n <RegionEndpoint>privatelink.cn-nanjing.aliyuncs.com</RegionEndpoint>\\n <LocalName>华东5(南京-本地地域)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-qingdao</RegionId>\\n <RegionEndpoint>privatelink.cn-qingdao.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北1(青岛)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-beijing</RegionId>\\n <RegionEndpoint>privatelink.cn-beijing.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北2(北京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-zhangjiakou</RegionId>\\n <RegionEndpoint>privatelink.cn-zhangjiakou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北3(张家口)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-huhehaote</RegionId>\\n <RegionEndpoint>privatelink.cn-huhehaote.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北5(呼和浩特)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-wulanchabu</RegionId>\\n <RegionEndpoint>privatelink.cn-wulanchabu.aliyuncs.com</RegionEndpoint>\\n <LocalName>华北6(乌兰察布)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-shenzhen</RegionId>\\n <RegionEndpoint>privatelink.cn-shenzhen.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南1(深圳)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-heyuan</RegionId>\\n <RegionEndpoint>privatelink.cn-heyuan.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南2(河源)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-guangzhou</RegionId>\\n <RegionEndpoint>privatelink.cn-guangzhou.aliyuncs.com</RegionEndpoint>\\n <LocalName>华南3(广州)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-chengdu</RegionId>\\n <RegionEndpoint>privatelink.cn-chengdu.aliyuncs.com</RegionEndpoint>\\n <LocalName>西南1(成都)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>cn-hongkong</RegionId>\\n <RegionEndpoint>privatelink.cn-hongkong.aliyuncs.com</RegionEndpoint>\\n <LocalName>中国香港</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-1</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>新加坡</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-2</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-2.aliyuncs.com</RegionEndpoint>\\n <LocalName>澳大利亚(悉尼)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-3</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-3.aliyuncs.com</RegionEndpoint>\\n <LocalName>马来西亚(吉隆坡)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-southeast-5</RegionId>\\n <RegionEndpoint>privatelink.ap-southeast-5.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度尼西亚(雅加达)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-northeast-1</RegionId>\\n <RegionEndpoint>privatelink.ap-northeast-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>日本(东京)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-central-1</RegionId>\\n <RegionEndpoint>privatelink.eu-central-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>德国(法兰克福)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>eu-west-1</RegionId>\\n <RegionEndpoint>privatelink.eu-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>英国(伦敦)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-west-1</RegionId>\\n <RegionEndpoint>privatelink.us-west-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(硅谷)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>us-east-1</RegionId>\\n <RegionEndpoint>privatelink.us-east-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>美国(弗吉尼亚)</LocalName>\\n </Region>\\n <Region>\\n <RegionId>ap-south-1</RegionId>\\n <RegionEndpoint>privatelink.ap-south-1.aliyuncs.com</RegionEndpoint>\\n <LocalName>印度(孟买)</LocalName>\\n </Region>\\n </Regions>\\n</DescribeRegionsResponse>","errorExample":""}]',
+ 'title' => '查询私网连接支持的地域列表',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [],
],
- 'DeleteVpcEndpointService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeZones' => [
+ 'summary' => '调用 DescribeZones 接口,查询指定地域中 PrivateLink 私网连接支持的可用区列表。在跨地域场景下,终端节点与终端节点服务两侧的可用区支持情况相互独立,本接口支持按终端节点侧和终端节点服务侧分别查询其支持的可用区列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkVQ750H'],
+ 'autoTest' => false,
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '可用区所在的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ServiceResourceType',
'in' => 'query',
+ 'allowEmptyValue' => false,
'schema' => [
- 'description' => "\n"
- .'客户端Token,用于保证请求的幂等性。'."\n"
+ 'description' => 'PrivateLink在某个地域可用区支持的情况,取决于后端服务资源类型。在查询PrivateLink支持的可用区列表时可指定服务资源类型,取值如下:'."\n"
."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
+ .'- **slb**(默认):表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb**:表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
'type' => 'string',
'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
+ 'enumValueTitles' => [],
+ 'example' => 'slb',
],
],
[
- 'name' => 'DryRun',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => "\n"
- .'是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会删除资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '可用区所在的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'CrossRegion',
'in' => 'query',
- 'schema' => [
- 'description' => '要删除的终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '是否跨地域场景,默认值 false。'."\n"
+ ."\n"
+ .'以下场景需设置 CrossRegion 为 true,并结合 CrossRegionSide 使用:'."\n"
+ .'- **作为服务使用方**:需要创建跨地域终端节点以连接其他地域的终端节点服务。调用本接口查询当前地域中支持创建跨地域终端节点的可用区时,设置 CrossRegion 为 true,CrossRegionSide 设置为 Endpoint。'."\n"
+ ."\n"
+ .'- **作为服务提供方** :需要将终端节点服务跨地域共享给其他地域的服务使用方。调用本接口查询当前地域中支持跨地域共享的可用区时,设置 CrossRegion 为 true,CrossRegionSide 设置为 EndpointService。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'CrossRegionSide',
'in' => 'query',
'schema' => [
- 'description' => '终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
+ 'description' => '指定查询跨地域连接中发起方或服务方的可用区支持情况。取值如下:'."\n"
+ .'- **Endpoint**(默认):终端节点。'."\n"
+ .'- **EndpointService**:终端节点服务。'."\n"
+ ."\n"
+ .'> 该字段仅在 CrossRegion=true 时生效。',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'EndpointService',
+ 'enum' => ['Endpoint', 'EndpointService'],
],
],
],
@@ -2130,56 +1727,43 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F'],
+ 'Zones' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Zone' => [
+ 'description' => '可用区的集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '可用区的集合。',
+ 'type' => 'object',
+ 'properties' => [
+ 'LocalName' => ['description' => '可用区名称。', 'type' => 'string', 'example' => '华东1 可用区B'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-b'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint service is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointServiceDependenceViolation',
- 'errorMessage' => 'The specified EndpointService already contains a resource.',
- ],
- [
- 'errorCode' => 'EndpointServiceConnectionDependence',
- 'errorMessage' => 'You cannot delete EndpointService with Endpoint connected.',
- ],
- [
- 'errorCode' => 'DeleteFailedDueToEndpointExist',
- 'errorMessage' => 'The specified EndpointService id deleted failed , due to EndpointExist.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DeleteVpcEndpointServiceResponse>","errorExample":""}]',
- 'title' => '删除终端节点服务',
- 'summary' => '调用DeleteVpcEndpointService接口,删除终端节点服务。',
- 'description' => '- 删除终端节点服务之前,请先断开终端节点连接并移除服务资源。'."\n"
- .'- **DeleteVpcEndpointService**接口属于异步接口,即系统会返回一个请求ID,但终端节点服务尚未删除,系统后台的删除任务仍在进行。您可以调用[GetVpcEndpointServiceAttribute](~~183542~~)查询终端节点服务的删除状态:'."\n"
- .' - 当终端节点服务处于**Deleting**状态时,表示终端节点服务正在删除中。'."\n"
- .' - 当查询不到该终端节点服务时,表示终端节点服务删除完成。'."\n"
- .'- **DeleteVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发删除终端节点服务。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Zones\\": {\\n \\"Zone\\": [\\n {\\n \\"LocalName\\": \\"华东1 可用区B\\",\\n \\"ZoneId\\": \\"cn-hangzhou-b\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeZonesResponse>\\r\\n <RequestId>6FEA0CF3-D3B9-43E5-A304-D217037876A8</RequestId>\\r\\n <Zones>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-b</ZoneId>\\r\\n <LocalName>华东 1 可用区 B</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-f</ZoneId>\\r\\n <LocalName>华东 1 可用区 F</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-g</ZoneId>\\r\\n <LocalName>华东 1 可用区 G</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-h</ZoneId>\\r\\n <LocalName>华东 1 可用区 H</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-i</ZoneId>\\r\\n <LocalName>华东 1 可用区 I</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-j</ZoneId>\\r\\n <LocalName>华东 1 可用区 J</LocalName>\\r\\n </Zone>\\r\\n <Zone>\\r\\n <ZoneId>cn-hangzhou-k</ZoneId>\\r\\n <LocalName>华东 1 可用区 K</LocalName>\\r\\n </Zone>\\r\\n </Zones>\\r\\n</DescribeZonesResponse>","errorExample":""}]',
+ 'title' => '查询私网连接支持的可用区列表',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [],
],
- 'AddUserToVpcEndpointService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DetachResourceFromVpcEndpointService' => [
+ 'summary' => '调用DetachResourceFromVpcEndpointService接口,移除终端节点服务中的服务资源。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2188,90 +1772,62 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'UserId',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '服务白名单账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '132193271328****',
- ],
+ 'schema' => ['description' => '服务资源的类型。'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ ."\n"
+ .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'slb'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => ['description' => '要移除服务资源的终端节点服务所属的可用区。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-c'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '要移除服务资源的终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => "\n"
- .'是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会添加服务白名单。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会移除服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
- ],
- [
- 'name' => 'UserARN',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'ARN格式的用户白名单。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:ram:*:<account-id>:*',
- ],
+ 'schema' => ['description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2279,49 +1835,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'MissingParam.UserArn',
- 'errorMessage' => 'The param of UserArn is missing.',
- ],
- [
- 'errorCode' => 'Mismatch.UserIdAndUserArn',
- 'errorMessage' => 'The %s and %s are mismatched.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceResourceNotFound', 'errorMessage' => 'The specified service resource is not found.', 'description' => '终端节点服务资源未找到'],
+ ['errorCode' => 'EndpointServiceResourceCannotRemove', 'errorMessage' => 'The service resource cannot be removed.', 'description' => '服务资源不允许移除'],
+ ['errorCode' => 'EndpointServiceConnectionDependence', 'errorMessage' => 'You cannot delete EndpointService with Endpoint connected.', 'description' => '无法删除有终端节点关联的终端节点服务。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<AddUserToVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</AddUserToVpcEndpointServiceResponse>","errorExample":""}]',
- 'title' => '添加服务白名单',
- 'summary' => '调用AddUserToVpcEndpointService接口,为终端节点服务添加服务白名单。',
- 'description' => '- 添加服务白名单之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **AddUserToVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发添加服务白名单。',
+ 'title' => '移除终端节点服务中的服务资源',
+ 'description' => '- 移除终端节点服务中的服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **DetachResourceFromVpcEndpointService**接口不支持在同一个终端节点服务实例下并发移除服务资源。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListVpcEndpointServiceUsers' => [
- 'summary' => '调用ListVpcEndpointServiceUsers接口,查询终端节点服务的服务白名单。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DetachResourceFromVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DetachResourceFromVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DetachResourceFromVpcEndpointServiceResponse>","errorExample":""}]',
+ ],
+ 'DetachSecurityGroupFromVpcEndpoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2329,184 +1885,94 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'SecurityGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
+ 'schema' => ['description' => '要移除的安全组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sg-hp3c8qj1tyct90ej****'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,取值范围:**1~1000**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => '要移除安全组的终端节点的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会将终端节点移除安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'UserId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '服务白名单阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '12345678',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'UserListType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '服务白名单用户列表类型:'."\n"
- .'- Users'."\n"
- .'- UserARNs',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Users',
- 'default' => 'Users',
- ],
+ 'schema' => ['description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
],
'responses' => [
200 => [
- 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Users' => [
- 'description' => '服务白名单阿里云账号集合。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'UserId' => [
- 'description' => '服务白名单阿里云账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '12345678',
- ],
- ],
- ],
- ],
- 'UserARNs' => [
- 'description' => 'ARN格式的用户白名单列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'UserARN' => [
- 'description' => 'ARN格式的用户白名单。',
- 'type' => 'string',
- 'example' => 'acs:ram:*::*',
- ],
- ],
- ],
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'string',
- 'example' => '3',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
+ ['errorCode' => 'SecurityGroupNotFound', 'errorMessage' => 'The specified security group does not exist.', 'description' => '当前安全组未找到。'],
+ ['errorCode' => 'EndpointMustContainSecurityGroup', 'errorMessage' => 'The specified endpoint must have at least one security group.', 'description' => '终端节点需要至少加入一个安全组'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointServiceDeleted', 'errorMessage' => 'The specified Service is already deleted.', 'description' => '终端节点服务已经被删除'],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup', 'errorMessage' => 'The gateway load balancer not support security group.', 'description' => '网关型负载均衡类型不支持设置安全组'],
+ ],
+ ],
+ 'title' => '将终端节点移除安全组',
+ 'summary' => '调用DetachSecurityGroupFromVpcEndpoint接口,将终端节点移除安全组。',
+ 'description' => '- **DetachSecurityGroupFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点尚未从安全组中移除,系统后台的移除任务仍在进行。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的移除状态:'."\n"
+ .' '."\n"
+ .' - 当终端节点处于**Pending**状态时,表示终端节点正在移除中。'."\n"
+ .' - 当在安全组中查询不到该终端节点时,表示终端节点移除完成。'."\n"
+ ."\n"
+ .'- **DetachSecurityGroupFromVpcEndpoint**接口不支持将同一个终端节点实例并发移除安全组。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DetachSecurityGroupFromVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"Users\\": [\\n {\\n \\"UserId\\": 12345678\\n }\\n ],\\n \\"UserARNs\\": [\\n {\\n \\"UserARN\\": \\"acs:ram:*::*\\"\\n }\\n ],\\n \\"TotalCount\\": \\"3\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServiceUsersResponse>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Users>\\n <UserId>12345678</UserId>\\n </Users>\\n <UserARNs/>\\n</ListVpcEndpointServiceUsersResponse>","errorExample":""}]',
- 'title' => '查询终端节点服务的服务白名单',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"<DetachSecurityGroupFromVpcEndpointResponse>\\n <RequestId>8D778FF9-7640-4C13-BCD6-9265CA9A2F81</RequestId>\\n</DetachSecurityGroupFromVpcEndpointResponse>","errorExample":""}]',
],
- 'RemoveUserFromVpcEndpointService' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DisableVpcEndpointConnection' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2514,90 +1980,43 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要拒绝终端节点连接的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求,取值:'."\n"
- ."\n"
- .'- **true**:发送检查请求,不会移除服务白名单。检查项包括AccessKey是否有效、RAM用户的授权情况和是否填写了必需参数。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n"
- ."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回2xx HTTP状态码并直接移除服务白名单。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'UserId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要移除的服务白名单中的账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'docRequired' => true,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '12345678',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会拒绝连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'UserARN',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'ARN格式的用户白名单。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs:ram:*:<account-id>:*',
- ],
+ 'schema' => ['description' => '要拒绝终端节点连接的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
],
'responses' => [
@@ -2605,46 +2024,46 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'MissingParam.UserArn',
- 'errorMessage' => 'The param of UserArn is missing.',
- ],
- [
- 'errorCode' => 'Mismatch.UserIdAndUserArn',
- 'errorMessage' => 'The %s and %s are mismatched.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ],
+ ],
+ 'title' => '拒绝终端节点的连接请求',
+ 'summary' => '调用DisableVpcEndpointConnection接口,拒绝终端节点的连接请求。',
+ 'description' => '- **DisableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未断开完成,系统后台断开任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~183568~~)查询终端节点的断开状态:'."\n"
+ ."\n"
+ .' - 当终端节点连接状态处于**Disconnecting**状态时,表示终端节点连接正在断开中。'."\n"
+ .' - 当终端节点连接状态处于**Disconnected**状态时,表示终端节点连接已断开。'."\n"
+ ."\n"
+ .'- **DisableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发拒绝终端节点的连接请求。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DisableVpcEndpointConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveUserFromVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</RemoveUserFromVpcEndpointServiceResponse>","errorExample":""}]',
- 'title' => '移除服务白名单',
- 'summary' => '调用RemoveUserFromVpcEndpointService接口,移除终端节点服务的服务白名单。',
- 'description' => '- 移除服务白名单之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **RemoveUserFromVpcEndpointService**接口不支持在同一个终端节点服务ID下并发移除服务白名单。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableVpcEndpointConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DisableVpcEndpointConnectionResponse>","errorExample":""}]',
],
- 'UpdateVpcEndpointServiceResourceAttribute' => [
- 'summary' => '调用UpdateVpcEndpointServiceResourceAttribute接口,修改终端节点服务资源是否自动分配。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DisableVpcEndpointZoneConnection' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2654,103 +2073,63 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
+ 'abilityTreeCode' => '34070',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkDB15J4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改服务资源的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要拒绝终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => "\n"
- .'是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会修改终端节点服务资源的相关属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会拒绝连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源所属的可用区。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou-i',
- ],
+ 'schema' => ['description' => '终端节点连接可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-b'],
],
[
- 'name' => 'AutoAllocatedEnabled',
+ 'name' => 'ReplacedResource',
'in' => 'query',
- 'schema' => [
- 'description' => '是否允许资源自动分配,取值:'."\n"
- ."\n"
- .'- **true**:允许资源自动分配。'."\n"
- ."\n"
- .'- **false**:不允许资源自动分配。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否断开平滑迁移后的旧连接。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**(默认值):否。'."\n"
+ ."\n"
+ .'> 在资源做平滑迁移后,断开终端节点在此可用区的旧的连接时选择此属性。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改服务资源的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要拒绝终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2758,167 +2137,138 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceLocked',
- 'errorMessage' => 'The specified Service is locked.',
- ],
- [
- 'errorCode' => 'EndpointServiceOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint service is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceNotFound',
- 'errorMessage' => 'The specified service resource is not found.',
- ],
- [
- 'errorCode' => 'ResourceAutoAllocateViolation',
- 'errorMessage' => 'The specified endpoint service must have at least one automatically allocated resource in one zone.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'IncorrectBusinessStatus.VpcEndpoint', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectBusinessStatus.VpcEndpointService', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpoint', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointConnection', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointService', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointZone', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection', 'errorMessage' => 'The gateway load balancer not support zone connection.', 'description' => '网关型负载均衡类型不支持操作可用区连接'],
+ ],
+ 404 => [
+ ['errorCode' => 'ResourceNotFound.VpcEndpoint', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointConnection', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointService', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointZone', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ],
+ ],
+ 'title' => '断开终端节点可用区连接',
+ 'summary' => '调用DisableVpcEndpointZoneConnection接口,断开终端节点可用区连接。',
+ 'description' => '- 当终端节点连接状态为**已连接**且终端节点可用区状态为**已连接**或**已迁移**时,才能调用此接口。'."\n"
+ .'- **DisableVpcEndpointZoneConnection**接口属于异步接口,即系统会返回一个请求ID,但终端节点在此可用区的连接请求尚未拒绝完成,系统后台拒绝任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的连接请求状态:'."\n"
+ ."\n"
+ .' - 当终端节点可用区处于**Disconnecting**状态时,表示连接请求正在断开中。'."\n"
+ ."\n"
+ .' - 当终端节点可用区处于**Disconnected**状态时,表示连接请求断开完成。'."\n"
+ ."\n"
+ .'- **DisableVpcEndpointZoneConnection**接口不支持在同一个终端节点实例下并发拒绝终端节点在此可用区的连接请求。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DisableVpcEndpointZoneConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointServiceResourceAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointServiceResourceAttributeResponse>","errorExample":""}]',
- 'title' => '修改终端节点服务资源的属性',
- 'description' => '- 修改终端节点服务资源的属性之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **UpdateVpcEndpointServiceResourceAttribute**接口不支持在同一个终端节点服务ID下并发修改终端节点服务资源的相关属性。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableVpcEndpointZoneConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DisableVpcEndpointZoneConnectionResponse>","errorExample":""}]',
],
- 'AttachResourceToVpcEndpointService' => [
- 'summary' => '调用AttachResourceToVpcEndpointService接口,为终端节点服务添加服务资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'EnableVpcEndpointConnection' => [
+ 'summary' => '调用EnableVpcEndpointConnection接口,终端节点服务接受终端节点的连接请求。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '16162',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkZR0ZOX',
- ],
+ 'abilityTreeCode' => '16173',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkDB15J4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加服务资源的终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要接受的终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源类型。取值:'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'slb',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ ."\n"
+ .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n"
+ ."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接接受连接请求。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源所属的可用区。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou-j',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加服务资源的终端节点服务。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'Bandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会添加服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '终端节点的连接带宽。单位:Mbps。'."\n"
+ ."\n"
+ .'> 对于不同的服务资源资源类型,取值范围分别如下:'."\n"
+ .'> - NLB:100~50000。'."\n"
+ .'> - ALB:100~25000。'."\n"
+ .'> - CLB:100~10240。默认值 3072。'."\n"
+ .'> - GWLB:100~25000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => false, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '3072'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '要接受的终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'TrafficControlMode',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加服务资源的终端节点服务所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '- Scalability:自动弹性,在该模式下,针对终端连接设置的连接带宽无效。'."\n"
+ ."\n"
+ .'- BandwidthLimit:支持对终端连接设置带宽上限,带宽上限为Bandwidth值。'."\n"
+ .' '."\n"
+ .'>- 当服务资源为NLB时,TrafficControlMode默认设置为Scalability,可以设置为BandwidthLimit并修改Bandwidth值来提供带宽上限。'."\n"
+ .'>- 当服务资源为CLB时,TrafficControlMode仅支持设置BandwidthLimit,表示服务使用方为每个终端节点提供默认限速。'."\n"
+ .'> - 当服务资源为GWLB时,TrafficControlMode仅支持设置Scalability。', 'type' => 'string', 'required' => false, 'example' => 'BandwidthLimit'],
],
],
'responses' => [
@@ -2926,172 +2276,101 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint service is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceExist',
- 'errorMessage' => 'The specified resource already exists.',
- ],
- [
- 'errorCode' => 'LoadBalancerNotFound',
- 'errorMessage' => 'The specified load balancer does not exist.',
- ],
- [
- 'errorCode' => 'LoadBalancerNotSupportPrivateLink',
- 'errorMessage' => 'The specified SLB does not support PrivateLink.',
- ],
- [
- 'errorCode' => 'AlbNotFound',
- 'errorMessage' => 'The specified Alb does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceTypeNotSupport',
- 'errorMessage' => 'The specified resource type is not supported.',
- ],
- [
- 'errorCode' => 'QuotaMisMatched',
- 'errorMessage' => 'The resource you applied for has exceeded the quota.',
- ],
- [
- 'errorCode' => 'VSwitchNotFound',
- 'errorMessage' => 'The specified VSwitch does not exist.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.NatGateway',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'Mismatch.ResourceType',
- 'errorMessage' => 'The %s is mismatched for %s and %s.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotSupportedZone',
- 'errorMessage' => 'The specified endpoint service does not support the zone.',
- ],
- [
- 'errorCode' => 'ServiceResourceNotSupportIpv6',
- 'errorMessage' => 'The resource is not support ipv6.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceTypeNotEqual',
- 'errorMessage' => 'the service resource type not equal request type.',
- ],
- [
- 'errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch',
- 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'OperationDenied.NoAvailableServiceResource', 'errorMessage' => 'The operation is not allowed because of there are no resource in some available zones of endpoint service.', 'description' => '不允许操作,因为终端节点服务的部分可用区没有资源。'],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<AttachResourceToVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</AttachResourceToVpcEndpointServiceResponse>","errorExample":""}]',
- 'title' => '为终端节点服务添加服务资源',
- 'description' => '- 为终端节点服务添加服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **AttachResourceToVpcEndpointService**接口不支持在同一个终端节点服务实例下并发添加服务资源。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<EnableVpcEndpointConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</EnableVpcEndpointConnectionResponse>","errorExample":""}]',
+ 'title' => '接受终端节点连接请求',
+ 'description' => '- **EnableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点服务连接尚未成功,系统后台的连接任务仍在进行。您可以调用[GetVpcEndpointAttribute](~~183568~~)接口查询终端节点服务连接状态:'."\n"
+ ."\n"
+ .' - 当连接处于**Connecting**状态时,表示终端节点连接服务正在连接。'."\n"
+ .' - 当连接处于**Connected**状态时,表示终端节点连接服务连接成功。'."\n"
+ ."\n"
+ .'- **EnableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发接受终端节点连接请求。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListVpcEndpointServiceResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:EnableVpcEndpointConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'EnableVpcEndpointZoneConnection' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '34068',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkDB15J4'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的服务资源的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要接受终端节点连接的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**50**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ ],
+ [
+ 'name' => 'EndpointId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点连接可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-b'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的服务资源的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要接受终端节点连接的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -3099,134 +2378,62 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分批次查询时每次显示的条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'Resources' => [
- 'description' => '服务资源信息集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '服务资源所属的VPC。',
- 'type' => 'object',
- 'properties' => [
- 'VpcId' => [
- 'description' => '服务资源所属的VPC。',
- 'type' => 'string',
- 'example' => 'vpc-hp356stwkxg3fn2xe****',
- ],
- 'VSwitchId' => [
- 'description' => '服务资源所属的交换机。',
- 'type' => 'string',
- 'example' => 'vsw-hp3uf6045ljdhd5zr****',
- ],
- 'ResourceType' => [
- 'description' => '服务资源的类型。'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- ."\n"
- .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- 'ZoneId' => [
- 'description' => '服务资源所属的可用区。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-b',
- ],
- 'Ip' => [
- 'description' => '服务资源的IP地址。',
- 'type' => 'string',
- 'example' => '192.168.10.23',
- ],
- 'ResourceId' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
- 'RegionId' => [
- 'description' => '服务资源所属的地域。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'RelatedEndpointCount' => [
- 'description' => '服务资源关联的终端节点的连接数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'RelatedDeprecatedEndpointCount' => [
- 'description' => '平滑迁移场景下,作为被替换的服务资源关联的终端节点的连接数量。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'AutoAllocatedEnabled' => [
- 'description' => '是否允许自动分配,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ResourceSupportIPv6' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。'."\n",
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'IncorrectBusinessStatus.VpcEndpoint', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectBusinessStatus.VpcEndpointService', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpoint', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointConnection', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointService', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.VpcEndpointZone', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => ''],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection', 'errorMessage' => 'The gateway load balancer not support zone connection.', 'description' => '网关型负载均衡类型不支持操作可用区连接'],
+ ],
+ 404 => [
+ ['errorCode' => 'ResourceNotFound.VpcEndpoint', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointConnection', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointService', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ['errorCode' => 'ResourceNotFound.VpcEndpointZone', 'errorMessage' => 'The specified resource %s is not found.', 'description' => ''],
+ ],
+ ],
+ 'title' => '允许终端节点可用区连接',
+ 'summary' => '调用EnableVpcEndpointZoneConnection接口,允许终端节点可用区连接。',
+ 'description' => '- 当终端节点连接状态为**已连接**且终端节点可用区状态为**已断开**时,才能调用此接口。'."\n"
+ .'- **EnableVpcEndpointZoneConnection**接口属于异步接口,即系统会返回一个请求ID,但尚未接受终端节点在此可用区的连接请求,系统后台接受任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的连接请求状态:'."\n"
+ ."\n"
+ .' - 当终端节点可用区处于**Connecting**状态时,表示连接请求正在接受中。'."\n"
+ .' - 当终端节点可用区处于**Connected**状态时,表示连接请求已接受。'."\n"
+ ."\n"
+ .'- **EnableVpcEndpointZoneConnection**接口不支持在同一个终端节点实例下并发接受可用区的连接请求。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:EnableVpcEndpointZoneConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"Resources\\": [\\n {\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"VSwitchId\\": \\"vsw-hp3uf6045ljdhd5zr****\\",\\n \\"ResourceType\\": \\"slb\\",\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"Ip\\": \\"192.168.10.23\\",\\n \\"ResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"RelatedEndpointCount\\": 10,\\n \\"RelatedDeprecatedEndpointCount\\": 10,\\n \\"AutoAllocatedEnabled\\": false,\\n \\"ResourceSupportIPv6\\": false\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServiceResourcesResponse>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Resources>\\n <VpcId>vpc-hp356stwkxg3fn2xe****</VpcId>\\n <VSwitchId>vsw-hp3uf6045ljdhd5zr****</VSwitchId>\\n <ResourceType>slb</ResourceType>\\n <ZoneId>cn-huhehaote-b</ZoneId>\\n <Ip>192.168.10.23</Ip>\\n <ResourceId>lb-hp32z1wp5peaoox2q****</ResourceId>\\n <RegionId>cn-huhehaote</RegionId>\\n <RelatedEndpointCount>10</RelatedEndpointCount>\\n <RelatedDeprecatedEndpointCount>10</RelatedDeprecatedEndpointCount>\\n <AutoAllocatedEnabled>false</AutoAllocatedEnabled>\\n <ResourceSupportIPv6>false</ResourceSupportIPv6>\\n </Resources>\\n</ListVpcEndpointServiceResourcesResponse>","errorExample":""}]',
- 'title' => '查询终端节点服务中的服务资源',
- 'summary' => '调用ListVpcEndpointServiceResources接口查询终端节点服务中的服务资源。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]',
],
- 'DetachResourceFromVpcEndpointService' => [
- 'summary' => '调用DetachResourceFromVpcEndpointService接口,移除终端节点服务中的服务资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetVpcEndpointAttribute' => [
+ 'summary' => '调用GetVpcEndpointAttribute接口,获取终端节点属性信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3235,109 +2442,196 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
+ 'abilityTreeCode' => '16174',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '获取属性信息的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源的类型。'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- ."\n"
- .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
- .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'slb',
- ],
+ 'schema' => ['description' => '获取属性信息的终端节点ID。', 'type' => 'string', 'required' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => '获取属性信息的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
+ 'type' => 'object',
+ 'properties' => [
+ 'Payer' => ['description' => '付费方。取值:'."\n"
+ ."\n"
+ .'- **Endpoint**:服务使用方。'."\n"
+ ."\n"
+ .'- **EndpointService**:服务提供方。', 'type' => 'string', 'example' => 'Endpoint'],
+ 'EndpointDomain' => ['description' => '终端节点域名。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ 'CreateTime' => ['description' => '终端节点的创建时间。', 'type' => 'string', 'example' => '2021-09-24T18:00:07Z'],
+ 'ResourceOwner' => ['description' => '终端节点和终端节点服务是否同一账号。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'EndpointBusinessStatus' => ['description' => '终端节点的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'EndpointDescription' => ['description' => '终端节点描述。', 'type' => 'string', 'example' => 'This is my Endpoint.'],
+ 'ServiceId' => ['description' => '终端节点关联的终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'EndpointStatus' => ['description' => '终端节点状态。取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'VpcId' => ['description' => '终端节点所属的专有网络ID。', 'type' => 'string', 'example' => 'vpc-fdfhkjafhjvcvdjf****'],
+ 'EndpointName' => ['description' => '终端节点名称。', 'type' => 'string', 'example' => 'test'],
+ 'ZonePrivateIpAddressCount' => ['description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'EndpointType' => ['description' => '终端节点类型。取值:'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点。'."\n"
+ ."\n"
+ .'- **Reverse**:表示反向终端节点。'."\n"
+ .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点。', 'type' => 'string', 'example' => 'Interface'],
+ 'ServiceName' => ['description' => '终端节点关联的终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****'],
+ 'Bandwidth' => ['description' => '终端节点的连接带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'EndpointId' => ['description' => '终端节点ID。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****'],
+ 'RegionId' => ['description' => '终端节点所属的地域ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ConnectionStatus' => ['description' => '终端节点连接状态。取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。'."\n"
+ ."\n"
+ .'- **ServiceDeleted**:对应的终端节点服务已删除。', 'type' => 'string', 'example' => 'Connected'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmz7nocpei***'],
+ 'PolicyDocument' => ['description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。', 'type' => 'string', 'example' => '{'."\n"
+ .' "Version": "1",'."\n"
+ .' "Statement": ['."\n"
+ .' {'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Action": ['."\n"
+ .' "oss:List*",'."\n"
+ .' "oss:PutObject",'."\n"
+ .' "oss:GetObject"'."\n"
+ .' ],'."\n"
+ .' "Resource": ['."\n"
+ .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
+ .' ],'."\n"
+ .' "Principal": {'."\n"
+ .' "RAM": ['."\n"
+ .' "acs:ram::14199xxxxxx:*"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'ServiceRegionId' => ['description' => '终端节点关联的终端节点服务所属的地域 ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'CrossRegionBandwidth' => ['description' => '终端节点的跨地域带宽值。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'ZoneId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务资源的终端节点服务所属的可用区。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou-c',
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Payer\\": \\"Endpoint\\",\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"CreateTime\\": \\"2021-09-24T18:00:07Z\\",\\n \\"ResourceOwner\\": true,\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"VpcId\\": \\"vpc-fdfhkjafhjvcvdjf****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"ZonePrivateIpAddressCount\\": 1,\\n \\"EndpointType\\": \\"Interface\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Bandwidth\\": 1024,\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ConnectionStatus\\": \\"Connected\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"ResourceGroupId\\": \\"rg-acfmz7nocpei***\\",\\n \\"PolicyDocument\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"oss:List*\\\\\\",\\\\n \\\\\\"oss:PutObject\\\\\\",\\\\n \\\\\\"oss:GetObject\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\\\\\\"\\\\n ],\\\\n \\\\\\"Principal\\\\\\": {\\\\n \\\\\\"RAM\\\\\\": [\\\\n \\\\\\"acs:ram::14199xxxxxx:*\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ServiceRegionId\\": \\"cn-hangzhou\\",\\n \\"CrossRegionBandwidth\\": 1000\\n}","errorExample":""},{"type":"xml","example":"<GetVpcEndpointAttributeResponse>\\n <Payer>Endpoint</Payer>\\n <EndpointDomain>ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com</EndpointDomain>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <CreateTime>2021-09-24T18:00:07Z</CreateTime>\\n <ResourceOwner>true</ResourceOwner>\\n <EndpointBusinessStatus>Normal</EndpointBusinessStatus>\\n <EndpointDescription>This is my Endpoint.</EndpointDescription>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <EndpointStatus>Active</EndpointStatus>\\n <VpcId>vpc-fdfhkjafhjvcvdjf****</VpcId>\\n <EndpointName>test</EndpointName>\\n <ZonePrivateIpAddressCount>1</ZonePrivateIpAddressCount>\\n <EndpointType>Interface</EndpointType>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****</ServiceName>\\n <Bandwidth>1024</Bandwidth>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <RegionId>cn-huhehaote</RegionId>\\n <ConnectionStatus>Connected</ConnectionStatus>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n</GetVpcEndpointAttributeResponse>","errorExample":""}]',
+ 'title' => '获取终端节点属性信息',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:GetVpcEndpointAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
],
],
+ ],
+ ],
+ 'GetVpcEndpointServiceAttribute' => [
+ 'summary' => '调用GetVpcEndpointServiceAttribute接口,查询归属当前账号的终端节点服务属性信息。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ServiceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务资源的终端节点服务的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '16175',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
+ ],
+ 'parameters' => [
[
- 'name' => 'DryRun',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会移除服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
],
'responses' => [
@@ -3345,122 +2639,195 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
+ 'Payer' => ['description' => '付费方,取值:'."\n"
+ ."\n"
+ .'- **Endpoint**:服务使用方。'."\n"
+ .'- **EndpointService**:服务提供方。', 'type' => 'string', 'example' => 'Endpoint'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ 'ServiceDescription' => ['description' => '终端节点服务的描述信息。', 'type' => 'string', 'example' => 'This is my EndpointService.'],
+ 'CreateTime' => ['description' => '终端节点服务的创建时间。', 'type' => 'string', 'example' => '2020-01-02T19:11:12Z'],
+ 'MaxBandwidth' => ['description' => '终端节点连接的最大带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'MinBandwidth' => ['description' => '终端节点连接的最小带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'ServiceDomain' => ['description' => '终端节点服务的服务域名。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'AutoAcceptEnabled' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ ."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'example' => 'true'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**(默认值):是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceId' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'Zones' => [
+ 'description' => '服务资源所属的可用区列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '服务资源所属的可用区。', 'type' => 'string', 'example' => 'cn-huhehaote-b'],
+ ],
+ 'ServiceBusinessStatus' => ['description' => '终端节点服务的业务状态,取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'ServiceName' => ['description' => '终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceStatus' => ['description' => '终端节点服务的状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'ConnectBandwidth' => ['description' => '默认连接带宽峰值。单位:Mbps。取值范围:**100~10240**。', 'type' => 'integer', 'format' => 'int32', 'example' => '3072'],
+ 'RegionId' => ['description' => '终端节点服务所属的地域。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ServiceType' => ['description' => '终端节点类型。'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点,您可以添加传统型负载均衡CLB(Classic Load Balancer)、应用型负载均衡ALB(Application Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
+ .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点,您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。', 'type' => 'string', 'example' => 'Interface'],
+ 'ServiceResourceType' => ['description' => '服务资源类型,取值:'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'example' => 'slb'],
+ 'ServiceSupportIPv6' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**(默认值):否。', 'type' => 'boolean', 'deprecated' => true, 'example' => 'false'],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmy*****'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'SupportedRegionSet' => [
+ 'description' => '终端节点服务支持的地域列表,服务使用方可从列表中的地域发起终端节点连接。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceRegionId' => ['type' => 'string', 'deprecated' => true, 'description' => ''],
+ 'RegionServiceStatus' => ['description' => '终端节点服务支持的地域的状态。取值:'."\n"
+ ."\n"
+ .'- **Pending**:变更中。'."\n"
+ .'- **Available**:可用。'."\n"
+ .'- **Deleting**:删除中。'."\n"
+ .'- **Failed**:失败。'."\n"
+ .'- **Closed**:关闭。', 'type' => 'string', 'example' => 'Available'],
+ 'RegionBusinessStatus' => ['description' => '终端节点服务支持的地域的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'SupportedRegionId' => ['description' => '终端节点服务支持的地域 ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ ],
+ 'description' => '',
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceNotFound',
- 'errorMessage' => 'The specified service resource is not found.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceCannotRemove',
- 'errorMessage' => 'The service resource cannot be removed.',
- ],
- [
- 'errorCode' => 'EndpointServiceConnectionDependence',
- 'errorMessage' => 'You cannot delete EndpointService with Endpoint connected.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DetachResourceFromVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DetachResourceFromVpcEndpointServiceResponse>","errorExample":""}]',
- 'title' => '移除终端节点服务中的服务资源',
- 'description' => '- 移除终端节点服务中的服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
- .'- **DetachResourceFromVpcEndpointService**接口不支持在同一个终端节点服务实例下并发移除服务资源。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Payer\\": \\"Endpoint\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"CreateTime\\": \\"2020-01-02T19:11:12Z\\",\\n \\"MaxBandwidth\\": 1024,\\n \\"MinBandwidth\\": 100,\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"AutoAcceptEnabled\\": true,\\n \\"ZoneAffinityEnabled\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"Zones\\": [\\n \\"cn-huhehaote-b\\"\\n ],\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ConnectBandwidth\\": 3072,\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"Available\\",\\n \\"RegionBusinessStatus\\": \\"Normal\\",\\n \\"SupportedRegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<GetVpcEndpointServiceAttributeResponse>\\n <Payer>Endpoint</Payer>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <ServiceDescription>This is my EndpointService.</ServiceDescription>\\n <CreateTime>2020-01-02T19:11:12Z</CreateTime>\\n <MaxBandwidth>1024</MaxBandwidth>\\n <MinBandwidth>100</MinBandwidth>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <AutoAcceptEnabled>true</AutoAcceptEnabled>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <Zones>cn-huhehaote-b</Zones>\\n <ServiceBusinessStatus>Normal</ServiceBusinessStatus>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceStatus>Active</ServiceStatus>\\n <ConnectBandwidth>1024</ConnectBandwidth>\\n <RegionId>cn-huhehaote</RegionId>\\n <ServiceType>Interface</ServiceType>\\n <ServiceResourceType>slb</ServiceResourceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <ResourceGroupId>rg-acfmy*****</ResourceGroupId>\\n</GetVpcEndpointServiceAttributeResponse>","errorExample":""}]',
+ 'title' => '获取终端节点服务属性',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DeleteVpcEndpoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:GetVpcEndpointServiceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListTagResources' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'abilityTreeCode' => '16166',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkG9DJDQ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ResourceId',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '要删除的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
+ 'description' => '资源ID列表。最多支持50个资源ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-hp3i05294c2d2d******'],
+ 'required' => false,
],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ ."\n"
+ .'- **vpcendpoint**:终端节点。 '."\n"
+ ."\n"
+ .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'required' => true, 'example' => 'vpcendpoint'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会删除终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '资源的标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'example' => 'false',
],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '要删除的终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要删除的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '资源所属的地域ID。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ ."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ ."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****'],
],
],
'responses' => [
@@ -3468,413 +2835,323 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
+ 'TagResources' => [
+ 'description' => '绑定标签的资源信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '绑定标签的资源信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'endpoint'],
+ 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'ep-hp3i05294c2d2d******'],
+ 'ResourceType' => ['description' => '资源类型。取值:'."\n"
+ ."\n"
+ .'- **vpcendpoint**:终端节点。 '."\n"
+ ."\n"
+ .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'example' => 'vpcendpoint'],
+ ],
+ ],
],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ ."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ ."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'OperationDenied.EndpointProtected',
- 'errorMessage' => 'The operation is not allowed because of EndpointProtected.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointDependenceViolation',
- 'errorMessage' => 'The specified endpoint has dependent zone(s).',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointProtected',
- 'errorMessage' => 'The specified Endpoint is protected.',
- ],
- [
- 'errorCode' => 'EndpointAssociatedVpc',
- 'errorMessage' => 'The endpoint is associated with a vpc.',
- ],
+ ['errorCode' => 'DuplicatedTagKey', 'errorMessage' => 'The tag keys is duplicated.', 'description' => 'tag key重复'],
+ ['errorCode' => 'MissingTagKeyParam', 'errorMessage' => 'The tag key is empty.', 'description' => 'The tag key is empty.'],
+ ['errorCode' => 'MissingTagValueParam', 'errorMessage' => 'The tag value is empty.', 'description' => 'The tag value is empty.'],
+ ['errorCode' => 'MissingResourceIdOrTagParam', 'errorMessage' => 'The resource id and tag is empty.', 'description' => 'The resource id and tag is empty.'],
+ ['errorCode' => 'IllegalTagKeyParam', 'errorMessage' => 'IllegalTagKeyParam', 'description' => 'IllegalTagKeyParam'],
+ ['errorCode' => 'IllegalTagValueParam', 'errorMessage' => 'The tag value is Illegal.', 'description' => 'The tag value is Illegal.'],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcEndpointResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n</DeleteVpcEndpointResponse>","errorExample":""}]',
- 'title' => '删除终端节点',
- 'summary' => '调用DeleteVpcEndpoint接口,删除终端节点。',
- 'description' => '- 删除终端节点之前,请先删除终端节点中已添加的可用区。'."\n"
- .'- **DeleteVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未删除完成,系统后台删除任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~469349~~)查询终端节点的删除状态:'."\n"
+ 'title' => '查询资源已经绑定的标签列表',
+ 'summary' => '当您需要查询资源标签时,可调用ListTagResources接口,查询资源已经绑定的标签列表。',
+ 'description' => '- 请求中至少指定参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**),以确定检索对象。'."\n"
."\n"
- .' - 当终端节点处于**Deleting**状态时,表示终端节点正在删除中。'."\n"
- .' - 当查询不到指定的终端节点时,表示终端节点删除成功。',
- ],
- 'CreateVpcEndpoint' => [
- 'summary' => '创建终端节点。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ .'- **Tag.N**是资源的标签,由一个键值对组成。仅指定**Tag.N.Key**时,则返回该标签键关联的所有标签值。仅指定**Tag.N.Value**会报错。'."\n"
+ ."\n"
+ .'- 如果您同时指定**Tag.N**和**ResourceId.N**筛选标签,则**ResourceId.N**必须满足所有输入的标签键值对。'."\n"
+ ."\n"
+ .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpoint/{#vpcendpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"endpoint\\",\\n \\"TagValue\\": \\"FinanceJoshua\\",\\n \\"ResourceId\\": \\"ep-hp3i05294c2d2d******\\",\\n \\"ResourceType\\": \\"vpcendpoint\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\"\\n}","type":"json"}]',
+ ],
+ 'ListVpcEndpointConnections' => [
+ 'summary' => '调用ListVpcEndpointConnections接口,查询终端节点连接。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '16164',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkG9DJDQ',
- ],
+ 'abilityTreeNodes' => ['FEATUREprivatelinkO25BLH'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要查询的终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会创建终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '分页大小。取值范围:**1**~**1000**。默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '50', 'default' => '50'],
],
[
- 'name' => 'EndpointName',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点名称。'."\n"
- ."\n"
- .'长度为2~128个字符,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'EndpointType',
+ 'name' => 'EniId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点类型。取值:'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点。您可以添加应用型负载均衡ALB(ApplicationLoad Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
- ."\n"
- .'- **Reverse**:表示反向终端节点。您可以添加VPC NAT网关作为服务资源。'."\n"
- .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点。您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。'."\n"
- ."\n"
- .'> 支持反向终端节点的服务只能由阿里云和生态合作伙伴提供,默认不支持自己创建,如需自己创建,请联系客户经理申请。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Interface',
- ],
+ 'schema' => ['description' => '终端节点网卡ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp32lk0pyv6o94hs****'],
],
[
- 'name' => 'ZonePrivateIpAddressCount',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'EndpointDescription',
+ 'name' => 'ConnectionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点描述。'."\n"
- ."\n"
- .'描述长度为2~256个字符,开头不能为`http://`和`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'This is my Endpoint.',
- ],
+ 'schema' => ['description' => '终端节点连接状态,取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。'."\n"
+ ."\n"
+ .'- **ServiceDeleted**:对应的终端节点服务已删除。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'Disconnected'],
],
[
- 'name' => 'VpcId',
+ 'name' => 'EndpointOwnerId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点所属的专有网络。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vpc-hp356stwkxg3fn2xe****',
- ],
+ 'schema' => ['description' => '终端节点所属的账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '25346073170691****'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点关联的终端节点服务。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3xdsq46ael67lo****',
- ],
+ 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'],
],
[
- 'name' => 'ServiceName',
+ 'name' => 'ReplacedResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点关联的终端节点服务的名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '平滑迁移场景下被替换的服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'],
],
[
- 'name' => 'Zone',
+ 'name' => 'RegionId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '终端节点可用区列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '当前地域下的可用区ID。'."\n"
- ."\n"
- .'系统将在您指定的可用区下创建资源。',
- 'type' => 'object',
- 'properties' => [
- 'VSwitchId' => [
- 'description' => '在可用区内要创建终端节点网卡的交换机。'."\n"
- .'您最多可以设置10个交换机。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-hp3uf6045ljdhd5zr****',
- ],
- 'ZoneId' => [
- 'description' => '终端节点服务对应的可用区。'."\n"
- ."\n"
- .'您最多可以设置10个可用区。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-huhehaote-b',
- ],
- 'ip' => [
- 'description' => '指定终端节点可用区的IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.XX.XX',
- ],
- 'Ipv6Address' => [
- 'description' => '指定终端节点可用区的IPv6地址。'."\n"
- .'>仅AddressIpVersion属性取值为DualStack时,该参数才可指定。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2408:4005:34d:****:a58b:62a3:6b55:****',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 10,
- ],
+ 'schema' => ['description' => '要查询的终端节点连接的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'SecurityGroupId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '终端节点网卡关联的安全组列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端节点网卡关联的安全组,安全组可以管控VPC到终端节点网卡的数据通信。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'sg-bp1fg655nh68xyz9****',
- ],
- 'required' => false,
- 'example' => 'sg-hp33bw6ynvm2yb0e****',
- 'maxItems' => 10,
- ],
+ 'schema' => ['description' => '要查询的终端节点所属的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmy*****'],
],
- [
- 'name' => 'ProtectedEnabled',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '是否开启托管保护,STS调用方式下生效。取值:'."\n"
- .' '."\n"
- .'- **true**:开启。开启托管保护后,只有和创建时相同的用户才能通过STS方式对该终端节点进行修改或者删除等操作。'."\n"
- .'- **false**(默认值):不开启。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ 'type' => 'object',
+ 'properties' => [
+ 'Connections' => [
+ 'description' => '终端节点连接信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端节点连接信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Zones' => [
+ 'description' => '可用区信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => ' '."\n"
+ .'可用区信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'VSwitchId' => ['description' => '终端节点所属的交换机。', 'type' => 'string', 'example' => 'vsw-hp3uf6045ljdhd5zr****'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-huhehaote-b'],
+ 'ResourceId' => ['description' => '服务资源ID。', 'type' => 'string', 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ 'EniId' => ['description' => '终端节点网卡ID。', 'type' => 'string', 'example' => 'eni-hp32lk0pyv6o94hs****'],
+ 'ZoneDomain' => ['description' => '可用区域名。', 'type' => 'string', 'example' => 'ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com'],
+ 'ZoneStatus' => ['description' => '可用区的状态。取值:'."\n"
+ .'- **Creating**:创建中。'."\n"
+ .'- **Wait**:等待连接。'."\n"
+ .'- **Connected**:已连接。'."\n"
+ .'- **Deleting**:删除中。'."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ .'- **Disconnected**:已断开。'."\n"
+ .'- **Connecting**:连接中。'."\n"
+ .'- **Migrating**:迁移中。'."\n"
+ .'- **Migrated**:已迁移。', 'type' => 'string', 'example' => 'Connected'],
+ 'ReplacedResourceId' => ['description' => '平滑迁移场景下被替换的服务资源ID。', 'type' => 'string', 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ 'ReplacedEniId' => ['description' => '平滑迁移场景下被替换的终端节点网卡ID。', 'type' => 'string', 'example' => 'eni-hp32lk0pyv6o94hs****'],
+ ],
+ ],
+ ],
+ 'ModifiedTime' => ['description' => '连接修改时间。', 'type' => 'string', 'example' => '2021-09-28T10:34:46Z'],
+ 'Bandwidth' => ['description' => '终端节点连接的连接带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '3072'],
+ 'EndpointOwnerId' => ['description' => '终端节点所属的账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****'],
+ 'ResourceOwner' => ['description' => '终端节点和终端节点服务是否同一账号,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceId' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'ConnectionStatus' => ['description' => '终端节点连接状态,取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。'."\n"
+ ."\n"
+ .'- **ServiceDeleted**:对应的终端节点服务已删除。', 'type' => 'string', 'example' => 'Disconnected'],
+ 'EndpointId' => ['description' => '终端节点ID。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****'],
+ 'EndpointVpcId' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'example' => 'vpc-hp356stwkxg3fn2xe****'],
+ 'ResourceGroupId' => ['description' => '终端节点所属的资源组ID。', 'type' => 'string', 'example' => 'rg-acfmw353z35v***'],
+ 'TrafficControlMode' => ['description' => '- Scalability:自动弹性,在该模式下,针对终端连接设置的连接带宽无效。'."\n"
+ ."\n"
+ .'- BandwidthLimit:终端连接的带宽上限,带宽上限为Bandwidth值。', 'type' => 'string', 'example' => 'BandwidthLimit'],
+ 'EndpointRegionId' => ['description' => '终端节点所属的地域 ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'ServiceRegionId' => ['description' => '终端节点服务所属的地域 ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ ],
+ ],
+ ],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '查询到的终端节点连接列表条目数。', 'type' => 'string', 'example' => '1'],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
],
- [
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => '标签列表。'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '标签列表。'."\n",
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'env',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'prod',
- ],
- ],
- 'required' => false,
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Connections\\": [\\n {\\n \\"Zones\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-hp3uf6045ljdhd5zr****\\",\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"ResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"EniId\\": \\"eni-hp32lk0pyv6o94hs****\\",\\n \\"ZoneDomain\\": \\"ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com\\",\\n \\"ZoneStatus\\": \\"Connected\\",\\n \\"ReplacedResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"ReplacedEniId\\": \\"eni-hp32lk0pyv6o94hs****\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2021-09-28T10:34:46Z\\",\\n \\"Bandwidth\\": 3072,\\n \\"EndpointOwnerId\\": 0,\\n \\"ResourceOwner\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"EndpointVpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"ResourceGroupId\\": \\"rg-acfmw353z35v***\\",\\n \\"TrafficControlMode\\": \\"BandwidthLimit\\",\\n \\"EndpointRegionId\\": \\"cn-hangzhou\\",\\n \\"ServiceRegionId\\": \\"cn-huhehaote\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointConnectionsResponse>\\n <Connections>\\n <ResourceOwner>true</ResourceOwner>\\n <Zones>\\n <VSwitchId>vsw-hp3uf6045ljdhd5zr****</VSwitchId>\\n <ZoneId>cn-huhehaote-b</ZoneId>\\n <ResourceId>lb-hp32z1wp5peaoox2q****</ResourceId>\\n <EniId>eni-hp32lk0pyv6o94hs****</EniId>\\n <ZoneDomain>ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com</ZoneDomain>\\n <ZoneStatus>Connected</ZoneStatus>\\n <ReplacedResourceId>lb-hp32z1wp5peaoox2q****</ReplacedResourceId>\\n <ReplacedEniId>eni-hp32lk0pyv6o94hs****</ReplacedEniId>\\n <ConnectionId>123</ConnectionId>\\n <ConnectionStringId>12345</ConnectionStringId>\\n </Zones>\\n <ModifiedTime>2021-09-28T10:34:46Z</ModifiedTime>\\n <Bandwidth>1024</Bandwidth>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ConnectionStatus>Disconnected</ConnectionStatus>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <EndpointVpcId>vpc-hp356stwkxg3fn2xe****</EndpointVpcId>\\n </Connections>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointConnectionsResponse>","errorExample":""}]',
+ 'title' => '查询终端节点连接',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointConnections',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
- 'required' => false,
- 'maxItems' => 21,
],
],
+ ],
+ ],
+ 'ListVpcEndpointSecurityGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmy*****',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
- 'name' => 'PolicyDocument',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "Version": "1",'."\n"
- .' "Statement": ['."\n"
- .' {'."\n"
- .' "Effect": "Allow",'."\n"
- .' "Action": ['."\n"
- .' "oss:List*",'."\n"
- .' "oss:PutObject",'."\n"
- .' "oss:GetObject"'."\n"
- .' ],'."\n"
- .' "Resource": ['."\n"
- .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
- .' ],'."\n"
- .' "Principal": {'."\n"
- .' "RAM": ['."\n"
- .' "acs:ram::14199xxxxxx:*"'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '要查询的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'AddressIpVersion',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型(默认)。'."\n"
- .'- **DualStack**:双栈类型。'."\n"
- .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'IPv4' => 'IPv4',
- 'DualStack' => 'DualStack',
- ],
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
[
- 'name' => 'ZoneAffinityEnabled',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**(默认值):否。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '分页大小,取值范围:**1**~**50**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '50', 'minimum' => '0', 'example' => '50'],
],
[
- 'name' => 'ServiceRegionId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '要查询的终端节点的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'CrossRegionBandwidth',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['description' => '要查询的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
],
'responses' => [
@@ -3882,588 +3159,304 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'EndpointDomain' => [
- 'description' => '终端节点域名。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'CreateTime' => [
- 'description' => '终端节点的创建时间。',
- 'type' => 'string',
- 'example' => '2022-01-02T19:11:12Z',
- ],
- 'EndpointBusinessStatus' => [
- 'description' => '终端节点的业务状态。取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'EndpointDescription' => [
- 'description' => '终端节点描述。',
- 'type' => 'string',
- 'example' => 'This is my Endpoint.',
- ],
- 'ServiceId' => [
- 'description' => '终端节点关联的终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'EndpointStatus' => [
- 'description' => '终端节点状态。取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'VpcId' => [
- 'description' => '终端节点所属的专有网络。',
- 'type' => 'string',
- 'example' => 'vpc-hp356stwkxg3fn2xe****',
- ],
- 'EndpointName' => [
- 'description' => '终端节点名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ServiceName' => [
- 'description' => '终端节点关联的终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****',
- ],
- 'Bandwidth' => [
- 'description' => '终端节点的连接带宽,单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '200',
- ],
- 'EndpointId' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- 'ConnectionStatus' => [
- 'description' => '终端节点连接状态。取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Disconnected',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型(默认)。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'ServiceRegionId' => [
- 'type' => 'string',
- ],
- 'CrossRegionBandwidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'SecurityGroups' => [
+ 'description' => '安全组信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '安全组信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SecurityGroupId' => ['description' => '终端节点已加入的安全组ID。', 'type' => 'string', 'example' => 'sg-hp33bw6ynvm2yb0e****'],
+ 'SecurityGroupStatus' => ['description' => '安全组关联状态,取值:'."\n"
+ .'- Attaching:关联中。'."\n"
+ .'- Attached:已关联。'."\n"
+ .'- Detaching:分离中。', 'type' => 'string', 'example' => 'Attached'],
+ ],
+ ],
],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointExist',
- 'errorMessage' => 'The specified Endpoint already exists.',
- ],
- [
- 'errorCode' => 'EndpointZoneDuplicated',
- 'errorMessage' => 'The zone is duplicated for the Endpoint.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotSupportedZone',
- 'errorMessage' => 'The specified endpoint service does not support the zone.',
- ],
- [
- 'errorCode' => 'VSwitchNotFound',
- 'errorMessage' => 'The specified VSwitch does not exist.',
- ],
- [
- 'errorCode' => 'SecurityGroupNotFound',
- 'errorMessage' => 'The specified security group does not exist.',
- ],
- [
- 'errorCode' => 'VpcTunnelNotFound',
- 'errorMessage' => 'The specified VPC tunnel does not exist.',
- ],
- [
- 'errorCode' => 'VpcNotFound',
- 'errorMessage' => 'The specified VPC does not exist.',
- ],
- [
- 'errorCode' => 'GenerateResourceIdFailed',
- 'errorMessage' => 'Failed to generate ResourceId.',
- ],
- [
- 'errorCode' => 'QuotaMisMatched',
- 'errorMessage' => 'The resource you applied for has exceeded the quota.',
- ],
- [
- 'errorCode' => 'EndpointMustContainSecurityGroup',
- 'errorMessage' => 'The specified endpoint must have at least one security group.',
- ],
- [
- 'errorCode' => 'EndpointDuplicated',
- 'errorMessage' => 'The endpoint of the service already exists and cannot be created again.',
- ],
- [
- 'errorCode' => 'EndpointServiceDeleted',
- 'errorMessage' => 'The specified Service is already deleted.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceNotFound',
- 'errorMessage' => 'The specified service resource is not found.',
- ],
- [
- 'errorCode' => 'SecurityGroupTypeNotSupport',
- 'errorMessage' => 'The specified security group type is not supported.',
- ],
- [
- 'errorCode' => 'EniIpUnavailable',
- 'errorMessage' => 'The specified IP address is unavailable.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotAuthorized',
- 'errorMessage' => 'The specified endpoint service is not authorized to user.',
- ],
- [
- 'errorCode' => 'SecurityGroupTypeOnlySingleTypeSupporteded',
- 'errorMessage' => 'The specified security group only support one type.',
- ],
- [
- 'errorCode' => 'QuotaExceeded.IpQuotaPerEp',
- 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
- ],
- [
- 'errorCode' => 'Mismatch.EndpointType',
- 'errorMessage' => 'The %s is mismatched for %s and %s.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointService',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'CheckServiceLinkRoleError',
- 'errorMessage' => 'The ServiceLink role check error.',
- ],
- [
- 'errorCode' => 'ResourceNotEnough.VSwitchIp',
- 'errorMessage' => 'The specified resource of VSwitchIp is not enough.',
- ],
- [
- 'errorCode' => 'VSwitchStatusNotAllowed',
- 'errorMessage' => 'The specified vswitch status is not Available.',
- ],
- [
- 'errorCode' => 'QuotaExceeded.epZonePerEndpoint',
- 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
- ],
- [
- 'errorCode' => 'QuotaExceeded.totalEpPerVpc',
- 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
- ],
- [
- 'errorCode' => 'QuotaExceeded.totalIdleEndpoint',
- 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
- ],
- [
- 'errorCode' => 'OperationDenied.EndpointPolicyNotSupport',
- 'errorMessage' => 'The operation is not allowed because of EndpointPolicyNotSupport.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport',
- 'errorMessage' => 'The operation is not allowed because of %s.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainNotSupport',
- 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.',
- ],
- [
- 'errorCode' => 'DependencyViolation.PrivateDnsName',
- 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup',
- 'errorMessage' => 'The gateway load balancer not support security group.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerZoneCountDeny',
- 'errorMessage' => 'The GatewayLoadBalancer zone count not support',
- ],
- [
- 'errorCode' => 'OperationDenied.EndpointTypeNotSupportDualstack',
- 'errorMessage' => 'The specified endpoint type does not support dualstack, only the Interface and GatewayLoadBalancer types support dual stack.',
- ],
- [
- 'errorCode' => 'OperationDenied.EndpointServiceNotSupportDualstack',
- 'errorMessage' => 'The specified endpoint service does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.VSwitchNotSupportDualstack',
- 'errorMessage' => 'The specified VSwitch does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.AddressIpVersionNotSupportSpecifyIpv6',
- 'errorMessage' => 'The AddressIpVersion of the endpoint does not support specifying IPv6 address.',
- ],
- [
- 'errorCode' => 'IllegalParam.Ip',
- 'errorMessage' => 'The specified parameter IP is invalid.',
- ],
- [
- 'errorCode' => 'IllegalParam.Ipv6Address',
- 'errorMessage' => 'The specified parameter Ipv6Address is invalid.',
- ],
- [
- 'errorCode' => 'IllegalParam.AddressIpVersion',
- 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.',
- ],
- [
- 'errorCode' => 'SpecifiedAlbNotSupport',
- 'errorMessage' => 'The specified alb %s is not supported.',
- ],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"CreateTime\\": \\"2022-01-02T19:11:12Z\\",\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Bandwidth\\": 200,\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ZoneAffinityEnabled\\": false,\\n \\"ServiceRegionId\\": \\"\\",\\n \\"CrossRegionBandwidth\\": 0\\n}","type":"json"}]',
- 'title' => '创建终端节点',
- 'description' => '**CreateVpcEndpoint**接口属于异步接口,即系统会返回一个实例ID,但该终端节点尚未创建完成,系统后台任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~469349~~)查询终端节点的创建状态:'."\n"
- ."\n"
- .'- 当终端节点处于**Creating**状态时,表示终端节点正在创建中。'."\n"
- .'- 当终端节点处于**Active**状态时,表示终端节点创建完成。',
+ 'title' => '查询终端节点已加入的安全组',
+ 'summary' => '调用ListVpcEndpointSecurityGroups接口,查询终端节点已加入的安全组。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateVpcEndpointAttribute' => [
- 'summary' => '调用UpdateVpcEndpointAttribute接口,修改终端节点的属性',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointSecurityGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"SecurityGroups\\": [\\n {\\n \\"SecurityGroupId\\": \\"sg-hp33bw6ynvm2yb0e****\\",\\n \\"SecurityGroupStatus\\": \\"Attached\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointSecurityGroupsResponse>\\n <SecurityGroups>\\n <SecurityGroupId>sg-hp33bw6ynvm2yb0e****</SecurityGroupId>\\n </SecurityGroups>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointSecurityGroupsResponse>","errorExample":""}]',
+ ],
+ 'ListVpcEndpointServiceResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16187',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkG9DJDQ',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要查询的服务资源的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => "\n"
- .'是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会修改终端节点属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**50**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'EndpointName',
+ 'name' => 'RegionId',
'in' => 'query',
+ 'schema' => ['description' => '要查询的服务资源的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '终端节点的名称。'."\n"
- ."\n"
- .'名称长度在2~128个字符之间,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'test',
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'Resources' => [
+ 'description' => '服务资源信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '服务资源所属的VPC。',
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => ['description' => '服务资源所属的VPC。', 'type' => 'string', 'example' => 'vpc-hp356stwkxg3fn2xe****'],
+ 'VSwitchId' => ['description' => '服务资源所属的交换机。', 'type' => 'string', 'example' => 'vsw-hp3uf6045ljdhd5zr****'],
+ 'ResourceType' => ['description' => '服务资源的类型。'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ ."\n"
+ .'- **nlb**:表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'example' => 'slb'],
+ 'ZoneId' => ['description' => '服务资源所属的可用区。', 'type' => 'string', 'example' => 'cn-huhehaote-b'],
+ 'Ip' => ['description' => '服务资源的IP地址。', 'type' => 'string', 'example' => '192.168.10.23'],
+ 'ResourceId' => ['description' => '服务资源ID。', 'type' => 'string', 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ 'RegionId' => ['description' => '服务资源所属的地域。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'RelatedEndpointCount' => ['description' => '服务资源关联的终端节点的连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'RelatedDeprecatedEndpointCount' => ['description' => '平滑迁移场景下,作为被替换的服务资源关联的终端节点的连接数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'AutoAllocatedEnabled' => ['description' => '是否允许自动分配,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'false'],
+ 'ResourceSupportIPv6' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。'."\n", 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
- [
- 'name' => 'EndpointDescription',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点的描述。'."\n"
- ."\n"
- .'描述长度为2~256个字符,不能以`http://`和`https://`开头。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'This is my Endpoint.',
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ],
+ ],
+ 'title' => '查询终端节点服务中的服务资源',
+ 'summary' => '调用ListVpcEndpointServiceResources接口查询终端节点服务中的服务资源。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServiceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"Resources\\": [\\n {\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"VSwitchId\\": \\"vsw-hp3uf6045ljdhd5zr****\\",\\n \\"ResourceType\\": \\"slb\\",\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"Ip\\": \\"192.168.10.23\\",\\n \\"ResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"RelatedEndpointCount\\": 10,\\n \\"RelatedDeprecatedEndpointCount\\": 10,\\n \\"AutoAllocatedEnabled\\": false,\\n \\"ResourceSupportIPv6\\": false\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServiceResourcesResponse>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Resources>\\n <VpcId>vpc-hp356stwkxg3fn2xe****</VpcId>\\n <VSwitchId>vsw-hp3uf6045ljdhd5zr****</VSwitchId>\\n <ResourceType>slb</ResourceType>\\n <ZoneId>cn-huhehaote-b</ZoneId>\\n <Ip>192.168.10.23</Ip>\\n <ResourceId>lb-hp32z1wp5peaoox2q****</ResourceId>\\n <RegionId>cn-huhehaote</RegionId>\\n <RelatedEndpointCount>10</RelatedEndpointCount>\\n <RelatedDeprecatedEndpointCount>10</RelatedDeprecatedEndpointCount>\\n <AutoAllocatedEnabled>false</AutoAllocatedEnabled>\\n <ResourceSupportIPv6>false</ResourceSupportIPv6>\\n </Resources>\\n</ListVpcEndpointServiceResourcesResponse>","errorExample":""}]',
+ ],
+ 'ListVpcEndpointServiceUsers' => [
+ 'summary' => '调用ListVpcEndpointServiceUsers接口,查询终端节点服务的服务白名单。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'get'],
+ 'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要查询的终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'PolicyDocument',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{'."\n"
- .' "Version": "1",'."\n"
- .' "Statement": ['."\n"
- .' {'."\n"
- .' "Effect": "Allow",'."\n"
- .' "Action": ['."\n"
- .' "oss:List*",'."\n"
- .' "oss:PutObject",'."\n"
- .' "oss:GetObject"'."\n"
- .' ],'."\n"
- .' "Resource": ['."\n"
- .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
- .' ],'."\n"
- .' "Principal": {'."\n"
- .' "RAM": ['."\n"
- .' "acs:ram::14199xxxxxx:*"'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
[
- 'name' => 'AddressIpVersion',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。'."\n"
- .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'IPv4' => 'IPv4',
- 'DualStack' => 'DualStack',
- ],
- 'example' => 'IPv4',
- ],
+ 'schema' => ['description' => '分页大小,取值范围:**1~1000**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'],
],
[
- 'name' => 'ZoneAffinityEnabled',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'ResetPolicy',
+ 'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['description' => '服务白名单阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '12345678'],
],
[
- 'name' => 'CrossRegionBandwidth',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['description' => '要查询的终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
+ ],
+ [
+ 'name' => 'UserListType',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务白名单用户列表类型:'."\n"
+ .'- Users'."\n"
+ .'- UserARNs', 'type' => 'string', 'required' => false, 'example' => 'Users', 'default' => 'Users'],
],
],
'responses' => [
200 => [
+ 'headers' => [],
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'Users' => [
+ 'description' => '服务白名单阿里云账号集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => ['description' => '服务白名单阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '12345678'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'UserARNs' => [
+ 'description' => 'ARN格式的用户白名单列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'UserARN' => ['description' => 'ARN格式的用户白名单。', 'type' => 'string', 'example' => 'acs:ram:*::*'],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'string', 'example' => '3'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'OperationDenied.EndpointProtected',
- 'errorMessage' => 'The operation is not allowed because of EndpointProtected.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointServiceDeleted',
- 'errorMessage' => 'The specified Service is already deleted.',
- ],
- [
- 'errorCode' => 'EndpointProtected',
- 'errorMessage' => 'The specified Endpoint is protected.',
- ],
- [
- 'errorCode' => 'OperationDenied.EndpointPolicyNotSupport',
- 'errorMessage' => 'The operation is not allowed because of EndpointPolicyNotSupport.',
- ],
- [
- 'errorCode' => 'DependencyViolation.PrivateDnsName',
- 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport',
- 'errorMessage' => 'The operation is not allowed because of %s.',
- ],
- [
- 'errorCode' => 'OperationDenied.PrivateDomainNotSupport',
- 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.',
- ],
- [
- 'errorCode' => 'OperationDenied.NotSupportDualStackSwitchToIpv4',
- 'errorMessage' => 'AddressIpVersion does not support switching from DualStack to IPv4.',
- ],
- [
- 'errorCode' => 'OperationDenied.EndpointServiceNotSupportDualstack',
- 'errorMessage' => 'The specified endpoint service does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.VSwitchNotSupportDualstack',
- 'errorMessage' => 'The specified VSwitch does not support dualstack.',
- ],
- [
- 'errorCode' => 'IllegalParam.AddressIpVersion',
- 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointAttributeResponse>","errorExample":""}]',
- 'title' => '修改终端节点的属性',
- 'description' => '**UpdateVpcEndpointAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点的属性。',
+ 'title' => '查询终端节点服务的服务白名单',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'ListVpcEndpoints' => [
- 'summary' => '调用ListVpcEndpoints接口,查询终端节点列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServiceUsers',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"Users\\": [\\n {\\n \\"UserId\\": 12345678\\n }\\n ],\\n \\"UserARNs\\": [\\n {\\n \\"UserARN\\": \\"acs:ram:*::*\\"\\n }\\n ],\\n \\"TotalCount\\": \\"3\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServiceUsersResponse>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Users>\\n <UserId>12345678</UserId>\\n </Users>\\n <UserARNs/>\\n</ListVpcEndpointServiceUsersResponse>","errorExample":""}]',
+ ],
+ 'ListVpcEndpointServices' => [
+ 'summary' => '调用ListVpcEndpointServices接口,查询归属当前账号的终端节点服务列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4475,147 +3468,100 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '16177',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkG9DJDQ',
- ],
+ 'abilityTreeCode' => '16180',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。取值范围:**1**~**1000**。默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => false, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点关联的终端节点服务名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务的名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'VpcId',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点所属的专有网络。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-fdjkf789dfdfdfde****',
- ],
+ 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'],
],
[
- 'name' => 'EndpointName',
+ 'name' => 'ServiceResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'schema' => ['description' => '服务资源类型,取值:'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'required' => false, 'example' => 'slb'],
],
[
- 'name' => 'EndpointType',
+ 'name' => 'AutoAcceptEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点类型。取值:'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点。'."\n"
- ."\n"
- .'- **Reverse**:表示反向终端节点。'."\n"
- .'- **GatewayLoadBalancer**:表示网关型负载均衡终端节点。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Interface',
- ],
+ 'schema' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ ."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'EndpointStatus',
+ 'name' => 'ServiceStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Active',
- ],
+ 'schema' => ['description' => '终端节点服务的状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'required' => false, 'example' => 'Active'],
],
[
- 'name' => 'ConnectionStatus',
+ 'name' => 'ServiceBusinessStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点连接状态,取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。'."\n"
- ."\n"
- .'- **ServiceDeleted**:终端节点对应的服务已删除。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Disconnected',
- ],
+ 'schema' => ['description' => '终端节点服务的业务状态,取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'required' => false, 'example' => 'Normal'],
+ ],
+ [
+ 'name' => 'ZoneAffinityEnabled',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点服务所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'Tag',
@@ -4628,22 +3574,12 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
@@ -4651,48 +3587,17 @@
],
],
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmy*****'],
],
[
'name' => 'AddressIpVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'IPv4',
- ],
- ],
- [
- 'name' => 'ServiceRegionId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
],
'responses' => [
@@ -4700,132 +3605,65 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Endpoints' => [
- 'description' => '终端节点信息集合。',
+ 'Services' => [
+ 'description' => '终端节点服务集合。',
'type' => 'array',
'items' => [
- 'description' => '终端节点信息集合。',
+ 'description' => '终端节点服务集合。',
'type' => 'object',
'properties' => [
- 'VpcId' => [
- 'description' => '终端节点所属的专有网络。',
- 'type' => 'string',
- 'example' => 'vpc-hp356stwkxg3fn2xe****',
- ],
- 'EndpointName' => [
- 'description' => '终端节点名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'EndpointType' => [
- 'description' => '终端节点类型。取值:'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点。'."\n"
- ."\n"
- .'- **Reverse**:表示反向终端节点。'."\n"
- .'- **GatewayLoadBalancer**:表示网关型负载均衡终端节点。',
- 'type' => 'string',
- 'example' => 'Interface',
- ],
- 'CreateTime' => [
- 'description' => '终端节点的创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-24T18:00:07Z',
- ],
- 'ServiceId' => [
- 'description' => '终端节点关联的终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EndpointDomain' => [
- 'description' => '终端节点域名。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'EndpointStatus' => [
- 'description' => '终端节点状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'RegionId' => [
- 'description' => '终端节点所属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ResourceOwner' => [
- 'description' => '终端节点和终端节点服务是否同一账号,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Bandwidth' => [
- 'description' => '终端节点的连接带宽,单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1024',
- ],
- 'ConnectionStatus' => [
- 'description' => '终端节点连接状态,取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。'."\n"
- ."\n"
- .'- **ServiceDeleted**:终端节点对应的服务已删除。',
- 'type' => 'string',
- 'example' => 'Disconnected',
- ],
- 'EndpointDescription' => [
- 'description' => '终端节点描述。',
- 'type' => 'string',
- 'example' => 'This is my Endpoint.',
- ],
- 'EndpointId' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- 'EndpointBusinessStatus' => [
- 'description' => '终端节点的业务状态。取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'ServiceName' => [
- 'description' => '终端节点关联的终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****',
- ],
+ 'AutoAcceptEnabled' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ ."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'example' => 'true'],
+ 'ServiceId' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'CreateTime' => ['description' => '终端节点服务的创建时间。', 'type' => 'string', 'example' => '2021-09-24T17:15:10Z'],
+ 'MinBandwidth' => ['description' => '终端节点连接的最小带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'MaxBandwidth' => ['description' => '终端节点连接的最大带宽。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'ServiceStatus' => ['description' => '终端节点服务的状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持可用区就近解析,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'RegionId' => ['description' => '终端节点服务所属的地域。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ServiceDomain' => ['description' => '终端节点服务的服务域名。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'Payer' => ['description' => '付费方,取值:'."\n"
+ ."\n"
+ .'- **Endpoint**:服务使用方。'."\n"
+ .'- **EndpointService**:服务提供方。', 'type' => 'string', 'example' => 'Endpoint'],
+ 'ServiceBusinessStatus' => ['description' => '终端节点服务的业务状态,取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'ConnectBandwidth' => ['description' => '默认连接带宽峰值。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'],
+ 'ServiceName' => ['description' => '终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceDescription' => ['description' => '终端节点服务的描述信息。', 'type' => 'string', 'example' => 'This is my EndpointService.'],
+ 'ServiceResourceType' => ['description' => '服务资源类型,取值:'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。'."\n"
+ .'- **gwlb** : 表示服务资源类型为网关型负载均衡 GWLB(Gateway Load Balancer)。', 'type' => 'string', 'example' => 'slb'],
+ 'ServiceType' => ['description' => '终端节点服务类型,取值:'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点,您可以添加传统型负载均衡CLB(Classic Load Balancer)、应用型负载均衡ALB(Application Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。'."\n"
+ .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点,您可以添加网关型负载均衡 GWLB(Gateway Load Balancer)作为服务资源。', 'type' => 'string', 'example' => 'Interface'],
+ 'ServiceSupportIPv6' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。'."\n", 'type' => 'boolean', 'deprecated' => true, 'example' => 'false'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
@@ -4833,362 +3671,77 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。',
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => '实例的标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
- 'ResourceGroupId' => [
- 'description' => '资源实例ID。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'PolicyDocument' => [
- 'description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。',
- 'type' => 'string',
- 'example' => '{\\n \\"Version\\": \\"1\\",\\n \\"Statement\\": [\\n {\\n \\"Effect\\": \\"Allow\\",\\n \\"Action\\": \\"*\\",\\n \\"Principal\\": \\"*\\",\\n \\"Resource\\": \\"*\\"\\n }\\n ]\\n}',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'ServiceRegionId' => [
- 'type' => 'string',
- ],
- 'CrossRegionBandwidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmy*****'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'SupportedRegionSet' => [
+ 'description' => '终端节点服务支持的地域列表,服务使用方可从列表中的地域发起终端节点连接。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceRegionId' => ['type' => 'string', 'deprecated' => true, 'description' => ''],
+ 'RegionServiceStatus' => ['description' => '终端节点服务支持的地域的状态。取值:'."\n"
+ ."\n"
+ .'- **Pending**:变更中。'."\n"
+ .'- **Available**:可用。'."\n"
+ .'- **Deleting**:删除中。'."\n"
+ .'- **Failed**:失败。'."\n"
+ .'- **Closed**:关闭。', 'type' => 'string', 'example' => 'Available'],
+ 'RegionBusinessStatus' => ['description' => '终端节点服务支持的地域的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'SupportedRegionId' => ['description' => '终端节点服务支持的地域 ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ ],
+ 'description' => '',
+ ],
],
],
],
],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Endpoints\\": [\\n {\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"EndpointType\\": \\"Interface\\",\\n \\"CreateTime\\": \\"2021-09-24T18:00:07Z\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ResourceOwner\\": true,\\n \\"Bandwidth\\": 1024,\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"1\\",\\n \\"PolicyDocument\\": \\"{\\\\\\\\n \\\\\\\\\\\\\\"Version\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Statement\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Effect\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Allow\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Principal\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Resource\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n ]\\\\\\\\n}\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ServiceRegionId\\": \\"\\",\\n \\"CrossRegionBandwidth\\": 0\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointsResponse>\\n <Endpoints>\\n <VpcId>vpc-hp356stwkxg3fn2xe****</VpcId>\\n <EndpointName>test</EndpointName>\\n <EndpointType>Interface</EndpointType>\\n <CreateTime>2021-09-24T18:00:07Z</CreateTime>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <EndpointDomain>ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com</EndpointDomain>\\n <EndpointStatus>Active</EndpointStatus>\\n <RegionId>cn-huhehaote</RegionId>\\n <ResourceOwner>true</ResourceOwner>\\n <Bandwidth>1024</Bandwidth>\\n <ConnectionStatus>Disconnected</ConnectionStatus>\\n <EndpointDescription>This is my Endpoint.</EndpointDescription>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <EndpointBusinessStatus>Normal</EndpointBusinessStatus>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****</ServiceName>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n <ResourceGroupId>1</ResourceGroupId>\\n </Endpoints>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointsResponse>","errorExample":""}]',
- 'title' => '查询终端节点列表',
- ],
- 'GetVpcEndpointAttribute' => [
- 'summary' => '调用GetVpcEndpointAttribute接口,获取终端节点属性信息。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16174',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkG9DJDQ',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取属性信息的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'EndpointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取属性信息的终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- ],
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '获取属性信息的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~448570~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Payer' => [
- 'description' => '付费方。取值:'."\n"
- ."\n"
- .'- **Endpoint**:服务使用方。'."\n"
- ."\n"
- .'- **EndpointService**:服务提供方。',
- 'type' => 'string',
- 'example' => 'Endpoint',
- ],
- 'EndpointDomain' => [
- 'description' => '终端节点域名。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- 'CreateTime' => [
- 'description' => '终端节点的创建时间。',
- 'type' => 'string',
- 'example' => '2021-09-24T18:00:07Z',
- ],
- 'ResourceOwner' => [
- 'description' => '终端节点和终端节点服务是否同一账号。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'EndpointBusinessStatus' => [
- 'description' => '终端节点的业务状态。取值:'."\n"
- ."\n"
- .'- **Normal**:正常。'."\n"
- ."\n"
- .'- **FinancialLocked**:欠费锁定。',
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'EndpointDescription' => [
- 'description' => '终端节点描述。',
- 'type' => 'string',
- 'example' => 'This is my Endpoint.',
- ],
- 'ServiceId' => [
- 'description' => '终端节点关联的终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'EndpointStatus' => [
- 'description' => '终端节点状态。取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- ."\n"
- .'- **Active**:可用。'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Deleting**:删除中。',
- 'type' => 'string',
- 'example' => 'Active',
- ],
- 'VpcId' => [
- 'description' => '终端节点所属的专有网络ID。',
- 'type' => 'string',
- 'example' => 'vpc-fdfhkjafhjvcvdjf****',
- ],
- 'EndpointName' => [
- 'description' => '终端节点名称。',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'ZonePrivateIpAddressCount' => [
- 'description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'EndpointType' => [
- 'description' => '终端节点类型。取值:'."\n"
- ."\n"
- .'- **Interface**:表示接口终端节点。'."\n"
- ."\n"
- .'- **Reverse**:表示反向终端节点。'."\n"
- .'- **GatewayLoadBalancer**: 表示网关型负载均衡终端节点。',
- 'type' => 'string',
- 'example' => 'Interface',
- ],
- 'ServiceName' => [
- 'description' => '终端节点关联的终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****',
- ],
- 'Bandwidth' => [
- 'description' => '终端节点的连接带宽。单位:Mbps。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1024',
- ],
- 'EndpointId' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- 'RegionId' => [
- 'description' => '终端节点所属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ConnectionStatus' => [
- 'description' => '终端节点连接状态。取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。'."\n"
- ."\n"
- .'- **ServiceDeleted**:对应的终端节点服务已删除。',
- 'type' => 'string',
- 'example' => 'Connected',
- ],
- 'ZoneAffinityEnabled' => [
- 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmz7nocpei***',
- ],
- 'PolicyDocument' => [
- 'description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。',
- 'type' => 'string',
- 'example' => '{'."\n"
- .' "Version": "1",'."\n"
- .' "Statement": ['."\n"
- .' {'."\n"
- .' "Effect": "Allow",'."\n"
- .' "Action": ['."\n"
- .' "oss:List*",'."\n"
- .' "oss:PutObject",'."\n"
- .' "oss:GetObject"'."\n"
- .' ],'."\n"
- .' "Resource": ['."\n"
- .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
- .' ],'."\n"
- .' "Principal": {'."\n"
- .' "RAM": ['."\n"
- .' "acs:ram::14199xxxxxx:*"'."\n"
- .' ]'."\n"
- .' }'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'ServiceRegionId' => [
- 'type' => 'string',
- ],
- 'CrossRegionBandwidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Services\\": [\\n {\\n \\"AutoAcceptEnabled\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"CreateTime\\": \\"2021-09-24T17:15:10Z\\",\\n \\"MinBandwidth\\": 100,\\n \\"MaxBandwidth\\": 1024,\\n \\"ServiceStatus\\": \\"Active\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"Payer\\": \\"Endpoint\\",\\n \\"ServiceBusinessStatus\\": \\"Normal\\",\\n \\"ConnectBandwidth\\": 1024,\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceDescription\\": \\"This is my EndpointService.\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"SupportedRegionSet\\": [\\n {\\n \\"ServiceRegionId\\": \\"\\",\\n \\"RegionServiceStatus\\": \\"Available\\",\\n \\"RegionBusinessStatus\\": \\"Normal\\",\\n \\"SupportedRegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServicesResponse>\\n <Services>\\n <AutoAcceptEnabled>true</AutoAcceptEnabled>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <CreateTime>2021-09-24T17:15:10Z</CreateTime>\\n <MinBandwidth>100</MinBandwidth>\\n <MaxBandwidth>1024</MaxBandwidth>\\n <ServiceStatus>Active</ServiceStatus>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <RegionId>cn-huhehaote</RegionId>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <Payer>Endpoint</Payer>\\n <ServiceBusinessStatus>Normal</ServiceBusinessStatus>\\n <ConnectBandwidth>1024</ConnectBandwidth>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceDescription>This is my EndpointService.</ServiceDescription>\\n <ServiceResourceType>slb</ServiceResourceType>\\n <ServiceType>Interface</ServiceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n <ResourceGroupId>rg-acfmy*****</ResourceGroupId>\\n </Services>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointServicesResponse>","errorExample":""}]',
+ 'title' => '查询终端节点服务列表',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/*'],
],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Payer\\": \\"Endpoint\\",\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"CreateTime\\": \\"2021-09-24T18:00:07Z\\",\\n \\"ResourceOwner\\": true,\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"VpcId\\": \\"vpc-fdfhkjafhjvcvdjf****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"ZonePrivateIpAddressCount\\": 1,\\n \\"EndpointType\\": \\"Interface\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Bandwidth\\": 1024,\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ConnectionStatus\\": \\"Connected\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"ResourceGroupId\\": \\"rg-acfmz7nocpei***\\",\\n \\"PolicyDocument\\": \\"{\\\\n \\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"Statement\\\\\\": [\\\\n {\\\\n \\\\\\"Effect\\\\\\": \\\\\\"Allow\\\\\\",\\\\n \\\\\\"Action\\\\\\": [\\\\n \\\\\\"oss:List*\\\\\\",\\\\n \\\\\\"oss:PutObject\\\\\\",\\\\n \\\\\\"oss:GetObject\\\\\\"\\\\n ],\\\\n \\\\\\"Resource\\\\\\": [\\\\n \\\\\\"acs:oss:oss-*:*:pvl-policy-test/policy-test.txt\\\\\\"\\\\n ],\\\\n \\\\\\"Principal\\\\\\": {\\\\n \\\\\\"RAM\\\\\\": [\\\\n \\\\\\"acs:ram::14199xxxxxx:*\\\\\\"\\\\n ]\\\\n }\\\\n }\\\\n ]\\\\n}\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ServiceRegionId\\": \\"\\",\\n \\"CrossRegionBandwidth\\": 0\\n}","errorExample":""},{"type":"xml","example":"<GetVpcEndpointAttributeResponse>\\n <Payer>Endpoint</Payer>\\n <EndpointDomain>ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com</EndpointDomain>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n <CreateTime>2021-09-24T18:00:07Z</CreateTime>\\n <ResourceOwner>true</ResourceOwner>\\n <EndpointBusinessStatus>Normal</EndpointBusinessStatus>\\n <EndpointDescription>This is my Endpoint.</EndpointDescription>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <EndpointStatus>Active</EndpointStatus>\\n <VpcId>vpc-fdfhkjafhjvcvdjf****</VpcId>\\n <EndpointName>test</EndpointName>\\n <ZonePrivateIpAddressCount>1</ZonePrivateIpAddressCount>\\n <EndpointType>Interface</EndpointType>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****</ServiceName>\\n <Bandwidth>1024</Bandwidth>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <RegionId>cn-huhehaote</RegionId>\\n <ConnectionStatus>Connected</ConnectionStatus>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n</GetVpcEndpointAttributeResponse>","errorExample":""}]',
- 'title' => '获取终端节点属性信息',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
'ListVpcEndpointServicesByEndUser' => [
- 'summary' => '调用ListVpcEndpointServicesByEndUser接口,查询已授权本账号创建终端节点时可以关联的终端节点服务。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => '调用ListVpcEndpointServicesByEndUser接口,查询当前账号处于授权白名单中的终端节点服务信息,包括当前账号及其他账号下的服务。涵盖可用于创建终端节点进行关联的服务,以及已创建的终端节点所关联的服务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -5201,94 +3754,51 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '16181',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
- ],
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要查询的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点服务的ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '要查询的终端节点服务的ID。', 'type' => 'string', 'required' => false, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点服务的名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****',
- ],
+ 'schema' => ['description' => '要查询的终端节点服务的名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****'],
],
[
'name' => 'ServiceType',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务类型。'."\n"
- ."\n"
- .'仅取值:**Interface**,表示接口终端节点,您可以添加应用型负载均衡ALB(Application Load Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Interface',
- ],
+ 'schema' => ['description' => '终端节点服务类型。'."\n"
+ ."\n"
+ .'仅取值:**Interface**,表示接口终端节点,您可以添加应用型负载均衡ALB(Application Load Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。', 'type' => 'string', 'required' => false, 'example' => 'Interface'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要查询的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
'name' => 'Tag',
@@ -5301,22 +3811,12 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
],
'required' => false,
],
@@ -5326,20 +3826,12 @@
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmy*****',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmy*****'],
],
[
'name' => 'ServiceRegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
],
],
'responses' => [
@@ -5354,55 +3846,27 @@
'description' => '终端节点服务集合。',
'type' => 'object',
'properties' => [
- 'Payer' => [
- 'description' => '付费方,取值:'."\n"
- ."\n"
- .'- **Endpoint**:服务使用方。'."\n"
- ."\n"
- .'- **EndpointService**:服务提供方。',
- 'type' => 'string',
- 'example' => 'Endpoint',
- ],
- 'ServiceDomain' => [
- 'description' => '创建终端节点时可以关联的终端节点服务的域名。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
+ 'Payer' => ['description' => '付费方,取值:'."\n"
+ ."\n"
+ .'- **Endpoint**:服务使用方。'."\n"
+ ."\n"
+ .'- **EndpointService**:服务提供方。', 'type' => 'string', 'example' => 'Endpoint'],
+ 'ServiceDomain' => ['description' => '创建终端节点时可以关联的终端节点服务的域名。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com'],
'Zones' => [
'description' => '创建终端节点时可以关联的终端节点服务的可用区集合。',
'type' => 'array',
- 'items' => [
- 'description' => '创建终端节点时可以关联的终端节点服务的可用区。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-a',
- ],
- ],
- 'ServiceId' => [
- 'description' => '创建终端节点时可以关联的终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceName' => [
- 'description' => '创建终端节点时可以关联的终端节点服务的名称。',
- 'type' => 'string',
- 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ServiceType' => [
- 'description' => '终端节点服务类型。'."\n"
- ."\n"
- .'仅取值: **Interface**,表示接口终端节点,您可以添加应用型负载均衡ALB(Application Load Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。',
- 'type' => 'string',
- 'example' => 'Interface',
- ],
- 'ServiceSupportIPv6' => [
- 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'false',
+ 'items' => ['description' => '创建终端节点时可以关联的终端节点服务的可用区。', 'type' => 'string', 'example' => 'cn-huhehaote-a'],
],
+ 'ServiceId' => ['description' => '创建终端节点时可以关联的终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceName' => ['description' => '创建终端节点时可以关联的终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
+ 'ServiceType' => ['description' => '终端节点服务类型。'."\n"
+ ."\n"
+ .'仅取值: **Interface**,表示接口终端节点,您可以添加应用型负载均衡ALB(Application Load Balancer)、传统型负载均衡CLB(Classic Load Balancer)和网络型负载均衡NLB(Network Load Balancer )的服务资源类型。', 'type' => 'string', 'example' => 'Interface'],
+ 'ServiceSupportIPv6' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'false'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
@@ -5410,218 +3874,111 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。',
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => '实例的标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
- 'ResourceGroupId' => [
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmy*****',
- ],
- 'ServiceResourceType' => [
- 'description' => '服务资源类型。'."\n"
- ."\n"
- .'- **slb**,表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- .'- **alb**,表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
- .'- **nlb**,表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。',
- 'type' => 'string',
- 'example' => 'slb',
- ],
- 'AddressIpVersion' => [
- 'description' => '协议版本。取值:'."\n"
- ."\n"
- .'- **IPv4**:IPv4类型。'."\n"
- .'- **DualStack**:双栈类型。',
- 'type' => 'string',
- 'example' => 'IPv4',
- ],
- 'ZoneAffinityEnabled' => [
- 'type' => 'boolean',
- ],
- 'VpcEndpointPolicySupported' => [
- 'type' => 'boolean',
- ],
- 'AutoAcceptEnabled' => [
- 'type' => 'boolean',
- ],
+ 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmy*****'],
+ 'ServiceResourceType' => ['description' => '服务资源类型。'."\n"
+ ."\n"
+ .'- **slb**,表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ .'- **alb**,表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ .'- **nlb**,表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。', 'type' => 'string', 'example' => 'slb'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名开启就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'false'],
+ 'VpcEndpointPolicySupported' => ['type' => 'boolean', 'description' => ''],
+ 'AutoAcceptEnabled' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分批次查询时每次显示的条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'string',
- 'example' => '29',
- ],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'string', 'example' => '29'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Services\\": [\\n {\\n \\"Payer\\": \\"Endpoint\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"Zones\\": [\\n \\"cn-huhehaote-a\\"\\n ],\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"VpcEndpointPolicySupported\\": true,\\n \\"AutoAcceptEnabled\\": true\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": \\"29\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServicesByEndUserResponse>\\n <Services>\\n <Payer>Endpoint</Payer>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <Zones>cn-huhehaote-a</Zones>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceType>Interface</ServiceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </Services>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointServicesByEndUserResponse>","errorExample":""}]',
- 'title' => '查询可以关联的终端节点服务',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Services\\": [\\n {\\n \\"Payer\\": \\"Endpoint\\",\\n \\"ServiceDomain\\": \\"epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"Zones\\": [\\n \\"cn-huhehaote-a\\"\\n ],\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ServiceType\\": \\"Interface\\",\\n \\"ServiceSupportIPv6\\": false,\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"rg-acfmy*****\\",\\n \\"ServiceResourceType\\": \\"slb\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ZoneAffinityEnabled\\": false,\\n \\"VpcEndpointPolicySupported\\": true,\\n \\"AutoAcceptEnabled\\": true\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": \\"29\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointServicesByEndUserResponse>\\n <Services>\\n <Payer>Endpoint</Payer>\\n <ServiceDomain>epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com</ServiceDomain>\\n <Zones>cn-huhehaote-a</Zones>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****</ServiceName>\\n <ServiceType>Interface</ServiceType>\\n <ServiceSupportIPv6>false</ServiceSupportIPv6>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </Services>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointServicesByEndUserResponse>","errorExample":""}]',
+ 'title' => '查询已授权当前账号使用的终端节点服务信息',
'description' => "\n",
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'EnableVpcEndpointConnection' => [
- 'summary' => '调用EnableVpcEndpointConnection接口,终端节点服务接受终端节点的连接请求。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServicesByEndUser',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'privatelink:VpcEndpointServiceId', 'validationType' => 'conditional'],
+ ],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#AccountId}:vpcendpointservice/*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListVpcEndpointZones' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '16173',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkDB15J4',
- ],
- ],
+ 'systemTags' => ['operationType' => 'get'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要接受的终端节点连接的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '要查询的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- ."\n"
- .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n"
- ."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接接受连接请求。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'],
],
[
'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- ],
- [
- 'name' => 'Bandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点的连接带宽。单位:Mbps。'."\n"
- ."\n"
- .'>后端资源为ALB\\CLB时取值100Mbps~10240Mbps,后端资源为NLB时取值100Mbps ~ 25Gbps',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'docRequired' => false,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '3072',
- ],
+ 'schema' => ['description' => '要查询可用区的终端节点ID。'."\n"
+ ."\n"
+ .'指定终端节点ID后,系统会查询该终端节点的可用区。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要接受的终端节点连接的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'TrafficControlMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '- Scalability:自动弹性,在该模式下,针对终端连接设置的连接带宽无效。'."\n"
- ."\n"
- .'- BandwidthLimit:支持对终端连接设置带宽上限,带宽上限为Bandwidth值。'."\n"
- .' '."\n"
- .'>- 当服务资源为NLB时,TrafficControlMode默认设置为Scalability,可以设置为BandwidthLimit并修改Bandwidth值来提供带宽上限。'."\n"
- .'>- 当服务资源为CLB时,TrafficControlMode仅支持设置BandwidthLimit,表示服务使用方为每个终端节点提供默认限速。'."\n"
- .'> - 当服务资源为GWLB时,TrafficControlMode仅支持设置Scalability。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BandwidthLimit',
- ],
+ 'schema' => ['description' => '要查询的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
],
'responses' => [
@@ -5629,401 +3986,218 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ 'Zones' => [
+ 'description' => '可用区信息集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '可用区信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'VSwitchId' => ['description' => '可用区中的交换机,系统会自动在该交换机下创建一个终端节点网卡。', 'type' => 'string', 'example' => 'vsw-hjkshjvdkdvd****'],
+ 'EniIp' => ['description' => '终端节点网卡的IP地址。', 'type' => 'string', 'example' => '192.168.2.23'],
+ 'ZoneStatus' => ['description' => '可用区状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ .'- **Wait**:等待连接。'."\n"
+ .'- **Connected**:已连接。'."\n"
+ .'- **Deleting**:删除中。'."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ .'- **Disconnected**:已断开。'."\n"
+ .'- **Connecting**:连接中。', 'type' => 'string', 'example' => 'Wait'],
+ 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-huhehaote-a'],
+ 'EniId' => ['description' => '终端节点网卡ID。', 'type' => 'string', 'example' => 'eni-hp3c8qj1tyct8aqy****'],
+ 'ZoneDomain' => ['description' => '可用区域名。'."\n"
+ ."\n"
+ .'终端节点连接建立成功后,可以通过该可用区域名访问终端节点服务中的服务资源。', 'type' => 'string', 'example' => 'ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'RegionId' => ['description' => '终端节点所属的地域ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ZoneIpv6Address' => ['description' => '终端节点网卡的IPv6地址。', 'type' => 'string', 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****'."\n"],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'OperationDenied.NoAvailableServiceResource',
- 'errorMessage' => 'The operation is not allowed because of there are no resource in some available zones of endpoint service.',
- ],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<EnableVpcEndpointConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</EnableVpcEndpointConnectionResponse>","errorExample":""}]',
- 'title' => '接受终端节点连接请求',
- 'description' => '- **EnableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点服务连接尚未成功,系统后台的连接任务仍在进行。您可以调用[GetVpcEndpointAttribute](~~183568~~)接口查询终端节点服务连接状态:'."\n"
- ."\n"
- .' - 当连接处于**Connecting**状态时,表示终端节点连接服务正在连接。'."\n"
- .' - 当连接处于**Connected**状态时,表示终端节点连接服务连接成功。'."\n"
- ."\n"
- .'- **EnableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发接受终端节点连接请求。',
+ 'title' => '查询终端节点可用区列表',
+ 'summary' => '调用ListVpcEndpointZones接口,查询终端节点可用区列表。',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateVpcEndpointConnectionAttribute' => [
- 'summary' => '调用UpdateVpcEndpointConnectionAttribute接口,修改终端节点连接的属性。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12,\\n \\"Zones\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-hjkshjvdkdvd****\\",\\n \\"EniIp\\": \\"192.168.2.23\\",\\n \\"ZoneStatus\\": \\"Wait\\",\\n \\"ZoneId\\": \\"cn-huhehaote-a\\",\\n \\"EniId\\": \\"eni-hp3c8qj1tyct8aqy****\\",\\n \\"ZoneDomain\\": \\"ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ZoneIpv6Address\\": \\"2408:4005:3b6:****:6955:c3cb:34c:****\\\\n\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointZonesResponse>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Zones>\\n <VSwitchId>vsw-hjkshjvdkdvd****</VSwitchId>\\n <EniIp>192.168.2.23</EniIp>\\n <ZoneStatus>Wait</ZoneStatus>\\n <ZoneId>cn-huhehaote-a</ZoneId>\\n <ServiceStatus>Active</ServiceStatus>\\n <EniId>eni-hp3c8qj1tyct8aqy****</EniId>\\n <ZoneDomain>ep-hp3f033dp24c5yc9****-cn-huhehaote.epsrv-hp3itcpowf37m3d5****.cn-huhehaote-a.privatelink.aliyuncs.com</ZoneDomain>\\n <RegionId>cn-huhehaote</RegionId>\\n <ZoneIpv6Address>false</ZoneIpv6Address>\\n </Zones>\\n</ListVpcEndpointZonesResponse>","errorExample":""}]',
+ ],
+ 'ListVpcEndpoints' => [
+ 'summary' => '调用ListVpcEndpoints接口,查询终端节点列表。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkO25BLH',
- ],
+ 'abilityTreeCode' => '16177',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点连接带宽的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '要查询的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会修改连接带宽。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
+ .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '分页大小。取值范围:**1**~**1000**。默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'],
],
[
'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- ],
- [
- 'name' => 'Bandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端节点的连接带宽。单位:Mbps。'."\n"
- ."\n"
- .'>后端资源为ALB\\CLB时取值100Mbps~10240Mbps,后端资源为NLB时取值100Mbps ~ 25Gbps',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => '3072',
- ],
+ 'schema' => ['description' => '要查询的终端节点ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点连接带宽的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
- ],
- [
- 'name' => 'TrafficControlMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '- Scalability:自动弹性,在该模式下,针对终端连接设置的连接带宽无效。'."\n"
- ."\n"
- .'- BandwidthLimit:支持对终端连接设置带宽上限,带宽上限为Bandwidth值。'."\n"
- .' '."\n"
- .'>- 当服务资源为NLB时,TrafficControlMode默认设置为Scalability,可以设置为BandwidthLimit并修改Bandwidth值来提供带宽上限。'."\n"
- .'>- 当服务资源为CLB时,TrafficControlMode仅支持设置BandwidthLimit,表示服务使用方为每个终端节点提供默认限速。'."\n"
- .'> - 当服务资源为GWLB时,TrafficControlMode仅支持设置Scalability。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'BandwidthLimit',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'OperationDenied.VpcNatServiceResourceTypeNotSupportBandwidth',
- 'errorMessage' => 'The operation is not allowed because of VpcNatServiceResourceTypeNotSupportBandwidth.',
- ],
- [
- 'errorCode' => 'UpdateBandWidthUnSupported',
- 'errorMessage' => 'Bandwidth updates are not supported for this service.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointConnectionAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointConnectionAttributeResponse>","errorExample":""}]',
- 'title' => '修改终端节点连接的属性',
- 'description' => '**UpdateVpcEndpointConnectionAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点连接带宽。',
- ],
- 'ListVpcEndpointConnections' => [
- 'summary' => '调用ListVpcEndpointConnections接口,查询终端节点连接。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkO25BLH',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点连接的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- [
- 'name' => 'NextToken',
+ 'name' => 'ServiceName',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
+ 'schema' => ['description' => '要查询的终端节点关联的终端节点服务名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'VpcId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。取值范围:**1**~**1000**。默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'schema' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'required' => false, 'example' => 'vpc-fdjkf789dfdfdfde****'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'EndpointName',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点名称。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'EniId',
+ 'name' => 'EndpointType',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点网卡ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eni-hp32lk0pyv6o94hs****',
- ],
+ 'schema' => ['description' => '终端节点类型。取值:'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点。'."\n"
+ ."\n"
+ .'- **Reverse**:表示反向终端节点。'."\n"
+ .'- **GatewayLoadBalancer**:表示网关型负载均衡终端节点。', 'type' => 'string', 'required' => false, 'example' => 'Interface'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'EndpointStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'required' => false, 'example' => 'Active'],
],
[
'name' => 'ConnectionStatus',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点连接状态,取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。'."\n"
- ."\n"
- .'- **ServiceDeleted**:对应的终端节点服务已删除。',
- 'type' => 'string',
- 'required' => false,
- 'docRequired' => false,
- 'example' => 'Disconnected',
- ],
+ 'schema' => ['description' => '终端节点连接状态,取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。'."\n"
+ ."\n"
+ .'- **ServiceDeleted**:终端节点对应的服务已删除。', 'type' => 'string', 'required' => false, 'example' => 'Disconnected'],
],
[
- 'name' => 'EndpointOwnerId',
+ 'name' => 'Tag',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '终端节点所属的账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'],
+ ],
+ 'required' => false,
+ ],
'required' => false,
- 'docRequired' => false,
- 'maximum' => '9223372036854775807',
- 'minimum' => '0',
- 'example' => '25346073170691****',
],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
+ 'schema' => ['description' => '要查询的终端节点所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'],
],
[
- 'name' => 'ReplacedResourceId',
+ 'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '平滑迁移场景下被替换的服务资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
+ 'schema' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'AddressIpVersion',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点连接的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'ServiceRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点所属的资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmy*****',
- ],
+ 'schema' => ['description' => '终端节点服务所属的地域 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'],
],
],
'responses' => [
@@ -6031,281 +4205,226 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Connections' => [
- 'description' => '终端节点连接信息。',
+ 'Endpoints' => [
+ 'description' => '终端节点信息集合。',
'type' => 'array',
'items' => [
- 'description' => '终端节点连接信息。',
+ 'description' => '终端节点信息集合。',
'type' => 'object',
'properties' => [
- 'Zones' => [
- 'description' => '可用区信息。',
+ 'VpcId' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'example' => 'vpc-hp356stwkxg3fn2xe****'],
+ 'EndpointName' => ['description' => '终端节点名称。', 'type' => 'string', 'example' => 'test'],
+ 'EndpointType' => ['description' => '终端节点类型。取值:'."\n"
+ ."\n"
+ .'- **Interface**:表示接口终端节点。'."\n"
+ ."\n"
+ .'- **Reverse**:表示反向终端节点。'."\n"
+ .'- **GatewayLoadBalancer**:表示网关型负载均衡终端节点。', 'type' => 'string', 'example' => 'Interface'],
+ 'CreateTime' => ['description' => '终端节点的创建时间。', 'type' => 'string', 'example' => '2021-09-24T18:00:07Z'],
+ 'ServiceId' => ['description' => '终端节点关联的终端节点服务的ID。', 'type' => 'string', 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
+ 'ZoneAffinityEnabled' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'EndpointDomain' => ['description' => '终端节点域名。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com'],
+ 'EndpointStatus' => ['description' => '终端节点状态,取值:'."\n"
+ ."\n"
+ .'- **Creating**:创建中。'."\n"
+ ."\n"
+ .'- **Active**:可用。'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。', 'type' => 'string', 'example' => 'Active'],
+ 'RegionId' => ['description' => '终端节点所属的地域ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'ResourceOwner' => ['description' => '终端节点和终端节点服务是否同一账号,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'],
+ 'Bandwidth' => ['description' => '终端节点的连接带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '1024'],
+ 'ConnectionStatus' => ['description' => '终端节点连接状态,取值:'."\n"
+ ."\n"
+ .'- **Pending**:修改中。'."\n"
+ ."\n"
+ .'- **Connecting**:连接中。'."\n"
+ ."\n"
+ .'- **Connected**:已连接。'."\n"
+ ."\n"
+ .'- **Disconnecting**:断开连接中。'."\n"
+ ."\n"
+ .'- **Disconnected**:未连接。'."\n"
+ ."\n"
+ .'- **Deleting**:删除中。'."\n"
+ ."\n"
+ .'- **ServiceDeleted**:终端节点对应的服务已删除。', 'type' => 'string', 'example' => 'Disconnected'],
+ 'EndpointDescription' => ['description' => '终端节点描述。', 'type' => 'string', 'example' => 'This is my Endpoint.'],
+ 'EndpointId' => ['description' => '终端节点ID。', 'type' => 'string', 'example' => 'ep-hp33b2e43fays7s8****'],
+ 'EndpointBusinessStatus' => ['description' => '终端节点的业务状态。取值:'."\n"
+ ."\n"
+ .'- **Normal**:正常。'."\n"
+ ."\n"
+ .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'],
+ 'ServiceName' => ['description' => '终端节点关联的终端节点服务的名称。', 'type' => 'string', 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****'],
+ 'Tags' => [
+ 'description' => '标签列表。',
'type' => 'array',
'items' => [
- 'description' => ' '."\n"
- .'可用区信息。',
+ 'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'VSwitchId' => [
- 'description' => '终端节点所属的交换机。',
- 'type' => 'string',
- 'example' => 'vsw-hp3uf6045ljdhd5zr****',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-b',
- ],
- 'ResourceId' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
- 'EniId' => [
- 'description' => '终端节点网卡ID。',
- 'type' => 'string',
- 'example' => 'eni-hp32lk0pyv6o94hs****',
- ],
- 'ZoneDomain' => [
- 'description' => '可用区域名。',
- 'type' => 'string',
- 'example' => 'ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com',
- ],
- 'ZoneStatus' => [
- 'description' => '可用区的状态。取值:'."\n"
- .'- **Creating**:创建中。'."\n"
- .'- **Wait**:等待连接。'."\n"
- .'- **Connected**:已连接。'."\n"
- .'- **Deleting**:删除中。'."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- .'- **Disconnected**:已断开。'."\n"
- .'- **Connecting**:连接中。'."\n"
- .'- **Migrating**:迁移中。'."\n"
- .'- **Migrated**:已迁移。',
- 'type' => 'string',
- 'example' => 'Connected',
- ],
- 'ReplacedResourceId' => [
- 'description' => '平滑迁移场景下被替换的服务资源ID。',
- 'type' => 'string',
- 'example' => 'lb-hp32z1wp5peaoox2q****',
- ],
- 'ReplacedEniId' => [
- 'description' => '平滑迁移场景下被替换的终端节点网卡ID。',
- 'type' => 'string',
- 'example' => 'eni-hp32lk0pyv6o94hs****',
- ],
+ 'Key' => ['description' => '实例的标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
- 'ModifiedTime' => [
- 'description' => '连接修改时间。',
- 'type' => 'string',
- 'example' => '2021-09-28T10:34:46Z',
- ],
- 'Bandwidth' => [
- 'description' => '终端节点连接的连接带宽,单位:Mbps。取值范围:**100~10240**。'."\n"
- ."\n"
- .'> 服务资源为传统型负载均衡 CLB时,终端节点的连接带宽取值范围为**100~10240**,默认为**3072**Mbps。网络型负载均衡NLB不支持限速。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3072',
- ],
- 'EndpointOwnerId' => [
- 'description' => '终端节点所属的账号ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '25346073170691****',
- ],
- 'ResourceOwner' => [
- 'description' => '终端节点和终端节点服务是否同一账号,取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**:否。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'ServiceId' => [
- 'description' => '终端节点服务的ID。',
- 'type' => 'string',
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
- 'ConnectionStatus' => [
- 'description' => '终端节点连接状态,取值:'."\n"
- ."\n"
- .'- **Pending**:修改中。'."\n"
- ."\n"
- .'- **Connecting**:连接中。'."\n"
- ."\n"
- .'- **Connected**:已连接。'."\n"
- ."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- ."\n"
- .'- **Disconnected**:未连接。'."\n"
- ."\n"
- .'- **Deleting**:删除中。'."\n"
- ."\n"
- .'- **ServiceDeleted**:对应的终端节点服务已删除。',
- 'type' => 'string',
- 'example' => 'Disconnected',
- ],
- 'EndpointId' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
- 'EndpointVpcId' => [
- 'description' => '终端节点所属的专有网络。',
- 'type' => 'string',
- 'example' => 'vpc-hp356stwkxg3fn2xe****',
- ],
- 'ResourceGroupId' => [
- 'description' => '终端节点所属的资源组ID。',
- 'type' => 'string',
- 'example' => 'rg-acfmw353z35v***',
- ],
- 'TrafficControlMode' => [
- 'type' => 'string',
- ],
- 'EndpointRegionId' => [
- 'type' => 'string',
- ],
- 'ServiceRegionId' => [
- 'type' => 'string',
- ],
+ 'ResourceGroupId' => ['description' => '资源实例ID。', 'type' => 'string', 'example' => '1'],
+ 'PolicyDocument' => ['description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。', 'type' => 'string', 'example' => '{\\n \\"Version\\": \\"1\\",\\n \\"Statement\\": [\\n {\\n \\"Effect\\": \\"Allow\\",\\n \\"Action\\": \\"*\\",\\n \\"Principal\\": \\"*\\",\\n \\"Resource\\": \\"*\\"\\n }\\n ]\\n}'],
+ 'AddressIpVersion' => ['description' => '协议版本。取值:'."\n"
+ ."\n"
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。', 'type' => 'string', 'example' => 'IPv4'],
+ 'ServiceRegionId' => ['description' => '终端节点关联的终端节点服务所属的地域 ID。', 'type' => 'string', 'example' => 'cn-huhehaote'],
+ 'CrossRegionBandwidth' => ['description' => '终端节点的跨地域带宽值。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
],
],
],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '查询到的终端节点连接列表条目数。',
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
+ .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
+ .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a****'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
+ 'MaxResults' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'],
+ 'TotalCount' => ['description' => '总记录数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Endpoints\\": [\\n {\\n \\"VpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"EndpointName\\": \\"test\\",\\n \\"EndpointType\\": \\"Interface\\",\\n \\"CreateTime\\": \\"2021-09-24T18:00:07Z\\",\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ZoneAffinityEnabled\\": true,\\n \\"EndpointDomain\\": \\"ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"EndpointStatus\\": \\"Active\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ResourceOwner\\": true,\\n \\"Bandwidth\\": 1024,\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"EndpointDescription\\": \\"This is my Endpoint.\\",\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"EndpointBusinessStatus\\": \\"Normal\\",\\n \\"ServiceName\\": \\"com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ResourceGroupId\\": \\"1\\",\\n \\"PolicyDocument\\": \\"{\\\\\\\\n \\\\\\\\\\\\\\"Version\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Statement\\\\\\\\\\\\\\": [\\\\\\\\n {\\\\\\\\n \\\\\\\\\\\\\\"Effect\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Allow\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Action\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Principal\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\"Resource\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"*\\\\\\\\\\\\\\"\\\\\\\\n }\\\\\\\\n ]\\\\\\\\n}\\",\\n \\"AddressIpVersion\\": \\"IPv4\\",\\n \\"ServiceRegionId\\": \\"cn-huhehaote\\",\\n \\"CrossRegionBandwidth\\": 1000\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a****\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointsResponse>\\n <Endpoints>\\n <VpcId>vpc-hp356stwkxg3fn2xe****</VpcId>\\n <EndpointName>test</EndpointName>\\n <EndpointType>Interface</EndpointType>\\n <CreateTime>2021-09-24T18:00:07Z</CreateTime>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ZoneAffinityEnabled>true</ZoneAffinityEnabled>\\n <EndpointDomain>ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com</EndpointDomain>\\n <EndpointStatus>Active</EndpointStatus>\\n <RegionId>cn-huhehaote</RegionId>\\n <ResourceOwner>true</ResourceOwner>\\n <Bandwidth>1024</Bandwidth>\\n <ConnectionStatus>Disconnected</ConnectionStatus>\\n <EndpointDescription>This is my Endpoint.</EndpointDescription>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <EndpointBusinessStatus>Normal</EndpointBusinessStatus>\\n <ServiceName>com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****</ServiceName>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n <ResourceGroupId>1</ResourceGroupId>\\n </Endpoints>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a****</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointsResponse>","errorExample":""}]',
+ 'title' => '查询终端节点列表',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"Connections\\": [\\n {\\n \\"Zones\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-hp3uf6045ljdhd5zr****\\",\\n \\"ZoneId\\": \\"cn-huhehaote-b\\",\\n \\"ResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"EniId\\": \\"eni-hp32lk0pyv6o94hs****\\",\\n \\"ZoneDomain\\": \\"ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com\\",\\n \\"ZoneStatus\\": \\"Connected\\",\\n \\"ReplacedResourceId\\": \\"lb-hp32z1wp5peaoox2q****\\",\\n \\"ReplacedEniId\\": \\"eni-hp32lk0pyv6o94hs****\\"\\n }\\n ],\\n \\"ModifiedTime\\": \\"2021-09-28T10:34:46Z\\",\\n \\"Bandwidth\\": 3072,\\n \\"EndpointOwnerId\\": 0,\\n \\"ResourceOwner\\": true,\\n \\"ServiceId\\": \\"epsrv-hp3vpx8yqxblby3i****\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"EndpointId\\": \\"ep-hp33b2e43fays7s8****\\",\\n \\"EndpointVpcId\\": \\"vpc-hp356stwkxg3fn2xe****\\",\\n \\"ResourceGroupId\\": \\"rg-acfmw353z35v***\\",\\n \\"TrafficControlMode\\": \\"\\",\\n \\"EndpointRegionId\\": \\"\\",\\n \\"ServiceRegionId\\": \\"\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointConnectionsResponse>\\n <Connections>\\n <ResourceOwner>true</ResourceOwner>\\n <Zones>\\n <VSwitchId>vsw-hp3uf6045ljdhd5zr****</VSwitchId>\\n <ZoneId>cn-huhehaote-b</ZoneId>\\n <ResourceId>lb-hp32z1wp5peaoox2q****</ResourceId>\\n <EniId>eni-hp32lk0pyv6o94hs****</EniId>\\n <ZoneDomain>ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com</ZoneDomain>\\n <ZoneStatus>Connected</ZoneStatus>\\n <ReplacedResourceId>lb-hp32z1wp5peaoox2q****</ReplacedResourceId>\\n <ReplacedEniId>eni-hp32lk0pyv6o94hs****</ReplacedEniId>\\n <ConnectionId>123</ConnectionId>\\n <ConnectionStringId>12345</ConnectionStringId>\\n </Zones>\\n <ModifiedTime>2021-09-28T10:34:46Z</ModifiedTime>\\n <Bandwidth>1024</Bandwidth>\\n <ServiceId>epsrv-hp3vpx8yqxblby3i****</ServiceId>\\n <ConnectionStatus>Disconnected</ConnectionStatus>\\n <EndpointId>ep-hp33b2e43fays7s8****</EndpointId>\\n <EndpointVpcId>vpc-hp356stwkxg3fn2xe****</EndpointVpcId>\\n </Connections>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointConnectionsResponse>","errorExample":""}]',
- 'title' => '查询终端节点连接',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
],
- 'DisableVpcEndpointConnection' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'OpenPrivateLinkService' => [
+ 'summary' => '开启私网连接服务。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
+ [
+ 'APP' => [],
+ ],
],
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkWPBSZV'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'],
+ 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '3245****'],
+ ],
+ 'description' => '',
+ ],
+ ],
],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'AccountTypeRestricted', 'errorMessage' => 'Please submit the application for beta testing first. You can activate the product after the application is approved.', 'description' => '请先提交公测申请,等审核通过后开通。'],
+ ['errorCode' => 'OrderOpend', 'errorMessage' => 'You have already activated the service. Go to the console to start using it.', 'description' => '您已开通,请前往控制台使用。'],
+ ['errorCode' => 'InvalidAccountStatus.NotEnoughBalance', 'errorMessage' => 'Your account does not have enough balance.', 'description' => '您的账户余额不足。'],
+ ],
+ ],
+ 'title' => '开启私网连接服务',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'privatelink:OpenPrivateLinkService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"OrderId\\": \\"3245****\\"\\n}","errorExample":""},{"type":"xml","example":"<OpenPrivateLinkServiceResponse>\\n <RequestId>427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D</RequestId>\\n <OrderId>3245****</OrderId>\\n</OpenPrivateLinkServiceResponse>","errorExample":""}]',
+ ],
+ 'RemoveUserFromVpcEndpointService' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要拒绝终端节点连接的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会拒绝连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求,取值:'."\n"
+ ."\n"
+ .'- **true**:发送检查请求,不会移除服务白名单。检查项包括AccessKey是否有效、RAM用户的授权情况和是否填写了必需参数。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n"
+ ."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回2xx HTTP状态码并直接移除服务白名单。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '要移除的服务白名单中的账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '12345678'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要拒绝终端节点连接的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ [
+ 'name' => 'UserARN',
+ 'in' => 'query',
+ 'schema' => ['description' => 'ARN格式的用户白名单。', 'type' => 'string', 'required' => false, 'example' => 'acs:ram:*:<account-id>:*'],
],
],
'responses' => [
@@ -6313,166 +4432,90 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'MissingParam.UserArn', 'errorMessage' => 'The param of UserArn is missing.', 'description' => '参数UserArn缺失。'],
+ ['errorCode' => 'Mismatch.UserIdAndUserArn', 'errorMessage' => 'The %s and %s are mismatched.', 'description' => '参数%s和%s不匹配。'],
+ ],
+ ],
+ 'title' => '移除服务白名单',
+ 'summary' => '调用RemoveUserFromVpcEndpointService接口,移除终端节点服务的服务白名单。',
+ 'description' => '- 移除服务白名单之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **RemoveUserFromVpcEndpointService**接口不支持在同一个终端节点服务ID下并发移除服务白名单。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:RemoveUserFromVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableVpcEndpointConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DisableVpcEndpointConnectionResponse>","errorExample":""}]',
- 'title' => '拒绝终端节点的连接请求',
- 'summary' => '调用DisableVpcEndpointConnection接口,拒绝终端节点的连接请求。',
- 'description' => '- **DisableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未断开完成,系统后台断开任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~183568~~)查询终端节点的断开状态:'."\n"
- ."\n"
- .' - 当终端节点连接状态处于**Disconnecting**状态时,表示终端节点连接正在断开中。'."\n"
- .' - 当终端节点连接状态处于**Disconnected**状态时,表示终端节点连接已断开。'."\n"
- ."\n"
- .'- **DisableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发拒绝终端节点的连接请求。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveUserFromVpcEndpointServiceResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</RemoveUserFromVpcEndpointServiceResponse>","errorExample":""}]',
],
- 'AddZoneToVpcEndpoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'RemoveZoneFromVpcEndpoint' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'abilityTreeCode' => '16161',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkGBNC0X',
- ],
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '16186',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkGBNC0X'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加可用区的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要删除可用区的终端节点所属的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加的可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou-b',
- ],
- ],
- [
- 'name' => 'VSwitchId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要添加的可用区中的交换机,系统会自动在该交换机下创建一个终端节点网卡。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'vsw-hjkshjvdkdvd****',
- ],
- ],
- [
- 'name' => 'ip',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要添加的可用区中的终端节点网卡的IP。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.XX.XX.32',
- ],
+ 'schema' => ['description' => '要删除的可用区ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1a'],
],
[
'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加可用区的终端节点的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '要删除可用区的终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会添加可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会删除可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要添加可用区的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
- ],
- [
- 'name' => 'Ipv6Address',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要添加的可用区中的终端节点网卡的IPv6地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****',
- ],
+ 'schema' => ['description' => '要删除可用区的终端节点所属的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
],
'responses' => [
@@ -6480,321 +4523,177 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'OperationDenied.EndpointProtected',
- 'errorMessage' => 'The operation is not allowed because of EndpointProtected.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointZoneDuplicated',
- 'errorMessage' => 'The zone is duplicated for the Endpoint.',
- ],
- [
- 'errorCode' => 'EndpointServiceNotSupportedZone',
- 'errorMessage' => 'The specified endpoint service does not support the zone.',
- ],
- [
- 'errorCode' => 'QuotaMisMatched',
- 'errorMessage' => 'The resource you applied for has exceeded the quota.',
- ],
- [
- 'errorCode' => 'EndpointDuplicated',
- 'errorMessage' => 'The endpoint of the service already exists and cannot be created again.',
- ],
- [
- 'errorCode' => 'EndpointServiceDeleted',
- 'errorMessage' => 'The specified Service is already deleted.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceNotFound',
- 'errorMessage' => 'The specified service resource is not found.',
- ],
- [
- 'errorCode' => 'VSwitchNotFound',
- 'errorMessage' => 'The specified VSwitch does not exist.',
- ],
- [
- 'errorCode' => 'EniIpUnavailable',
- 'errorMessage' => 'The specified IP address is unavailable.',
- ],
- [
- 'errorCode' => 'EndpointProtected',
- 'errorMessage' => 'The specified Endpoint is protected.',
- ],
- [
- 'errorCode' => 'VSwitchStatusNotAllowed',
- 'errorMessage' => 'The specified vswitch status is not Available.',
- ],
- [
- 'errorCode' => 'VpcNatServiceException',
- 'errorMessage' => 'The vpcNat service is busy',
- ],
- [
- 'errorCode' => 'ResourceNotEnough.VSwitchIp',
- 'errorMessage' => 'The specified resource of VSwitchIp is not enough.',
- ],
- [
- 'errorCode' => 'OperationDenied.VSwitchNotSupportDualstack',
- 'errorMessage' => 'The specified VSwitch does not support dualstack.',
- ],
- [
- 'errorCode' => 'OperationDenied.AddressIpVersionNotSupportSpecifyIpv6',
- 'errorMessage' => 'The AddressIpVersion of the endpoint does not support specifying IPv6 address.',
- ],
- [
- 'errorCode' => 'IllegalParam.Ip',
- 'errorMessage' => 'The specified parameter IP is invalid.',
- ],
- [
- 'errorCode' => 'IllegalParam.Ipv6Address',
- 'errorMessage' => 'The specified parameter Ipv6Address is invalid.',
- ],
+ ['errorCode' => 'OperationDenied.EndpointProtected', 'errorMessage' => 'The operation is not allowed because of EndpointProtected.', 'description' => '终端节点开启托管保护,不允许操作。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointZoneNotFound', 'errorMessage' => 'The specified zone of Endpoint does not exist.', 'description' => '终端节点下面的可用区未找到。'],
+ ['errorCode' => 'EndpointProtected', 'errorMessage' => 'The specified Endpoint is protected.', 'description' => '终端节点已经设置操作保护'],
+ ['errorCode' => 'GatewayLoadBalancerZoneCountDeny', 'errorMessage' => 'The GatewayLoadBalancer zone count not support', 'description' => '可用区数量不满足限制,无法操作。'],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"<AddZoneToVpcEndpointResponse>\\n <RequestId>0c593ea1-3bea-11e9-b96b-88e9fe637760</RequestId>\\n</AddZoneToVpcEndpointResponse>","errorExample":""}]',
- 'title' => '为终端节点添加可用区',
- 'summary' => '调用AddZoneToVpcEndpoint接口,为终端节点添加可用区。',
- 'description' => '- **AddZoneToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未添加完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的状态:'."\n"
+ 'title' => '删除终端节点的可用区',
+ 'summary' => '调用RemoveZoneFromVpcEndpoint接口,删除终端节点的可用区。',
+ 'description' => '- **RemoveZoneFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未删除完成,系统后台删除任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的删除状态:'."\n"
."\n"
- .' - 当终端节点可用区处于**Creating**状态时,表示终端节点可用区正在添加中。'."\n"
- .' - 当在终端节点中可以查询到该可用区时,表示终端节点可用区添加完成。'."\n"
+ .' - 当终端节点可用区处于**Deleting**状态时,表示终端节点可用区正在删除中。'."\n"
+ .' - 当查询不到该终端节点可用区时,表示该终端节点可用区已删除。'."\n"
."\n"
- .'- **AddZoneToVpcEndpoint**接口不支持给同一个终端节点实例并发添加可用区。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ListVpcEndpointZones' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
+ .'- **RemoveZoneFromVpcEndpoint**接口不支持给同一个终端节点实例并发删除可用区。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:RemoveZoneFromVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveZoneFromVpcEndpointResponse>\\n <RequestId>0c593ea1-3bea-11e9-b96b-88e9fe637760</RequestId>\\n</RemoveZoneFromVpcEndpointResponse>","errorExample":""}]',
+ ],
+ 'TagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
+ 'name' => 'ResourceId',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '要查询的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
+ 'description' => '资源ID列表。最多支持50个资源ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-ba16baebdf35641a1****'],
'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
],
],
[
- 'name' => 'NextToken',
- 'in' => 'query',
+ 'name' => 'Tag',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '资源的标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => true, 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
+ ."\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => true, 'example' => 'FinanceJoshua'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
],
],
[
- 'name' => 'MaxResults',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**1000**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '1000',
- 'minimum' => '0',
- 'example' => '50',
- 'default' => '50',
- ],
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ ."\n"
+ .'- **vpcendpoint**:终端节点。 '."\n"
+ ."\n"
+ .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'required' => true, 'example' => 'vpcendpoint'],
],
[
- 'name' => 'EndpointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要查询可用区的终端节点ID。'."\n"
- ."\n"
- .'指定终端节点ID后,系统会查询该终端节点的可用区。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会创建并绑定标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
+ ."\n"
+ .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要查询的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '私网连接实例所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口查询地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分批次查询时每次显示的条目数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- 'Zones' => [
- 'description' => '可用区信息集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用区信息。',
- 'type' => 'object',
- 'properties' => [
- 'VSwitchId' => [
- 'description' => '可用区中的交换机,系统会自动在该交换机下创建一个终端节点网卡。',
- 'type' => 'string',
- 'example' => 'vsw-hjkshjvdkdvd****',
- ],
- 'EniIp' => [
- 'description' => '终端节点网卡的IP地址。',
- 'type' => 'string',
- 'example' => '192.168.2.23',
- ],
- 'ZoneStatus' => [
- 'description' => '可用区状态,取值:'."\n"
- ."\n"
- .'- **Creating**:创建中。'."\n"
- .'- **Wait**:等待连接。'."\n"
- .'- **Connected**:已连接。'."\n"
- .'- **Deleting**:删除中。'."\n"
- .'- **Disconnecting**:断开连接中。'."\n"
- .'- **Disconnected**:已断开。'."\n"
- .'- **Connecting**:连接中。',
- 'type' => 'string',
- 'example' => 'Wait',
- ],
- 'ZoneId' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote-a',
- ],
- 'EniId' => [
- 'description' => '终端节点网卡ID。',
- 'type' => 'string',
- 'example' => 'eni-hp3c8qj1tyct8aqy****',
- ],
- 'ZoneDomain' => [
- 'description' => '可用区域名。'."\n"
- ."\n"
- .'终端节点连接建立成功后,可以通过该可用区域名访问终端节点服务中的服务资源。',
- 'type' => 'string',
- 'example' => 'ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com',
- ],
- 'RegionId' => [
- 'description' => '终端节点所属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-huhehaote',
- ],
- 'ZoneIpv6Address' => [
- 'description' => '终端节点网卡的IPv6地址。',
- 'type' => 'string',
- 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****'."\n",
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
+ ['errorCode' => 'MissingTagKeyParam', 'errorMessage' => 'The tag key is empty.', 'description' => 'The tag key is empty.'],
+ ['errorCode' => 'MissingTagValueParam', 'errorMessage' => 'The tag value is empty.', 'description' => 'The tag value is empty.'],
+ ['errorCode' => 'IllegalTagKeyParam', 'errorMessage' => 'IllegalTagKeyParam', 'description' => 'IllegalTagKeyParam'],
+ ['errorCode' => 'IllegalTagValueParam', 'errorMessage' => 'The tag value is Illegal.', 'description' => 'The tag value is Illegal.'],
+ ['errorCode' => 'DuplicatedTagKey', 'errorMessage' => 'The tag keys is duplicated.', 'description' => 'tag key重复'],
+ ['errorCode' => 'QuotaExceed.TagsPerResource', 'errorMessage' => 'The maximum number of tags for each resource is exceeded', 'description' => 'The maximum number of tags for each resource is exceeded'],
+ ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => 'The specified ResourceIds are not found in our records.'],
+ ],
+ ],
+ 'title' => '为指定的资源列表统一创建并绑定标签',
+ 'summary' => '当您需要标识一个或多个终端节点或终端节点服务时,可调用TagResources接口,为指定的资源列表统一绑定标签。',
+ 'description' => '> 单个实例最多可绑定20条标签。绑定标签前,阿里云会校验资源已有标签数量,超过限制值会返回报错信息。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpoint/{#vpcendpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12,\\n \\"Zones\\": [\\n {\\n \\"VSwitchId\\": \\"vsw-hjkshjvdkdvd****\\",\\n \\"EniIp\\": \\"192.168.2.23\\",\\n \\"ZoneStatus\\": \\"Wait\\",\\n \\"ZoneId\\": \\"cn-huhehaote-a\\",\\n \\"EniId\\": \\"eni-hp3c8qj1tyct8aqy****\\",\\n \\"ZoneDomain\\": \\"ep-hp3f033dp24c5yc9****-cn-huhehaote-a.epsrv-hp3itcpowf37m3d5****.cn-huhehaote.privatelink.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-huhehaote\\",\\n \\"ZoneIpv6Address\\": \\"2408:4005:3b6:****:6955:c3cb:34c:****\\\\n\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointZonesResponse>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n <Zones>\\n <VSwitchId>vsw-hjkshjvdkdvd****</VSwitchId>\\n <EniIp>192.168.2.23</EniIp>\\n <ZoneStatus>Wait</ZoneStatus>\\n <ZoneId>cn-huhehaote-a</ZoneId>\\n <ServiceStatus>Active</ServiceStatus>\\n <EniId>eni-hp3c8qj1tyct8aqy****</EniId>\\n <ZoneDomain>ep-hp3f033dp24c5yc9****-cn-huhehaote.epsrv-hp3itcpowf37m3d5****.cn-huhehaote-a.privatelink.aliyuncs.com</ZoneDomain>\\n <RegionId>cn-huhehaote</RegionId>\\n <ZoneIpv6Address>false</ZoneIpv6Address>\\n </Zones>\\n</ListVpcEndpointZonesResponse>","errorExample":""}]',
- 'title' => '查询终端节点可用区列表',
- 'summary' => '调用ListVpcEndpointZones接口,查询终端节点可用区列表。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</TagResourcesResponse>","errorExample":""}]',
],
- 'RemoveZoneFromVpcEndpoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UntagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6804,156 +4703,127 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '16186',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkGBNC0X',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
+ 'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
+ 'name' => 'ResourceId',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '要删除可用区的终端节点所属的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
+ 'description' => '资源ID列表。最多支持50个资源ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-hp3i05294c2****'],
'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
],
],
[
- 'name' => 'ZoneId',
- 'in' => 'query',
+ 'name' => 'TagKey',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '要删除的可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1a',
+ 'description' => '要解绑的标签键列表。最多支持20个标签键。',
+ 'type' => 'array',
+ 'items' => ['description' => '要解绑的标签键。一旦传入该值,则不允许为空字符串。'."\n"
+ ."\n"
+ .'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
+ 'required' => false,
],
],
[
- 'name' => 'EndpointId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要删除可用区的终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
+ 'schema' => ['description' => '资源类型。取值:'."\n"
+ ."\n"
+ .'- **vpcendpoint**:终端节点。 '."\n"
+ ."\n"
+ .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'required' => true, 'example' => 'vpcendpoint'],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否解绑资源上全部的标签,取值:'."\n"
+ ."\n"
+ .'- **true**:解绑资源上的全部标签。'."\n"
+ ."\n"
+ .'- **false**:不解绑全部标签。'."\n"
+ ."\n"
+ .'> 如果同时设置了**TagKey**和本参数,则本参数不生效。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'DryRun',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会删除可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ ."\n"
+ .'- **true**:发送检查请求,不会解绑标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ ."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回`HTTP 2xx`状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
[
'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '要删除可用区的终端节点所属的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '地域ID。您可以通过调用[describeregions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '地域ID。您可以通过调用[describeregions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'OperationDenied.EndpointProtected',
- 'errorMessage' => 'The operation is not allowed because of EndpointProtected.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointZoneNotFound',
- 'errorMessage' => 'The specified zone of Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointProtected',
- 'errorMessage' => 'The specified Endpoint is protected.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerZoneCountDeny',
- 'errorMessage' => 'The GatewayLoadBalancer zone count not support',
- ],
+ ['errorCode' => 'TagInfoNotExist', 'errorMessage' => 'Tag info not exist', 'description' => 'Tag info不存在'],
+ ['errorCode' => 'DuplicatedTagKey', 'errorMessage' => 'The tag keys is duplicated.', 'description' => 'tag key重复'],
+ ['errorCode' => 'IllegalTagKeyParam', 'errorMessage' => 'IllegalTagKeyParam', 'description' => 'IllegalTagKeyParam'],
+ ['errorCode' => 'IllegalTagValueParam', 'errorMessage' => 'The tag value is Illegal.', 'description' => 'The tag value is Illegal.'],
+ ['errorCode' => 'InvalidResourceId.NotFound', 'errorMessage' => 'The specified ResourceIds are not found in our records.', 'description' => 'The specified ResourceIds are not found in our records.'],
],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'title' => '为指定的资源列表统一解绑标签',
+ 'summary' => '当您不需要标识一个或多个终端节点或终端节点服务时,可调用UntagResources接口,为指定的资源列表统一解绑标签。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"<RemoveZoneFromVpcEndpointResponse>\\n <RequestId>0c593ea1-3bea-11e9-b96b-88e9fe637760</RequestId>\\n</RemoveZoneFromVpcEndpointResponse>","errorExample":""}]',
- 'title' => '删除终端节点的可用区',
- 'summary' => '调用RemoveZoneFromVpcEndpoint接口,删除终端节点的可用区。',
- 'description' => '- **RemoveZoneFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未删除完成,系统后台删除任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的删除状态:'."\n"
- ."\n"
- .' - 当终端节点可用区处于**Deleting**状态时,表示终端节点可用区正在删除中。'."\n"
- .' - 当查询不到该终端节点可用区时,表示该终端节点可用区已删除。'."\n"
- ."\n"
- .'- **RemoveZoneFromVpcEndpoint**接口不支持给同一个终端节点实例并发删除可用区。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]',
],
- 'DisableVpcEndpointZoneConnection' => [
- 'summary' => '调用DisableVpcEndpointZoneConnection接口,断开终端节点可用区连接。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVpcEndpointAttribute' => [
+ 'summary' => '调用UpdateVpcEndpointAttribute接口,修改终端节点的属性',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -6963,208 +4833,178 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '34070',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkDB15J4',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '16187',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要拒绝终端节点连接的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会拒绝连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => "\n"
+ .'是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会修改终端节点属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'ServiceId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '要修改的终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'EndpointName',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点的名称。'."\n"
+ ."\n"
+ .'名称长度在2~128个字符之间,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'EndpointDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点连接可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou-b',
- ],
+ 'schema' => ['description' => '终端节点的描述。'."\n"
+ ."\n"
+ .'描述长度为2~256个字符,不能以`http://`和`https://`开头。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'This is my Endpoint.'],
],
[
- 'name' => 'ReplacedResource',
+ 'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否断开平滑迁移后的旧连接。取值:'."\n"
- ."\n"
- .'- **true**:是。'."\n"
- ."\n"
- .'- **false**(默认值):否。'."\n"
- ."\n"
- .'> 在资源做平滑迁移后,断开终端节点在此可用区的旧的连接时选择此属性。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'PolicyDocument',
+ 'in' => 'query',
+ 'schema' => ['description' => 'RAM权限策略。关于策略定义的更多信息,请参见[权限策略基本元素](~~93738~~)。', 'type' => 'string', 'required' => false, 'example' => '{'."\n"
+ .' "Version": "1",'."\n"
+ .' "Statement": ['."\n"
+ .' {'."\n"
+ .' "Effect": "Allow",'."\n"
+ .' "Action": ['."\n"
+ .' "oss:List*",'."\n"
+ .' "oss:PutObject",'."\n"
+ .' "oss:GetObject"'."\n"
+ .' ],'."\n"
+ .' "Resource": ['."\n"
+ .' "acs:oss:oss-*:*:pvl-policy-test/policy-test.txt"'."\n"
+ .' ],'."\n"
+ .' "Principal": {'."\n"
+ .' "RAM": ['."\n"
+ .' "acs:ram::14199xxxxxx:*"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ ],
+ [
+ 'name' => 'AddressIpVersion',
'in' => 'query',
'schema' => [
- 'description' => '要拒绝终端节点连接的地域ID。'."\n"
+ 'description' => '协议版本。取值:'."\n"
."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。'."\n"
+ .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'IPv4',
],
],
+ [
+ 'name' => 'ZoneAffinityEnabled',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'ResetPolicy',
+ 'in' => 'query',
+ 'schema' => ['description' => '将Policy重置为默认Policy。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'CrossRegionBandwidth',
+ 'in' => 'query',
+ 'schema' => ['description' => '跨地域带宽值,仅当终端节点和终端节点服务跨地域时涉及该参数。单位:Mbps。取值:'."\n"
+ ."\n"
+ .'- **最小值**:100。'."\n"
+ .'- **最大值**:受限于当前账号的配额(具体数值请参见[配额与限制](https://help.aliyun.com/zh/privatelink/quotas-and-limits?spm=a2c4g.11174283.help-menu-search-120462.d_0)章节)。'."\n"
+ .'> 如需指定该参数,请确保您操作的是跨地域的终端节点。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'IncorrectBusinessStatus.VpcEndpoint',
- 'errorMessage' => 'The business status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectBusinessStatus.VpcEndpointService',
- 'errorMessage' => 'The business status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpoint',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointConnection',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointService',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointZone',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection',
- 'errorMessage' => 'The gateway load balancer not support zone connection.',
- ],
+ ['errorCode' => 'OperationDenied.EndpointProtected', 'errorMessage' => 'The operation is not allowed because of EndpointProtected.', 'description' => '终端节点开启托管保护,不允许操作。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointOperationDenied', 'errorMessage' => 'The specified operation of endpoint is not allowed.', 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointServiceDeleted', 'errorMessage' => 'The specified Service is already deleted.', 'description' => '终端节点服务已经被删除'],
+ ['errorCode' => 'EndpointProtected', 'errorMessage' => 'The specified Endpoint is protected.', 'description' => '终端节点已经设置操作保护'],
+ ['errorCode' => 'OperationDenied.EndpointPolicyNotSupport', 'errorMessage' => 'The operation is not allowed because of EndpointPolicyNotSupport.', 'description' => '操作不允许,终端节点策略不支持'],
+ ['errorCode' => 'DependencyViolation.PrivateDnsName', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '资源%s依赖于%s,导致操作无法完成'],
+ ['errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport', 'errorMessage' => 'The operation is not allowed because of %s.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'OperationDenied.PrivateDomainNotSupport', 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'OperationDenied.NotSupportDualStackSwitchToIpv4', 'errorMessage' => 'AddressIpVersion does not support switching from DualStack to IPv4.', 'description' => '终端节点AddressIpVersion不支持双栈切单栈'],
+ ['errorCode' => 'OperationDenied.EndpointServiceNotSupportDualstack', 'errorMessage' => 'The specified endpoint service does not support dualstack.', 'description' => '终端节点服务不支持双栈。'],
+ ['errorCode' => 'OperationDenied.VSwitchNotSupportDualstack', 'errorMessage' => 'The specified VSwitch does not support dualstack.', 'description' => 'VSwitch不支持双栈。'],
+ ['errorCode' => 'IllegalParam.AddressIpVersion', 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.', 'description' => '指定的参数AddressIpVersion 不符合要求。'],
],
- 404 => [
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpoint',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointConnection',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointService',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointZone',
- 'errorMessage' => 'The specified resource %s is not found.',
+ ],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointAttributeResponse>","errorExample":""}]',
+ 'title' => '修改终端节点的属性',
+ 'description' => '**UpdateVpcEndpointAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点的属性。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableVpcEndpointZoneConnectionResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</DisableVpcEndpointZoneConnectionResponse>","errorExample":""}]',
- 'title' => '断开终端节点可用区连接',
- 'description' => '- 当终端节点连接状态为**已连接**且终端节点可用区状态为**已连接**或**已迁移**时,才能调用此接口。'."\n"
- .'- **DisableVpcEndpointZoneConnection**接口属于异步接口,即系统会返回一个请求ID,但终端节点在此可用区的连接请求尚未拒绝完成,系统后台拒绝任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的连接请求状态:'."\n"
- ."\n"
- .' - 当终端节点可用区处于**Disconnecting**状态时,表示连接请求正在断开中。'."\n"
- ."\n"
- .' - 当终端节点可用区处于**Disconnected**状态时,表示连接请求断开完成。'."\n"
- ."\n"
- .'- **DisableVpcEndpointZoneConnection**接口不支持在同一个终端节点实例下并发拒绝终端节点在此可用区的连接请求。',
],
- 'EnableVpcEndpointZoneConnection' => [
- 'summary' => '调用EnableVpcEndpointZoneConnection接口,允许终端节点可用区连接。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVpcEndpointConnectionAttribute' => [
+ 'summary' => '调用UpdateVpcEndpointConnectionAttribute接口,修改终端节点连接的属性。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7174,89 +5014,68 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '34068',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkDB15J4',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkO25BLH'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要接受终端节点连接的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要修改的终端节点连接带宽的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会修改连接带宽。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'Bandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点连接可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou-b',
- ],
+ 'schema' => ['description' => '终端节点的连接带宽。单位:Mbps。'."\n"
+ ."\n"
+ .'> 对于不同的服务资源资源类型,取值范围分别如下:'."\n"
+ .'> - NLB:100~50000。'."\n"
+ .'> - ALB:100~25000。'."\n"
+ .'> - CLB:100~10240。默认值 3072。'."\n"
+ .'> - GWLB:100~25000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2147483647', 'minimum' => '0', 'example' => '3072'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要接受终端节点连接的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '要修改的终端节点连接带宽的地域ID。'."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'],
+ ],
+ [
+ 'name' => 'TrafficControlMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '- Scalability:自动弹性,在该模式下,针对终端连接设置的连接带宽无效。'."\n"
+ ."\n"
+ .'- BandwidthLimit:支持对终端连接设置带宽上限,带宽上限为Bandwidth值。'."\n"
+ .' '."\n"
+ .'>- 当服务资源为NLB时,TrafficControlMode默认设置为Scalability,可以设置为BandwidthLimit并修改Bandwidth值来提供带宽上限。'."\n"
+ .'>- 当服务资源为CLB时,TrafficControlMode仅支持设置BandwidthLimit,表示服务使用方为每个终端节点提供默认限速。'."\n"
+ .'> - 当服务资源为GWLB时,TrafficControlMode仅支持设置Scalability。', 'type' => 'string', 'required' => false, 'example' => 'BandwidthLimit'],
],
],
'responses' => [
@@ -7264,100 +5083,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'IncorrectBusinessStatus.VpcEndpoint',
- 'errorMessage' => 'The business status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectBusinessStatus.VpcEndpointService',
- 'errorMessage' => 'The business status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpoint',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointConnection',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointService',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcEndpointZone',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection',
- 'errorMessage' => 'The gateway load balancer not support zone connection.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'OperationDenied.VpcNatServiceResourceTypeNotSupportBandwidth', 'errorMessage' => 'The operation is not allowed because of VpcNatServiceResourceTypeNotSupportBandwidth.', 'description' => ''],
+ ['errorCode' => 'UpdateBandWidthUnSupported', 'errorMessage' => 'Bandwidth updates are not supported for this service.', 'description' => '此服务不允许更新带宽'],
],
- 404 => [
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpoint',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointConnection',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointService',
- 'errorMessage' => 'The specified resource %s is not found.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcEndpointZone',
- 'errorMessage' => 'The specified resource %s is not found.',
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointConnectionAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointConnectionAttributeResponse>","errorExample":""}]',
+ 'title' => '修改终端节点连接的属性',
+ 'description' => '**UpdateVpcEndpointConnectionAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点连接带宽。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointConnectionAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]',
- 'title' => '允许终端节点可用区连接',
- 'description' => '- 当终端节点连接状态为**已连接**且终端节点可用区状态为**已断开**时,才能调用此接口。'."\n"
- .'- **EnableVpcEndpointZoneConnection**接口属于异步接口,即系统会返回一个请求ID,但尚未接受终端节点在此可用区的连接请求,系统后台接受任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的连接请求状态:'."\n"
- ."\n"
- .' - 当终端节点可用区处于**Connecting**状态时,表示连接请求正在接受中。'."\n"
- .' - 当终端节点可用区处于**Connected**状态时,表示连接请求已接受。'."\n"
- ."\n"
- .'- **EnableVpcEndpointZoneConnection**接口不支持在同一个终端节点实例下并发接受可用区的连接请求。',
],
- 'UpdateVpcEndpointZoneConnectionResourceAttribute' => [
- 'summary' => '调用UpdateVpcEndpointZoneConnectionResourceAttribute接口,替换终端节点可用区连接服务资源。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVpcEndpointServiceAttribute' => [
+ 'summary' => '调用UpdateVpcEndpointServiceAttribute接口,修改终端节点服务的属性。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -7367,351 +5130,247 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
- 'abilityTreeCode' => '32983',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkO25BLH',
- ],
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '16189',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要修改的终端节点连接带宽的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
- ],
+ 'schema' => ['description' => '终端节点服务所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会修改服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '是否只预检此次请求,取值:'."\n"
+ ."\n"
+ .'- **true**:发送检查请求,不会修改资源属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ ."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP'."\n"
+ .' 2xx状态码并直接修改资源属性。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点服务ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'epsrv-hp3vpx8yqxblby3i****',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ServiceDescription',
'in' => 'query',
- 'schema' => [
- 'description' => '终端节点ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点服务的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'This is my EndpointService.'],
],
[
- 'name' => 'ZoneId',
+ 'name' => 'AutoAcceptEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'maximum' => '2147483647',
- 'minimum' => '0',
- 'example' => 'cn-hangzhou-b',
- ],
+ 'schema' => ['description' => '是否自动接受终端节点连接,取值:'."\n"
+ ."\n"
+ .'- **true**:自动接受终端节点连接。'."\n"
+ ."\n"
+ .'- **false**:不自动接受终端节点连接。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'ResourceAllocateMode',
+ 'name' => 'ConnectBandwidth',
'in' => 'query',
- 'schema' => [
- 'description' => '资源分配模式,只能在终端节点连接处于**已断开**时调整资源分配模式。取值:'."\n"
- ."\n"
- .'- **Auto**:自动分配服务资源(随机分配),此时会清除已经指定的服务资源。'."\n"
- ."\n"
- .'- **Manual**:手动分配服务资源,此时必须输入**ResourceId**和**ResourceType**参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Auto',
- 'enum' => [],
- ],
+ 'schema' => ['description' => '默认连接带宽峰值。默认值:**3072**。单位:Mbps。'."\n"
+ ."\n"
+ .'取值范围:**100**~**10240**。'."\n"
+ ."\n"
+ .'> 当服务资源为传统型负载均衡CLB或应用型负载均衡ALB时,支持设置默认连接带宽峰值;当服务资源为网络型负载均衡NLB时,不支持设置连接带宽。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3072'],
],
[
- 'name' => 'ResourceReplaceMode',
+ 'name' => 'ZoneAffinityEnabled',
'in' => 'query',
- 'schema' => [
- 'description' => '服务资源迁移方式。取值:'."\n"
- ."\n"
- .'- **Graceful**:平滑迁移,此时可用区连接平滑迁移服务资源。'."\n"
- ."\n"
- .'- **Force**:强制迁移,此时可用区连接强制迁移服务资源。'."\n"
- ."\n\n"
- .'>只能在终端节点连接处于**已连接**且需要迁移服务资源时输入此参数,此时必须输入**ResourceId**和**ResourceType**参数。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Graceful',
- 'enum' => [],
- ],
+ 'schema' => ['description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n"
+ ."\n"
+ .'- **true**(默认值):是。'."\n"
+ .'- **false**:否。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点服务所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'ServiceSupportIPv6',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端节点服务是否支持IPv6功能。取值:'."\n"
+ ."\n"
+ .'- **true**:是。'."\n"
+ ."\n"
+ .'- **false**(默认值):否。', 'type' => 'boolean', 'deprecated' => true, 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'AddressIpVersion',
'in' => 'query',
'schema' => [
- 'description' => '服务资源类型。取值:'."\n"
- ."\n"
- .'- **slb**:表示服务资源类型为专有网络类型且支持PrivateLink功能的传统型负载均衡CLB(Classic Load Balancer)。'."\n"
- ."\n"
- .'- **alb**:表示服务资源类型为专有网络类型且支持PrivateLink功能的应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ 'description' => '协议版本。取值:'."\n"
."\n"
- .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。',
+ .'- **IPv4**:IPv4类型。'."\n"
+ .'- **DualStack**:双栈类型。'."\n"
+ .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。',
'type' => 'string',
'required' => false,
- 'example' => 'slb',
+ 'enumValueTitles' => [],
+ 'example' => 'IPv4',
],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'AddSupportedRegionSet',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '终端节点连接所在可用区手动分配或迁移的服务资源ID。'."\n"
- ."\n"
- .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。',
- 'type' => 'string',
+ 'description' => '需要添加的终端节点服务支持的远程地域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '需要添加的终端节点服务支持的远程地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'],
'required' => false,
- 'example' => 'lb-hp32z1wp5peaoox2q****',
],
],
[
- 'name' => 'RegionId',
+ 'name' => 'DeleteSupportedRegionSet',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '要修改的终端节点连接带宽的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-hangzhou',
+ 'description' => '需要关闭的终端节点服务支持的远程地域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '需要关闭的终端节点服务支持的远程地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
+ 'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointServiceNotFound',
- 'errorMessage' => 'The specified Service does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionNotFound',
- 'errorMessage' => 'The specified endpoint connection does not exist.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceLocked',
- 'errorMessage' => 'The specified Service is locked.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointZoneNotFound',
- 'errorMessage' => 'The specified zone of Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceTypeNotSupport',
- 'errorMessage' => 'The specified resource type is not supported.',
- ],
- [
- 'errorCode' => 'EndpointServiceResourceNotFound',
- 'errorMessage' => 'The specified service resource is not found.',
- ],
- [
- 'errorCode' => 'ZoneOperationDenied',
- 'errorMessage' => 'You cannot operate the specified zone.',
- ],
- [
- 'errorCode' => 'IllegalParam.ResourceAllocateMode',
- 'errorMessage' => 'The param of %s is illegal.',
- ],
- [
- 'errorCode' => 'IllegalParam.ResourceReplaceMode',
- 'errorMessage' => 'The param of %s is illegal.',
- ],
- [
- 'errorCode' => 'MissingParam.ResourceId',
- 'errorMessage' => 'The param of %s is missing.',
- ],
- [
- 'errorCode' => 'MissingParam.ResourceAllocateMode',
- 'errorMessage' => 'The param of %s is missing.',
- ],
- [
- 'errorCode' => 'OperationDenied.CurrentResourceAutoAllocated',
- 'errorMessage' => 'The operation is not allowed because of CurrentResourceAutoAllocated.',
- ],
- [
- 'errorCode' => 'Mismatch.ZoneId',
- 'errorMessage' => 'The %s is mismatched for %s and %s.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection',
- 'errorMessage' => 'The gateway load balancer not support zone connection.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceLocked', 'errorMessage' => 'The specified Service is locked.', 'description' => '当前终端节点服务已经被锁定。'],
+ ['errorCode' => 'EndpointServiceOperationDenied', 'errorMessage' => 'The specified operation of endpoint service is not allowed.', 'description' => '终端节点服务处理中,不允许操作。'],
+ ['errorCode' => 'IllegalParamFormat.%s', 'errorMessage' => 'The param format of %s is illegal.', 'description' => '指定的%s格式无效。请检查参数约束,并在修改后重试。'],
+ ['errorCode' => 'OperationDenied.PrivateServiceDomainBusinessStatus', 'errorMessage' => 'The operation is not allowed because of PrivateServiceDomainBusinessStatus.', 'description' => ''],
+ ['errorCode' => 'MissingParam.%s', 'errorMessage' => 'The param of %s is missing.', 'description' => '参数%s缺失。'],
+ ['errorCode' => 'ServiceResourceNotSupportIpv6', 'errorMessage' => 'The resource is not support ipv6.', 'description' => '终端节点服务不支持IPv6'],
+ ['errorCode' => 'EndpointServiceDowngradeNotAllowed', 'errorMessage' => 'The EndpointService is not allowed for downgrade.', 'description' => '终端节点服务不允许降级'],
+ ['errorCode' => 'DependencyViolation.PrivateDnsName', 'errorMessage' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'description' => '资源%s依赖于%s,导致操作无法完成'],
+ ['errorCode' => 'OperationDenied.PrivateDomainNotSupport', 'errorMessage' => 'The operation is not allowed because of PrivateDomainNotSupport.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'OperationDenied.PrivateDomainStatusNotSupport', 'errorMessage' => 'The operation is not allowed because of %s.', 'description' => '由于%s,操作不支持'],
+ ['errorCode' => 'Conflict.ServiceName', 'errorMessage' => 'The ServiceName %s is conflict.', 'description' => '服务名称%s冲突'],
+ ['errorCode' => 'InvalidParam.PrivateDnsName', 'errorMessage' => 'The parameter of PrivateDnsName is illegal, which needs to end with aliyun.com, aliyun-inc.com, or aliyuncs.com.', 'description' => ''],
+ ['errorCode' => 'OperationDenied.ResourceTypeNotSupportDualStack', 'errorMessage' => 'The specified resource type does not support dualstack.', 'description' => '服务后端资源类型不支持双栈。'],
+ ['errorCode' => 'OperationDenied.ServiceResourceIpVersionMismatch', 'errorMessage' => 'The endpoint service and service resource AddressIpVersion do not match.', 'description' => '终端节点服务与后端资源AddressIpVersion不匹配'],
+ ['errorCode' => 'EndpointServiceConnectionDependence', 'errorMessage' => 'There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4.', 'description' => '终端节点服务与双栈终端节点之间存在连接,不支持双栈切到单栈。'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointZoneConnectionResourceAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointZoneConnectionResourceAttributeResponse>","errorExample":""}]',
- 'title' => '替换终端节点可用区连接服务资源',
- 'description' => '- 替换终端节点可用区连接服务资源的功能默认不开放,请登录[配额中心控制台](https://quotas.console.aliyun.com/white-list-products/privatelink/quotas),搜索ID`privatelink_whitelist/svc_res_mgt_uat`进行申请。'."\n"
- ."\n"
- .'- 请确保旧的服务资源不允许自动分配,具体操作,请参见[UpdateVpcEndpointServiceResourceAttribute](~~469340~~)。'."\n"
- ."\n"
- .'- 终端节点连接处于**未连接**状态时,支持手动分配可用区的服务资源。'."\n"
- .'- 终端节点连接处于**已连接**状态后,支持手动迁移可用区的服务资源(此时有断连风险)。'."\n"
- .'- **UpdateVpcEndpointZoneConnectionResourceAttribute**接口属于异步接口,即系统会返回一个请求ID,但终端节点连接可用区的服务资源尚未修改完成,系统后台修改任务仍在进行中。您可以调用[GetVpcEndpointServiceAttribute](~~469330~~)查询服务资源的修改状态:'."\n"
- ."\n"
- .' - 当终端节点服务处于**Pending**状态时,表示服务资源正在修改中。'."\n"
- .' - 当终端节点服务处于**Active**状态时,表示服务资源修改完成。'."\n"
- ."\n"
- .'- **UpdateVpcEndpointZoneConnectionResourceAttribute**接口不支持在同一个终端节点实例下并发修改终端节点连接可用区的服务资源。',
- ],
- 'AttachSecurityGroupToVpcEndpoint' => [
- 'methods' => [
- 'post',
- 'get',
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointServiceAttributeResponse>\\n <RequestId>8D8992C1-6712-423C-BAC5-E5E817484C6B</RequestId>\\n</UpdateVpcEndpointServiceAttributeResponse>","errorExample":""}]',
+ 'title' => '修改终端节点服务的属性',
+ 'description' => '- 修改终端节点服务的属性之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **UpdateVpcEndpointServiceAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点服务的属性。',
+ 'requestParamsDescription' => ' ',
+ 'responseParamsDescription' => ' ',
+ 'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointServiceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
+ ],
+ ],
],
+ ],
+ 'UpdateVpcEndpointServiceResourceAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'abilityTreeCode' => '16163',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelink57DP0F',
- ],
- ],
+ 'systemTags' => ['operationType' => 'update'],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要加入安全组的终端节点所属的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要修改服务资源的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'SecurityGroupId',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '要加入的安全组的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sg-hp3c8qj1tyct90ej****',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '要加入安全组的终端节点的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => "\n"
+ .'是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会修改终端节点服务资源的相关属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'DryRun',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会加入安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp32z1wp5peaoox2q****'],
+ ],
+ [
+ 'name' => 'ZoneId',
+ 'in' => 'query',
+ 'schema' => ['description' => '服务资源所属的可用区。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i'],
+ ],
+ [
+ 'name' => 'AutoAllocatedEnabled',
+ 'in' => 'query',
+ 'schema' => ['description' => '是否允许资源自动分配,取值:'."\n"
+ ."\n"
+ .'- **true**:允许资源自动分配。'."\n"
+ ."\n"
+ .'- **false**:不允许资源自动分配。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要加入安全组的终端节点所属的地域ID。'."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要修改服务资源的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -7719,308 +5378,151 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'SecurityGroupExist',
- 'errorMessage' => 'The specified security group already exists.',
- ],
- [
- 'errorCode' => 'EndpointServiceDeleted',
- 'errorMessage' => 'The specified Service is already deleted.',
- ],
- [
- 'errorCode' => 'SecurityGroupNotFound',
- 'errorMessage' => 'The specified security group does not exist.',
- ],
- [
- 'errorCode' => 'SecurityGroupTypeNotSupport',
- 'errorMessage' => 'The specified security group type is not supported.',
- ],
- [
- 'errorCode' => 'SecurityGroupTypeOnlySingleTypeSupporteded',
- 'errorMessage' => 'The specified security group only support one type.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup',
- 'errorMessage' => 'The gateway load balancer not support security group.',
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointServiceLocked', 'errorMessage' => 'The specified Service is locked.', 'description' => '当前终端节点服务已经被锁定。'],
+ ['errorCode' => 'EndpointServiceOperationDenied', 'errorMessage' => 'The specified operation of endpoint service is not allowed.', 'description' => '终端节点服务处理中,不允许操作。'],
+ ['errorCode' => 'EndpointServiceResourceNotFound', 'errorMessage' => 'The specified service resource is not found.', 'description' => '终端节点服务资源未找到'],
+ ['errorCode' => 'ResourceAutoAllocateViolation', 'errorMessage' => 'The specified endpoint service must have at least one automatically allocated resource in one zone.', 'description' => '一个可用区至少包含一个可自动分配的资源'],
+ ],
+ ],
+ 'title' => '修改终端节点服务资源的属性',
+ 'summary' => '调用UpdateVpcEndpointServiceResourceAttribute接口,修改终端节点服务资源是否自动分配。',
+ 'description' => '- 修改终端节点服务资源的属性之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n"
+ .'- **UpdateVpcEndpointServiceResourceAttribute**接口不支持在同一个终端节点服务ID下并发修改终端节点服务资源的相关属性。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointServiceResourceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"<AttachSecurityGroupToVpcEndpointResponse>\\n <RequestId>8D778FF9-7640-4C13-BCD6-9265CA9A2F81</RequestId>\\n</AttachSecurityGroupToVpcEndpointResponse>","errorExample":""}]',
- 'title' => '将终端节点加入安全组',
- 'summary' => '调用AttachSecurityGroupToVpcEndpoint接口,将终端节点加入安全组。',
- 'description' => '- **AttachSecurityGroupToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点加入安全组尚未完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的状态:'."\n"
- ."\n"
- .' - 当终端节点处于**Pending**状态时,表示终端节点正在添加中。'."\n"
- .' - 当终端节点处于**Active**状态时,表示终端节点添加完成。'."\n"
- ."\n"
- .'- **AttachSecurityGroupToVpcEndpoint**接口不支持将同一个终端节点实例并发加入安全组。',
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointServiceResourceAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointServiceResourceAttributeResponse>","errorExample":""}]',
],
- 'ListVpcEndpointSecurityGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateVpcEndpointZoneConnectionResourceAttribute' => [
+ 'summary' => '调用UpdateVpcEndpointZoneConnectionResourceAttribute接口,替换终端节点可用区连接服务资源。',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '32983',
+ 'abilityTreeNodes' => ['FEATUREprivatelinkO25BLH'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
+ 'schema' => ['description' => '要修改的终端节点连接带宽的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
+ 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n"
+ ."\n"
+ .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小,取值范围:**1**~**50**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '50',
- 'minimum' => '0',
- 'example' => '50',
- ],
+ 'schema' => ['description' => '是否只预检此次请求。取值:'."\n"
+ .'- **true**:发送检查请求,不会修改服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
+ .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ServiceId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点的ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
- ],
+ 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'],
],
[
- 'name' => 'RegionId',
+ 'name' => 'EndpointId',
'in' => 'query',
- 'schema' => [
- 'description' => '要查询的终端节点所属的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'cn-huhehaote',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'SecurityGroups' => [
- 'description' => '安全组信息集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '安全组信息。',
- 'type' => 'object',
- 'properties' => [
- 'SecurityGroupId' => [
- 'description' => '终端节点已加入的安全组ID。',
- 'type' => 'string',
- 'example' => 'sg-hp33bw6ynvm2yb0e****',
- ],
- 'SecurityGroupStatus' => [
- 'description' => '安全组关联状态,取值:'."\n"
- .'- Attaching:关联中。'."\n"
- .'- Attached:已关联。'."\n"
- .'- Detaching:分离中。',
- 'type' => 'string',
- 'example' => 'Attached',
- ],
- ],
- ],
- ],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- .'- 如果**NextToken**为空表示没有下一次查询。'."\n"
- .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- 'MaxResults' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '50',
- ],
- 'TotalCount' => [
- 'description' => '总记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- ],
- ],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"SecurityGroups\\": [\\n {\\n \\"SecurityGroupId\\": \\"sg-hp33bw6ynvm2yb0e****\\",\\n \\"SecurityGroupStatus\\": \\"Attached\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\",\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\",\\n \\"MaxResults\\": 50,\\n \\"TotalCount\\": 12\\n}","errorExample":""},{"type":"xml","example":"<ListVpcEndpointSecurityGroupsResponse>\\n <SecurityGroups>\\n <SecurityGroupId>sg-hp33bw6ynvm2yb0e****</SecurityGroupId>\\n </SecurityGroups>\\n <NextToken>caeba0bbb2be03f84eb48b699f0a4883</NextToken>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n <MaxResults>50</MaxResults>\\n</ListVpcEndpointSecurityGroupsResponse>","errorExample":""}]',
- 'title' => '查询终端节点已加入的安全组',
- 'summary' => '调用ListVpcEndpointSecurityGroups接口,查询终端节点已加入的安全组。',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'DetachSecurityGroupFromVpcEndpoint' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'],
],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- ],
- 'parameters' => [
[
- 'name' => 'RegionId',
+ 'name' => 'ZoneId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '可用区ID。', 'type' => 'string', 'required' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => 'cn-hangzhou-b'],
],
[
- 'name' => 'SecurityGroupId',
+ 'name' => 'ResourceAllocateMode',
'in' => 'query',
'schema' => [
- 'description' => '要移除的安全组的ID。',
+ 'description' => '资源分配模式,只能在终端节点连接处于**已断开**时调整资源分配模式。取值:'."\n"
+ ."\n"
+ .'- **Auto**:自动分配服务资源(随机分配),此时会清除已经指定的服务资源。'."\n"
+ ."\n"
+ .'- **Manual**:手动分配服务资源,此时必须输入**ResourceId**和**ResourceType**参数。',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'sg-hp3c8qj1tyct90ej****',
+ 'required' => false,
+ 'example' => 'Auto',
+ 'enum' => [],
],
],
[
- 'name' => 'EndpointId',
+ 'name' => 'ResourceReplaceMode',
'in' => 'query',
'schema' => [
- 'description' => '要移除安全组的终端节点的ID。',
+ 'description' => '服务资源迁移方式。取值:'."\n"
+ ."\n"
+ .'- **Graceful**:平滑迁移,此时可用区连接平滑迁移服务资源。'."\n"
+ ."\n"
+ .'- **Force**:强制迁移,此时可用区连接强制迁移服务资源。'."\n"
+ ."\n\n"
+ .'>只能在终端节点连接处于**已连接**且需要迁移服务资源时输入此参数,此时必须输入**ResourceId**和**ResourceType**参数。 ',
'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'ep-hp33b2e43fays7s8****',
+ 'required' => false,
+ 'example' => 'Graceful',
+ 'enum' => [],
],
],
[
- 'name' => 'DryRun',
+ 'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会将终端节点移除安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '服务资源类型。取值:'."\n"
+ ."\n"
+ .'- **slb**:表示服务资源类型为专有网络类型且支持PrivateLink功能的传统型负载均衡CLB(Classic Load Balancer)。'."\n"
+ ."\n"
+ .'- **alb**:表示服务资源类型为专有网络类型且支持PrivateLink功能的应用型负载均衡ALB(Application Load Balancer)。'."\n"
+ ."\n"
+ .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。', 'type' => 'string', 'required' => false, 'example' => 'slb'],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
- ],
+ 'schema' => ['description' => '终端节点连接所在可用区手动分配或迁移的服务资源ID。'."\n"
+ ."\n"
+ .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'eu-west-1',
- ],
+ 'schema' => ['description' => '要修改的终端节点连接带宽的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -8028,901 +5530,824 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'],
],
+ 'description' => '',
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'SecurityGroupNotFound',
- 'errorMessage' => 'The specified security group does not exist.',
- ],
- [
- 'errorCode' => 'EndpointMustContainSecurityGroup',
- 'errorMessage' => 'The specified endpoint must have at least one security group.',
- ],
- [
- 'errorCode' => 'EndpointNotFound',
- 'errorMessage' => 'The specified Endpoint does not exist.',
- ],
- [
- 'errorCode' => 'EndpointOperationDenied',
- 'errorMessage' => 'The specified operation of endpoint is not allowed.',
- ],
- [
- 'errorCode' => 'EndpointLocked',
- 'errorMessage' => 'The specified Endpoint is locked.',
- ],
- [
- 'errorCode' => 'EndpointConnectionOperationDenied',
- 'errorMessage' => 'The endpoint is being connected.',
- ],
- [
- 'errorCode' => 'EndpointServiceDeleted',
- 'errorMessage' => 'The specified Service is already deleted.',
- ],
- [
- 'errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup',
- 'errorMessage' => 'The gateway load balancer not support security group.',
- ],
+ ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'],
+ ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'],
+ ['errorCode' => 'EndpointConnectionOperationDenied', 'errorMessage' => 'The endpoint is being connected.', 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['errorCode' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'],
+ ['errorCode' => 'EndpointServiceLocked', 'errorMessage' => 'The specified Service is locked.', 'description' => '当前终端节点服务已经被锁定。'],
+ ['errorCode' => 'EndpointLocked', 'errorMessage' => 'The specified Endpoint is locked.', 'description' => '当前终端节点已经被锁定。'],
+ ['errorCode' => 'EndpointZoneNotFound', 'errorMessage' => 'The specified zone of Endpoint does not exist.', 'description' => '终端节点下面的可用区未找到。'],
+ ['errorCode' => 'EndpointServiceResourceTypeNotSupport', 'errorMessage' => 'The specified resource type is not supported.', 'description' => '终端节点服务资源类型不支持。'],
+ ['errorCode' => 'EndpointServiceResourceNotFound', 'errorMessage' => 'The specified service resource is not found.', 'description' => '终端节点服务资源未找到'],
+ ['errorCode' => 'ZoneOperationDenied', 'errorMessage' => 'You cannot operate the specified zone.', 'description' => '可用区不允许操作'],
+ ['errorCode' => 'IllegalParam.ResourceAllocateMode', 'errorMessage' => 'The param of %s is illegal.', 'description' => ''],
+ ['errorCode' => 'IllegalParam.ResourceReplaceMode', 'errorMessage' => 'The param of %s is illegal.', 'description' => ''],
+ ['errorCode' => 'MissingParam.ResourceId', 'errorMessage' => 'The param of %s is missing.', 'description' => '缺少参数ResourceId。'],
+ ['errorCode' => 'MissingParam.ResourceAllocateMode', 'errorMessage' => 'The param of %s is missing.', 'description' => 'ResourceAllocateMode参数缺失。'],
+ ['errorCode' => 'OperationDenied.CurrentResourceAutoAllocated', 'errorMessage' => 'The operation is not allowed because of CurrentResourceAutoAllocated.', 'description' => '操作被拒绝,原因是可用区当前资源未关闭自动分配。'],
+ ['errorCode' => 'Mismatch.ZoneId', 'errorMessage' => 'The %s is mismatched for %s and %s.', 'description' => ''],
+ ['errorCode' => 'GatewayLoadBalancerNotSupportZoneConnection', 'errorMessage' => 'The gateway load balancer not support zone connection.', 'description' => '网关型负载均衡类型不支持操作可用区连接'],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"<DetachSecurityGroupFromVpcEndpointResponse>\\n <RequestId>8D778FF9-7640-4C13-BCD6-9265CA9A2F81</RequestId>\\n</DetachSecurityGroupFromVpcEndpointResponse>","errorExample":""}]',
- 'title' => '将终端节点移除安全组',
- 'summary' => '调用DetachSecurityGroupFromVpcEndpoint接口,将终端节点移除安全组。',
- 'description' => '- **DetachSecurityGroupFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点尚未从安全组中移除,系统后台的移除任务仍在进行。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的移除状态:'."\n"
- .' '."\n"
- .' - 当终端节点处于**Pending**状态时,表示终端节点正在移除中。'."\n"
- .' - 当在安全组中查询不到该终端节点时,表示终端节点移除完成。'."\n"
+ 'title' => '替换终端节点可用区连接服务资源',
+ 'description' => '- 替换终端节点可用区连接服务资源的功能默认不开放,请登录[配额中心控制台](https://quotas.console.aliyun.com/white-list-products/privatelink/quotas),搜索ID`privatelink_whitelist/svc_res_mgt_uat`进行申请。'."\n"
."\n"
- .'- **DetachSecurityGroupFromVpcEndpoint**接口不支持将同一个终端节点实例并发移除安全组。',
- ],
- 'UntagResources' => [
- 'summary' => '当您不需要标识一个或多个终端节点或终端节点服务时,可调用UntagResources接口,为指定的资源列表统一解绑标签。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ .'- 请确保旧的服务资源不允许自动分配,具体操作,请参见[UpdateVpcEndpointServiceResourceAttribute](~~469340~~)。'."\n"
+ ."\n"
+ .'- 终端节点连接处于**未连接**状态时,支持手动分配可用区的服务资源。'."\n"
+ .'- 终端节点连接处于**已连接**状态后,支持手动迁移可用区的服务资源(此时有断连风险)。'."\n"
+ .'- **UpdateVpcEndpointZoneConnectionResourceAttribute**接口属于异步接口,即系统会返回一个请求ID,但终端节点连接可用区的服务资源尚未修改完成,系统后台修改任务仍在进行中。您可以调用[GetVpcEndpointServiceAttribute](~~469330~~)查询服务资源的修改状态:'."\n"
+ ."\n"
+ .' - 当终端节点服务处于**Pending**状态时,表示服务资源正在修改中。'."\n"
+ .' - 当终端节点服务处于**Active**状态时,表示服务资源修改完成。'."\n"
+ ."\n"
+ .'- **UpdateVpcEndpointZoneConnectionResourceAttribute**接口不支持在同一个终端节点实例下并发修改终端节点连接可用区的服务资源。',
+ 'changeSet' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointZoneConnectionResourceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateVpcEndpointZoneConnectionResourceAttributeResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED28DCAC0</RequestId>\\n</UpdateVpcEndpointZoneConnectionResourceAttributeResponse>","errorExample":""}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-zhongwei', 'regionName' => '西北2(中卫)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-zhongwei.aliyuncs.com', 'endpoint' => 'privatelink.cn-zhongwei.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-zhongwei.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'privatelink.cn-wulanchabu.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-beijing.aliyuncs.com', 'endpoint' => 'privatelink.cn-beijing.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-zhengzhou-jva', 'regionName' => '郑州(联通合营)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-zhengzhou-jva.aliyuncs.com', 'endpoint' => 'privatelink.cn-zhengzhou-jva.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-zhengzhou-jva.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-qingdao.aliyuncs.com', 'endpoint' => 'privatelink.cn-qingdao.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-wuhan-lr', 'regionName' => '华中1(武汉-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-wuhan-lr.aliyuncs.com', 'endpoint' => 'privatelink.cn-wuhan-lr.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-wuhan-lr.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-shanghai.aliyuncs.com', 'endpoint' => 'privatelink.cn-shanghai.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-hongkong.aliyuncs.com', 'endpoint' => 'privatelink.cn-hongkong.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-heyuan.aliyuncs.com', 'endpoint' => 'privatelink.cn-heyuan.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-heyuan.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'privatelink.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-shenzhen.aliyuncs.com', 'endpoint' => 'privatelink.cn-shenzhen.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-nanjing.aliyuncs.com', 'endpoint' => 'privatelink.cn-nanjing.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-nanjing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-northeast-2.aliyuncs.com', 'endpoint' => 'privatelink.ap-northeast-2.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-northeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-northeast-1.aliyuncs.com', 'endpoint' => 'privatelink.ap-northeast-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-fuzhou', 'regionName' => '华东6(福州-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-fuzhou.aliyuncs.com', 'endpoint' => 'privatelink.cn-fuzhou.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-fuzhou.aliyuncs.com'],
+ ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-chengdu.aliyuncs.com', 'endpoint' => 'privatelink.cn-chengdu.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-chengdu.aliyuncs.com'],
+ ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-guangzhou.aliyuncs.com', 'endpoint' => 'privatelink.cn-guangzhou.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-guangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-1.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-2.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-2.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-2.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-3.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-3.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-huhehaote.aliyuncs.com', 'endpoint' => 'privatelink.cn-huhehaote.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-huhehaote.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-5.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-5.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-6.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-6.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-6.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-7.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-7.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.cn-hangzhou.aliyuncs.com', 'endpoint' => 'privatelink.cn-hangzhou.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'privatelink.ap-southeast-8.aliyuncs.com', 'endpoint' => 'privatelink.ap-southeast-8.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.us-east-1.aliyuncs.com', 'endpoint' => 'privatelink.us-east-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.us-southeast-1.aliyuncs.com', 'endpoint' => 'privatelink.us-southeast-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.us-southeast-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.eu-west-1.aliyuncs.com', 'endpoint' => 'privatelink.eu-west-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-2', 'regionName' => '法国(巴黎)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.eu-west-2.aliyuncs.com', 'endpoint' => 'privatelink.eu-west-2.aliyuncs.com', 'vpc' => 'privatelink-vpc.eu-west-2.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.us-west-1.aliyuncs.com', 'endpoint' => 'privatelink.us-west-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.eu-central-1.aliyuncs.com', 'endpoint' => 'privatelink.eu-central-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'na-south-1', 'regionName' => '墨西哥', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'privatelink.na-south-1.aliyuncs.com', 'endpoint' => 'privatelink.na-south-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.na-south-1.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'privatelink.me-east-1.aliyuncs.com', 'endpoint' => 'privatelink.me-east-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'privatelink.me-central-1.aliyuncs.com', 'endpoint' => 'privatelink.me-central-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.me-central-1.aliyuncs.com'],
+ ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'privatelink.ap-south-1.aliyuncs.com', 'endpoint' => 'privatelink.ap-south-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.ap-south-1.aliyuncs.com'],
+ ['regionId' => 'cn-heyuan-acdr-1', 'regionName' => '河源专属云汽车合规', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-heyuan-acdr-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-heyuan-acdr-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-heyuan-acdr-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-beijing-finance-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-beijing-finance-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-beijing-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu-gic-1', 'regionName' => '华北6(乌兰察布)通用行业云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-wulanchabu-gic-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-wulanchabu-gic-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-wulanchabu-gic-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'privatelink.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'privatelink.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'privatelink-vpc.cn-north-2-gov-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => 'AccountTypeRestricted', 'message' => 'Please submit the application for beta testing first. You can activate the product after the application is approved.', 'http_code' => 400, 'description' => '请先提交公测申请,等审核通过后开通。'],
+ ['code' => 'AddSecurityGroupNotSupportWhenHaveNoSg', 'message' => 'The specified haven not security group endpoint add security group is not supported.', 'http_code' => 400, 'description' => '无安全组的情况下SecurityGroup不允许添加'],
+ ['code' => 'AlbExist', 'message' => 'The specified Alb already exists.', 'http_code' => 400, 'description' => 'Alb已经存在'],
+ ['code' => 'AlbNotFound', 'message' => 'The specified Alb does not exist.', 'http_code' => 400, 'description' => 'ALI负载均衡不存在。'],
+ ['code' => 'AliCroupCloudUserCanNotBuyNotInnerCommodity', 'message' => 'The privatelink_ postpay_ public_ Intl does not have a group cloud product label and is not allowed for internal group users to purchase.', 'http_code' => 400, 'description' => 'privatelink_postpay_public_intl 无集团上云商品标签,不允许集团内部用户购买'],
+ ['code' => 'CheckServiceLinkRoleError', 'message' => 'Failed to check the service linked role.', 'http_code' => 400, 'description' => '检查服务角色失败'],
+ ['code' => 'CheckServiceLinkRoleError', 'message' => 'The ServiceLink role check error.', 'http_code' => 400, 'description' => 'ServiceLinkRole校验错误'],
+ ['code' => 'ConcurrentCallNotSupported', 'message' => 'The operation conflicts with other operations. Please try again later.', 'http_code' => 400, 'description' => '并发操作冲突'],
+ ['code' => 'Conflict.ServiceName', 'message' => 'The ServiceName %s is conflict.', 'http_code' => 400, 'description' => '服务名称%s冲突'],
+ ['code' => 'CreateOrderFailed', 'message' => 'The system is busy. Please try again later.', 'http_code' => 500, 'description' => '系统繁忙,请稍后重试'],
+ ['code' => 'CSS_CREATE_ORDER_ERROR', 'message' => 'create order error.', 'http_code' => 400, 'description' => '开通产品或者创建订单失败'],
+ ['code' => 'DeleteFailedDueToEndpointExist', 'message' => 'The specified EndpointService id deleted failed , due to EndpointExist.', 'http_code' => 400, 'description' => '终端节点还未删除'],
+ ['code' => 'DependencyViolation.PrivateDnsName', 'message' => 'The specified resource of %s depends on %s, so the operation cannot be completed.', 'http_code' => 400, 'description' => '资源%s依赖于%s,导致操作无法完成'],
+ ['code' => 'DryRunOperation', 'message' => 'The specified operation is a dry run operation.', 'http_code' => 400, 'description' => '当前操作预检成功。'],
+ ['code' => 'DuplicatedSecurityGroupId', 'message' => 'The specified SecurityGroupId.%s %s is duplicated.', 'http_code' => 400, 'description' => '参数SecurityGroupId重复'],
+ ['code' => 'DuplicatedTagKey', 'message' => 'The tag keys is duplicated.', 'http_code' => 400, 'description' => 'tag key重复'],
+ ['code' => 'EndpointAssociatedVpc', 'message' => 'The endpoint is associated with a vpc.', 'http_code' => 400, 'description' => '终端节点已关联了vpc,请先删除该终端节点的路由条目。'],
+ ['code' => 'EndpointConnectionNotFound', 'message' => 'The specified endpoint connection does not exist.', 'http_code' => 400, 'description' => '当前终端节点连接未找到。'],
+ ['code' => 'EndpointConnectionOperationDenied', 'message' => 'The endpoint is being connected.', 'http_code' => 400, 'description' => '终端节点连接正在处理中,不允许操作。'],
+ ['code' => 'EndpointDependenceViolation', 'message' => 'The specified endpoint has dependent zone(s).', 'http_code' => 400, 'description' => '终端节点下存在可用区,不可以删除。'],
+ ['code' => 'EndpointDuplicated', 'message' => 'The endpoint of the service already exists and cannot be created again.', 'http_code' => 400, 'description' => '此服务的终端节点已存在,不能重复创建'],
+ ['code' => 'EndpointExist', 'message' => 'The specified Endpoint already exists.', 'http_code' => 400, 'description' => '当前终端节点已经存在。'],
+ ['code' => 'EndpointHasNotChanged', 'message' => 'endpoint has nothing changed.', 'http_code' => 400, 'description' => 'endpoint无任何改变'],
+ ['code' => 'EndpointLocked', 'message' => 'The specified Endpoint is locked.', 'http_code' => 400, 'description' => '当前终端节点已经被锁定。'],
+ ['code' => 'EndpointMustContainSecurityGroup', 'message' => 'The specified endpoint must have at least one security group.', 'http_code' => 400, 'description' => '终端节点需要至少加入一个安全组'],
+ ['code' => 'EndpointNotFound', 'message' => 'The specified Endpoint does not exist.', 'http_code' => 400, 'description' => '当前终端节点未找到。'],
+ ['code' => 'EndpointOperationDenied', 'message' => 'The specified operation of endpoint is not allowed.', 'http_code' => 400, 'description' => '当前终端节点正在处理中,不允许操作。'],
+ ['code' => 'EndpointProtected', 'message' => 'The specified Endpoint is protected.', 'http_code' => 400, 'description' => '终端节点已经设置操作保护'],
+ ['code' => 'EndpointServiceConnectionDependence', 'message' => 'You cannot delete EndpointService with Endpoint connected.', 'http_code' => 400, 'description' => '无法删除有终端节点关联的终端节点服务。'],
+ ['code' => 'EndpointServiceConnectionDependence', 'message' => 'There are connections between the endpoint service and the dualstack endpoint, the endpoint service address ip version not support switching from dualstack to ipv4.', 'http_code' => 400, 'description' => '终端节点服务与双栈终端节点之间存在连接,不支持双栈切到单栈。'],
+ ['code' => 'EndpointServiceConnectResourceNotSupport', 'message' => 'The service is not support connect resource.', 'http_code' => 400, 'description' => '终端节点服务不支持连接'],
+ ['code' => 'EndpointServiceDeleted', 'message' => 'The specified Service is already deleted.', 'http_code' => 400, 'description' => '终端节点服务已经被删除'],
+ ['code' => 'EndpointServiceDependenceViolation', 'message' => 'The specified EndpointService already contains a resource.', 'http_code' => 400, 'description' => '当前终端节点服务存在资源。'],
+ ['code' => 'EndpointServiceDowngradeNotAllowed', 'message' => 'The EndpointService is not allowed for downgrade.', 'http_code' => 400, 'description' => '终端节点服务不允许降级'],
+ ['code' => 'EndpointServiceExist', 'message' => 'The specified Endpoint Service already exists.', 'http_code' => 400, 'description' => '当前终端节点服务已经存在。'],
+ ['code' => 'EndpointServiceIsNotAuthorized', 'message' => 'The specified endpoint service %s is not authorized to user %d.', 'http_code' => 400, 'description' => 'EnpointService服务未授权该用户访问'],
+ ['code' => 'EndpointServiceLocked', 'message' => 'The specified Service is locked.', 'http_code' => 400, 'description' => '当前终端节点服务已经被锁定。'],
+ ['code' => 'EndpointServiceNotAuthorized', 'message' => 'The specified endpoint service is not authorized to user.', 'http_code' => 400, 'description' => '终端节点服务未授权给用户。'],
+ ['code' => 'EndpointServiceNotFound', 'message' => 'The specified Service does not exist.', 'http_code' => 400, 'description' => '当前终端节点服务不存在'],
+ ['code' => 'EndpointServiceNotSupportedZone', 'message' => 'The specified endpoint service does not support the zone.', 'http_code' => 400, 'description' => '终端节点服务不支持当前可用区。'],
+ ['code' => 'EndpointServiceNotSupportIpv6', 'message' => 'The param supportIpv6 of EndpointService is forbidden , resource is not support ipv6.', 'http_code' => 400, 'description' => '终端节点服务不支持IPv6'],
+ ['code' => 'EndpointServiceOperationDenied', 'message' => 'The specified operation of endpoint service is not allowed.', 'http_code' => 400, 'description' => '终端节点服务处理中,不允许操作。'],
+ ['code' => 'EndpointServicePayerForbidden', 'message' => 'The param Payer of EndpointService is forbidden, user is not in the whitelist.', 'http_code' => 400, 'description' => '终端节点服务的付费类型, 不在白名单中'],
+ ['code' => 'EndpointServicePayerForbidden', 'message' => 'The parameter EndpointServicePayer is forbidden. The user is not in the whitelist.', 'http_code' => 400, 'description' => '终端节点服务的付费类型, 不在白名单中'],
+ ['code' => 'EndpointServiceResourceCannotRemove', 'message' => 'The service resource cannot be removed.', 'http_code' => 400, 'description' => '服务资源不允许移除'],
+ ['code' => 'EndpointServiceResourceExist', 'message' => 'The specified resource already exists.', 'http_code' => 400, 'description' => '终端节点服务下面的资源已经存在,请勿重复添加。'],
+ ['code' => 'EndpointServiceResourceNotFound', 'message' => 'The specified service resource is not found.', 'http_code' => 400, 'description' => '终端节点服务资源未找到'],
+ ['code' => 'EndpointServiceResourceTypeMismatch', 'message' => 'the service resource type not match request type.', 'http_code' => 400, 'description' => '服务资源类型和请求类型不一致。'],
+ ['code' => 'EndpointServiceResourceTypeNotEqual', 'message' => 'the service resource type not equal request type.', 'http_code' => 400, 'description' => '请求中的resourceType与服务类型不一致'],
+ ['code' => 'EndpointServiceResourceTypeNotSupport', 'message' => 'The specified resource type is not supported.', 'http_code' => 400, 'description' => '终端节点服务资源类型不支持。'],
+ ['code' => 'EndpointZoneDuplicated', 'message' => 'The zone is duplicated for the Endpoint.', 'http_code' => 400, 'description' => '终端节点服务下面可用区不可以重复'],
+ ['code' => 'EndpointZoneExist', 'message' => 'The specified zone of Endpoint already exists.', 'http_code' => 400, 'description' => '终端节点下面的可用区已经存在,请勿重复添加。'],
+ ['code' => 'EndpointZoneNotFound', 'message' => 'The specified zone of Endpoint does not exist.', 'http_code' => 400, 'description' => '终端节点下面的可用区未找到。'],
+ ['code' => 'EniIpUnavailable', 'message' => 'The specified IP address is unavailable.', 'http_code' => 400, 'description' => '指定的IP不可用'],
+ ['code' => 'GatewayLoadBalancerNotSupportSecurityGroup', 'message' => 'The gateway load balancer not support security group.', 'http_code' => 400, 'description' => '网关型负载均衡类型不支持设置安全组'],
+ ['code' => 'GatewayLoadBalancerNotSupportZoneConnection', 'message' => 'The gateway load balancer not support zone connection.', 'http_code' => 400, 'description' => '网关型负载均衡类型不支持操作可用区连接'],
+ ['code' => 'GatewayLoadBalancerZoneCountDeny', 'message' => 'The GatewayLoadBalancer zone count not support', 'http_code' => 400, 'description' => '可用区数量不满足限制,无法操作。'],
+ ['code' => 'GenerateInstanceIdFailed', 'message' => 'The system is busy. Please try again later.', 'http_code' => 400, 'description' => '系统繁忙,请稍后重试。'],
+ ['code' => 'GenerateResourceIdFailed', 'message' => 'Failed to generate ResourceId.', 'http_code' => 400, 'description' => '生成资源ID失败。'],
+ ['code' => 'IdempotenceSignatureMismatch', 'message' => 'There is an idempotence signature mismatch between this and the previous request.', 'http_code' => 400, 'description' => '幂等签名和最近一次的请求不匹配'],
+ ['code' => 'IllegalParam.%s', 'message' => 'The specified parameter %s is invalid.', 'http_code' => 400, 'description' => '参数%s不合法'],
+ ['code' => 'IllegalParam.AddressIpVersion', 'message' => 'The specified parameter AddressIpVersion is invalid.', 'http_code' => 400, 'description' => '指定的参数AddressIpVersion 不符合要求。'],
+ ['code' => 'IllegalParam.Ip', 'message' => 'The specified parameter IP is invalid.', 'http_code' => 400, 'description' => '指定的IP地址格式不符合要求。'],
+ ['code' => 'IllegalParam.Ipv6Address', 'message' => 'The specified parameter Ipv6Address is invalid.', 'http_code' => 400, 'description' => '指定的IPv6地址格式不符合要求。'],
+ ['code' => 'IllegalParam.ResourceAllocateMode', 'message' => 'The param of ResourceAllocateMode is illegal.', 'http_code' => 400, 'description' => '参数ResourceAllocateMode异常。'],
+ ['code' => 'IllegalParam.ResourceReplaceMode', 'message' => 'The param of ResourceReplaceMode is illegal.', 'http_code' => 400, 'description' => '参数ResourceReplaceMode非法。'],
+ ['code' => 'IllegalParamFormat.%s', 'message' => 'The param format of %s is illegal.', 'http_code' => 400, 'description' => '指定的%s格式无效。请检查参数约束,并在修改后重试。'],
+ ['code' => 'IllegalParamLength.%s', 'message' => 'The param length of %s is illegal.', 'http_code' => 400, 'description' => '指定的%s长度无效。请检查参数约束,并在修改后重试。'],
+ ['code' => 'IllegalParamSize.%s', 'message' => 'The param size of %s is illegal.', 'http_code' => 400, 'description' => '指定的%s大小无效。请检查参数约束,并在修改后重试。'],
+ ['code' => 'IllegalTagKeyParam', 'message' => 'IllegalTagKeyParam', 'http_code' => 400, 'description' => 'IllegalTagKeyParam'],
+ ['code' => 'IllegalTagScopeParam', 'message' => 'The tag scope is Illegal.', 'http_code' => 400, 'description' => 'The tag scope is Illegal.'],
+ ['code' => 'IllegalTagValueParam', 'message' => 'The tag value is Illegal.', 'http_code' => 400, 'description' => 'The tag value is Illegal.'],
+ ['code' => 'IncorrectPrivateServiceDomainVerifyState', 'message' => 'The custom domain name has not passed the verification.', 'http_code' => 400, 'description' => '服务自定义域名还未通过验证'],
+ ['code' => 'IncorrectResultSizeDataAccessException', 'message' => 'incorrect result size data access.', 'http_code' => 400, 'description' => '返回了错误的结果'],
+ ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '系统内部错误,请重试。'],
+ ['code' => 'InvalidAcceptLanguage.NotFound', 'message' => 'The specified AcceptLanguage (%s) is invalid. Valid values are (zh-CN), (en-US), (ja) . Only Chinese (zh-CN), English (en-US), and Japanese (ja) are allowed.', 'http_code' => 400, 'description' => 'AcceptLanguage参数无效,有效值:[ zh-CN, en-US, ja ]'],
+ ['code' => 'InvalidAccountStatus.NotEnoughBalance', 'message' => 'Your account does not have enough balance.', 'http_code' => 400, 'description' => '您的账户余额不足。'],
+ ['code' => 'InvalidEndpointId.NotFound', 'message' => 'The specified EndpointId %s does not exist.', 'http_code' => 400, 'description' => '参数EndpointId非法'],
+ ['code' => 'InvalidParam.%s', 'message' => 'The param of %s is invalid.', 'http_code' => 400, 'description' => '参数%s无效。'],
+ ['code' => 'InvalidParam.PolicyDocument', 'message' => 'The parameter of %s is invalid.', 'http_code' => 400, 'description' => '参数%s不合法'."\n"],
+ ['code' => 'InvalidParam.PrivateDnsEnabled', 'message' => 'The parameter of %s is invalid.', 'http_code' => 400, 'description' => '参数%s不合法'],
+ ['code' => 'InvalidParam.PrivateDnsName', 'message' => 'The param of %s is invalid.', 'http_code' => 400, 'description' => '参数%s不合法'],
+ ['code' => 'InvalidPermissionType.NotFound', 'message' => 'The specified PermissionType %s is invalid. Valid values are %s.', 'http_code' => 400, 'description' => '参数PermissionType非法'],
+ ['code' => 'InvalidResourceId.NotFound', 'message' => 'The specified ResourceIds are not found in our records.', 'http_code' => 400, 'description' => 'The specified ResourceIds are not found in our records.'],
+ ['code' => 'InvalidServiceId.NotFound', 'message' => 'The specified ServiceId %s does not exist.', 'http_code' => 400, 'description' => '参数ServiceId非法'],
+ ['code' => 'InvalidServiceName.NotFound', 'message' => 'The specified ServiceName %s does not exist.', 'http_code' => 400, 'description' => '参数ServiceName非法,不存在'],
+ ['code' => 'InvalidStatus.NotFound', 'message' => 'The specified Status %s is invalid. Valid values are %s.', 'http_code' => 400, 'description' => '参数Status非法'],
+ ['code' => 'LoadBalancerHaveNotPrivateLink', 'message' => 'The specified slb does not have support privateLink field.', 'http_code' => 400, 'description' => 'SLB缺失supportPrivateLink字段'],
+ ['code' => 'LoadBalancerNotFound', 'message' => 'The specified load balancer does not exist.', 'http_code' => 400, 'description' => '负载均衡不存在。'],
+ ['code' => 'LoadBalancerNotSupportPrivateLink', 'message' => 'The specified SLB does not support PrivateLink.', 'http_code' => 400, 'description' => '当前负载均衡不支持Privatelink。'],
+ ['code' => 'Mismatch.ResourceType', 'message' => 'The %s is mismatched for %s and %s.', 'http_code' => 400, 'description' => '%s在%s和%s中不匹配。'],
+ ['code' => 'Mismatch.UserIdAndUserArn', 'message' => 'The %s and %s are mismatched.', 'http_code' => 400, 'description' => '参数%s和%s不匹配。'],
+ ['code' => 'MissingParam.%s', 'message' => 'You must specify the parameter %s.', 'http_code' => 400, 'description' => '%s参数未提供。'],
+ ['code' => 'MissingParam.%s', 'message' => 'The param of %s is missing.', 'http_code' => 400, 'description' => '参数%s缺失。'],
+ ['code' => 'MissingParam.ResourceAllocateMode', 'message' => 'The param of %s is missing.', 'http_code' => 400, 'description' => 'ResourceAllocateMode参数缺失。'],
+ ['code' => 'MissingParam.ResourceId', 'message' => 'The param of %s is missing.', 'http_code' => 400, 'description' => '缺少参数ResourceId。'],
+ ['code' => 'MissingParam.UserArn', 'message' => 'The param of UserArn is missing.', 'http_code' => 400, 'description' => '参数UserArn缺失。'],
+ ['code' => 'MissingResourceIdOrTagParam', 'message' => 'The resource id and tag is empty.', 'http_code' => 400, 'description' => 'The resource id and tag is empty.'],
+ ['code' => 'MissingTagKeyParam', 'message' => 'The tag key is empty.', 'http_code' => 400, 'description' => 'The tag key is empty.'],
+ ['code' => 'MissingTagValueParam', 'message' => 'The tag value is empty.', 'http_code' => 400, 'description' => 'The tag value is empty.'],
+ ['code' => 'NeedOpenProduct', 'message' => 'The product is not activated.', 'http_code' => 400, 'description' => '产品未开通'],
+ ['code' => 'NlbNotSupportServiceResourceReplace', 'message' => 'The specified nlb is not support service resource replace.', 'http_code' => 400, 'description' => 'nlb类型资源不支持服务资源调度'],
+ ['code' => 'NoOperationPermission', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 400, 'description' => '无权进行此次操作。'],
+ ['code' => 'NoPermission', 'message' => 'You are not authorized to access the specified API operation.', 'http_code' => 400, 'description' => '没有当前操作权限。'],
+ ['code' => 'OperationDenied.AddressIpVersionNotSupportSpecifyIpv6', 'message' => 'The AddressIpVersion of the endpoint does not support specifying IPv6 address.', 'http_code' => 400, 'description' => '终端节点的AddressIpVersion不支持指定IPv6地址。'],
+ ['code' => 'OperationDenied.CurrentResourceAutoAllocated', 'message' => 'The operation is not allowed because of CurrentResourceAutoAllocated.', 'http_code' => 400, 'description' => '操作被拒绝,原因是可用区当前资源未关闭自动分配。'],
+ ['code' => 'OperationDenied.EndpointPolicyNotSupport', 'message' => 'The operation is not allowed because of EndpointPolicyNotSupport.', 'http_code' => 400, 'description' => '操作不允许,终端节点策略不支持'],
+ ['code' => 'OperationDenied.EndpointProtected', 'message' => 'The operation is not allowed because of EndpointProtected.', 'http_code' => 400, 'description' => '终端节点开启托管保护,不允许操作。'],
+ ['code' => 'OperationDenied.EndpointServiceNotSupportDualstack', 'message' => 'The specified endpoint service does not support dualstack.', 'http_code' => 400, 'description' => '终端节点服务不支持双栈。'],
+ ['code' => 'OperationDenied.EndpointTypeNotSupportDualstack', 'message' => 'The specified endpoint type does not support dualstack, only the Interface and GatewayLoadBalancer types support dual stack.', 'http_code' => 400, 'description' => '终端节点类型不支持双栈,仅Interface、GatewayLoadBalancer类型支持双栈。'],
+ ['code' => 'OperationDenied.NoAvailableServiceResource', 'message' => 'The operation is not allowed because of no available resource in some zones of vpc-endpoint-service.', 'http_code' => 400, 'description' => '不允许操作,部分终端节点服务的可用区中没有资源。'],
+ ['code' => 'OperationDenied.NoAvailableServiceResource', 'message' => 'The operation is not allowed because of there are no resource in some available zones of endpoint service.', 'http_code' => 400, 'description' => '不允许操作,因为终端节点服务的部分可用区没有资源。'],
+ ['code' => 'OperationDenied.NotSupportDualStackSwitchToIpv4', 'message' => 'AddressIpVersion does not support switching from DualStack to IPv4.', 'http_code' => 400, 'description' => '终端节点AddressIpVersion不支持双栈切单栈'],
+ ['code' => 'OperationDenied.PrivateDomainNotSupport', 'message' => 'The operation is not allowed because of PrivateDomainNotSupport.', 'http_code' => 400, 'description' => '由于%s,操作不支持'],
+ ['code' => 'OperationDenied.PrivateDomainStatusNotSupport', 'message' => 'The operation is not allowed because of %s.', 'http_code' => 400, 'description' => '由于%s,操作不支持'],
+ ['code' => 'OperationDenied.RamPolicyNotSupport', 'message' => 'The operation is not allowed because of RamPolicyNotSupport.', 'http_code' => 400, 'description' => '不允许操作,因为不支持ram策略。'],
+ ['code' => 'OperationDenied.ResourceTypeNotSupportDualStack', 'message' => 'The specified resource type does not support dualstack.', 'http_code' => 400, 'description' => '服务后端资源类型不支持双栈。'],
+ ['code' => 'OperationDenied.ServiceResourceIpVersionMismatch', 'message' => 'The endpoint service and service resource AddressIpVersion do not match.', 'http_code' => 400, 'description' => '终端节点服务与后端资源AddressIpVersion不匹配'],
+ ['code' => 'OperationDenied.VSwitchNotSupportDualstack', 'message' => 'The specified VSwitch does not support dualstack.', 'http_code' => 400, 'description' => 'VSwitch不支持双栈。'],
+ ['code' => 'OperationDenied.ZoneAffinityNotSupport', 'message' => 'The operation is not allowed because of zone affinity not support.', 'http_code' => 400, 'description' => '不允许操作,因为不支持域名就近解析。'],
+ ['code' => 'OrderOpend', 'message' => 'You have already activated the service. Go to the console to start using it.', 'http_code' => 400, 'description' => '您已开通,请前往控制台使用。'],
+ ['code' => 'ParamDescriptionInvalid', 'message' => 'The specified Description is invalid.', 'http_code' => 400, 'description' => '参数Description非法'],
+ ['code' => 'ParamEndpointIdInvalid', 'message' => 'The specified EndpointId is invalid.', 'http_code' => 400, 'description' => '参数EndpointId非法'],
+ ['code' => 'ParamEndpointNameInvalid', 'message' => 'The specified EndpointName is invalid.', 'http_code' => 400, 'description' => '参数EndpointName非法'],
+ ['code' => 'ParamSecurityGroupIdInvalid', 'message' => 'The specified SecurityGroupId%s is invalid.', 'http_code' => 400, 'description' => '参数SecurityGroupId非法'],
+ ['code' => 'ParamServiceIdInvalid', 'message' => 'The specified ServiceId is invalid.', 'http_code' => 400, 'description' => '参数ServiceId非法'],
+ ['code' => 'ParamServiceNameInvalid', 'message' => 'The specified ServiceName is invalid.', 'http_code' => 400, 'description' => '参数ServiceName非法'],
+ ['code' => 'ParamVpcIdInvalid', 'message' => 'The specified VpcId is invalid.', 'http_code' => 400, 'description' => '参数VpcId非法'],
+ ['code' => 'ParamVSwitchIdInvalid', 'message' => 'The specified VSwitchId is invalid.', 'http_code' => 400, 'description' => '参数VSwitchId非法'],
+ ['code' => 'PrivateDomainAlreadyExistsInTheVpc', 'message' => 'The custom domain name already exists in the VPC.', 'http_code' => 400, 'description' => '此vpc中已存在相同的自定义域名。'],
+ ['code' => 'QuotaExceed.TagsPerResource', 'message' => 'The maximum number of tags for each resource is exceeded', 'http_code' => 400, 'description' => 'The maximum number of tags for each resource is exceeded'],
+ ['code' => 'QuotaExceeded.epZonePerEndpoint', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '用户单个endpoint可用区限制'],
+ ['code' => 'QuotaExceeded.totalEpPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '用户单个VPC终端节点数量限额。'],
+ ['code' => 'QuotaExceeded.totalIdleEndpoint', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '用户空闲未连接endpoint总数限制'],
+ ['code' => 'QuotaMisMatched', 'message' => 'The resource you applied for has exceeded the quota.', 'http_code' => 400, 'description' => '申请的资源超过配额'],
+ ['code' => 'RegionNotFound', 'message' => 'The specified Region is not found.', 'http_code' => 400, 'description' => '当前产品不支持该地域。'],
+ ['code' => 'ResourceAutoAllocateViolation', 'message' => 'The specified endpoint service must have at least one automatically allocated resource in one zone.', 'http_code' => 400, 'description' => '一个可用区至少包含一个可自动分配的资源'],
+ ['code' => 'ResourceNotEnough.VSwitchIp', 'message' => 'The specified resource of VSwitchIp is not enough.', 'http_code' => 400, 'description' => 'vswitchip数量不够'],
+ ['code' => 'ResourceNotFound.ALB', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => '资源%s不存在。'],
+ ['code' => 'SecurityGroupExist', 'message' => 'The specified security group already exists.', 'http_code' => 400, 'description' => '当前安全组已经存在。'],
+ ['code' => 'SecurityGroupNotFound', 'message' => 'The specified security group does not exist.', 'http_code' => 400, 'description' => '当前安全组未找到。'],
+ ['code' => 'SecurityGroupTypeNotSupport', 'message' => 'The specified security group type is not supported.', 'http_code' => 400, 'description' => '该安全组类型不支持'],
+ ['code' => 'SecurityGroupTypeOnlySingleTypeSupporteded', 'message' => 'The specified security group only support one type.', 'http_code' => 400, 'description' => '安全组只支持一种类型'],
+ ['code' => 'ServiceResourceNotSupportDowngrade', 'message' => 'The service is not support downgrade.', 'http_code' => 400, 'description' => '终端节点服务资源不支持降级'],
+ ['code' => 'ServiceResourceNotSupportIpv6', 'message' => 'The resource is not support ipv6.', 'http_code' => 400, 'description' => '终端节点服务不支持IPv6'],
+ ['code' => 'SpecifiedAlbNotSupport', 'message' => 'The specified alb %s is not supported.', 'http_code' => 400, 'description' => '指定的alb实例不支持。'],
+ ['code' => 'SystemBusy', 'message' => 'System is busy. Please try again later.', 'http_code' => 400, 'description' => '系统繁忙,请稍后再试。'],
+ ['code' => 'TagInfoNotExist', 'message' => 'Tag info not exist', 'http_code' => 400, 'description' => 'Tag info不存在'],
+ ['code' => 'TagPermissionDenied', 'message' => 'Tag Permission Denied', 'http_code' => 400, 'description' => 'Tag Permission Denied'],
+ ['code' => 'UnsupportedFeature.PrivateDnsName', 'message' => 'The feature of %s is not supported.', 'http_code' => 400, 'description' => '特性%s不支持'],
+ ['code' => 'UnsupportedFeature.VpcNat', 'message' => 'The feature of VpcNat is not supported.', 'http_code' => 400, 'description' => '不支持VpcNat类型'],
+ ['code' => 'UpdateBandWidthUnSupported', 'message' => 'Bandwidth updates are not supported for this service.', 'http_code' => 400, 'description' => '此服务不允许更新带宽'],
+ ['code' => 'UserARNNotEqualUserId', 'message' => 'The userARN is not equal userId.', 'http_code' => 400, 'description' => 'UserId非空时,userARN需要等于userId'],
+ ['code' => 'UserIdAndUserARNEmpty', 'message' => 'The userId and userARN is empty.', 'http_code' => 400, 'description' => 'UserId和UserARN都为空'],
+ ['code' => 'VpcNatServiceException', 'message' => 'vpcNat Service Exception', 'http_code' => 400, 'description' => 'vpc nat服务异常'],
+ ['code' => 'VpcNatServiceException', 'message' => 'The vpcNat service is busy', 'http_code' => 400, 'description' => 'vpcNat服务繁忙,请稍后再试'],
+ ['code' => 'VpcNotFound', 'message' => 'The specified VPC does not exist.', 'http_code' => 400, 'description' => '当前VPC未找到。'],
+ ['code' => 'VpcTunnelNotFound', 'message' => 'The specified VPC tunnel does not exist.', 'http_code' => 400, 'description' => '当前VPC信道未找到。'],
+ ['code' => 'VSwitchNotFound', 'message' => 'The specified vSwitch does not exist.', 'http_code' => 400, 'description' => '当前虚拟交换机未找到。'],
+ ['code' => 'VSwitchStatusNotAllowed', 'message' => 'The specified vswitch status is not Available.', 'http_code' => 400, 'description' => '交换机状态还未可用'],
+ ['code' => 'ZoneIdNotSupportedByEndpointService', 'message' => 'The specified NetworkInterface.%s.ZoneId %s is not supported by endpoint service %s. Available Zones are %s.', 'http_code' => 400, 'description' => "\n"
+ .'参数NetworkInterface.N.ZoneId指定值,不在endpoint service支持的可用区里。'],
+ ['code' => 'ZoneIdNotSupportedByPrivateLink', 'message' => 'The specified Resource.%s.ZoneId %s is not supported by PrivateLink service. Available Zones are %s.', 'http_code' => 400, 'description' => 'PrivateLink服务,不支持参数Resource.N.ZoneId指定的可用区'],
+ ['code' => 'ZoneOperationDenied', 'message' => 'You cannot operate the specified zone.', 'http_code' => 400, 'description' => '可用区不允许操作'],
+ ],
+ 'changeSet' => [],
+ 'ram' => [
+ 'productCode' => 'PrivateLink',
+ 'productName' => '私网连接',
+ 'ramCodes' => ['privatelink'],
+ 'ramLevel' => '资源级',
+ 'ramConditions' => [
+ [
+ 'name' => 'privatelink:VpcEndpointServiceId',
+ 'schema' => ['type' => 'STRING', 'description' => 'vpcendpointservice的id'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'apiName' => 'DetachResourceFromVpcEndpointService',
+ 'description' => '移除终端节点服务中的服务资源',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkW2XK1B',
+ 'ramAction' => [
+ 'action' => 'privatelink:DetachResourceFromVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ListVpcEndpointServiceUsers',
+ 'description' => '查询终端节点服务的服务白名单',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServiceUsers',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
- 'tenantRelevance' => 'publicInformation',
],
- 'parameters' => [
- [
- 'name' => 'ResourceId',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '资源ID列表。最多支持50个资源ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ep-hp3i05294c2****',
- ],
- 'required' => true,
+ [
+ 'apiName' => 'ListVpcEndpointServices',
+ 'description' => '查询终端节点服务列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServices',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/*'],
],
],
- [
- 'name' => 'TagKey',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '要解绑的标签键列表。最多支持20个标签键。',
- 'type' => 'array',
- 'items' => [
- 'description' => '要解绑的标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'RemoveUserFromVpcEndpointService',
+ 'description' => '移除服务白名单',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:RemoveUserFromVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
- [
- 'name' => 'ResourceType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- ."\n"
- .'- **vpcendpoint**:终端节点。 '."\n"
- ."\n"
- .'- **vpcendpointservice**:终端节点服务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpcendpoint',
+ ],
+ [
+ 'apiName' => 'GetVpcEndpointServiceAttribute',
+ 'description' => '获取终端节点服务属性信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:GetVpcEndpointServiceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
- [
- 'name' => 'All',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否解绑资源上全部的标签,取值:'."\n"
- ."\n"
- .'- **true**:解绑资源上的全部标签。'."\n"
- ."\n"
- .'- **false**:不解绑全部标签。'."\n"
- ."\n"
- .'> 如果同时设置了**TagKey**和本参数,则本参数不生效。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
+ ],
+ [
+ 'apiName' => 'UpdateVpcEndpointAttribute',
+ 'description' => '修改终端节点的属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
- [
- 'name' => 'DryRun',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- ."\n"
- .'- **true**:发送检查请求,不会解绑标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- ."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回`HTTP 2xx`状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'RemoveZoneFromVpcEndpoint',
+ 'description' => '删除终端节点的可用区',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:RemoveZoneFromVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '为指定的资源列表统一创建并绑定标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:TagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpoint/{#vpcendpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '地域ID。您可以通过调用[describeregions](~~36063~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'AttachSecurityGroupToVpcEndpoint',
+ 'description' => '将终端节点加入安全组',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:AttachSecurityGroupToVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '地域ID。您可以通过调用[describeregions](~~36063~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'ListVpcEndpointSecurityGroups',
+ 'description' => '查询终端节点已加入的安全组',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointSecurityGroups',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0',
- ],
- ],
+ [
+ 'apiName' => 'DeleteVpcEndpointService',
+ 'description' => '删除终端节点服务',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'privatelink:DeleteVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'TagInfoNotExist',
- 'errorMessage' => 'Tag info not exist',
- ],
- [
- 'errorCode' => 'DuplicatedTagKey',
- 'errorMessage' => 'The tag keys is duplicated.',
- ],
- [
- 'errorCode' => 'IllegalTagKeyParam',
- 'errorMessage' => 'IllegalTagKeyParam',
- ],
- [
- 'errorCode' => 'IllegalTagValueParam',
- 'errorMessage' => 'The tag value is Illegal.',
- ],
- [
- 'errorCode' => 'InvalidResourceId.NotFound',
- 'errorMessage' => 'The specified ResourceIds are not found in our records.',
+ [
+ 'apiName' => 'ListVpcEndpointConnections',
+ 'description' => '查询终端节点连接',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointConnections',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]',
- 'title' => '为指定的资源列表统一解绑标签',
- ],
- 'ListTagResources' => [
- 'summary' => '当您需要查询资源标签时,可调用ListTagResources接口,查询资源已经绑定的标签列表。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DisableVpcEndpointZoneConnection',
+ 'description' => '断开终端节点可用区连接',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DisableVpcEndpointZoneConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ListVpcEndpointServiceResources',
+ 'description' => '查询终端节点服务中的服务资源',
'operationType' => 'get',
- ],
- 'parameters' => [
- [
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '资源ID列表。最多支持50个资源ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '服务资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ep-hp3i05294c2d2d******',
- ],
- 'required' => false,
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServiceResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- ."\n"
- .'- **vpcendpoint**:终端节点。 '."\n"
- ."\n"
- .'- **vpcendpointservice**:终端节点服务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpcendpoint',
+ ],
+ [
+ 'apiName' => 'CreateVpcEndpoint',
+ 'description' => '创建终端节点',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:CreateVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'privatelink:VpcEndpointServiceId', 'validationType' => 'always'],
],
- ],
- [
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '资源的标签。',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/*'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'],
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
+ ],
+ [
+ 'apiName' => 'DeleteVpcEndpoint',
+ 'description' => '删除终端节点',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'privatelink:DeleteVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '资源所属的地域ID。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'CheckProductOpen',
+ 'description' => '查询是否已开通私网连接',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'privatelink:CheckProductOpen',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- ."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- ."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
+ ],
+ [
+ 'apiName' => 'AddUserToVpcEndpointService',
+ 'description' => '添加服务白名单',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:AddUserToVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- 'TagResources' => [
- 'description' => '绑定标签的资源信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '绑定标签的资源信息。',
- 'type' => 'object',
- 'properties' => [
- 'TagKey' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'endpoint',
- ],
- 'TagValue' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'ep-hp3i05294c2d2d******',
- ],
- 'ResourceType' => [
- 'description' => '资源类型。取值:'."\n"
- ."\n"
- .'- **vpcendpoint**:终端节点。 '."\n"
- ."\n"
- .'- **vpcendpointservice**:终端节点服务。',
- 'type' => 'string',
- 'example' => 'vpcendpoint',
- ],
- ],
- ],
- ],
- 'NextToken' => [
- 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n"
- ."\n"
- .'- 第一次查询和没有下一次查询时,均无需填写。'."\n"
- ."\n"
- .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。',
- 'type' => 'string',
- 'example' => 'caeba0bbb2be03f84eb48b699f0a4883',
- ],
- ],
+ [
+ 'apiName' => 'UpdateVpcEndpointConnectionAttribute',
+ 'description' => '修改终端节点连接的属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointConnectionAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'DuplicatedTagKey',
- 'errorMessage' => 'The tag keys is duplicated.',
- ],
- [
- 'errorCode' => 'MissingTagKeyParam',
- 'errorMessage' => 'The tag key is empty.',
- ],
- [
- 'errorCode' => 'MissingTagValueParam',
- 'errorMessage' => 'The tag value is empty.',
- ],
- [
- 'errorCode' => 'MissingResourceIdOrTagParam',
- 'errorMessage' => 'The resource id and tag is empty.',
- ],
- [
- 'errorCode' => 'IllegalTagKeyParam',
- 'errorMessage' => 'IllegalTagKeyParam',
- ],
- [
- 'errorCode' => 'IllegalTagValueParam',
- 'errorMessage' => 'The tag value is Illegal.',
+ [
+ 'apiName' => 'EnableVpcEndpointConnection',
+ 'description' => '接受终端节点连接请求',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:EnableVpcEndpointConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"TagResources\\": [\\n {\\n \\"TagKey\\": \\"endpoint\\",\\n \\"TagValue\\": \\"FinanceJoshua\\",\\n \\"ResourceId\\": \\"ep-hp3i05294c2d2d******\\",\\n \\"ResourceType\\": \\"vpcendpoint\\"\\n }\\n ],\\n \\"NextToken\\": \\"caeba0bbb2be03f84eb48b699f0a4883\\"\\n}","type":"json"}]',
- 'title' => '查询资源已经绑定的标签列表',
- 'description' => '- 请求中至少指定参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**),以确定检索对象。'."\n"
- ."\n"
- .'- **Tag.N**是资源的标签,由一个键值对组成。仅指定**Tag.N.Key**时,则返回该标签键关联的所有标签值。仅指定**Tag.N.Value**会报错。'."\n"
- ."\n"
- .'- 如果您同时指定**Tag.N**和**ResourceId.N**筛选标签,则**ResourceId.N**必须满足所有输入的标签键值对。'."\n"
- ."\n"
- .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
- ],
- 'TagResources' => [
- 'summary' => '当您需要标识一个或多个终端节点或终端节点服务时,可调用TagResources接口,为指定的资源列表统一绑定标签。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateVpcEndpointServiceAttribute',
+ 'description' => '修改终端节点服务的属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointServiceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ChangeResourceGroup',
+ 'description' => '更改资源组',
'operationType' => 'update',
- ],
- 'parameters' => [
- [
- 'name' => 'ResourceId',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '资源ID列表。最多支持50个资源ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ep-ba16baebdf35641a1****',
- ],
- 'required' => true,
+ 'ramAction' => [
+ 'action' => 'privatelink:ChangeResourceGroup',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
- [
- 'name' => 'Tag',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '资源的标签。',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => '实例的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n"
- ."\n"
- .'最多支持64个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '实例的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n"
- ."\n"
- .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'FinanceJoshua',
- ],
- ],
- 'required' => false,
- ],
- 'required' => true,
+ ],
+ [
+ 'apiName' => 'DisableVpcEndpointConnection',
+ 'description' => '拒绝终端节点的连接请求',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DisableVpcEndpointConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
- [
- 'name' => 'ResourceType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '资源类型。取值:'."\n"
- ."\n"
- .'- **vpcendpoint**:终端节点。 '."\n"
- ."\n"
- .'- **vpcendpointservice**:终端节点服务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpcendpoint',
+ ],
+ [
+ 'apiName' => 'ListVpcEndpointZones',
+ 'description' => '查询终端节点可用区列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointZones',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
- [
- 'name' => 'DryRun',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否只预检此次请求。取值:'."\n"
- .'- **true**:发送检查请求,不会创建并绑定标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n"
- .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'CreateVpcEndpointService',
+ 'description' => '创建终端节点服务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:CreateVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/*'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'UpdateVpcEndpointZoneConnectionResourceAttribute',
+ 'description' => '替换终端节点可用区连接服务资源',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointZoneConnectionResourceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
],
],
- [
- 'name' => 'ClientToken',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '客户端Token,用于保证请求的幂等性。'."\n"
- ."\n"
- .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符。'."\n"
- ."\n"
- .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ ],
+ [
+ 'apiName' => 'DetachSecurityGroupFromVpcEndpoint',
+ 'description' => '将终端节点移除安全组',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:DetachSecurityGroupFromVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
],
],
- [
- 'name' => 'RegionId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '私网连接实例所在的地域ID。'."\n"
- ."\n"
- .'您可以通过调用[DescribeRegions](~~120468~~)接口查询地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-hangzhou',
+ ],
+ [
+ 'apiName' => 'EnableVpcEndpointZoneConnection',
+ 'description' => '允许终端节点可用区连接',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:EnableVpcEndpointZoneConnection',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0',
- ],
- ],
+ [
+ 'apiName' => 'OpenPrivateLinkService',
+ 'description' => '开启私网连接服务',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'privatelink:OpenPrivateLinkService',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'MissingTagKeyParam',
- 'errorMessage' => 'The tag key is empty.',
- ],
- [
- 'errorCode' => 'MissingTagValueParam',
- 'errorMessage' => 'The tag value is empty.',
- ],
- [
- 'errorCode' => 'IllegalTagKeyParam',
- 'errorMessage' => 'IllegalTagKeyParam',
- ],
- [
- 'errorCode' => 'IllegalTagValueParam',
- 'errorMessage' => 'The tag value is Illegal.',
- ],
- [
- 'errorCode' => 'DuplicatedTagKey',
- 'errorMessage' => 'The tag keys is duplicated.',
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '为指定的资源列表统一解绑标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UntagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
- [
- 'errorCode' => 'QuotaExceed.TagsPerResource',
- 'errorMessage' => 'The maximum number of tags for each resource is exceeded',
+ ],
+ ],
+ [
+ 'apiName' => 'ListVpcEndpointServicesByEndUser',
+ 'description' => '查询可以关联的终端节点服务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpointServicesByEndUser',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [
+ ['conditionKey' => 'privatelink:VpcEndpointServiceId', 'validationType' => 'conditional'],
],
- [
- 'errorCode' => 'InvalidResourceId.NotFound',
- 'errorMessage' => 'The specified ResourceIds are not found in our records.',
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#AccountId}:vpcendpointservice/*'],
],
],
],
- 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</TagResourcesResponse>","errorExample":""}]',
- 'title' => '为指定的资源列表统一创建并绑定标签',
- 'description' => '> 单个实例最多可绑定20条标签。绑定标签前,阿里云会校验资源已有标签数量,超过限制值会返回报错信息。',
- ],
- 'ChangeResourceGroup' => [
- 'summary' => '更改资源组。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'GetVpcEndpointAttribute',
+ 'description' => '获取终端节点属性信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:GetVpcEndpointAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREprivatelinkEUMK18',
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '查询资源已经绑定的标签列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListTagResources',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpoint/{#vpcendpointId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'ResourceType',
- 'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型。取值:'."\n"
- ."\n"
- .'- **VpcEndpoint**(默认值):终端节点。'."\n"
- ."\n"
- .'- **VpcEndpointService**:终端节点服务。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'VpcEndpoint',
- 'default' => 'VpcEndpoint',
- 'enum' => [
- 'VpcEndpoint',
- 'VpcEndpointService',
- ],
+ [
+ 'apiName' => 'ListVpcEndpoints',
+ 'description' => '查询终端节点列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'privatelink:ListVpcEndpoints',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
- [
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '资源Id',
- 'description' => '待修改资源组的私网连接资源ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ep-hp3i05294c2d2d****',
+ ],
+ [
+ 'apiName' => 'UpdateVpcEndpointServiceResourceAttribute',
+ 'description' => '修改终端节点服务资源的属性',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:UpdateVpcEndpointServiceResourceAttribute',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
],
],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '目标资源组',
- 'description' => '要替换的目标资源组的ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-acfmy*****',
+ ],
+ [
+ 'apiName' => 'VerifyVpcEndpointServicePrivateDns',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:VerifyVpcEndpointServicePrivateDns',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B',
- ],
- ],
+ [
+ 'apiName' => 'AddZoneToVpcEndpoint',
+ 'description' => '为终端节点添加可用区',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'privatelink:AddZoneToVpcEndpoint',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'NoPermission.ChangeResourceGroup',
- 'errorMessage' => 'You are not authorized to change resourcegroup',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceRegionId',
- 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceId',
- 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceGroupId',
- 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'InvalidResourceGroup',
- 'errorMessage' => 'The specified ResourceGroupId is invalid',
- ],
- [
- 'errorCode' => 'SystemError',
- 'errorMessage' => 'A system error occurred while processing your request',
- ],
- [
- 'errorCode' => 'ResourceNotFound',
- 'errorMessage' => ' The specified resource is not found',
+ [
+ 'apiName' => 'AttachResourceToVpcEndpointService',
+ 'description' => '为终端节点服务添加服务资源',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'privatelink:AttachResourceToVpcEndpointService',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'product' => 'PrivateLink', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","type":"json"}]',
- 'title' => '更改资源组',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'privatelink.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2',
- 'endpoint' => 'privatelink.ap-northeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'privatelink.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-2',
- 'endpoint' => 'privatelink.ap-southeast-2.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'privatelink.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'privatelink.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-6',
- 'endpoint' => 'privatelink.ap-southeast-6.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'privatelink.ap-southeast-7.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'privatelink.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'privatelink.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fuzhou',
- 'endpoint' => 'privatelink.cn-fuzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-guangzhou',
- 'endpoint' => 'privatelink.cn-guangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'privatelink.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-heyuan',
- 'endpoint' => 'privatelink.cn-heyuan.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'privatelink.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote',
- 'endpoint' => 'privatelink.cn-huhehaote.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-nanjing',
- 'endpoint' => 'privatelink.cn-nanjing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao',
- 'endpoint' => 'privatelink.cn-qingdao.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'privatelink.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'privatelink.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan-lr',
- 'endpoint' => 'privatelink.cn-wuhan-lr.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'privatelink.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'privatelink.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-jva',
- 'endpoint' => 'privatelink.cn-zhengzhou-jva.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'privatelink.us-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'privatelink.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'privatelink.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'na-south-1',
- 'endpoint' => 'privatelink.na-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'privatelink.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'privatelink.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-east-1',
- 'endpoint' => 'privatelink.me-east-1.aliyuncs.com',
],
- [
- 'regionId' => 'ap-south-1',
- 'endpoint' => 'privatelink.ap-south-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'privatelink.me-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-1',
- 'endpoint' => 'privatelink.cn-beijing-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'privatelink.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'privatelink.cn-shenzhen-finance-1.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:alb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:nlb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'],
+ ['validationType' => 'conditional', 'resourceType' => 'NatGateway', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/*'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpoint/{#vpcendpointId}'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:*:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'resourceType' => 'SecurityGroup', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:securitygroup/{#SecurityGroupId}'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#vpcendpointserviceId}'],
+ ['validationType' => 'always', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/*'],
+ ['validationType' => 'always', 'resourceType' => 'VSwitch', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}'],
+ ['validationType' => 'always', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'],
],
],
];