'1.0', 'info' => ['style' => 'RPC', 'product' => 'VpcPeer', 'version' => '2022-01-01'], 'directories' => ['AcceptVpcPeerConnection', 'CreateVpcPeerConnection', 'DeleteVpcPeerConnection', 'GetVpcPeerConnectionAttribute', 'ListTagResources', 'ListVpcPeerConnections', 'ModifyVpcPeerConnection', 'MoveResourceGroup', 'RejectVpcPeerConnection', 'TagResources', 'UnTagResources'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AcceptVpcPeerConnection' => [ 'summary' => '调用AcceptVpcPeerConnection接口接收VPC对等连接实例的请求。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '130834', 'abilityTreeNodes' => ['FEATUREvpcZAZ5VI', 'FEATUREvpc3J8W0N', 'FEATUREvpc7MUSG6'], 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '接收端需要接收的VPC对等连接实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-guzvyqlj0n6e10****'], ], [ 'name' => 'DryRun', 'in' => 'formData', 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" .'- **true**:发送检查请求,不会接收VPC对等连接请求。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`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' => '02fb3da4-130e-11e9-8e44-001****'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', 'schema' => ['description' => '资源组ID。'."\n" ."\n" .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签信息。', 'type' => 'array', 'items' => [ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '资源的标签键。至少输入1个标签键,最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'Value' => ['description' => '资源的标签值。至少输入1个标签值,最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => '未找到指定实例'], ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'], ['errorCode' => 'OperationFailed.CdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service is not opened.', 'description' => '创建操作失败,因为未开通Cdt服务'], ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => '当前实例状态异常,不允许进行当前操作'], ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group does not exist.', 'description' => '资源组不存在,操作失败。'], ['errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', 'errorMessage' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.', 'description' => '未开启阿里云跨境数据传输功能。'."\n"], ], ], 'title' => '接收VPC对等连接', 'description' => '- 对于跨账号的VPC对等连接,只有接收端接收了连接请求后VPC对等连接实例才会激活。'."\n" ."\n" .'- **AcceptVpcPeerConnection**接口属于异步接口,即系统会先返回一个**RequestId**,但该VPC对等连接实例并未激活完成,系统后台的激活任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~426100~~)查询VPC对等连接实例的状态。'."\n" ."\n" .' - 当VPC对等连接实例处于**Updating**状态时,表示VPC对等连接实例正在激活中。'."\n" ."\n" .' - 当VPC对等连接实例处于**Activated**状态时,表示VPC对等连接实例激活完成。'."\n" ."\n" .'- **AcceptVpcPeerConnection**接口不支持对同一个VPC对等连接实例并发发起接收VPC对等连接实例的请求。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AcceptVpcPeerConnection'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'vpc:AcceptVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 4EC47282-1B74-4534-BD0E-403F3EE64CAF\\n","errorExample":""}]', ], 'CreateVpcPeerConnection' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => '需要创建VPC对等连接的地域ID。 '."\n" ."\n" .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'VpcId', 'in' => 'formData', 'schema' => ['description' => '需要创建VPC对等连接发起端的VPC ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1gsk7h12ew7oegk****'], ], [ 'name' => 'AcceptingAliUid', 'in' => 'formData', 'schema' => ['description' => '需要创建的VPC对等连接接收端的阿里云账号(主账号)ID。'."\n" ."\n" .'- 输入您的阿里云账号ID,则创建同账号VPC对等连接。'."\n" ."\n" .'- 输入其他阿里云账号ID,则创建跨账号VPC对等连接。'."\n" .' '."\n" .'> 如果接收端的账号为RAM用户(子账号),则**AcceptingAliUid**需要输入该RAM用户对应的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1210123456123456'], ], [ 'name' => 'AcceptingRegionId', 'in' => 'formData', 'schema' => ['description' => '需要创建的VPC对等连接接收端的地域ID。'."\n" ."\n" .'- 创建同地域VPC对等连接时,输入与发起端的地域ID相同的地域ID。'."\n" ."\n" .'- 创建跨地域VPC对等连接时,输入与发起端的地域ID不同的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'AcceptingVpcId', 'in' => 'formData', 'schema' => ['description' => 'VPC对等连接接收端的VPC ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-bp1vzjkp2q1xgnind****'], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['description' => '需要创建的VPC对等连接名称。'."\n" ."\n" .'名称长度为2~128个字符,以英文字母或中文开头,可包含数字、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['description' => '需要创建的VPC对等连接描述信息。'."\n" ."\n" .'长度为2~256个字符,必须以字母或中文开头,但不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'description'], ], [ 'name' => 'DryRun', 'in' => 'formData', 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" ."\n" .'- **true**:发送检查请求,不会创建VPC对等连接。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ClientToken', 'in' => 'formData', 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" ."\n" .'由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" ."\n" .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => '02fb3da4-130e-11e9-8e44-001****'], ], [ 'name' => 'ResourceGroupId', 'in' => 'formData', 'schema' => ['description' => '资源组ID。'."\n" ."\n" .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'], ], [ 'name' => 'Bandwidth', 'in' => 'formData', 'schema' => ['description' => '需要创建的VPC对等连接的带宽值,单位:Mbps,取值范围为大于0的整数。'."\n" .'> 如需指定该参数,请确保您创建的是跨地域的对等连接。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ 'name' => 'LinkType', 'in' => 'query', 'schema' => ['description' => '链路类型。'."\n" ."\n" .'可选值为 Platinum(铂金),Gold(金),默认为 Gold(金)。'."\n" ."\n" .'> 如需指定该参数,请确保您创建的是跨地域的对等连接。', 'type' => 'string', 'required' => false, 'example' => 'Gold'], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签信息。', 'type' => 'array', 'items' => [ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '资源的标签键。至少输入1个标签键,最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'Value' => ['description' => '资源的标签值。至少输入1个标签值,最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], 'required' => false, 'maxItems' => 21, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45'], 'InstanceId' => ['description' => '创建的VPC对等连接的实例ID。', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'OperationFailed.CdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service is not opened.', 'description' => '创建操作失败,因为未开通Cdt服务'], ['errorCode' => 'OperationFailed.CrossBorderCdtNotOpened', 'errorMessage' => 'The operation failed because the CrossBorderCdt service is not opened.', 'description' => '操作失败,因为未打开CrossBorderCdt服务。'], ['errorCode' => 'IncorrectStatus.Vpc', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '发起端VPC实例状态不正确。'], ['errorCode' => 'IncorrectStatus.AcceptingVpc', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '接收端VPC状态不正确。'], ['errorCode' => 'ResourceAlreadyExist.RouterInterface', 'errorMessage' => 'The specified resource of %s already exists.', 'description' => '指定的路由器接口已经存在'], ['errorCode' => 'ResourceAlreadyExist.VpcPeer', 'errorMessage' => 'The specified resource of %s already exists.', 'description' => '指定的VpcPeer已经存在'], ['errorCode' => 'OperationDenied.CloudBoxExistsInVpc', 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in vpc.', 'description' => '在发起端VPC内存在云盒实例,因此不允许创建VpcPeer实例。'], ['errorCode' => 'OperationDenied.CloudBoxExistsInAcceptingVpc', 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.', 'description' => '在接收端VPC内存在云盒实例,因此不允许创建VpcPeer实例。'], ['errorCode' => 'QuotaExceeded.VpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '指定VPC中的VpcPeer数量超出限制'], ['errorCode' => 'UnsupportedRegion', 'errorMessage' => 'The feature of %s is not supported in the region of %s.', 'description' => 'VpcPeer特性在此地域不支持'], ['errorCode' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '单个地域内VpcPeer实例数量超过阈值。'], ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => '当前实例状态异常,不允许进行当前操作'], ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group does not exist.', 'description' => '资源组不存在,操作失败。'], ['errorCode' => 'OperationFailed.AcceptUserCdtNotOpened', 'errorMessage' => 'The operation failed because the Cdt service of accept user is not opened.', 'description' => '对端Cdt服务未开通,操作失败。'], ['errorCode' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened', 'errorMessage' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.', 'description' => '对端跨境Cdt服务未开通,操作失败。'], ['errorCode' => 'IncorrectBusinessStatus.AcceptUserVpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => '对端VpcPeer商业状态异常。'], ['errorCode' => 'OperationFailed.ViolativeVpcPeer', 'errorMessage' => 'The creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.', 'description' => '创建操作失败是因为不允许创建发起地域与接受地域之间的vpc peer实例。'], ['errorCode' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '指定VPC中的跨地域VpcPeer数量超出限制'], ['errorCode' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc', 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.', 'description' => '指定VPC中的同地域VpcPeer数量超出限制'], ['errorCode' => 'OperationDenied.OperateShareResource', 'errorMessage' => 'The operation is not allowed because of operating shared resource.', 'description' => '操作共享资源导致操作失败'], ['errorCode' => 'IncorrectBusinessStatus.AcceptVpcPeer', 'errorMessage' => 'The business status of peer account is incorrect.', 'description' => '对端VpcPeer商业状态异常。'], ['errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'errorMessage' => 'The same region not supported link type feature.', 'description' => '同地域不支持链路类型特性'], ['errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', 'errorMessage' => 'The feature link type is not supported in the region.', 'description' => '地域不支持该特性金银铜设置'], ['errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', 'errorMessage' => 'The operation failed because the special link type of user is not opened.', 'description' => '该账号不支持特殊链路类型'], ['errorCode' => 'OperationFailed.CrossBusinessNotAllowed', 'errorMessage' => 'Operation failed because receiver and accepter belong to different business site.', 'description' => ''], ['errorCode' => 'OperationFailed.ChargeTypeNotSupported', 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', 'description' => ''], ], ], 'title' => '创建VPC对等连接', 'summary' => '调用CreateVpcPeerConnection接口创建VPC对等连接。', 'description' => '创建VPC对等连接前,您需要完成以下事项:'."\n" .'- **CreateVpcPeerConnection**接口属于异步接口,即系统会先返回一个**InstanceId**,但该VPC对等连接实例并未创建完成,系统后台的创建任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~426095~~)查询VPC对等连接的状态。'."\n" .' - 当VPC对等连接处于**Creating**状态时,表示VPC对等连接正在创建中。 '."\n" .' - 当VPC对等连接处于**Activated**状态时,表示VPC对等连接创建完成。'."\n" .' - 当VPC对等连接处于**Accepting**状态时,为跨账号场景,跨账号场景需要在接收端接收。'."\n" .'- **CreateVpcPeerConnection**接口不支持在同一个VPC下并发创建VPC对等连接。'."\n" ."\n" .'创建VPC对等连接时,系统会为您自动开通非跨境云数据传输CDT(Cloud DataTransfer)和跨境CDT功能。'."\n" ."\n" .'创建VPC对等连接时,系统会为您自动开通非跨境云数据传输CDT(Cloud DataTransfer)功能。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVpcPeerConnection'], ], ], 'ramActions' => [ [ 'operationType' => 'create', 'ramAction' => [ 'action' => 'vpc:CreateVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 54B48E3D-DF70-471B-AA93-08E683A1B45\\n pcc-lnk0m24khwvtkm****\\n","errorExample":""}]', ], 'DeleteVpcPeerConnection' => [ 'summary' => '调用DeleteVpcPeerConnection接口删除VPC对等连接实例。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '需要删除的VPC对等连接的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****'], ], [ 'name' => 'Force', 'in' => 'formData', 'schema' => ['title' => '是否强删', 'description' => '是否强制删除VPC对等连接。取值:'."\n" ."\n" .'- **false**(默认值):不强制删除。删除前,需要将路由表中指向VPC对等连接的路由条目删除。'."\n" ."\n" .'- **true**:强制删除。系统会将VPC路由表中指向该VPC对等连接的路由条目删除。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'DryRun', 'in' => 'formData', 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" .'- **true**:发送检查请求,不会删除VPC对等连接。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`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' => '02fb3da4-130e-11e9-8e44-001****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => '未找到指定实例'], ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'], ['errorCode' => 'OperationDenied.RouteEntryExist', 'errorMessage' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.', 'description' => '无法删除VpcPeer,因此存在指向VpcPeer的路由条目'], ['errorCode' => 'OperationDenied.ServiceManagedInstance', 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', 'description' => ''], ], ], 'title' => '删除VPC对等连接', 'description' => '- 您可用删除VPC对等连接实例,删除后,您的业务也会中断,请在不影响业务的情况下执行该操作。'."\n" ."\n" .' - 如果选择强制删除,系统会将VPC路由表中指向VPC对等连接实例的路由条目删除。'."\n" ."\n" .' - 如果未选择强制删除,系统不会将VPC路由表中指向VPC对等连接实例的路由条目删除,您需要手动删除该路由条目。'."\n" ."\n\n" ."\n" .'- **DeleteVpcPeerConnection**接口属于异步接口,即系统会先返回一个**RequestId**,但该VPC对等连接实例并未删除完成,系统后台的删除任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~2523294~~)查询VPC对等连接实例的状态。'."\n" ."\n" .' - 当VPC对等连接实例处于**Deleting**状态时,表示正在删除中。'."\n" ."\n" .' - 当VPC对等连接实例处于**Deleted**状态时,表示删除完成。'."\n" ."\n" .'- **DeleteVpcPeerConnection**接口不支持并发删除同一个VPC对等连接实例。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVpcPeerConnection'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'vpc:DeleteVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 54B48E3D-DF70-471B-AA93-08E683A1B45\\n","errorExample":""}]', ], 'GetVpcPeerConnectionAttribute' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '需要查询详细信息的VPC对等连接实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E'], 'InstanceId' => ['description' => 'VPC对等连接的实例ID。', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****'], 'GmtCreate' => ['description' => 'VPC对等连接的创建时间。使用UTC时间,格式为`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2022-04-24T09:02:36Z'], 'GmtModified' => ['description' => 'VPC对等连接的修改时间。使用UTC时间,格式为`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2022-04-24T19:20:45Z'], 'Name' => ['description' => 'VPC对等连接的名称。', 'type' => 'string', 'example' => 'vpcpeer'], 'Description' => ['description' => 'VPC对等连接的描述信息。', 'type' => 'string', 'example' => 'test'], 'OwnerId' => ['description' => 'VPC对等连接发起端的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****'], 'AcceptingOwnerUid' => ['description' => 'VPC对等连接接收端的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '28311773240248****'], 'RegionId' => ['description' => 'VPC对等连接发起端的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'AcceptingRegionId' => ['description' => 'VPC对等连接接收端的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'Bandwidth' => ['description' => 'VPC对等连接的带宽,单位:Mbps,取值范围为大于0的整数。'."\n" ."\n" .'> 例外取值-1,表示无带宽限制。'."\n" ."\n" .'默认值如下:'."\n" .'- 跨地域VPC对等连接的带宽默认值为1024 Mbps。'."\n" .'- 同地域VPC对等连接的带宽默认值为-1 Mbps,即不限制带宽。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], 'Status' => ['description' => 'VPC对等连接的状态。取值:'."\n" ."\n" .'- **Creating**:创建中。'."\n" .'- **Accepting**:接收中。'."\n" .'- **Updating**:更新中。'."\n" .'- **Rejected**:已拒绝。'."\n" .'- **Expired**:已过期。'."\n" .'- **Activated**:已激活。'."\n" .'- **Deleting**:删除中。'."\n" .'- **Deleted**:已删除。 '."\n" ."\n\n" .'关于VPC对等连接状态的更多信息,请参见[VPC对等连接概述](~~418507~~)。', 'type' => 'string', 'example' => 'Activated'], 'BizStatus' => ['description' => 'VPC对等连接的商业状态。取值:'."\n" ."\n" .'- **Normal**:正常。'."\n" .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'], 'GmtExpired' => ['description' => 'VPC对等连接的过期时间。'."\n" ."\n" .'只有当VPC对等连接的**Status**(状态)为**Accepting**(接收中)或**Expired**(已过期)时,才会返回具体的过期时间;VPC对等连接处于其余状态时,返回值为**null**。', 'type' => 'string', 'example' => '2022-05-01T09:02:36Z'], 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****'], 'Vpc' => [ 'description' => '发起端VPC实例详细信息。', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => '发起端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****'], 'Ipv4Cidrs' => [ 'description' => '发起端网段信息。', 'type' => 'array', 'items' => ['description' => '发起端网段信息。', 'type' => 'string', 'example' => '192.168.0.0/16'], ], 'Ipv6Cidrs' => [ 'description' => '发起端IPv6网段信息。', 'type' => 'array', 'items' => ['description' => '发起端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3c5:6e00::/56'], ], ], ], 'AcceptingVpc' => [ 'description' => '接收端VPC实例详细信息。', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => '接收端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****'], 'Ipv4Cidrs' => [ 'description' => '接收端网段信息。', 'type' => 'array', 'items' => ['description' => '接收端网段信息。', 'type' => 'string', 'example' => '10.0.0.0/16'], ], 'Ipv6Cidrs' => [ 'description' => '接收端IPv6网段信息。', 'type' => 'array', 'items' => ['description' => '接收端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3b8:3a00::/56'], ], ], ], 'Tags' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'], 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'], ], ], ], 'LinkType' => ['description' => 'VPC对等连接的链路类型。'."\n" ."\n" .'默认值如下:'."\n" .'- 跨地域VPC对等连接的默认链路类型为Gold(金)。'."\n" .'- 同地域VPC对等连接的默认链路类型为空。', 'type' => 'string', 'example' => 'Gold'], 'ManagedService' => ['title' => '归属云服务', 'description' => '归属云服务', 'type' => 'string', 'example' => 'SWAS'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => '未找到指定实例'], ], ], 'title' => '查询单个VPC对等连接属性', 'summary' => '调用GetVpcPeerConnectionAttribute接口查询指定VPC对等连接的详细信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcPeerConnectionAttribute'], ], ], 'ramActions' => [ [ 'operationType' => 'get', 'ramAction' => [ 'action' => 'vpc:GetVpcPeerConnectionAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"Description\\": \\"test\\",\\n \\"OwnerId\\": 0,\\n \\"AcceptingOwnerUid\\": 0,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"Bandwidth\\": 1024,\\n \\"Status\\": \\"Activated\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ]\\n },\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ],\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ]\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"LinkType\\": \\"Gold\\",\\n \\"ManagedService\\": \\"SWAS\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E\\n pcc-lnk0m24khwvtkm****\\n 2022-04-24T09:02:36Z\\n 2022-04-24T19:20:45Z\\n vpcpeer\\n test\\n 253460731706911260\\n 283117732402484000\\n cn-hangzhou\\n cn-hangzhou\\n 1024\\n Activated\\n Normal\\n 2022-05-01T09:02:36Z\\n rg-acfmxazb4ph6aiy****\\n \\n vpc-bp1gsk7h12ew7oegk****\\n 192.168.0.0/16\\n 2408:XXXX:3c5:6e00::/56\\n \\n \\n vpc-bp1vzjkp2q1xgnind****\\n 10.0.0.0/16\\n 2408:XXXX:3b8:3a00::/56\\n \\n \\n FinanceDept\\n FinanceJoshua\\n \\n","errorExample":""}]', ], 'ListTagResources' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '资源类型。取值:**PeerConnection**,VPC对等连接。', 'type' => 'string', 'required' => true, 'example' => 'PeerConnection'], ], [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源ID。最多支持20个资源ID。', 'type' => 'array', 'items' => ['description' => '资源ID。最多支持输入20个资源ID。'."\n" ."\n" .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'pcc-bp16qjewdsunr41m1****'], 'deprecated' => true, 'required' => false, 'maxItems' => 50, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签信息。', 'type' => 'array', 'items' => [ 'description' => '资源的标签键。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n" ."\n" .'一个标签键最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" ."\n" .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n" ."\n\n" .'一个标签值最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" ."\n" .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], 'deprecated' => true, 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'MaxResults', 'in' => 'query', 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**50**,默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], ], [ 'name' => 'NextToken', 'in' => 'query', 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" ."\n" .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" ."\n" .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => '资源所属的地域ID。'."\n" ."\n" .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ 'name' => 'Category', 'in' => 'query', 'schema' => [ 'description' => '标签类型。'."\n" .'- All(默认值)'."\n" ."\n" .'- Custom'."\n" ."\n" .'- System', 'type' => 'string', 'required' => false, 'enumValueTitles' => ['All' => 'All', 'Custom' => 'Custom', 'System' => 'System'], 'example' => 'All', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512'], 'TagResources' => [ 'description' => '绑定标签的资源信息。', 'type' => 'array', 'items' => [ 'description' => '绑定标签的资源信息。', 'type' => 'object', 'properties' => [ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'pcc-bp16qjewdsunr41m1****'], 'ResourceType' => ['description' => '资源类型。取值:**PeerConnection**,VPC对等连接。', 'type' => 'string', 'example' => 'PeerConnection'], 'RegionNo' => ['description' => 'VPC对等连接发起方的地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'], 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'], ], ], ], 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" .'- 如果**NextToken**为空表示没有下一次查询。'."\n" .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'InvalidTagKey', 'errorMessage' => 'The tag keys are not valid.', 'description' => '无效的标签索引'], ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => '标签数量超限'], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => '资源组ID数目超限'], ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => '该请求不允许操作此 tagkey'], ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => '标签资源重复'], ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => '实例ID没有找到'], ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => '实例类型没有找到'], ['errorCode' => 'BothEmpty.TagsAndResources', 'errorMessage' => 'The specified Tags and ResourcesIds are not allow to both empty.', 'description' => '标签和资源信息不能同时为空。'."\n"], ], ], 'title' => '查询对等连接已经绑定的标签列表', 'summary' => '调用ListTagResources接口查询对等连接已经绑定的标签列表。', 'description' => '- 请求中至少指定参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**),以确定检索对象。'."\n" .'- **Tag.N**是资源的标签,由一个键值对组成。仅指定**Tag.N.Key**时,则返回该标签键关联的所有标签值。仅指定**Tag.N.Value**会报错。'."\n" .'- 如果您同时指定**Tag.N**和**ResourceId.N**筛选标签,则**ResourceId.N**必须满足所有输入的标签键值对。'."\n" .'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'vpc:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494AC512\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"pcc-bp16qjewdsunr41m1****\\",\\n \\"ResourceType\\": \\"PeerConnection\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"TagKey\\": \\"FinanceDept\\",\\n \\"TagValue\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"MaxResults\\": 50\\n}","errorExample":""},{"type":"xml","example":"\\n DE65F6B7-7566-4802-9007-96F2494AC512\\n \\n pcc-bp16qjewdsunr41m1****\\n PeerConnection\\n cn-hangzhou\\n FinanceDept\\n FinanceJoshua\\n \\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n 50\\n","errorExample":""}]', ], 'ListVpcPeerConnections' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RegionId', 'in' => 'formData', 'schema' => ['description' => '需要查询详细信息的VPC对等连接的地域ID。'."\n" ."\n" .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '需要查询详细信息的VPC对等连接实例ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-lnk0m24khwvtkm****'], ], [ 'name' => 'VpcId', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'title' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤', 'description' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤', 'type' => 'array', 'items' => ['description' => '需要查询详细信息的VPC对等连接的发起端或者接收端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1gsk7h12ew7oegk****'], 'required' => false, 'maxItems' => 2, ], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['description' => '需要查询详细信息的VPC对等连接的名称。', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer'], ], [ 'name' => 'NextToken', 'in' => 'formData', 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], ], [ 'name' => 'MaxResults', 'in' => 'formData', 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**100**,默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], ], [ 'name' => 'Tags', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Value' => ['description' => '标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" ."\n" .'一个标签值最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], 'Key' => ['description' => '标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" ."\n" .'一个标签键最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], ], 'required' => false, ], 'required' => false, 'maxItems' => 10, ], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', 'schema' => ['description' => '资源组ID。'."\n" ."\n" .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0ED8D006-F706-4D23-88ED-E11ED39DCAC0'], 'TotalCount' => ['description' => '列表条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'MaxResults' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**100**,默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" .'- 如果**NextToken**为空表示没有下一次查询。'."\n" .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], 'VpcPeerConnects' => [ 'description' => '查询的VPC对等连接的详细信息列表。', 'type' => 'array', 'items' => [ 'description' => '查询的VPC对等连接的详细信息。', 'type' => 'object', 'properties' => [ 'AcceptingOwnerUid' => ['description' => 'VPC对等连接接收端的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****'], 'Status' => ['description' => 'VPC对等连接的状态。取值:'."\n" ."\n" .'- **Creating**:创建中。'."\n" .'- **Accepting**:接收中。'."\n" .'- **Updating**:更新中。'."\n" .'- **Rejected**:已拒绝。'."\n" .'- **Expired**:已过期。'."\n" .'- **Activated**:已激活。'."\n" .'- **Deleting**:删除中。'."\n" .'- **Deleted**:已删除。'."\n" ."\n" .'关于VPC对等连接状态的更多信息,请参见[VPC对等连接概述](~~418507~~)。', 'type' => 'string', 'example' => 'Activated'], 'Description' => ['description' => 'VPC对等连接的描述信息。', 'type' => 'string', 'example' => 'test'], 'ResourceGroupId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-acfmxazb4ph6aiy****'], 'InstanceId' => ['description' => 'VPC对等连接的实例ID。', 'type' => 'string', 'example' => 'pcc-lnk0m24khwvtkm****'], 'AcceptingRegionId' => ['description' => 'VPC对等连接接收端的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'GmtModified' => ['description' => 'VPC对等连接的修改时间。使用UTC时间,格式为`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2022-04-24T19:20:45Z'], 'Vpc' => [ 'description' => '发起端VPC实例详细信息。', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => '发起端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****'], 'Ipv6Cidrs' => [ 'description' => '发起端IPv6网段信息。', 'type' => 'array', 'items' => ['description' => '发起端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3c5:6e00::/56'], ], 'Ipv4Cidrs' => [ 'description' => '发起端网段信息。', 'type' => 'array', 'items' => ['description' => '发起端网段信息。', 'type' => 'string', 'example' => '192.168.0.0/16'], ], ], ], 'GmtExpired' => ['description' => 'VPC对等连接的过期时间。使用UTC时间,格式为`YYYY-MM-DDThh:mm:ssZ`。'."\n" ."\n" .'只有当VPC对等连接的**Status**(状态)为**Accepting**(接收中)或**Expired**(已过期)时,才会返回具体的过期时间;VPC对等连接处于其余状态时,返回值为**null**。', 'type' => 'string', 'example' => '2022-05-01T09:02:36Z'], 'Name' => ['description' => 'VPC对等连接的名称。', 'type' => 'string', 'example' => 'vpcpeer'], 'BizStatus' => ['description' => 'VPC对等连接的商业状态。取值:'."\n" ."\n" .'- **Normal**:正常。'."\n" .'- **FinancialLocked**:欠费锁定。', 'type' => 'string', 'example' => 'Normal'], 'GmtCreate' => ['description' => 'VPC对等连接的创建时间。使用UTC时间,格式为`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2022-04-24T09:02:36Z'], 'OwnerId' => ['description' => 'VPC对等连接发起端的阿里云账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****'], 'Bandwidth' => ['description' => 'VPC对等连接的带宽,单位:Mbps,取值范围为大于0的整数。'."\n" ."\n" .'> 例外取值-1,表示无带宽限制。'."\n" ."\n" .'默认值如下:'."\n" .'- 跨地域VPC对等连接的带宽默认值为1024 Mbps。'."\n" .'- 同地域VPC对等连接的带宽默认值为-1 Mbps,即不限制带宽。', 'type' => 'integer', 'format' => 'int32', 'example' => '1024'], 'RegionId' => ['description' => 'VPC对等连接发起端的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'AcceptingVpc' => [ 'description' => '接收端VPC实例详细信息。', 'type' => 'object', 'properties' => [ 'VpcId' => ['description' => '接收端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****'], 'Ipv6Cidrs' => [ 'description' => '接收端IPv6网段信息。', 'type' => 'array', 'items' => ['description' => '接收端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3b8:3a00::/56'], ], 'Ipv4Cidrs' => [ 'description' => '接收端网段信息。', 'type' => 'array', 'items' => ['description' => '接收端网段信息。', 'type' => 'string', 'example' => '10.0.0.0/16'], ], ], ], 'LinkType' => ['description' => 'VPC对等连接的链路类型。'."\n" ."\n" .'默认值如下:'."\n" .'- 跨地域VPC对等连接的默认链路类型为Gold(金)。'."\n" .'- 同地域VPC对等连接的默认链路类型为空。', 'type' => 'string', 'example' => 'Gold'], 'Tags' => [ 'description' => '标签列表。', 'type' => 'array', 'items' => [ 'description' => '标签列表。', 'type' => 'object', 'properties' => [ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'], 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'], ], ], ], 'ManagedService' => ['title' => '归属云服务', 'description' => '归属云服务', 'type' => 'string', 'example' => 'SWAS'], ], ], ], ], ], ], ], 'title' => '查询VPC对等连接列表', 'summary' => '调用ListVpcPeerConnections接口查询VPC对等连接的详细信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListVpcPeerConnections'], ], ], 'ramActions' => [ [ 'operationType' => 'list', 'ramAction' => [ 'action' => 'vpc:ListVpcPeerConnections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"0ED8D006-F706-4D23-88ED-E11ED39DCAC0\\",\\n \\"TotalCount\\": 1,\\n \\"MaxResults\\": 20,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"VpcPeerConnects\\": [\\n {\\n \\"AcceptingOwnerUid\\": 0,\\n \\"Status\\": \\"Activated\\",\\n \\"Description\\": \\"test\\",\\n \\"ResourceGroupId\\": \\"rg-acfmxazb4ph6aiy****\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\",\\n \\"AcceptingRegionId\\": \\"cn-hangzhou\\",\\n \\"GmtModified\\": \\"2022-04-24T19:20:45Z\\",\\n \\"Vpc\\": {\\n \\"VpcId\\": \\"vpc-bp1gsk7h12ew7oegk****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3c5:6e00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"192.168.0.0/16\\"\\n ]\\n },\\n \\"GmtExpired\\": \\"2022-05-01T09:02:36Z\\",\\n \\"Name\\": \\"vpcpeer\\",\\n \\"BizStatus\\": \\"Normal\\",\\n \\"GmtCreate\\": \\"2022-04-24T09:02:36Z\\",\\n \\"OwnerId\\": 0,\\n \\"Bandwidth\\": 1024,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"AcceptingVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1vzjkp2q1xgnind****\\",\\n \\"Ipv6Cidrs\\": [\\n \\"2408:XXXX:3b8:3a00::/56\\"\\n ],\\n \\"Ipv4Cidrs\\": [\\n \\"10.0.0.0/16\\"\\n ]\\n },\\n \\"LinkType\\": \\"Gold\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"FinanceJoshua\\",\\n \\"Key\\": \\"FinanceDept\\"\\n }\\n ],\\n \\"ManagedService\\": \\"SWAS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 0ED8D006-F706-4D23-88ED-E11ED39DCAC0\\n 1\\n 20\\n FFmyTO70tTpLG6I3FmYAXGKPd****\\n \\n pcc-lnk0m24khwvtkm****\\n 2022-04-24T09:02:36Z\\n 2022-04-24T19:20:45Z\\n vpcpeer\\n test\\n cn-hangzhou\\n cn-hangzhou\\n 1024\\n Activated\\n Normal\\n 2022-05-01T09:02:36Z\\n rg-acfmxazb4ph6aiy****\\n \\n vpc-bp1gsk7h12ew7oegk****\\n 192.168.0.0/16\\n 2408:XXXX:3c5:6e00::/56\\n \\n \\n vpc-bp1vzjkp2q1xgnind****\\n 10.0.0.0/16\\n 2408:XXXX:3b8:3a00::/56\\n \\n \\n FinanceDept\\n FinanceJoshua\\n \\n \\n","errorExample":""}]', ], 'ModifyVpcPeerConnection' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '需要修改名称或者描述信息的VPC对等连接实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****'], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => ['description' => '需要修改的VPC对等连接的名称,即修改后的名称。'."\n" ."\n" .'名称长度为1~128个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'vpcpeername'], ], [ 'name' => 'Description', 'in' => 'formData', 'schema' => ['description' => '需要修改的VPC对等连接的描述信息,即修改后的描述信息。'."\n" ."\n" .'描述长度为1~256个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'newdescription'], ], [ 'name' => 'Bandwidth', 'in' => 'formData', 'schema' => ['description' => '需要修改的VPC对等连接的带宽,单位:Mbps,取值范围为大于0的整数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], ], [ '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' => '0c593ea1-3bea-11e9-b96b-88e9fe637760'], ], [ 'name' => 'LinkType', 'in' => 'query', 'schema' => ['description' => '链路类型。'."\n" ."\n" .'可选值为 Platinum(铂金),Gold(金),默认为 Gold(金)。'."\n" ."\n" .'> 如需指定该参数,请确保您创建的是跨地域的对等连接。', 'type' => 'string', 'required' => false, 'example' => 'Gold'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => 'RpcResponse', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '880C99E1-449B-524A-B81F-1EC53D2A7EAC'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => '未找到指定实例'], ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'], ['errorCode' => 'IncorrectBusinessStatus.VpcPeer', 'errorMessage' => 'The business status of %s [%s] is incorrect.', 'description' => '当前实例状态异常,不允许进行当前操作'], ['errorCode' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion', 'errorMessage' => 'The operation failed because the bandwidth cannot be changed in the same region.', 'description' => '操作失败,因为同地域的VpcPeer实例不允许修改带宽值。'], ['errorCode' => 'QuotaExceeded.Bandwidth', 'errorMessage' => 'The quota of bandwidth is exceeded.', 'description' => '传入的带宽值非法'], ['errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'errorMessage' => 'The same region not supported link type feature.', 'description' => '同地域不支持链路类型特性'], ['errorCode' => 'OperationFailed.RegionIdNotSupportLinkType', 'errorMessage' => 'The feature link type is not supported in the region.', 'description' => '地域不支持该特性金银铜设置'], ['errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported', 'errorMessage' => 'The operation failed because the special link type of user is not opened.', 'description' => '该账号不支持特殊链路类型'], ['errorCode' => 'OperationDenied.ServiceManagedInstance', 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.', 'description' => ''], ['errorCode' => 'OperationFailed.ChargeTypeNotSupported', 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.', 'description' => ''], ], ], 'title' => '修改VPC对等连接', 'summary' => '调用ModifyVpcPeerConnection接口修改VPC对等连接实例的名称或者描述信息。', 'description' => '- **ModifyVpcPeerConnection**接口属于异步接口,即系统会先返回一个**RequestId**,但该VPC对等连接实例并未修改完成,系统后台的修改任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~426100~~)查询VPC对等连接实例的状态。'."\n" .' - 当VPC对等连接实例处于**Updating**状态时,表示正在修改中。'."\n" .' - 当VPC对等连接实例处于**Activated**状态时,表示修改完成。'."\n" ."\n" .'- **ModifyVpcPeerConnection**接口不支持并发修改同一个VPC对等连接实例的名称和描述信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyVpcPeerConnection'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:ModifyVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"880C99E1-449B-524A-B81F-1EC53D2A7EAC\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 880C99E1-449B-524A-B81F-1EC53D2A7EAC\\n","errorExample":""}]', ], 'MoveResourceGroup' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'schema' => ['description' => '需要修改资源组的对等连接的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-gu32s92f9ytsk9****'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '资源类型。取值:**PeerConnection**,VPC对等连接。', 'type' => 'string', 'required' => true, 'example' => 'PeerConnection'], ], [ 'name' => 'NewResourceGroupId', 'in' => 'query', 'schema' => ['description' => '需要移入对等连接实例的资源组ID。'."\n" ."\n" .'> 资源组是在阿里云账号下进行资源分组管理的一种机制,资源组能够帮助您解决单个云账号内的资源分组和授权管理等复杂性问题。更多信息,请参见[什么是资源管理](~~94475~~)。', 'type' => 'string', 'required' => true, 'example' => 'rg-acfm3peow3k****'], ], [ 'name' => 'RegionId', 'in' => 'query', 'schema' => ['description' => '资源所属的地域ID。'."\n" ."\n" .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F'], 'Success' => ['description' => '是否修改成功。取值:'."\n" ."\n" .'- **true**:修改成功。'."\n" .'- **false**:修改失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'OperationFailed.NotExist.ResourceGroup', 'errorMessage' => 'The operation failed because the resource group not exist.', 'description' => '操作失败,因为资源组不存在。'], ['errorCode' => 'ResourceNotFound.VpcPeer', 'errorMessage' => 'The specified resource of VpcPeer is not found.', 'description' => '传入的VpcPeer实例不存在。'], ], ], 'title' => '迁移VPC对等连接资源组', 'summary' => '调用MoveResourceGroup接口修改对等连接所属的资源组。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'MoveResourceGroup'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:MoveResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\n true\\n","errorExample":""}]', ], 'RejectVpcPeerConnection' => [ 'summary' => '调用RejectVpcPeerConnection接口拒绝VPC对等连接实例的请求。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'formData', 'schema' => ['description' => '接收端拒绝的VPC对等连接实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm0****'], ], [ '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'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD2E-403F3EE64CAF'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ResourceNotFound.InstanceId', 'errorMessage' => 'The specified resource of %s is not found.', 'description' => '未找到指定实例'], ['errorCode' => 'IncorrectStatus.VpcPeer', 'errorMessage' => 'The status of %s [%s] is incorrect.', 'description' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'], ], ], 'title' => '拒绝VPC对等连接', 'description' => '- 对于跨账号的VPC对等连接实例,接收端可以拒绝连接请求。拒绝连接请求的VPC对等连接实例变为**已拒绝**状态。'."\n" ."\n" .'- **RejectVpcPeerConnection**不支持对同一个对等连接实例并发发起拒绝连接请求。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RejectVpcPeerConnection'], ], ], 'ramActions' => [ [ 'operationType' => 'delete', 'ramAction' => [ 'action' => 'vpc:RejectVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD2E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 4EC47282-1B74-4534-BD2E-403F3EE64CAF\\n","errorExample":""}]', ], 'TagResources' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源ID,最多支持输入20个资源ID。', 'type' => 'array', 'items' => ['description' => '资源ID,最多支持输入20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-bp16qjewdsunr41m1****'], 'required' => true, 'maxItems' => 50, 'minItems' => 1, ], ], [ 'name' => 'Tag', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '标签信息。', 'type' => 'array', 'items' => [ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ 'Key' => ['description' => '资源的标签键。至少输入1个标签键,最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'Value' => ['description' => '资源的标签值。至少输入1个标签值,最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" ."\n" .'最多支持 128 个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], 'required' => true, 'maxItems' => 21, 'minItems' => 1, ], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '资源类型。取值:**PeerConnection**,表示VPC对等连接。', 'type' => 'string', 'required' => true, 'example' => 'PeerConnection'], ], [ 'name' => 'ClientToken', 'in' => 'query', '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](~~36063~~)接口获取地域ID。'."\n" ."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], 'Success' => ['description' => '是否创建并绑定成功。取值:'."\n" ."\n" .'- **true**:创建并绑定成功。'."\n" .'- **false**:创建并绑定失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => '标签数量超限'], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => '资源组ID数目超限'], ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => '该请求不允许操作此 tagkey'], ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => '标签资源重复'], ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => '实例ID没有找到'], ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => '实例类型没有找到'], ['errorCode' => 'IllegalParam.TagKey', 'errorMessage' => 'The param of Tag.Key is illegal.', 'description' => '指定的参数Tag.Key非法'], ['errorCode' => 'IllegalParam.TagValue', 'errorMessage' => 'The param of Tag.Value is illegal.', 'description' => '指定的参数Tag.Value非法'], ], ], 'title' => '为指定的VPC对等连接统一创建并绑定标签', 'summary' => '调用TagResources接口为指定的VPC对等连接统一创建并绑定标签。', 'description' => '标签是您为实例分配的标记,每个标签都由一对键值对(Key-Value)组成。标签的使用说明如下: '."\n" .'- 一个实例上的每条标签的标签键(Key)必须唯一。'."\n" .'- 不支持未绑定实例的空标签存在,标签必须绑定在实例上。'."\n" .'- 不同地域下的标签信息不互通。 '."\n" ."\n" .' 例如在华东1(杭州)地域创建的标签在华东2(上海)地域不可见。'."\n" ."\n" .'- 同账号同地域下,不同VPC对等连接的实例标签信息互通。 '."\n" ."\n" .' 例如在同账号同地域下,VPC对等连接实例绑定了某个标签,那么您可以在其他VPC对等连接实例的编辑标签页面,直接选择将该标签绑定到实例上,而无需手动输入标签的键值信息。您可以修改标签的键和值,也可以随时删除实例的标签。如果删除实例,绑定实例的所有标签也会被删除。'."\n" ."\n" .'- 单个实例最多可绑定20条标签。绑定标签前,阿里云会校验资源已有标签数量。超过限制值后返回报错信息。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n C46FF5A8-C5F0-4024-8262-B16B639225A0\\n true\\n","errorExample":""}]', ], 'UnTagResources' => [ 'summary' => '调用UnTagResources接口为指定的VPC对等连接统一解绑标签。', 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ResourceId', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'array', 'items' => ['description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-bp16qjewdsunr41m1****'], 'deprecated' => false, 'required' => true, 'maxItems' => 50, 'minItems' => 1, ], ], [ 'name' => 'TagKey', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ 'description' => '要解绑的标签键。最多支持输入20个标签键。如需传入该值,可以输入空字符串。'."\n" ."\n\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n", 'type' => 'array', 'items' => ['description' => '要解绑的标签键。最多支持输入20个标签键。如需传入该值,可以输入空字符串。'."\n" ."\n\n" .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n", 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'required' => false, 'maxItems' => 21, ], ], [ 'name' => 'All', 'in' => 'query', 'schema' => ['description' => '是否解绑资源的所有标签。取值:'."\n" .'- **true**:解除资源的所有标签。'."\n" .'- **false**(默认值):不解除资源的所有标签。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'ResourceType', 'in' => 'query', 'schema' => ['description' => '资源类型。取值:**PeerConnection**,VPC对等连接。', 'type' => 'string', 'required' => true, 'example' => 'PeerConnection'], ], [ 'name' => 'ClientToken', 'in' => 'query', '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](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'RpcResponse', 'description' => '请求ID。', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], 'Success' => ['description' => '是否解绑成功。取值:'."\n" ."\n" .'- **true**:创建并绑定成功。'."\n" .'- **false**:创建并绑定失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => '标签数量超限'], ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => '资源组ID数目超限'], ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => '该请求不允许操作此 tagkey'], ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => '标签资源重复'], ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => '实例ID没有找到'], ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => '实例类型没有找到'], ], ], 'title' => '为指定的VPC对等连接统一解绑标签', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnTagResources'], ], ], 'ramActions' => [ [ 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:UnTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"\\n C46FF5A8-C5F0-4024-8262-B16B639225A0\\n true\\n","errorExample":""}]', ], ], 'endpoints' => [ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-northeast-2', 'regionName' => '韩国(首尔)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-6', 'regionName' => '菲律宾(马尼拉)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-nanjing', 'regionName' => '华东5(南京-本地地域)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'vpcpeer.aliyuncs.com', 'endpoint' => 'vpcpeer.aliyuncs.com', 'vpc' => ''], ], 'errorCodes' => [ ['code' => 'BothEmpty.TagsAndResources', 'message' => 'The specified Tags and ResourcesIds are not allow to both empty.', 'http_code' => 400, 'description' => '标签和资源信息不能同时为空。'."\n"], ['code' => 'Conflict.Operation', 'message' => 'There are other peering operations on the requester VPC or accepter VPC, try again later.', 'http_code' => 400, 'description' => '存在对发起端VPC或者接收端VPC的其他VpcPeer变更操作,需要稍后重试'], ['code' => 'DryRunOperation', 'message' => 'The operation DryRun verifies success.', 'http_code' => 400, 'description' => '该操作DryRun校验成功。'], ['code' => 'Forbidden.NoPermission', 'message' => 'Authentication is failed for %s.', 'http_code' => 400, 'description' => '权限校验失败'], ['code' => 'Forbidden.TagKey.Duplicated', 'message' => 'The specified tag key already exists.', 'http_code' => 400, 'description' => '标签资源重复'], ['code' => 'Forbidden.TagKeys', 'message' => 'The tag key cannot be operated by the request.', 'http_code' => 400, 'description' => '该请求不允许操作此 tagkey'], ['code' => 'IllegalParam.%s', 'message' => 'The param of %s is illegal.', 'http_code' => 400, 'description' => '指定的参数非法'], ['code' => 'IllegalParam.TagKey', 'message' => 'The param of Tag.Key is illegal.', 'http_code' => 400, 'description' => '指定的参数Tag.Key非法'], ['code' => 'IllegalParam.TagValue', 'message' => 'The param of Tag.Value is illegal.', 'http_code' => 400, 'description' => '指定的参数Tag.Value非法'], ['code' => 'IncorrectBusinessStatus.AcceptUserVpcPeer', 'message' => 'The business status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => '对端VpcPeer商业状态异常。'], ['code' => 'IncorrectBusinessStatus.AcceptVpcPeer', 'message' => 'The business status of peer account is incorrect.', 'http_code' => 400, 'description' => '对端VpcPeer商业状态异常。'], ['code' => 'IncorrectBusinessStatus.VpcPeer', 'message' => 'The business status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => '当前实例状态异常,不允许进行当前操作'], ['code' => 'IncorrectStatus.AcceptingVpc', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => '接收端VPC状态不正确。'], ['code' => 'IncorrectStatus.Vpc', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => '发起端VPC实例状态不正确。'], ['code' => 'IncorrectStatus.VpcPeer', 'message' => '%s [%s] status is invalid.', 'http_code' => 400, 'description' => 'VpcPeer实例状态无效'], ['code' => 'IncorrectStatus.VpcPeer', 'message' => 'The status of %s [%s] is incorrect.', 'http_code' => 400, 'description' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'], ['code' => 'InvalidAcceptingAliUid', 'message' => 'Specified parameter AcceptingAliUid is not valid.', 'http_code' => 400, 'description' => '需要创建的VPC对等连接接收端的阿里云账号无效'], ['code' => 'InvalidBandwidth', 'message' => 'Specified parameter Bandwidth is not valid.', 'http_code' => 400, 'description' => '指定带宽无效,无法修改 '], ['code' => 'InvalidInstanceIds.NotFound', 'message' => 'The instance IDs are not found.', 'http_code' => 400, 'description' => '实例ID没有找到'], ['code' => 'InvalidInstanceIds.NotFound', 'message' => 'The operation failed because of invalid instanceId.', 'http_code' => 400, 'description' => '指定的实例ID不合法。'], ['code' => 'InvalidInstanceType.NotFound', 'message' => 'The instance type is not found.', 'http_code' => 400, 'description' => '实例类型没有找到'], ['code' => 'InvalidTagKey', 'message' => 'The tag keys are not valid.', 'http_code' => 400, 'description' => '无效的标签索引'], ['code' => 'NumberExceed.ResourceIds', 'message' => 'The maximum number of resource IDs is exceeded.', 'http_code' => 400, 'description' => '资源组ID数目超限'], ['code' => 'NumberExceed.Tags', 'message' => 'The maximum number of tags is exceeded.', 'http_code' => 400, 'description' => '标签数量超限'], ['code' => 'OperationDenied.CloudBoxExistsInAcceptingVpc', 'message' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.', 'http_code' => 400, 'description' => '在接收端VPC内存在云盒实例,因此不允许创建VpcPeer实例。'], ['code' => 'OperationDenied.CloudBoxExistsInVpc', 'message' => 'The operation is not allowed because the CloudBox device exists in vpc.', 'http_code' => 400, 'description' => '在发起端VPC内存在云盒实例,因此不允许创建VpcPeer实例。'], ['code' => 'OperationDenied.OperateShareResource', 'message' => 'The operation is not allowed because of operating shared resource.', 'http_code' => 400, 'description' => '操作共享资源导致操作失败'], ['code' => 'OperationDenied.RouteEntryExist', 'message' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.', 'http_code' => 400, 'description' => '无法删除VpcPeer,因此存在指向VpcPeer的路由条目'], ['code' => 'OperationFailed.AcceptUserCdtNotOpened', 'message' => 'The operation failed because the Cdt service of accept user is not opened.', 'http_code' => 400, 'description' => '对端Cdt服务未开通,操作失败。'], ['code' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened', 'message' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.', 'http_code' => 400, 'description' => '对端跨境Cdt服务未开通,操作失败。'], ['code' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion', 'message' => 'The operation failed because the bandwidth cannot be changed in the same region.', 'http_code' => 400, 'description' => '操作失败,因为同地域的VpcPeer实例不允许修改带宽值。'], ['code' => 'OperationFailed.CdtNotOpened', 'message' => 'The operation failed because the Cdt service is not opened.', 'http_code' => 400, 'description' => '创建操作失败,因为未开通Cdt服务'], ['code' => 'OperationFailed.CrossBorderCdtNotOpened', 'message' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.', 'http_code' => 400, 'description' => '未开启阿里云跨境数据传输功能。'."\n"], ['code' => 'OperationFailed.CrossBorderCdtNotOpened', 'message' => 'The operation failed because the CrossBorderCdt service is not opened.', 'http_code' => 400, 'description' => '操作失败,因为未打开CrossBorderCdt服务。'], ['code' => 'OperationFailed.InterRegionLinkTypeNotSupported', 'message' => 'The same region not supported link type feature.', 'http_code' => 400, 'description' => '同地域不支持链路类型特性'], ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because the resource group does not exist.', 'http_code' => 400, 'description' => '资源组不存在,操作失败。'], ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because the resource group not exist.', 'http_code' => 400, 'description' => '操作失败,因为资源组不存在。'], ['code' => 'OperationFailed.NotExist.ResourceGroup', 'message' => 'The operation failed because resourceGroup not exist.', 'http_code' => 400, 'description' => '指定的资源组不存在。'], ['code' => 'OperationFailed.RegionIdNotSupportLinkType', 'message' => 'The feature link type is not supported in the region.', 'http_code' => 400, 'description' => '地域不支持该特性金银铜设置'], ['code' => 'OperationFailed.SpecificLinkTypeNotSupported', 'message' => 'The operation failed because the special link type of user is not opened.', 'http_code' => 400, 'description' => '该账号不支持特殊链路类型'], ['code' => 'OperationFailed.ViolativeVpcPeer', 'message' => 'The creation operation fails because it is not allowed to create a vpc peer instance between the originating region and the receiving region.', 'http_code' => 400, 'description' => '创建操作失败是因为不允许创建发起地域与接受地域之间的vpc peer实例。'], ['code' => 'OperationFailed.ViolativeVpcPeer', 'message' => 'The operation failed because it is out of compliance to create a vpc peer between originating region and accepting region.', 'http_code' => 400, 'description' => '创建操作失败是因为不允许创建发起地域与接受地域之间的vpc peer实例。'], ['code' => 'QuotaExceeded.Bandwidth', 'message' => 'The quota of bandwidth is exceeded.', 'http_code' => 400, 'description' => '传入的带宽值非法'], ['code' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '指定VPC中的跨地域VpcPeer数量超出限制'], ['code' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '指定VPC中的同地域VpcPeer数量超出限制'], ['code' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '单个地域内VpcPeer实例数量超过阈值。'], ['code' => 'QuotaExceeded.VpcPeerCountPerVpc', 'message' => 'The quota of %s is exceeded, usage %s/%s.', 'http_code' => 400, 'description' => '指定VPC中的VpcPeer数量超出限制'], ['code' => 'ResourceAlreadyExist.RouterInterface', 'message' => 'The specified resource of %s already exists.', 'http_code' => 400, 'description' => '指定的路由器接口已经存在'], ['code' => 'ResourceAlreadyExist.VpcPeer', 'message' => 'The specified resource of %s already exists.', 'http_code' => 400, 'description' => '指定的VpcPeer已经存在'], ['code' => 'ResourceNotFound.InstanceId', 'message' => 'The specified resource of %s is not found.', 'http_code' => 400, 'description' => '未找到指定实例'], ['code' => 'ResourceNotFound.VpcPeer', 'message' => 'The specified resource of VpcPeer is not found.', 'http_code' => 400, 'description' => '传入的VpcPeer实例不存在。'], ['code' => 'UnsupportedRegion', 'message' => 'The feature of %s is not supported in the region of %s.', 'http_code' => 400, 'description' => 'VpcPeer特性在此地域不支持'], ['code' => 'OperationFailed.UserForbiddenInPreEnv', 'message' => 'Current user is forbidden to operate in pre environment.', 'http_code' => 400, 'description' => '当前用户禁止在预发环境中进行操作'], ], 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyVpcPeerConnection'], ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AcceptVpcPeerConnection'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'GetVpcPeerConnectionAttribute'], ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RejectVpcPeerConnection'], ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'MoveResourceGroup'], ['threshold' => '1000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnTagResources'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateVpcPeerConnection'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVpcPeerConnection'], ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListVpcPeerConnections'], ], ], 'ram' => [ 'productCode' => 'VpcPeer', 'productName' => '专有网络VPC', 'ramCodes' => ['vpc'], 'ramLevel' => '资源级', 'ramActions' => [ [ 'apiName' => 'MoveResourceGroup', 'description' => 'MoveResourceGroup', 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:MoveResourceGroup', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], ], ], ], [ 'apiName' => 'AcceptVpcPeerConnection', 'description' => '接收VPC对等连接', 'operationType' => 'create', 'ramAction' => [ 'action' => 'vpc:AcceptVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListTagResources', 'description' => '查询对等连接已经绑定的标签列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'vpc:ListTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'TagResources', 'description' => '为指定的VPC对等连接统一创建并绑定标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:TagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], ], ], ], [ 'apiName' => 'ModifyVpcPeerConnection', 'description' => '修改VPC对等连接', 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:ModifyVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'ListVpcPeerConnections', 'description' => '查询VPC对等连接列表', 'operationType' => 'list', 'ramAction' => [ 'action' => 'vpc:ListVpcPeerConnections', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#InstanceId}'], ], ], ], [ 'apiName' => 'CreateVpcPeerConnection', 'description' => '创建VPC对等连接', 'operationType' => 'create', 'ramAction' => [ 'action' => 'vpc:CreateVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DeleteVpcPeerConnection', 'description' => '删除VPC对等连接', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'vpc:DeleteVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetVpcPeerConnectionAttribute', 'description' => '查询单个VPC对等连接属性', 'operationType' => 'get', 'ramAction' => [ 'action' => 'vpc:GetVpcPeerConnectionAttribute', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ], [ 'apiName' => 'UnTagResources', 'description' => '为指定的VPC对等连接统一解绑标签', 'operationType' => 'update', 'ramAction' => [ 'action' => 'vpc:UnTagResources', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ], [ 'apiName' => 'RejectVpcPeerConnection', 'description' => '拒绝VPC对等连接', 'operationType' => 'delete', 'ramAction' => [ 'action' => 'vpc:RejectVpcPeerConnection', 'authLevel' => 'resource', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VpcPeer', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [ ['validationType' => 'always', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#ResourceId}'], ['validationType' => 'always', 'resourceType' => 'VpcPeer', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#Region}:{#AccountId}:vpcpeer/{#PeeringId}'], ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#AccountId}:vpcpeer/{#PeeringId}'], ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/*'], ['validationType' => 'always', 'resourceType' => 'VPC', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}'], ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:*:{#accountId}:vpcpeer/{#InstanceId}'], ['validationType' => 'always', 'resourceType' => 'PeerConnection', 'arn' => 'acs:vpc:{#regionId}:{#accountId}:vpcpeer/{#InstanceId}'], ], ], ];