From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/privatelink/2020-04-15/api-docs.php | 11587 +++++++++-------------- 1 file changed, 4506 insertions(+), 7081 deletions(-) (limited to 'data/zh_cn/privatelink/2020-04-15') 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,269 +1,175 @@ '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'], ], - '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****', - ], - ], - ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => '服务白名单账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '132193271328****'], ], - ], - '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.', - ], + [ + 'name' => 'ServiceId', + 'in' => 'query', + 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\",\\n \\"OrderId\\": \\"3245****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\n 3245****\\n","errorExample":""}]', - 'title' => '开启私网连接服务', - ], - 'CheckProductOpen' => [ - 'summary' => '调用CheckProductOpen接口,查询是否已开通私网连接。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => "\n" + .'是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会添加服务白名单。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelink7YBDSO', + [ + '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:*::*'], ], - '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' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'NeedOpenProduct', - 'errorMessage' => 'The product is not activated.', + ['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\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n true\\n","errorExample":""}]', - 'title' => '查询是否已开通私网连接', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'DescribeRegions' => [ - 'summary' => '调用DescribeRegions接口,查看私网连接可选的地域和可用区。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'AddZoneToVpcEndpoint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -272,55 +178,63 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkX3ZDB5', - ], - 'autoTest' => false, + 'operationType' => 'create', + 'abilityTreeCode' => '16161', + 'abilityTreeNodes' => ['FEATUREprivatelinkGBNC0X'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + '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。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '要添加可用区的终端节点所属的地域ID。'."\n" + ."\n" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ServiceResourceType', + 'name' => 'Ipv6Address', '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' => '要添加的可用区中的终端节点网卡的IPv6地址。', 'type' => 'string', 'required' => false, 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****'], ], ], 'responses' => [ @@ -328,77 +242,72 @@ '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' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], + '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":"\\n A355E857-97F5-5054-9AC8-BCE064939652\\n \\n \\n cn-hangzhou\\n privatelink.cn-hangzhou.aliyuncs.com\\n 华东1(杭州)\\n \\n \\n cn-shanghai\\n privatelink.cn-shanghai.aliyuncs.com\\n 华东2(上海)\\n \\n \\n cn-nanjing\\n privatelink.cn-nanjing.aliyuncs.com\\n 华东5(南京-本地地域)\\n \\n \\n cn-qingdao\\n privatelink.cn-qingdao.aliyuncs.com\\n 华北1(青岛)\\n \\n \\n cn-beijing\\n privatelink.cn-beijing.aliyuncs.com\\n 华北2(北京)\\n \\n \\n cn-zhangjiakou\\n privatelink.cn-zhangjiakou.aliyuncs.com\\n 华北3(张家口)\\n \\n \\n cn-huhehaote\\n privatelink.cn-huhehaote.aliyuncs.com\\n 华北5(呼和浩特)\\n \\n \\n cn-wulanchabu\\n privatelink.cn-wulanchabu.aliyuncs.com\\n 华北6(乌兰察布)\\n \\n \\n cn-shenzhen\\n privatelink.cn-shenzhen.aliyuncs.com\\n 华南1(深圳)\\n \\n \\n cn-heyuan\\n privatelink.cn-heyuan.aliyuncs.com\\n 华南2(河源)\\n \\n \\n cn-guangzhou\\n privatelink.cn-guangzhou.aliyuncs.com\\n 华南3(广州)\\n \\n \\n cn-chengdu\\n privatelink.cn-chengdu.aliyuncs.com\\n 西南1(成都)\\n \\n \\n cn-hongkong\\n privatelink.cn-hongkong.aliyuncs.com\\n 中国香港\\n \\n \\n ap-southeast-1\\n privatelink.ap-southeast-1.aliyuncs.com\\n 新加坡\\n \\n \\n ap-southeast-2\\n privatelink.ap-southeast-2.aliyuncs.com\\n 澳大利亚(悉尼)\\n \\n \\n ap-southeast-3\\n privatelink.ap-southeast-3.aliyuncs.com\\n 马来西亚(吉隆坡)\\n \\n \\n ap-southeast-5\\n privatelink.ap-southeast-5.aliyuncs.com\\n 印度尼西亚(雅加达)\\n \\n \\n ap-northeast-1\\n privatelink.ap-northeast-1.aliyuncs.com\\n 日本(东京)\\n \\n \\n eu-central-1\\n privatelink.eu-central-1.aliyuncs.com\\n 德国(法兰克福)\\n \\n \\n eu-west-1\\n privatelink.eu-west-1.aliyuncs.com\\n 英国(伦敦)\\n \\n \\n us-west-1\\n privatelink.us-west-1.aliyuncs.com\\n 美国(硅谷)\\n \\n \\n us-east-1\\n privatelink.us-east-1.aliyuncs.com\\n 美国(弗吉尼亚)\\n \\n \\n ap-south-1\\n privatelink.ap-south-1.aliyuncs.com\\n 印度(孟买)\\n \\n \\n","errorExample":""}]', - 'title' => '查看可选的地域和可用区', + 'errorCodes' => [ + 400 => [ + ['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地址格式不符合要求。'], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '为终端节点添加可用区', + 'summary' => '调用AddZoneToVpcEndpoint接口,为终端节点添加可用区。', + 'description' => '- **AddZoneToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未添加完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的状态:'."\n" + ."\n" + .' - 当终端节点可用区处于**Creating**状态时,表示终端节点可用区正在添加中。'."\n" + .' - 当在终端节点中可以查询到该可用区时,表示终端节点可用区添加完成。'."\n" + ."\n" + .'- **AddZoneToVpcEndpoint**接口不支持给同一个终端节点实例并发添加可用区。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeZones' => [ - 'summary' => '调用DescribeZones接口,查询指定地域中可用区的列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + '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":"\\n 0c593ea1-3bea-11e9-b96b-88e9fe637760\\n","errorExample":""}]', + ], + 'AttachResourceToVpcEndpointService' => [ + 'summary' => '调用AttachResourceToVpcEndpointService接口,为终端节点服务添加服务资源。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -407,56 +316,65 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkVQ750H', - ], - 'autoTest' => false, + 'abilityTreeCode' => '16162', + 'abilityTreeNodes' => ['FEATUREprivatelinkZR0ZOX'], ], '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-hangzhou'], ], [ - 'name' => 'ServiceResourceType', + 'name' => 'ResourceType', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => 'PrivateLink在某个地域可用区支持的情况,取决于后端服务资源类型。在查询PrivateLink支持的可用区列表时可指定服务资源类型,取值如下:'."\n" - ."\n" - .'- **slb**(默认):表示服务资源类型为传统型负载均衡CLB(Classic Load Balancer)。'."\n" - .'- **alb**:表示服务资源类型为应用型负载均衡ALB(Application Load Balancer)。'."\n" - .'- **nlb** :表示服务资源类型为网络型负载均衡NLB(Network Load Balancer )。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'nlb' => 'nlb', - 'alb' => 'alb', - 'slb' => 'slb', - ], - 'example' => 'slb', - ], + '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' => 'ResourceId', + 'in' => 'query', + '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。您可以通过调用[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-hangzhou'], ], ], 'responses' => [ @@ -464,577 +382,311 @@ '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' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'], ], + '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":"\\r\\n 6FEA0CF3-D3B9-43E5-A304-D217037876A8\\r\\n \\r\\n \\r\\n cn-hangzhou-b\\r\\n 华东 1 可用区 B\\r\\n \\r\\n \\r\\n cn-hangzhou-f\\r\\n 华东 1 可用区 F\\r\\n \\r\\n \\r\\n cn-hangzhou-g\\r\\n 华东 1 可用区 G\\r\\n \\r\\n \\r\\n cn-hangzhou-h\\r\\n 华东 1 可用区 H\\r\\n \\r\\n \\r\\n cn-hangzhou-i\\r\\n 华东 1 可用区 I\\r\\n \\r\\n \\r\\n cn-hangzhou-j\\r\\n 华东 1 可用区 J\\r\\n \\r\\n \\r\\n cn-hangzhou-k\\r\\n 华东 1 可用区 K\\r\\n \\r\\n \\r\\n","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' => ' ', - ], - 'CreateVpcEndpointService' => [ - 'summary' => '调用CreateVpcEndpointService接口,创建终端节点服务。', - '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', + ], + 'AttachSecurityGroupToVpcEndpoint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '16165', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkW2XK1B', - ], + 'operationType' => 'update', + 'abilityTreeCode' => '16163', + 'abilityTreeNodes' => ['FEATUREprivatelink57DP0F'], ], '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" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'ClientToken', + 'name' => 'SecurityGroupId', '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' => '要加入的安全组的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'sg-hp3c8qj1tyct90ej****'], ], [ - 'name' => 'DryRun', + 'name' => 'EndpointId', 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求,取值:'."\n" - ."\n" - .'- **true**:发送检查请求,不会创建资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - ."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '要加入安全组的终端节点的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'ep-hp33b2e43fays7s8****'], ], [ - 'name' => 'ServiceDescription', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'This is my EndpointService.', - ], + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会加入安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'AutoAcceptEnabled', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '是否自动接受终端节点连接,取值:'."\n" - ."\n" - .'- **true**:自动接受终端节点连接。'."\n" - ."\n" - .'- **false**(默认值):不自动接受终端节点连接。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], [ - 'name' => 'Payer', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '付费方,取值:'."\n" - ."\n" - .'- **Endpoint**:服务使用方。'."\n" - ."\n" - .'- **EndpointService**:服务提供方。', - 'type' => 'string', - 'required' => false, - 'example' => 'Endpoint', - ], + 'schema' => ['description' => '要加入安全组的终端节点所属的地域ID。'."\n" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], - [ - 'name' => 'ZoneAffinityEnabled', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**(默认值):否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81'], + ], + 'description' => '', ], ], - [ - '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', - ], + ], + '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' => '网关型负载均衡类型不支持设置安全组'], ], - [ - 'name' => 'Resource', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - '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)。'."\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', - ], - ], - 'required' => false, + ], + '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}'], ], - 'required' => false, - 'maxItems' => 10, ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\n","errorExample":""}]', + ], + 'ChangeResourceGroup' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务所在的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~469325~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREprivatelinkEUMK18'], + ], + 'parameters' => [ [ - 'name' => 'ServiceSupportIPv6', + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '终端节点服务是否支持IPv6功能。取值:'."\n" + 'title' => '资源类型', + 'description' => '资源类型。取值:'."\n" ."\n" - .'- **true**:是。'."\n" + .'- **VpcEndpoint**(默认值):终端节点。'."\n" ."\n" - .'- **false**(默认值):否。', - 'type' => 'boolean', - 'deprecated' => true, - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '资源组ID。', + .'- **VpcEndpointService**:终端节点服务。', 'type' => 'string', 'required' => false, - 'example' => 'rg-acfmy*****', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - '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, - 'maxItems' => 21, + 'example' => 'VpcEndpoint', + 'default' => 'VpcEndpoint', + 'enum' => ['VpcEndpoint', 'VpcEndpointService'], ], ], [ - 'name' => 'AddressIpVersion', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '协议版本。取值:'."\n" - ."\n" - .'- **IPv4**:IPv4类型(默认)。'."\n" - .'- **DualStack**:双栈类型。'."\n" - .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。终端节点服务支持双栈,要求其后端资源也需支持双栈。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'IPv4' => 'IPv4', - 'DualStack' => 'DualStack', - ], - 'example' => 'IPv4', - ], + 'schema' => ['title' => '资源Id', 'description' => '待修改资源组的私网连接资源ID。', 'type' => 'string', 'required' => true, 'example' => 'ep-hp3i05294c2d2d****'], ], [ - 'name' => 'SupportedRegionList', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['title' => '目标资源组', 'description' => '要替换的目标资源组的ID。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmy*****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', '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', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'], ], ], ], ], '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' => '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' => ''], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + '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 \\"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" - ."\n" - .' - 当终端节点服务处于**Active**状态时,表示终端节点服务创建完成。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","type":"json"}]', ], - 'UpdateVpcEndpointServiceAttribute' => [ - 'summary' => '调用UpdateVpcEndpointServiceAttribute接口,修改终端节点服务的属性。', - 'methods' => [ - 'post', - 'get', + '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' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'], + 'Success' => ['description' => '私网连接服务开通状态。'."\n" + ."\n" + .'仅取值:**true**,表示开通。'."\n" + ."\n", 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', + ], + ], + ], + '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":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n true\\n","errorExample":""}]', + ], + 'CreateVpcEndpoint' => [ + 'summary' => '创建终端节点。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -1043,347 +695,546 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '16189', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkW2XK1B', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '16164', + '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。'."\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' => '客户端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'."\n" - .' 2xx状态码并直接修改资源属性。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会创建终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'EndpointName', + 'in' => 'query', + 'schema' => ['description' => '终端节点名称。'."\n" + ."\n" + .'长度为2~128个字符,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'EndpointType', + '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'], + ], + [ + 'name' => 'ZonePrivateIpAddressCount', + 'in' => 'query', + 'schema' => ['description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'EndpointDescription', + 'in' => 'query', + 'schema' => ['description' => '终端节点描述。'."\n" + ."\n" + .'描述长度为2~256个字符,开头不能为`http://`和`https://`。', 'type' => 'string', 'required' => false, 'example' => 'This is my Endpoint.'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'vpc-hp356stwkxg3fn2xe****'], ], [ 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', - ], + 'schema' => ['description' => '终端节点关联的终端节点服务。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'epsrv-hp3xdsq46ael67lo****'], ], [ - 'name' => 'ServiceDescription', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'This is my EndpointService.', - ], + 'schema' => ['description' => '终端节点关联的终端节点服务的名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'], ], [ - 'name' => 'AutoAcceptEnabled', + 'name' => 'Zone', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '是否自动接受终端节点连接,取值:'."\n" - ."\n" - .'- **true**:自动接受终端节点连接。'."\n" - ."\n" - .'- **false**:不自动接受终端节点连接。', - 'type' => 'boolean', + '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' => '指定终端节点可用区的弹性网卡 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, + ], 'required' => false, - 'example' => 'false', + 'maxItems' => 10, ], ], [ - 'name' => 'ConnectBandwidth', + 'name' => 'SecurityGroupId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '默认连接带宽峰值。默认值:**3072**。单位:Mbps。'."\n" - ."\n" - .'取值范围:**100**~**10240**。'."\n" - ."\n" - .'> 当服务资源为传统型负载均衡CLB或应用型负载均衡ALB时,支持设置默认连接带宽峰值;当服务资源为网络型负载均衡NLB时,不支持设置连接带宽。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '终端节点网卡关联的安全组列表。', + 'type' => 'array', + 'items' => ['description' => '终端节点网卡关联的安全组,安全组可以管控VPC到终端节点网卡的数据通信。', 'type' => 'string', 'required' => false, 'example' => 'sg-bp1fg655nh68xyz9****'], 'required' => false, - 'example' => '3072', + 'example' => 'sg-hp33bw6ynvm2yb0e****', + 'maxItems' => 10, ], ], [ - 'name' => 'ZoneAffinityEnabled', + 'name' => 'ProtectedEnabled', 'in' => 'query', - 'schema' => [ - 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n" - ."\n" - .'- **true**(默认值):是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否开启托管保护,STS调用方式下生效。取值:'."\n" + .' '."\n" + .'- **true**:开启。开启托管保护后,只有和创建时相同的用户才能通过STS方式对该终端节点进行修改或者删除等操作。'."\n" + .'- **false**(默认值):不开启。', 'type' => 'boolean', 'required' => false, 'example' => '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-huhehaote'], ], [ - 'name' => 'ServiceSupportIPv6', + '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' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'env'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'prod'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'false', + 'maxItems' => 21, ], ], + [ + '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' => [ 'description' => '协议版本。取值:'."\n" ."\n" - .'- **IPv4**:IPv4类型。'."\n" + .'- **IPv4**:IPv4类型(默认)。'."\n" .'- **DualStack**:双栈类型。'."\n" - .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。', + .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'IPv4' => 'IPv4', - 'DualStack' => 'DualStack', - ], + 'enumValueTitles' => [], 'example' => 'IPv4', ], ], [ - 'name' => 'AddSupportedRegionSet', + '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' => 'DeleteSupportedRegionSet', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], + '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' => [ 200 => [ 'schema' => [ - 'description' => '请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B', - ], + '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' => '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' => '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n","errorExample":""}]', - 'title' => '修改终端节点服务的属性', - 'description' => '- 修改终端节点服务的属性之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n" - .'- **UpdateVpcEndpointServiceAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点服务的属性。', + '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" + .'- 当终端节点处于**Creating**状态时,表示终端节点正在创建中。'."\n" + .'- 当终端节点处于**Active**状态时,表示终端节点创建完成。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'GetVpcEndpointServiceAttribute' => [ - 'summary' => '调用GetVpcEndpointServiceAttribute接口,获取终端节点服务属性信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + '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' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '16175', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkW2XK1B', - ], + 'abilityTreeCode' => '16165', + 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', + '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字符。'."\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 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ServiceDescription', + 'in' => 'query', + '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', 'default' => 'false'], + ], + [ + 'name' => 'Payer', + 'in' => 'query', + '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' => '终端节点服务所属的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', + '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, + 'maxItems' => 10, ], ], [ - 'name' => 'ServiceId', + 'name' => 'RegionId', + 'in' => 'query', + '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' => '终端节点服务的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', + '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, + 'maxItems' => 21, ], ], [ - 'name' => 'RegionId', + 'name' => 'AddressIpVersion', 'in' => 'query', 'schema' => [ - 'description' => '终端节点服务所属的地域ID。'."\n" + 'description' => '协议版本。取值:'."\n" ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', + .'- **IPv4**:IPv4类型(默认)。'."\n" + .'- **DualStack**:双栈类型。'."\n" + .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。终端节点服务支持双栈,要求其后端资源也需支持双栈。', 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'IPv4', + ], + ], + [ + 'name' => 'SupportedRegionList', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '终端节点服务支持的地域列表,服务使用方可从列表中的地域发起终端节点连接。', + 'type' => 'array', + 'items' => ['description' => '终端节点服务支持的地域 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'required' => false, ], ], ], @@ -1392,431 +1243,175 @@ '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', - ], + '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, - ], - 'RegionServiceStatus' => [ - 'type' => 'string', - ], - 'RegionBusinessStatus' => [ - 'type' => 'string', - ], - 'SupportedRegionId' => [ - 'type' => 'string', - ], + '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' => '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实例不支持。'], ], ], - '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":"\\n Endpoint\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n This is my EndpointService.\\n 2020-01-02T19:11:12Z\\n 1024\\n 100\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n true\\n true\\n epsrv-hp3vpx8yqxblby3i****\\n cn-huhehaote-b\\n Normal\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n Active\\n 1024\\n cn-huhehaote\\n Interface\\n slb\\n false\\n rg-acfmy*****\\n","errorExample":""}]', - 'title' => '获取终端节点服务属性信息', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ListVpcEndpointServices' => [ - 'summary' => '调用ListVpcEndpointServices接口,查询终端节点服务列表。', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - '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' => '16180', - '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' => '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**~**1000**,默认值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '0', - 'example' => '50', - ], - ], - [ - '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****', - ], - ], - [ - '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)。', - 'type' => 'string', - 'required' => false, - 'example' => 'slb', - ], - ], - [ - 'name' => 'AutoAcceptEnabled', - 'in' => 'query', - 'schema' => [ - 'description' => '是否自动接受终端节点连接,取值:'."\n" - ."\n" - .'- **true**:自动接受终端节点连接。'."\n" - ."\n" - .'- **false**:不自动接受终端节点连接。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ServiceStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的状态,取值:'."\n" - ."\n" - .'- **Creating**:创建中。'."\n" - ."\n" - .'- **Pending**:修改中。'."\n" - ."\n" - .'- **Active**:可用。'."\n" - ."\n" - .'- **Deleting**:删除中。', - 'type' => 'string', - 'required' => false, - 'example' => 'Active', - ], - ], - [ - 'name' => 'ServiceBusinessStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的业务状态,取值:'."\n" - ."\n" - .'- **Normal**:正常。'."\n" - ."\n" - .'- **FinancialLocked**:欠费锁定。', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会删除终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'ZoneAffinityEnabled', + 'name' => 'EndpointId', 'in' => 'query', - 'schema' => [ - 'description' => '是否支持连接服务的终端节点域名就近解析。取值:'."\n" - ."\n" - .'- **true**:是。'."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + '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', - ], - ], - [ - '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, - ], - ], - [ - 'name' => 'ResourceGroupId', - 'in' => 'query', - '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', - ], + 'schema' => ['description' => '要删除的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], ], 'responses' => [ @@ -1824,236 +1419,52 @@ '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', - ], - ], - ], - ], - ], - ], - ], - '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' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'], ], + '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":"\\n \\n true\\n epsrv-hp3vpx8yqxblby3i****\\n 2021-09-24T17:15:10Z\\n 100\\n 1024\\n Active\\n true\\n cn-huhehaote\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n Endpoint\\n Normal\\n 1024\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n This is my EndpointService.\\n slb\\n Interface\\n false\\n \\n FinanceDept\\n FinanceJoshua\\n \\n rg-acfmy*****\\n \\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","errorExample":""}]', - 'title' => '查询终端节点服务列表', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteVpcEndpointService' => [ - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['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,请先删除该终端节点的路由条目。'], + ], ], - 'schemes' => [ - 'https', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + '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":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n","errorExample":""}]', + ], + 'DeleteVpcEndpointService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2061,68 +1472,38 @@ ], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'delete'], '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' => 'eu-west-1'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => "\n" - .'客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + 'schema' => ['description' => "\n" + .'客户端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" + .'是否只预检此次请求。取值:'."\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', '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' => 'eu-west-1'], ], ], 'responses' => [ @@ -2130,40 +1511,21 @@ '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' => '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.', - ], + ['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' => '终端节点还未删除'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', 'title' => '删除终端节点服务', 'summary' => '调用DeleteVpcEndpointService接口,删除终端节点服务。', 'description' => '- 删除终端节点服务之前,请先断开终端节点连接并移除服务资源。'."\n" @@ -2171,15 +1533,26 @@ .' - 当终端节点服务处于**Deleting**状态时,表示终端节点服务正在删除中。'."\n" .' - 当查询不到该终端节点服务时,表示终端节点服务删除完成。'."\n" .'- **DeleteVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发删除终端节点服务。', - ], - 'AddUserToVpcEndpointService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', + ], + 'DescribeRegions' => [ + 'summary' => '调用 DescribeRegions 接口,查询 PrivateLink 私网连接支持的地域列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2188,89 +1561,39 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREprivatelinkX3ZDB5'], + '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。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'UserId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '服务白名单账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '132193271328****', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ServiceId', + 'name' => 'ServiceResourceType', '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" + 'description' => 'PrivateLink支持的开服地域,与服务资源类型有关,不同的服务类型支持的地域存在差异。在查询PrivateLink开服地域时可指定服务资源类型,取值如下:'."\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格式的用户白名单。', + .'- **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' => 'acs:ram:*::*', + 'enumValueTitles' => [], + 'example' => 'slb', ], ], ], @@ -2279,49 +1602,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0', + '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' => '', ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F'], ], + '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.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', - 'title' => '添加服务白名单', - 'summary' => '调用AddUserToVpcEndpointService接口,为终端节点服务添加服务白名单。', - 'description' => '- 添加服务白名单之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n" - .'- **AddUserToVpcEndpointService**接口不支持在同一个阿里云账号(主账号)下并发添加服务白名单。', + '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":"\\n A355E857-97F5-5054-9AC8-BCE064939652\\n \\n \\n cn-hangzhou\\n privatelink.cn-hangzhou.aliyuncs.com\\n 华东1(杭州)\\n \\n \\n cn-shanghai\\n privatelink.cn-shanghai.aliyuncs.com\\n 华东2(上海)\\n \\n \\n cn-nanjing\\n privatelink.cn-nanjing.aliyuncs.com\\n 华东5(南京-本地地域)\\n \\n \\n cn-qingdao\\n privatelink.cn-qingdao.aliyuncs.com\\n 华北1(青岛)\\n \\n \\n cn-beijing\\n privatelink.cn-beijing.aliyuncs.com\\n 华北2(北京)\\n \\n \\n cn-zhangjiakou\\n privatelink.cn-zhangjiakou.aliyuncs.com\\n 华北3(张家口)\\n \\n \\n cn-huhehaote\\n privatelink.cn-huhehaote.aliyuncs.com\\n 华北5(呼和浩特)\\n \\n \\n cn-wulanchabu\\n privatelink.cn-wulanchabu.aliyuncs.com\\n 华北6(乌兰察布)\\n \\n \\n cn-shenzhen\\n privatelink.cn-shenzhen.aliyuncs.com\\n 华南1(深圳)\\n \\n \\n cn-heyuan\\n privatelink.cn-heyuan.aliyuncs.com\\n 华南2(河源)\\n \\n \\n cn-guangzhou\\n privatelink.cn-guangzhou.aliyuncs.com\\n 华南3(广州)\\n \\n \\n cn-chengdu\\n privatelink.cn-chengdu.aliyuncs.com\\n 西南1(成都)\\n \\n \\n cn-hongkong\\n privatelink.cn-hongkong.aliyuncs.com\\n 中国香港\\n \\n \\n ap-southeast-1\\n privatelink.ap-southeast-1.aliyuncs.com\\n 新加坡\\n \\n \\n ap-southeast-2\\n privatelink.ap-southeast-2.aliyuncs.com\\n 澳大利亚(悉尼)\\n \\n \\n ap-southeast-3\\n privatelink.ap-southeast-3.aliyuncs.com\\n 马来西亚(吉隆坡)\\n \\n \\n ap-southeast-5\\n privatelink.ap-southeast-5.aliyuncs.com\\n 印度尼西亚(雅加达)\\n \\n \\n ap-northeast-1\\n privatelink.ap-northeast-1.aliyuncs.com\\n 日本(东京)\\n \\n \\n eu-central-1\\n privatelink.eu-central-1.aliyuncs.com\\n 德国(法兰克福)\\n \\n \\n eu-west-1\\n privatelink.eu-west-1.aliyuncs.com\\n 英国(伦敦)\\n \\n \\n us-west-1\\n privatelink.us-west-1.aliyuncs.com\\n 美国(硅谷)\\n \\n \\n us-east-1\\n privatelink.us-east-1.aliyuncs.com\\n 美国(弗吉尼亚)\\n \\n \\n ap-south-1\\n privatelink.ap-south-1.aliyuncs.com\\n 印度(孟买)\\n \\n \\n","errorExample":""}]', + 'title' => '查询私网连接支持的地域列表', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'ListVpcEndpointServiceUsers' => [ - 'summary' => '调用ListVpcEndpointServiceUsers接口,查询终端节点服务的服务白名单。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DescribeZones' => [ + 'summary' => '调用 DescribeZones 接口,查询指定地域中 PrivateLink 私网连接支持的可用区列表。在跨地域场景下,终端节点与终端节点服务两侧的可用区支持情况相互独立,本接口支持按终端节点侧和终端节点服务侧分别查询其支持的可用区列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2331,273 +1662,172 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREprivatelinkVQ750H'], + 'autoTest' => false, ], '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' => 'ServiceResourceType', 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', + 'description' => 'PrivateLink在某个地域可用区支持的情况,取决于后端服务资源类型。在查询PrivateLink支持的可用区列表时可指定服务资源类型,取值如下:'."\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' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,取值范围:**1~1000**,默认值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '0', - 'example' => '50', - 'default' => '50', + 'enumValueTitles' => [], + 'example' => 'slb', ], ], [ - 'name' => 'ServiceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', - ], + 'schema' => ['description' => '可用区所在的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'UserId', + 'name' => 'CrossRegion', 'in' => 'query', - 'schema' => [ - 'description' => '服务白名单阿里云账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '12345678', - ], + '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。'."\n" + 'description' => '指定查询跨地域连接中发起方或服务方的可用区支持情况。取值如下:'."\n" + .'- **Endpoint**(默认):终端节点。'."\n" + .'- **EndpointService**:终端节点服务。'."\n" ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', - ], - ], - [ - 'name' => 'UserListType', - 'in' => 'query', - 'schema' => [ - 'description' => '服务白名单用户列表类型:'."\n" - .'- Users'."\n" - .'- UserARNs', + .'> 该字段仅在 CrossRegion=true 时生效。', 'type' => 'string', 'required' => false, - 'example' => 'Users', - 'default' => 'Users', + 'enumValueTitles' => [], + 'example' => 'EndpointService', + 'enum' => ['Endpoint', 'EndpointService'], ], ], ], '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:*::*', + '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'], + ], ], ], ], - ], - 'TotalCount' => [ - 'description' => '总记录数。', - 'type' => 'string', - 'example' => '3', + 'description' => '', ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'EndpointServiceNotFound', - 'errorMessage' => 'The specified Service does not exist.', - ], - ], - ], - '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":"\\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n 12345678\\n \\n \\n","errorExample":""}]', - 'title' => '查询终端节点服务的服务白名单', + '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":"\\r\\n 6FEA0CF3-D3B9-43E5-A304-D217037876A8\\r\\n \\r\\n \\r\\n cn-hangzhou-b\\r\\n 华东 1 可用区 B\\r\\n \\r\\n \\r\\n cn-hangzhou-f\\r\\n 华东 1 可用区 F\\r\\n \\r\\n \\r\\n cn-hangzhou-g\\r\\n 华东 1 可用区 G\\r\\n \\r\\n \\r\\n cn-hangzhou-h\\r\\n 华东 1 可用区 H\\r\\n \\r\\n \\r\\n cn-hangzhou-i\\r\\n 华东 1 可用区 I\\r\\n \\r\\n \\r\\n cn-hangzhou-j\\r\\n 华东 1 可用区 J\\r\\n \\r\\n \\r\\n cn-hangzhou-k\\r\\n 华东 1 可用区 K\\r\\n \\r\\n \\r\\n","errorExample":""}]', + 'title' => '查询私网连接支持的可用区列表', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'RemoveUserFromVpcEndpointService' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DetachResourceFromVpcEndpointService' => [ + 'summary' => '调用DetachResourceFromVpcEndpointService接口,移除终端节点服务中的服务资源。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ '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' => 'ClientToken', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + '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' => 'DryRun', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求,取值:'."\n" - ."\n" - .'- **true**:发送检查请求,不会移除服务白名单。检查项包括AccessKey是否有效、RAM用户的授权情况和是否填写了必需参数。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n" - ."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回2xx HTTP状态码并直接移除服务白名单。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'lb-hp32z1wp5peaoox2q****'], ], [ - 'name' => 'UserId', + 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => '要移除的服务白名单中的账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => true, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '12345678', - ], + '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' => 'RegionId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', - ], + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会移除服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'UserARN', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => 'ARN格式的用户白名单。', - 'type' => 'string', - 'required' => false, - 'example' => 'acs:ram:*::*', - ], + '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' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -2605,152 +1835,188 @@ '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' => '无法删除有终端节点关联的终端节点服务。'], + ], + ], + 'title' => '移除终端节点服务中的服务资源', + 'description' => '- 移除终端节点服务中的服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n" + .'- **DetachResourceFromVpcEndpointService**接口不支持在同一个终端节点服务实例下并发移除服务资源。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'UpdateVpcEndpointServiceResourceAttribute' => [ - 'summary' => '调用UpdateVpcEndpointServiceResourceAttribute接口,修改终端节点服务资源是否自动分配。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DetachSecurityGroupFromVpcEndpoint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], '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', + 'name' => 'SecurityGroupId', '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' => '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" - .'是否只预检此次请求。取值:'."\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', + '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' => 'ResourceId', + 'name' => 'RegionId', 'in' => 'query', + 'schema' => ['description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '服务资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'lb-hp32z1wp5peaoox2q****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['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 \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\n","errorExample":""}]', + ], + 'DisableVpcEndpointConnection' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ZoneId', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '服务资源所属的可用区。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], + 'schema' => ['description' => '要拒绝终端节点连接的地域ID。'."\n" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'AutoAllocatedEnabled', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '是否允许资源自动分配,取值:'."\n" - ."\n" - .'- **true**:允许资源自动分配。'."\n" - ."\n" - .'- **false**:不允许资源自动分配。', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], + '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' => 'ServiceId', + 'in' => 'query', + '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' => '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'], ], ], 'responses' => [ @@ -2758,167 +2024,112 @@ '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' => '终端节点连接正在处理中,不允许操作。'], + ], + ], + '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'AttachResourceToVpcEndpointService' => [ - 'summary' => '调用AttachResourceToVpcEndpointService接口,为终端节点服务添加服务资源。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DisableVpcEndpointZoneConnection' => [ + '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' => '34070', + '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-hangzhou'], ], [ - '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" + .'- **true**:发送检查请求,不会拒绝连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\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' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会添加服务资源。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '终端节点连接可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou-b'], ], [ - 'name' => 'ClientToken', + 'name' => 'ReplacedResource', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + '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](~~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-hangzhou'], ], ], 'responses' => [ @@ -2926,172 +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' => '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' => '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' => ''], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', - 'title' => '为终端节点服务添加服务资源', - 'description' => '- 为终端节点服务添加服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n" - .'- **AttachResourceToVpcEndpointService**接口不支持在同一个终端节点服务实例下并发添加服务资源。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'ListVpcEndpointServiceResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'EnableVpcEndpointConnection' => [ + 'summary' => '调用EnableVpcEndpointConnection接口,终端节点服务接受终端节点的连接请求。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '16173', + '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。'."\n" + ."\n" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'], ], [ - '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" + ."\n" + .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n" + ."\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' => 'Bandwidth', + 'in' => 'query', + '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' => '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' => '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' => [ @@ -3099,245 +2276,101 @@ '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' => 'OperationDenied.NoAvailableServiceResource', 'errorMessage' => 'The operation is not allowed because of there are no resource in some available zones of endpoint service.', 'description' => '不允许操作,因为终端节点服务的部分可用区没有资源。'], ], ], - '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":"\\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n vpc-hp356stwkxg3fn2xe****\\n vsw-hp3uf6045ljdhd5zr****\\n slb\\n cn-huhehaote-b\\n 192.168.10.23\\n lb-hp32z1wp5peaoox2q****\\n cn-huhehaote\\n 10\\n 10\\n false\\n false\\n \\n","errorExample":""}]', - 'title' => '查询终端节点服务中的服务资源', - 'summary' => '调用ListVpcEndpointServiceResources接口查询终端节点服务中的服务资源。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', + 'title' => '接受终端节点连接请求', + 'description' => '- **EnableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点服务连接尚未成功,系统后台的连接任务仍在进行。您可以调用[GetVpcEndpointAttribute](~~183568~~)接口查询终端节点服务连接状态:'."\n" + ."\n" + .' - 当连接处于**Connecting**状态时,表示终端节点连接服务正在连接。'."\n" + .' - 当连接处于**Connected**状态时,表示终端节点连接服务连接成功。'."\n" + ."\n" + .'- **EnableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发接受终端节点连接请求。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DetachResourceFromVpcEndpointService' => [ - 'summary' => '调用DetachResourceFromVpcEndpointService接口,移除终端节点服务中的服务资源。', - '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' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkW2XK1B', - ], + 'abilityTreeCode' => '34068', + 'abilityTreeNodes' => ['FEATUREprivatelinkDB15J4'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ResourceType', - '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。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ResourceId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '服务资源ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'lb-hp32z1wp5peaoox2q****', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], [ - 'name' => 'ZoneId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '要移除服务资源的终端节点服务所属的可用区。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。服务资源为ALB/NLB/GWLB时,ZoneId为需要填写。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-c', - ], + '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' => 'DryRun', + 'name' => 'EndpointId', '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' => 'ep-hp33b2e43fays7s8****'], ], [ - 'name' => 'ClientToken', + 'name' => 'ZoneId', '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' => 'cn-hangzhou-b'], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '要移除服务资源的终端节点服务所属的地域ID。您可以通过调用[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' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -3345,122 +2378,95 @@ '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' => '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' => '当前终端节点服务不存在'], + ['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 \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', - 'title' => '移除终端节点服务中的服务资源', - 'description' => '- 移除终端节点服务中的服务资源之前,请确保终端节点服务处于**Active**状态,您可以通过调用[GetVpcEndpointServiceAttribute](~~469330~~)接口,查询终端节点服务状态。'."\n" - .'- **DetachResourceFromVpcEndpointService**接口不支持在同一个终端节点服务实例下并发移除服务资源。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]', ], - 'DeleteVpcEndpoint' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetVpcEndpointAttribute' => [ + 'summary' => '调用GetVpcEndpointAttribute接口,获取终端节点属性信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'abilityTreeCode' => '16166', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkG9DJDQ', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '16174', + 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'], ], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'query', - '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', - ], - ], - [ - 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会删除终端节点。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + '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, - 'docRequired' => true, - 'example' => 'ep-hp33b2e43fays7s8****', - ], + 'schema' => ['description' => '获取属性信息的终端节点ID。', 'type' => 'string', 'required' => true, 'example' => 'ep-hp33b2e43fays7s8****'], ], [ '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](~~448570~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cn-huhehaote'], ], ], 'responses' => [ @@ -3468,902 +2474,785 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B', - ], + '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' => '', ], ], ], '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' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'], + ['errorCode' => 'EndpointConnectionNotFound', 'errorMessage' => 'The specified endpoint connection does not exist.', 'description' => '当前终端节点连接未找到。'], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + '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":"\\n Endpoint\\n ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n 2021-09-24T18:00:07Z\\n true\\n Normal\\n This is my Endpoint.\\n epsrv-hp3vpx8yqxblby3i****\\n Active\\n vpc-fdfhkjafhjvcvdjf****\\n test\\n 1\\n Interface\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\n 1024\\n ep-hp33b2e43fays7s8****\\n cn-huhehaote\\n Connected\\n true\\n","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}'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n","errorExample":""}]', - 'title' => '删除终端节点', - 'summary' => '调用DeleteVpcEndpoint接口,删除终端节点。', - 'description' => '- 删除终端节点之前,请先删除终端节点中已添加的可用区。'."\n" - .'- **DeleteVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未删除完成,系统后台删除任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~469349~~)查询终端节点的删除状态:'."\n" - ."\n" - .' - 当终端节点处于**Deleting**状态时,表示终端节点正在删除中。'."\n" - .' - 当查询不到指定的终端节点时,表示终端节点删除成功。', ], - 'CreateVpcEndpoint' => [ - 'summary' => '创建终端节点。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetVpcEndpointServiceAttribute' => [ + 'summary' => '调用GetVpcEndpointServiceAttribute接口,查询归属当前账号的终端节点服务属性信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '16164', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkG9DJDQ', - ], + 'abilityTreeCode' => '16175', + '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' => 'ClientToken', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], ], [ - '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' => 'EndpointName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '终端节点名称。'."\n" - ."\n" - .'长度为2~128个字符,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'EndpointType', - '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', + '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' => [ + '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' => '', ], ], - [ - 'name' => 'ZonePrivateIpAddressCount', - 'in' => 'query', - 'schema' => [ - 'description' => '每个可用区ENI的私网IP的数量。仅取值:**1**。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service does not exist.', 'description' => '当前终端节点服务不存在'], ], - [ - 'name' => 'EndpointDescription', - 'in' => 'query', - 'schema' => [ - 'description' => '终端节点描述。'."\n" - ."\n" - .'描述长度为2~256个字符,开头不能为`http://`和`https://`。', - 'type' => 'string', - 'required' => false, - 'example' => 'This is my Endpoint.', + ], + '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":"\\n Endpoint\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n This is my EndpointService.\\n 2020-01-02T19:11:12Z\\n 1024\\n 100\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n true\\n true\\n epsrv-hp3vpx8yqxblby3i****\\n cn-huhehaote-b\\n Normal\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n Active\\n 1024\\n cn-huhehaote\\n Interface\\n slb\\n false\\n rg-acfmy*****\\n","errorExample":""}]', + 'title' => '获取终端节点服务属性', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + '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' => [ [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '终端节点所属的专有网络。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'vpc-hp356stwkxg3fn2xe****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '终端节点关联的终端节点服务。', - 'type' => 'string', + 'description' => '资源ID列表。最多支持50个资源ID。', + 'type' => 'array', + 'items' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-hp3i05294c2d2d******'], 'required' => false, - 'docRequired' => true, - 'example' => 'epsrv-hp3xdsq46ael67lo****', ], ], [ - 'name' => 'ServiceName', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点关联的终端节点服务的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****', - ], + 'schema' => ['description' => '资源类型。取值:'."\n" + ."\n" + .'- **vpcendpoint**:终端节点。 '."\n" + ."\n" + .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'required' => true, 'example' => 'vpcendpoint'], ], [ - 'name' => 'Zone', + 'name' => 'Tag', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => '终端节点可用区列表。', + 'description' => '标签列表。', 'type' => 'array', 'items' => [ - 'description' => '当前地域下的可用区ID。'."\n" - ."\n" - .'系统将在您指定的可用区下创建资源。', + 'description' => '资源的标签。', '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:****', - ], + '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, - 'maxItems' => 10, - ], - ], - [ - 'name' => 'SecurityGroupId', - '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, ], ], [ - 'name' => 'ProtectedEnabled', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '是否开启托管保护,STS调用方式下生效。取值:'."\n" - .' '."\n" - .'- **true**:开启。开启托管保护后,只有和创建时相同的用户才能通过STS方式对该终端节点进行修改或者删除等操作。'."\n" - .'- **false**(默认值):不开启。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + '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', - ], + 'schema' => ['description' => '资源所属的地域ID。您可以通过调用[describeregions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Tag', + 'name' => 'NextToken', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + ."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****'], + ], + ], + 'responses' => [ + 200 => [ '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', + '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'], + ], ], ], - 'required' => false, + 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + ."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'example' => 'caeba0bbb2be03f84eb48b699f0a4883'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['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.'], + ], + ], + 'title' => '查询资源已经绑定的标签列表', + 'summary' => '当您需要查询资源标签时,可调用ListTagResources接口,查询资源已经绑定的标签列表。', + '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" + .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。', + '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}'], ], - 'required' => false, - 'maxItems' => 21, ], ], + ], + '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' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREprivatelinkO25BLH'], + ], + 'parameters' => [ [ - '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' => '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' => '1', 'example' => '50', 'default' => '50'], ], [ - 'name' => 'ZoneAffinityEnabled', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '是否支持连接服务的终端节点域名就近解析,取值:'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**(默认值):否。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '终端节点服务ID。', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'EniId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '终端节点网卡ID。', 'type' => 'string', 'required' => false, 'example' => 'eni-hp32lk0pyv6o94hs****'], ], [ - 'name' => 'CrossRegionBandwidth', + 'name' => 'EndpointId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['description' => '终端节点ID。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'ep-hp33b2e43fays7s8****'], ], - ], - 'responses' => [ - 200 => [ - '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', + [ + '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'], + ], + [ + 'name' => 'EndpointOwnerId', + 'in' => 'query', + 'schema' => ['description' => '终端节点所属的账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '25346073170691****'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'], + ], + [ + 'name' => 'ReplacedResourceId', + 'in' => 'query', + 'schema' => ['description' => '平滑迁移场景下被替换的服务资源ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'], + ], + [ + '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' => 'rg-acfmy*****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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' => '', ], ], ], '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' => 'EndpointServiceNotFound', 'errorMessage' => 'The specified Service 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**状态时,表示终端节点创建完成。', + '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":"\\n \\n true\\n \\n vsw-hp3uf6045ljdhd5zr****\\n cn-huhehaote-b\\n lb-hp32z1wp5peaoox2q****\\n eni-hp32lk0pyv6o94hs****\\n ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com\\n Connected\\n lb-hp32z1wp5peaoox2q****\\n eni-hp32lk0pyv6o94hs****\\n 123\\n 12345\\n \\n 2021-09-28T10:34:46Z\\n 1024\\n epsrv-hp3vpx8yqxblby3i****\\n Disconnected\\n ep-hp33b2e43fays7s8****\\n vpc-hp356stwkxg3fn2xe****\\n \\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","errorExample":""}]', + 'title' => '查询终端节点连接', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UpdateVpcEndpointAttribute' => [ - 'summary' => '调用UpdateVpcEndpointAttribute接口,修改终端节点的属性', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + '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}'], + ], + ], + ], ], + ], + 'ListVpcEndpointSecurityGroups' => [ + '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' => 'caeba0bbb2be03f84eb48b699f0a4883'], ], [ - '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' => '50', 'minimum' => '0', 'example' => '50'], ], [ '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' => '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' => [ + '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' => '', ], ], - [ - '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' => 'EndpointNotFound', 'errorMessage' => 'The specified Endpoint does not exist.', 'description' => '当前终端节点未找到。'], + ], + ], + 'title' => '查询终端节点已加入的安全组', + 'summary' => '调用ListVpcEndpointSecurityGroups接口,查询终端节点已加入的安全组。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + '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":"\\n \\n sg-hp33bw6ynvm2yb0e****\\n \\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","errorExample":""}]', + ], + 'ListVpcEndpointServiceResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', - ], + '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' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], ], [ - 'name' => 'ZoneAffinityEnabled', + 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**50**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '0', 'example' => '50', 'default' => '50'], ], [ - 'name' => 'ResetPolicy', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], ], [ - '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' => [ @@ -4371,99 +3260,203 @@ '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' => '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' => '', ], ], ], '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' => '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}'], + ], ], - [ - 'errorCode' => 'IllegalParam.AddressIpVersion', - 'errorMessage' => 'The specified parameter AddressIpVersion is invalid.', + ], + ], + '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":"\\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n vpc-hp356stwkxg3fn2xe****\\n vsw-hp3uf6045ljdhd5zr****\\n slb\\n cn-huhehaote-b\\n 192.168.10.23\\n lb-hp32z1wp5peaoox2q****\\n cn-huhehaote\\n 10\\n 10\\n false\\n false\\n \\n","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。'."\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'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + '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' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], + ], + [ + 'name' => 'UserId', + 'in' => 'query', + 'schema' => ['description' => '服务白名单阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '12345678'], + ], + [ + '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'], + ], + ], + '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'], + ], + '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' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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":"\\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n 12345678\\n \\n \\n","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,71 +3574,30 @@ '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, ], 'required' => false, ], ], - [ - '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":"\\n \\n vpc-hp356stwkxg3fn2xe****\\n test\\n Interface\\n 2021-09-24T18:00:07Z\\n epsrv-hp3vpx8yqxblby3i****\\n true\\n ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\n Active\\n cn-huhehaote\\n true\\n 1024\\n Disconnected\\n This is my Endpoint.\\n ep-hp33b2e43fays7s8****\\n Normal\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\n \\n FinanceDept\\n FinanceJoshua\\n \\n 1\\n \\n caeba0bbb2be03f84eb48b699f0a****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","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":"\\n \\n true\\n epsrv-hp3vpx8yqxblby3i****\\n 2021-09-24T17:15:10Z\\n 100\\n 1024\\n Active\\n true\\n cn-huhehaote\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n Endpoint\\n Normal\\n 1024\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n This is my EndpointService.\\n slb\\n Interface\\n false\\n \\n FinanceDept\\n FinanceJoshua\\n \\n rg-acfmy*****\\n \\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","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":"\\n Endpoint\\n ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n 2021-09-24T18:00:07Z\\n true\\n Normal\\n This is my Endpoint.\\n epsrv-hp3vpx8yqxblby3i****\\n Active\\n vpc-fdfhkjafhjvcvdjf****\\n test\\n 1\\n Interface\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\n 1024\\n ep-hp33b2e43fays7s8****\\n cn-huhehaote\\n Connected\\n true\\n","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":"\\n \\n Endpoint\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n cn-huhehaote-a\\n epsrv-hp3vpx8yqxblby3i****\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n Interface\\n false\\n \\n FinanceDept\\n FinanceJoshua\\n \\n \\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","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":"\\n \\n Endpoint\\n epsrv-hp3vpx8yqxblby3i****.cn-huhehaote.privatelink.aliyuncs.com\\n cn-huhehaote-a\\n epsrv-hp3vpx8yqxblby3i****\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****\\n Interface\\n false\\n \\n FinanceDept\\n FinanceJoshua\\n \\n \\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","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,176 +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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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":"\\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n vsw-hjkshjvdkdvd****\\n 192.168.2.23\\n Wait\\n cn-huhehaote-a\\n Active\\n eni-hp3c8qj1tyct8aqy****\\n ep-hp3f033dp24c5yc9****-cn-huhehaote.epsrv-hp3itcpowf37m3d5****.cn-huhehaote-a.privatelink.aliyuncs.com\\n cn-huhehaote\\n false\\n \\n","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', - ], + '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' => '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' => '0', 'example' => '50', 'default' => '50'], ], [ - 'name' => 'ServiceId', + 'name' => 'EndpointId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', - ], + 'schema' => ['description' => '要查询的终端节点ID。', 'type' => 'string', 'required' => false, 'example' => 'ep-hp33b2e43fays7s8****'], ], [ - 'name' => 'EndpointId', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ep-hp33b2e43fays7s8****', - ], + 'schema' => ['description' => '要查询的终端节点关联的终端节点服务名称。', 'type' => 'string', 'required' => false, 'example' => 'com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3vpx8yqxblby3i****'], ], [ - 'name' => 'Bandwidth', + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => '终端节点所属的专有网络。', 'type' => 'string', 'required' => false, 'example' => 'vpc-fdjkf789dfdfdfde****'], + ], + [ + 'name' => 'EndpointName', + 'in' => 'query', + 'schema' => ['description' => '终端节点名称。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'EndpointType', + 'in' => 'query', + 'schema' => ['description' => '终端节点类型。取值:'."\n" + ."\n" + .'- **Interface**:表示接口终端节点。'."\n" + ."\n" + .'- **Reverse**:表示反向终端节点。'."\n" + .'- **GatewayLoadBalancer**:表示网关型负载均衡终端节点。', 'type' => 'string', 'required' => false, 'example' => 'Interface'], + ], + [ + 'name' => 'EndpointStatus', + 'in' => 'query', + '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, 'example' => 'Disconnected'], + ], + [ + 'name' => 'Tag', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '终端节点的连接带宽。单位:Mbps。'."\n" - ."\n" - .'>后端资源为ALB\\CLB时取值100Mbps~10240Mbps,后端资源为NLB时取值100Mbps ~ 25Gbps', - 'type' => 'integer', - 'format' => 'int32', + '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, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => '3072', ], ], [ '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-huhehaote'], ], [ - 'name' => 'TrafficControlMode', + 'name' => 'ResourceGroupId', '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。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'AddressIpVersion', + 'in' => 'query', + 'schema' => ['description' => '协议版本。取值:'."\n" + ."\n" + .'- **IPv4**:IPv4类型。'."\n" + .'- **DualStack**:双栈类型。', 'type' => 'string', 'required' => false, 'example' => 'IPv4'], + ], + [ + 'name' => 'ServiceRegionId', + 'in' => 'query', + 'schema' => ['description' => '终端节点服务所属的地域 ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'], ], ], 'responses' => [ @@ -5806,426 +4205,269 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0', + 'Endpoints' => [ + 'description' => '终端节点信息集合。', + 'type' => 'array', + 'items' => [ + '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****'], + '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' => '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' => '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.', - ], - [ - '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 \\"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":"\\n \\n vpc-hp356stwkxg3fn2xe****\\n test\\n Interface\\n 2021-09-24T18:00:07Z\\n epsrv-hp3vpx8yqxblby3i****\\n true\\n ep-hp33b2e43fays7s8****.epsrv-hp3xdsq46ael67lo****.cn-huhehaote.privatelink.aliyuncs.com\\n Active\\n cn-huhehaote\\n true\\n 1024\\n Disconnected\\n This is my Endpoint.\\n ep-hp33b2e43fays7s8****\\n Normal\\n com.aliyuncs.privatelink.cn-huhehaote.epsrv-hp3xdsq46ael67lo****\\n \\n FinanceDept\\n FinanceJoshua\\n \\n 1\\n \\n caeba0bbb2be03f84eb48b699f0a****\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","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 \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', - 'title' => '修改终端节点连接的属性', - 'description' => '**UpdateVpcEndpointConnectionAttribute**接口不支持在同一个阿里云账号(主账号)下并发修改终端节点连接带宽。', ], - 'ListVpcEndpointConnections' => [ - 'summary' => '调用ListVpcEndpointConnections接口,查询终端节点连接。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'OpenPrivateLinkService' => [ + 'summary' => '开启私网连接服务。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], + [ + 'APP' => [], + ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkO25BLH', - ], + 'abilityTreeNodes' => ['FEATUREprivatelinkWPBSZV'], + 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '要查询的终端节点连接的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '3245****'], + ], + 'description' => '', ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', + ], + '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":"\\n 427688B8-ADFB-4C4E-9D45-EF5C1FD6E23D\\n 3245****\\n","errorExample":""}]', + ], + 'RemoveUserFromVpcEndpointService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小。取值范围:**1**~**1000**。默认值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '50', - 'default' => '50', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ [ - 'name' => 'ServiceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点服务ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', - ], + 'schema' => ['description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'EniId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点网卡ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'eni-hp32lk0pyv6o94hs****', - ], + 'schema' => ['description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], [ - 'name' => 'EndpointId', + 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点ID。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => 'ep-hp33b2e43fays7s8****', - ], + 'schema' => ['description' => '是否只预检此次请求,取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会移除服务白名单。检查项包括AccessKey是否有效、RAM用户的授权情况和是否填写了必需参数。如果检查不通过,则返回对应错误。如果检查通过,会返回错误码`DryRunOperation`。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回2xx HTTP状态码并直接移除服务白名单。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'ConnectionStatus', + 'name' => 'UserId', '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' => '要移除的服务白名单中的账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'maximum' => '9223372036854775807', 'minimum' => '0', 'example' => '12345678'], ], [ - 'name' => 'EndpointOwnerId', + 'name' => 'ServiceId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点所属的账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'docRequired' => false, - 'maximum' => '9223372036854775807', - 'minimum' => '0', - 'example' => '25346073170691****', - ], + 'schema' => ['description' => '终端节点服务的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], ], [ - 'name' => 'ResourceId', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '服务资源ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-hp32z1wp5peaoox2q****', - ], + 'schema' => ['description' => '要移除服务白名单的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'ReplacedResourceId', + 'name' => 'UserARN', 'in' => 'query', + 'schema' => ['description' => 'ARN格式的用户白名单。', 'type' => 'string', 'required' => false, 'example' => 'acs:ram:*::*'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '平滑迁移场景下被替换的服务资源ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-hp32z1wp5peaoox2q****', - ], - ], - [ - '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' => 'rg-acfmy*****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - '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。取值范围:**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', - ], - ], - ], - ], - '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', - ], - ], + 'type' => 'object', + 'properties' => [ + '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' => '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 \\"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":"\\n \\n true\\n \\n vsw-hp3uf6045ljdhd5zr****\\n cn-huhehaote-b\\n lb-hp32z1wp5peaoox2q****\\n eni-hp32lk0pyv6o94hs****\\n ep-hp34jaz8ykl0exwt****-cn-huhehaote.epsrv-hp3vpx8yqxblby3i****.cn-huhehaote-b.privatelink.aliyuncs.com\\n Connected\\n lb-hp32z1wp5peaoox2q****\\n eni-hp32lk0pyv6o94hs****\\n 123\\n 12345\\n \\n 2021-09-28T10:34:46Z\\n 1024\\n epsrv-hp3vpx8yqxblby3i****\\n Disconnected\\n ep-hp33b2e43fays7s8****\\n vpc-hp356stwkxg3fn2xe****\\n \\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","errorExample":""}]', - 'title' => '查询终端节点连接', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'DisableVpcEndpointConnection' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'RemoveZoneFromVpcEndpoint' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6235,77 +4477,45 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'abilityTreeCode' => '16186', + 'abilityTreeNodes' => ['FEATUREprivatelinkGBNC0X'], ], '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" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'ClientToken', + 'name' => 'ZoneId', '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' => 'eu-west-1a'], ], [ - 'name' => 'DryRun', + 'name' => 'EndpointId', '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' => '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' => '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。'."\n" - .'您可以通过调用[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'], ], ], 'responses' => [ @@ -6313,488 +4523,307 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], + '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' => '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' => '可用区数量不满足限制,无法操作。'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', - 'title' => '拒绝终端节点的连接请求', - 'summary' => '调用DisableVpcEndpointConnection接口,拒绝终端节点的连接请求。', - 'description' => '- **DisableVpcEndpointConnection**接口属于异步接口,即系统会返回一个请求ID,但该终端节点尚未断开完成,系统后台断开任务仍在进行中。您可以调用[GetVpcEndpointAttribute](~~183568~~)查询终端节点的断开状态:'."\n" + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '删除终端节点的可用区', + 'summary' => '调用RemoveZoneFromVpcEndpoint接口,删除终端节点的可用区。', + 'description' => '- **RemoveZoneFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未删除完成,系统后台删除任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的删除状态:'."\n" ."\n" - .' - 当终端节点连接状态处于**Disconnecting**状态时,表示终端节点连接正在断开中。'."\n" - .' - 当终端节点连接状态处于**Disconnected**状态时,表示终端节点连接已断开。'."\n" + .' - 当终端节点可用区处于**Deleting**状态时,表示终端节点可用区正在删除中。'."\n" + .' - 当查询不到该终端节点可用区时,表示该终端节点可用区已删除。'."\n" ."\n" - .'- **DisableVpcEndpointConnection**接口不支持在同一个阿里云账号(主账号)下并发拒绝终端节点的连接请求。', - ], - 'AddZoneToVpcEndpoint' => [ - '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":"\\n 0c593ea1-3bea-11e9-b96b-88e9fe637760\\n","errorExample":""}]', + ], + 'TagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '16161', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkGBNC0X', - ], - ], + 'systemTags' => ['operationType' => 'update'], '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', + 'name' => 'ResourceId', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '要添加的可用区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-hangzhou-b', ], ], [ - 'name' => 'VSwitchId', - 'in' => 'query', + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '要添加的可用区中的交换机,系统会自动在该交换机下创建一个终端节点网卡。', - 'type' => 'string', + '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, - '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' => 'ResourceType', + 'in' => 'formData', + 'schema' => ['description' => '资源类型。取值:'."\n" + ."\n" + .'- **vpcendpoint**:终端节点。 '."\n" + ."\n" + .'- **vpcendpointservice**:终端节点服务。', 'type' => 'string', 'required' => true, 'example' => 'vpcendpoint'], ], [ 'name' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会添加可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'in' => 'formData', + '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', - ], + '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-hangzhou', - ], - ], - [ - 'name' => 'Ipv6Address', - 'in' => 'query', - 'schema' => [ - 'description' => '要添加的可用区中的终端节点网卡的IPv6地址。', - 'type' => 'string', - 'required' => false, - 'example' => '2408:4005:3b6:****:6955:c3cb:34c:****', - ], + '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' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], ], ], ], ], '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' => '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.'], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + '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 \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0c593ea1-3bea-11e9-b96b-88e9fe637760\\n","errorExample":""}]', - 'title' => '为终端节点添加可用区', - 'summary' => '调用AddZoneToVpcEndpoint接口,为终端节点添加可用区。', - 'description' => '- **AddZoneToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未添加完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的状态:'."\n" - ."\n" - .' - 当终端节点可用区处于**Creating**状态时,表示终端节点可用区正在添加中。'."\n" - .' - 当在终端节点中可以查询到该可用区时,表示终端节点可用区添加完成。'."\n" - ."\n" - .'- **AddZoneToVpcEndpoint**接口不支持给同一个终端节点实例并发添加可用区。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C46FF5A8-C5F0-4024-8262-B16B639225A0\\n","errorExample":""}]', ], - 'ListVpcEndpointZones' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UntagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'], + 'tenantRelevance' => 'publicInformation', ], '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-hp3i05294c2****'], 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', ], ], [ - 'name' => 'NextToken', - 'in' => 'query', + 'name' => 'TagKey', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', - 'type' => 'string', + 'description' => '要解绑的标签键列表。最多支持20个标签键。', + 'type' => 'array', + 'items' => ['description' => '要解绑的标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'一个标签键最多支持64个字符,必须以字母或中文开头,可包含数字、半角句号(.)、下划线(_)和短划线(-),不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', ], ], [ - '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' => 'All', + 'in' => 'formData', + 'schema' => ['description' => '是否解绑资源上全部的标签,取值:'."\n" + ."\n" + .'- **true**:解绑资源上的全部标签。'."\n" + ."\n" + .'- **false**:不解绑全部标签。'."\n" + ."\n" + .'> 如果同时设置了**TagKey**和本参数,则本参数不生效。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'DryRun', + 'in' => 'formData', + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + ."\n" + .'- **true**:发送检查请求,不会解绑标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + ."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回`HTTP 2xx`状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ClientToken', + '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" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', - ], + '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' => [ - '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' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'EndpointNotFound', - 'errorMessage' => 'The specified Endpoint does not exist.', + ['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.'], + ], + ], + '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 \\"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":"\\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n \\n vsw-hjkshjvdkdvd****\\n 192.168.2.23\\n Wait\\n cn-huhehaote-a\\n Active\\n eni-hp3c8qj1tyct8aqy****\\n ep-hp3f033dp24c5yc9****-cn-huhehaote.epsrv-hp3itcpowf37m3d5****.cn-huhehaote-a.privatelink.aliyuncs.com\\n cn-huhehaote\\n false\\n \\n","errorExample":""}]', - 'title' => '查询终端节点可用区列表', - 'summary' => '调用ListVpcEndpointZones接口,查询终端节点可用区列表。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","type":"json"}]', ], - 'RemoveZoneFromVpcEndpoint' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateVpcEndpointAttribute' => [ + 'summary' => '调用UpdateVpcEndpointAttribute接口,修改终端节点的属性', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6804,81 +4833,117 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '16186', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkGBNC0X', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '16187', + 'abilityTreeNodes' => ['FEATUREprivatelinkG9DJDQ'], ], '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' => 'ZoneId', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '要删除的可用区ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1a', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', 'type' => 'string', 'required' => false, 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => "\n" + .'是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会修改终端节点属性。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ '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', + 'name' => 'EndpointName', 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会删除可用区。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '终端节点的名称。'."\n" + ."\n" + .'名称长度在2~128个字符之间,以英文字母或中文开头,可包含数字、短划线(-)和下划线(_)。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'test'], ], [ - 'name' => 'ClientToken', + 'name' => 'EndpointDescription', + 'in' => 'query', + 'schema' => ['description' => '终端节点的描述。'."\n" + ."\n" + .'描述长度为2~256个字符,不能以`http://`和`https://`开头。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => 'This is my Endpoint.'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '要修改的终端节点的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], + ], + [ + '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' => '客户端Token,用于保证请求的幂等性。'."\n" + 'description' => '协议版本。取值:'."\n" ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', + .'- **IPv4**:IPv4类型。'."\n" + .'- **DualStack**:双栈类型。'."\n" + .'> 终端节点支持双栈,要求其连接的终端节点服务及终端节点所处的VPC均支持双栈。', 'type' => 'string', 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', + 'enumValueTitles' => [], + 'example' => 'IPv4', ], ], [ - 'name' => 'RegionId', + 'name' => 'ZoneAffinityEnabled', 'in' => 'query', - 'schema' => [ - 'description' => '要删除可用区的终端节点所属的地域ID。'."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', - ], + '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' => [ @@ -6886,74 +4951,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0'], ], + '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' => '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' => '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 不符合要求。'], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0c593ea1-3bea-11e9-b96b-88e9fe637760\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0c593ea1-3bea-11e9-b96b-88e9fe637760\\n","errorExample":""}]', - 'title' => '删除终端节点的可用区', - 'summary' => '调用RemoveZoneFromVpcEndpoint接口,删除终端节点的可用区。', - 'description' => '- **RemoveZoneFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点可用区尚未删除完成,系统后台删除任务仍在进行中。您可以调用[ListVpcEndpointZones](~~183560~~)查询终端节点可用区的删除状态:'."\n" - ."\n" - .' - 当终端节点可用区处于**Deleting**状态时,表示终端节点可用区正在删除中。'."\n" - .' - 当查询不到该终端节点可用区时,表示该终端节点可用区已删除。'."\n" - ."\n" - .'- **RemoveZoneFromVpcEndpoint**接口不支持给同一个终端节点实例并发删除可用区。', - ], - 'DisableVpcEndpointZoneConnection' => [ - 'summary' => '调用DisableVpcEndpointZoneConnection接口,断开终端节点可用区连接。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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}'], + ], + ], + ], ], + ], + 'UpdateVpcEndpointConnectionAttribute' => [ + 'summary' => '调用UpdateVpcEndpointConnectionAttribute接口,修改终端节点连接的属性。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6963,110 +5014,68 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '34070', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkDB15J4', - ], + '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-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' => '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。'."\n" + .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'eu-west-1'], ], [ - 'name' => 'RegionId', + 'name' => 'TrafficControlMode', 'in' => 'query', - 'schema' => [ - 'description' => '要拒绝终端节点连接的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域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' => [ @@ -7074,97 +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' => '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":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","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', - ], + 'UpdateVpcEndpointServiceAttribute' => [ + 'summary' => '调用UpdateVpcEndpointServiceAttribute接口,修改终端节点服务的属性。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7174,89 +5130,247 @@ 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', - 'abilityTreeCode' => '34068', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkDB15J4', - ], + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '16189', + 'abilityTreeNodes' => ['FEATUREprivatelinkW2XK1B'], ], '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](~~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'], + ], + [ + '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****'], + ], + [ + 'name' => 'ServiceDescription', + 'in' => 'query', + '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'], + ], + [ + 'name' => 'ConnectBandwidth', + 'in' => 'query', + 'schema' => ['description' => '默认连接带宽峰值。默认值:**3072**。单位:Mbps。'."\n" + ."\n" + .'取值范围:**100**~**10240**。'."\n" + ."\n" + .'> 当服务资源为传统型负载均衡CLB或应用型负载均衡ALB时,支持设置默认连接带宽峰值;当服务资源为网络型负载均衡NLB时,不支持设置连接带宽。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3072'], + ], + [ + '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-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' => '客户端Token,用于保证请求的幂等性。'."\n" + 'description' => '协议版本。取值:'."\n" ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', + .'- **IPv4**:IPv4类型。'."\n" + .'- **DualStack**:双栈类型。'."\n" + .'> 目前仅后端资源类型为nlb、gwlb的终端节点服务支持指定IP地址协议为DualStack。', 'type' => 'string', 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', + 'enumValueTitles' => [], + 'example' => 'IPv4', ], ], [ - 'name' => 'DryRun', + 'name' => 'AddSupportedRegionSet', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会接受连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', + 'description' => '需要添加的终端节点服务支持的远程地域列表。', + 'type' => 'array', + 'items' => ['description' => '需要添加的终端节点服务支持的远程地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-huhehaote'], 'required' => false, - 'example' => 'false', ], ], [ - 'name' => 'ServiceId', + 'name' => 'DeleteSupportedRegionSet', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '终端节点服务ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'epsrv-hp3vpx8yqxblby3i****', + 'description' => '需要关闭的终端节点服务支持的远程地域列表。', + 'type' => 'array', + 'items' => ['description' => '需要关闭的终端节点服务支持的远程地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + 'required' => false, ], ], - [ - 'name' => 'EndpointId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '终端节点ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ep-hp33b2e43fays7s8****', + 'description' => '请求ID。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8D8992C1-6712-423C-BAC5-E5E817484C6B'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['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' => '终端节点服务与双栈终端节点之间存在连接,不支持双栈切到单栈。'], + ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D8992C1-6712-423C-BAC5-E5E817484C6B\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D8992C1-6712-423C-BAC5-E5E817484C6B\\n","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' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + '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'], + ], + [ + 'name' => 'DryRun', + 'in' => 'query', + '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' => true, 'docRequired' => true, 'example' => 'epsrv-hp3vpx8yqxblby3i****'], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => ['description' => '服务资源ID。', 'type' => 'string', 'required' => true, 'example' => 'lb-hp32z1wp5peaoox2q****'], + ], [ 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点连接可用区ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou-b', - ], + '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。您可以通过调用[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' => [ @@ -7264,100 +5378,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' => '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' => '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' => '一个可用区至少包含一个可自动分配的资源'], ], - 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.', + ], + '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' => '[{"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**接口不支持在同一个终端节点实例下并发接受可用区的连接请求。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], 'UpdateVpcEndpointZoneConnectionResourceAttribute' => [ 'summary' => '调用UpdateVpcEndpointZoneConnectionResourceAttribute接口,替换终端节点可用区连接服务资源。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7368,81 +5428,44 @@ 'systemTags' => [ 'operationType' => 'update', 'abilityTreeCode' => '32983', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkO25BLH', - ], + 'abilityTreeNodes' => ['FEATUREprivatelinkO25BLH'], ], '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" + .'- **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', 'in' => 'query', - 'schema' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'required' => true, - 'maximum' => '2147483647', - 'minimum' => '0', - 'example' => 'cn-hangzhou-b', - ], + 'schema' => ['description' => '可用区ID。', 'type' => 'string', 'required' => true, 'maximum' => '2147483647', 'minimum' => '0', 'example' => 'cn-hangzhou-b'], ], [ 'name' => 'ResourceAllocateMode', @@ -7479,43 +5502,27 @@ [ 'name' => 'ResourceType', 'in' => 'query', - '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', - ], + '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' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '终端节点连接所在可用区手动分配或迁移的服务资源ID。'."\n" - ."\n" - .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-hp32z1wp5peaoox2q****', - ], + 'schema' => ['description' => '终端节点连接所在可用区手动分配或迁移的服务资源ID。'."\n" + ."\n" + .'> 当**ResourceAllocateMode**为**Manual**或指定**ResourceReplaceMode**参数时,此参数必选。', 'type' => 'string', 'required' => false, 'example' => 'lb-hp32z1wp5peaoox2q****'], ], [ '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' => [ @@ -7523,88 +5530,33 @@ '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' => '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' => '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\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', 'title' => '替换终端节点可用区连接服务资源', 'description' => '- 替换终端节点可用区连接服务资源的功能默认不开放,请登录[配额中心控制台](https://quotas.console.aliyun.com/white-list-products/privatelink/quotas),搜索ID`privatelink_whitelist/svc_res_mgt_uat`进行申请。'."\n" ."\n" @@ -7618,1311 +5570,784 @@ .' - 当终端节点服务处于**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}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n","errorExample":""}]', ], - 'AttachSecurityGroupToVpcEndpoint' => [ - 'methods' => [ - 'post', - 'get', + ], + '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'], ], - 'schemes' => [ - 'http', - 'https', + ], + 'ramActions' => [ + [ + 'apiName' => 'DetachResourceFromVpcEndpointService', + 'description' => '移除终端节点服务中的服务资源', + '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}'], + ], + ], + ], + [ + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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/*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'RemoveUserFromVpcEndpointService', + 'description' => '移除服务白名单', 'operationType' => 'update', - 'abilityTreeCode' => '16163', - 'abilityTreeNodes' => [ - 'FEATUREprivatelink57DP0F', + 'ramAction' => [ + 'action' => 'privatelink:RemoveUserFromVpcEndpointService', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要加入安全组的终端节点所属的地域ID。'."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', + [ + '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' => 'SecurityGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '要加入的安全组的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'sg-hp3c8qj1tyct90ej****', + ], + [ + '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' => 'EndpointId', - 'in' => 'query', - 'schema' => [ - 'description' => '要加入安全组的终端节点的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ep-hp33b2e43fays7s8****', + ], + [ + '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' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会加入安全组。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', + ], + [ + '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' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760', + ], + [ + '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' => 'query', - 'schema' => [ - 'description' => '要加入安全组的终端节点所属的地域ID。'."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', + ], + [ + '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' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81', - ], - ], + [ + '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' => 'EndpointNotFound', - 'errorMessage' => 'The specified Endpoint does not exist.', + [ + '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}'], ], - [ - 'errorCode' => 'EndpointOperationDenied', - 'errorMessage' => 'The specified operation of endpoint is not allowed.', + ], + ], + [ + '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}'], ], - [ - 'errorCode' => 'EndpointLocked', - 'errorMessage' => 'The specified Endpoint is locked.', + ], + ], + [ + 'apiName' => 'ListVpcEndpointServiceResources', + 'description' => '查询终端节点服务中的服务资源', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'privatelink:ListVpcEndpointServiceResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'], ], - [ - 'errorCode' => 'EndpointConnectionOperationDenied', - 'errorMessage' => 'The endpoint is being connected.', + ], + ], + [ + 'apiName' => 'CreateVpcEndpoint', + 'description' => '创建终端节点', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'privatelink:CreateVpcEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [ + ['conditionKey' => 'privatelink:VpcEndpointServiceId', 'validationType' => 'always'], ], - [ - 'errorCode' => 'SecurityGroupExist', - 'errorMessage' => 'The specified security group already exists.', + '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}'], ], - [ - 'errorCode' => 'EndpointServiceDeleted', - 'errorMessage' => 'The specified Service is already deleted.', + ], + ], + [ + '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}'], ], - [ - 'errorCode' => 'SecurityGroupNotFound', - 'errorMessage' => 'The specified security group does not exist.', + ], + ], + [ + 'apiName' => 'CheckProductOpen', + 'description' => '查询是否已开通私网连接', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'privatelink:CheckProductOpen', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'SecurityGroupTypeNotSupport', - 'errorMessage' => 'The specified security group type is not supported.', + ], + ], + [ + '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}'], ], - [ - 'errorCode' => 'SecurityGroupTypeOnlySingleTypeSupporteded', - 'errorMessage' => 'The specified security group only support one type.', + ], + ], + [ + '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}'], ], - [ - 'errorCode' => 'GatewayLoadBalancerNotSupportSecurityGroup', - 'errorMessage' => 'The gateway load balancer not support security group.', + ], + ], + [ + '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' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\n","errorExample":""}]', - 'title' => '将终端节点加入安全组', - 'summary' => '调用AttachSecurityGroupToVpcEndpoint接口,将终端节点加入安全组。', - 'description' => '- **AttachSecurityGroupToVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点加入安全组尚未完成,系统后台添加任务仍在进行中。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的状态:'."\n" - ."\n" - .' - 当终端节点处于**Pending**状态时,表示终端节点正在添加中。'."\n" - .' - 当终端节点处于**Active**状态时,表示终端节点添加完成。'."\n" - ."\n" - .'- **AttachSecurityGroupToVpcEndpoint**接口不支持将同一个终端节点实例并发加入安全组。', - ], - 'ListVpcEndpointSecurityGroups' => [ - 'methods' => [ - 'post', - 'get', + [ + '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}'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '更改资源组', + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListVpcEndpointZones', + 'description' => '查询终端节点可用区列表', 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的终端节点所属的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', + 'ramAction' => [ + 'action' => 'privatelink:ListVpcEndpointZones', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpoint', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpoint/{#EndpointId}'], ], ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', + ], + [ + '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' => 'MaxResults', - 'in' => 'query', - 'schema' => [ - 'description' => '分页大小,取值范围:**1**~**50**,默认值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '50', - 'minimum' => '0', - 'example' => '50', + ], + [ + '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' => 'EndpointId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的终端节点的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'ep-hp33b2e43fays7s8****', + ], + [ + '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}'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的终端节点所属的地域ID。'."\n" - ."\n" - .'您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。 ', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cn-huhehaote', + ], + [ + 'apiName' => 'OpenPrivateLinkService', + 'description' => '开启私网连接服务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'privatelink:OpenPrivateLinkService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - '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', - ], - ], + [ + '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}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'EndpointNotFound', - 'errorMessage' => 'The specified Endpoint does not exist.', + [ + 'apiName' => 'ListVpcEndpointServicesByEndUser', + 'description' => '查询可以关联的终端节点服务', + '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/*'], ], ], ], - '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":"\\n \\n sg-hp33bw6ynvm2yb0e****\\n \\n caeba0bbb2be03f84eb48b699f0a4883\\n 0ED8D006-F706-4D23-88ED-E11ED28DCAC0\\n 50\\n","errorExample":""}]', - 'title' => '查询终端节点已加入的安全组', - 'summary' => '调用ListVpcEndpointSecurityGroups接口,查询终端节点已加入的安全组。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DetachSecurityGroupFromVpcEndpoint' => [ - 'methods' => [ - 'post', - 'get', + [ + '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}'], + ], + ], ], - 'schemes' => [ - 'https', + [ + '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}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + '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}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'UpdateVpcEndpointServiceResourceAttribute', + 'description' => '修改终端节点服务资源的属性', 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要移除安全组的终端节点所属的地域ID。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', + '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' => '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。您可以通过调用[DescribeRegions](~~120468~~)接口获取地域ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'eu-west-1', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8D778FF9-7640-4C13-BCD6-9265CA9A2F81', - ], - ], - ], - ], - ], - '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.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 8D778FF9-7640-4C13-BCD6-9265CA9A2F81\\n","errorExample":""}]', - 'title' => '将终端节点移除安全组', - 'summary' => '调用DetachSecurityGroupFromVpcEndpoint接口,将终端节点移除安全组。', - 'description' => '- **DetachSecurityGroupFromVpcEndpoint**接口属于异步接口,即系统会返回一个请求ID,但终端节点尚未从安全组中移除,系统后台的移除任务仍在进行。您可以调用[ListVpcEndpoints](~~183558~~)查询终端节点的移除状态:'."\n" - .' '."\n" - .' - 当终端节点处于**Pending**状态时,表示终端节点正在移除中。'."\n" - .' - 当在安全组中查询不到该终端节点时,表示终端节点移除完成。'."\n" - ."\n" - .'- **DetachSecurityGroupFromVpcEndpoint**接口不支持将同一个终端节点实例并发移除安全组。', - ], - 'UntagResources' => [ - 'summary' => '当您不需要标识一个或多个终端节点或终端节点服务时,可调用UntagResources接口,为指定的资源列表统一解绑标签。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkW2XK1B', - ], - '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, - ], - ], - [ - '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, - ], - ], - [ - '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' => 'formData', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - ."\n" - .'- **true**:发送检查请求,不会解绑标签。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - ."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回`HTTP 2xx`状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'formData', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'从您的客户端生成一个参数值,确保不同请求间该参数值唯一。**ClientToken**只支持ASCII字符。', - 'type' => 'string', - 'required' => false, - 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0', - ], - ], - [ - 'name' => 'RegionId', - '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' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0ED8D006-F706-4D23-88ED-E11ED28DCAC0', - ], - ], - ], - ], - ], - '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.', - ], - ], - ], - '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' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - '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, - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '资源类型。取值:'."\n" - ."\n" - .'- **vpcendpoint**:终端节点。 '."\n" - ."\n" - .'- **vpcendpointservice**:终端节点服务。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpcendpoint', - ], - ], - [ - '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, - ], - ], - [ - '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, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - ."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - ."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], - ], - ], - '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', - ], - ], - ], - ], - ], - '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.', - ], - ], - ], - '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' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'VerifyVpcEndpointServicePrivateDns', + '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, - ], - ], - [ - '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, - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'formData', - 'schema' => [ - 'description' => '资源类型。取值:'."\n" - ."\n" - .'- **vpcendpoint**:终端节点。 '."\n" - ."\n" - .'- **vpcendpointservice**:终端节点服务。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpcendpoint', - ], - ], - [ - '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' => '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' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0', - ], - ], + 'ramAction' => [ + 'action' => 'privatelink:VerifyVpcEndpointServicePrivateDns', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PrivateLink', 'resourceType' => 'VpcEndpointService', 'arn' => 'acs:privatelink:{#regionId}:{#accountId}:vpcendpointservice/{#ServiceId}'], ], ], ], - '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.', - ], - [ - 'errorCode' => 'QuotaExceed.TagsPerResource', - 'errorMessage' => 'The maximum number of tags for each resource is exceeded', - ], - [ - 'errorCode' => 'InvalidResourceId.NotFound', - 'errorMessage' => 'The specified ResourceIds are not found in our records.', + [ + '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}'], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"\\n C46FF5A8-C5F0-4024-8262-B16B639225A0\\n","errorExample":""}]', - 'title' => '为指定的资源列表统一创建并绑定标签', - 'description' => '> 单个实例最多可绑定20条标签。绑定标签前,阿里云会校验资源已有标签数量,超过限制值会返回报错信息。', - ], - 'ChangeResourceGroup' => [ - 'summary' => '更改资源组。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'AttachResourceToVpcEndpointService', + 'description' => '为终端节点服务添加服务资源', 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREprivatelinkEUMK18', - ], - ], - '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', - ], - ], - ], - [ - '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' => [ - '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', - ], - [ - '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', + '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}'], ], ], ]; -- cgit v1.2.3