summaryrefslogtreecommitdiff
path: root/data/en_us/vpcpeer/2022-01-01
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/vpcpeer/2022-01-01
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/en_us/vpcpeer/2022-01-01')
-rw-r--r--data/en_us/vpcpeer/2022-01-01/api-docs.php2436
1 files changed, 2436 insertions, 0 deletions
diff --git a/data/en_us/vpcpeer/2022-01-01/api-docs.php b/data/en_us/vpcpeer/2022-01-01/api-docs.php
new file mode 100644
index 0000000..678f607
--- /dev/null
+++ b/data/en_us/vpcpeer/2022-01-01/api-docs.php
@@ -0,0 +1,2436 @@
+<?php return [
+ 'version' => '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' => 'Accepts a virtual private cloud (VPC) peering connection request.',
+ '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' => 'The ID of the VPC peering connection to be accepted by the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-guzvyqlj0n6e10****',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n"
+ ."\n"
+ .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
+ .'* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses **request ID** as the **client token**. The **request ID** may be different for each request.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '02fb3da4-130e-11e9-8e44-001****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [What is a resource group?](~~94475~~)'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfmxazb4ph6aiy****',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n",
+ 'example' => 'FinanceDept',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n",
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ 'required' => false,
+ 'description' => 'The tags.'."\n",
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'minItems' => 1,
+ 'description' => 'The tags.'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<CreateVpcPeerResponse>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceNotFound.InstanceId',
+ 'errorMessage' => 'The specified resource of %s is not found.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.VpcPeer',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.CdtNotOpened',
+ 'errorMessage' => 'The operation failed because the Cdt service is not opened.',
+ ],
+ [
+ 'errorCode' => 'IncorrectBusinessStatus.VpcPeer',
+ 'errorMessage' => 'The business status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.NotExist.ResourceGroup',
+ 'errorMessage' => 'The operation failed because the resource group does not exist.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.CrossBorderCdtNotOpened',
+ 'errorMessage' => 'The cross-border data transmission function of Alibaba Cloud is not enabled.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<AcceptVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n</AcceptVpcPeerConnectionResponse>","errorExample":""}]',
+ 'title' => 'AcceptVpcPeerConnection',
+ 'description' => '* For a cross-account VPC peering connection, the connection is activated only after the accepter VPC accepts the connection request.'."\n"
+ ."\n"
+ .'* **AcceptVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns a **request ID** and runs the operation in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of the task.'."\n"
+ ."\n"
+ .' * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being activated.'."\n"
+ .' * If a VPC peering connection is in the **Activated** state, the VPC peering connection is activated.'."\n"
+ ."\n"
+ .'* You cannot repeatedly call the **AcceptVpcPeerConnection** operation within a specific period of time.',
+ ],
+ 'CreateVpcPeerConnection' => [
+ 'summary' => 'Creates a VPC peering connection',
+ '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' => 'The ID of the region where you want to create a VPC peering connection.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp1gsk7h12ew7oegk****',
+ ],
+ ],
+ [
+ 'name' => 'AcceptingAliUid',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n"
+ ."\n"
+ .'* To create a VPC peering connection within your Alibaba Cloud account, enter the ID of your Alibaba Cloud account.'."\n"
+ .'* To create a VPC peering connection between your Alibaba Cloud account and another Alibaba Cloud account, enter the ID of the peer Alibaba Cloud account.'."\n"
+ ."\n"
+ .'> If the accepter is a RAM user, set **AcceptingAliUid** to the ID of the Alibaba Cloud account that created the RAM user.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1210123456123456',
+ ],
+ ],
+ [
+ 'name' => 'AcceptingRegionId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The region ID of the accepter VPC of the VPC peering connection that you want to create.'."\n"
+ ."\n"
+ .'* To create an intra-region VPC peering connection, enter a region ID that is the same as that of the requester VPC.'."\n"
+ .'* To create an inter-region VPC peering connection, enter a region ID that is different from that of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'AcceptingVpcId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-bp1vzjkp2q1xgnind****',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the VPC peering connection.'."\n"
+ ."\n"
+ .'The name must be 2 to 128 characters in length, and can contain digits, underscores (\\_), and hyphens (-). It must start with a letter.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpcpeer',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The description of the VPC peering connection.'."\n"
+ ."\n"
+ .'The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'description',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n"
+ ."\n"
+ .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error code is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
+ .'* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '02fb3da4-130e-11e9-8e44-001****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [Resource groups](~~94475~~).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfmxazb4ph6aiy****',
+ ],
+ ],
+ [
+ 'name' => 'Bandwidth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter, make sure that you create an inter-region VPC peering connection.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'LinkType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The link type of the VPC peering connection that you want to create. Valid values:'."\n"
+ ."\n"
+ .'- Platinum.'."\n"
+ ."\n"
+ .'- Gold: default value.'."\n"
+ ."\n"
+ .'> '."\n"
+ .'> - If you need to specify this parameter, ensure that the VPC peering connection is an inter-region connection.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Gold',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n",
+ 'example' => 'FinanceDept',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n",
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ 'required' => false,
+ 'description' => 'The tags.'."\n",
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'minItems' => 1,
+ 'description' => 'The tags.'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<CreateVpcPeerResponse>',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the instance on which the VPC peering connection is created.'."\n",
+ 'type' => 'string',
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'OperationFailed.CdtNotOpened',
+ 'errorMessage' => 'The operation failed because the Cdt service is not opened.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.CrossBorderCdtNotOpened',
+ 'errorMessage' => 'The operation failed because the CrossBorderCdt service is not opened.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.Vpc',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.AcceptingVpc',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'ResourceAlreadyExist.RouterInterface',
+ 'errorMessage' => 'The specified resource of %s already exists.',
+ ],
+ [
+ 'errorCode' => 'ResourceAlreadyExist.VpcPeer',
+ 'errorMessage' => 'The specified resource of %s already exists.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.CloudBoxExistsInVpc',
+ 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in vpc.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.CloudBoxExistsInAcceptingVpc',
+ 'errorMessage' => 'The operation is not allowed because the CloudBox device exists in accepting vpc.',
+ ],
+ [
+ 'errorCode' => 'QuotaExceeded.VpcPeerCountPerVpc',
+ 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
+ ],
+ [
+ 'errorCode' => 'UnsupportedRegion',
+ 'errorMessage' => 'The feature of %s is not supported in the region of %s.',
+ ],
+ [
+ 'errorCode' => 'QuotaExceeded.VpcPeerCountPerUserPerRegion',
+ 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
+ ],
+ [
+ 'errorCode' => 'IncorrectBusinessStatus.VpcPeer',
+ 'errorMessage' => 'The business status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.NotExist.ResourceGroup',
+ 'errorMessage' => 'The operation failed because the resource group does not exist.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.AcceptUserCdtNotOpened',
+ 'errorMessage' => 'The operation failed because the Cdt service of accept user is not opened.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.AcceptUserCrossBorderCdtNotOpened',
+ 'errorMessage' => 'The operation failed because the CrossBorderCdt service of accept user is not opened.',
+ ],
+ [
+ 'errorCode' => 'IncorrectBusinessStatus.AcceptUserVpcPeer',
+ 'errorMessage' => 'The business status of %s [%s] is incorrect.',
+ ],
+ [
+ '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.',
+ ],
+ [
+ 'errorCode' => 'QuotaExceeded.CrossRegionVpcPeerCountPerVpc',
+ 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
+ ],
+ [
+ 'errorCode' => 'QuotaExceeded.IntraRegionVpcPeerCountPerVpc',
+ 'errorMessage' => 'The quota of %s is exceeded, usage %s/%s.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.OperateShareResource',
+ 'errorMessage' => 'The operation is not allowed because of operating shared resource.',
+ ],
+ [
+ 'errorCode' => 'IncorrectBusinessStatus.AcceptVpcPeer',
+ 'errorMessage' => 'The business status of peer account is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported',
+ 'errorMessage' => 'The same region not supported link type feature.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.RegionIdNotSupportLinkType',
+ 'errorMessage' => 'The feature link type is not supported in the region.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported',
+ 'errorMessage' => 'The operation failed because the special link type of user is not opened.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.CrossBusinessNotAllowed',
+ 'errorMessage' => 'Operation failed because receiver and accepter belong to different business site.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.ChargeTypeNotSupported',
+ 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\",\\n \\"InstanceId\\": \\"pcc-lnk0m24khwvtkm****\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n</CreateVpcPeerConnectionResponse>","errorExample":""}]',
+ 'title' => 'CreateVpcPeerConnection',
+ 'description' => 'Before you create a VPC peering connection, take note of the following items:'."\n"
+ ."\n"
+ .'* **CreateVpcPeerConnection** is an asynchronous operation. After a request is sent, the system returns an **instance ID** and runs the task in the background. You can call [GetVpcPeerConnectionAttribute](~~426095~~) to query the status of the task.'."\n"
+ ."\n"
+ .' * If the VPC peering connection is in the **Creating** state, the VPC peering connection is being created.'."\n"
+ .' * If the VPC peering connection is in the **Activated** state, the VPC peering connection is created.'."\n"
+ .' * If the VPC peering connection is in the **Accepting** state, it is a cross-account connection. The connection needs to be accepted on the accepter side.'."\n"
+ ."\n"
+ .'* You cannot repeatedly call **CreateVpcPeerConnection** within the specified period of time.'."\n"
+ ."\n"
+ .'When you create a VPC peering connection, the system automatically activates Cloud Data Transfer (CDT) for you.'."\n",
+ ],
+ 'DeleteVpcPeerConnection' => [
+ 'summary' => 'Deletes a virtual private cloud (VPC) peering connection.',
+ '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' => 'The ID of the VPC peering connection that you want to delete.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ ],
+ [
+ 'name' => 'Force',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '是否强删',
+ 'description' => 'Specifies whether to forcefully delete the VPC peering connection. Valid values:'."\n"
+ ."\n"
+ .'* **false** (default): no.'."\n"
+ .'* **true**: yes. If you forcefully delete the VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to check the request without performing the operation. Valid values:'."\n"
+ ."\n"
+ .'* **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n"
+ .'* **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '02fb3da4-130e-11e9-8e44-001****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<DeleteVpcPeerResponse>',
+ 'description' => 'RpcResponse<DeleteVpcPeerResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceNotFound.InstanceId',
+ 'errorMessage' => 'The specified resource of %s is not found.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.VpcPeer',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.RouteEntryExist',
+ 'errorMessage' => 'The operation is not allowed because of existing routeEntry point to VpcPeer.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.ServiceManagedInstance',
+ 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"54B48E3D-DF70-471B-AA93-08E683A1B45\\"\\n}","errorExample":""},{"type":"xml","example":"<DeleteVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteVpcPeerConnectionResponse>","errorExample":""}]',
+ 'title' => 'DeleteVpcPeerConnection',
+ 'description' => '* You can delete VPC peering connections. After you delete a VPC peering connection, your service is affected. Proceed with caution.'."\n"
+ ."\n"
+ .' * If you forcefully delete a VPC peering connection, the system deletes the routes that point to the VPC peering connection from the VPC route table.'."\n"
+ .' * If you do not forcefully delete a VPC peering connection, the system does not delete these routes. You must manually delete them.'."\n"
+ ."\n"
+ .'* The **DeleteVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.'."\n"
+ ."\n"
+ .' * If a VPC peering connection is in the **Deleting** state, it is being deleted.'."\n"
+ .' * If a VPC peering connection is in the **Deleted** state, it is deleted.'."\n"
+ ."\n"
+ .'* You cannot repeatedly call the **DeleteVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.',
+ ],
+ 'GetVpcPeerConnectionAttribute' => [
+ 'summary' => 'Queries the details of a virtual private cloud (VPC) peering connection.',
+ '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' => 'The ID of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<GetVpcPeerResponse>',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the VPC peering connection was created. The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ss` format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-04-24T09:02:36Z',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the VPC peering connection was modified. The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ss` format. The time is displayed in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-04-24T19:20:45Z',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpcpeer',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'OwnerId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '253460731706911258',
+ ],
+ 'AcceptingOwnerUid' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '283117732402483989',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'AcceptingRegionId' => [
+ 'description' => 'The region ID of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Bandwidth' => [
+ 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit /s. The value is an integer greater than 0.'."\n"
+ ."\n"
+ .'> A value of -1 indicates that the bandwidth is unlimited.'."\n"
+ ."\n"
+ .'Default value:'."\n"
+ ."\n"
+ .'* The default bandwidth value of an inter-region VPC peering connection is 1,024 Mbit/s.'."\n"
+ .'* The default bandwidth value of an intra-region VPC peering connection is -1 Mbit/s, which indicates that the bandwidth is unlimited.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the VPC peering connection. Valid values:'."\n"
+ ."\n"
+ .'* **Creating**'."\n"
+ .'* **Accepting**'."\n"
+ .'* **Updating**'."\n"
+ .'* **Rejected**'."\n"
+ .'* **Expired**'."\n"
+ .'* **Activated**'."\n"
+ .'* **Deleting**'."\n"
+ .'* **Deleted**'."\n"
+ ."\n"
+ .'For more information about the status of VPC peering connections, see [Overview](~~418507~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'Activated',
+ ],
+ 'BizStatus' => [
+ 'description' => 'The status of the VPC peering connection. Valid values:'."\n"
+ ."\n"
+ .'* **Normal**'."\n"
+ .'* **FinancialLocked**'."\n",
+ 'type' => 'string',
+ 'example' => 'Normal',
+ ],
+ 'GmtExpired' => [
+ 'description' => 'The expiration time of the VPC peering connection.'."\n"
+ ."\n"
+ .'A valid expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-05-01T09:02:36Z',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-acfmz7hy5z267ni',
+ ],
+ 'Vpc' => [
+ 'description' => 'The details of the requester VPC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp1gsk7h12ew7oegk****',
+ ],
+ 'Ipv4Cidrs' => [
+ 'description' => 'The CIDR block of the requester VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The CIDR block of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '192.168.0.0/16',
+ ],
+ ],
+ 'Ipv6Cidrs' => [
+ 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '2408:XXXX:3c5:6e00::/56',
+ ],
+ ],
+ ],
+ ],
+ 'AcceptingVpc' => [
+ 'description' => 'The details of the accepter VPC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp1vzjkp2q1xgnind****',
+ ],
+ 'Ipv4Cidrs' => [
+ 'description' => 'The CIDR block of the accepter VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The CIDR block of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '10.0.0.0/16',
+ ],
+ ],
+ 'Ipv6Cidrs' => [
+ 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => '2408:XXXX:3b8:3a00::/56',
+ ],
+ ],
+ ],
+ ],
+ 'Tags' => [
+ 'description' => 'The tag list.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceDept',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ ],
+ ],
+ 'LinkType' => [
+ 'description' => 'The link type of the VPC peering connection.',
+ 'type' => 'string',
+ 'example' => 'Gold',
+ ],
+ 'ManagedService' => [
+ 'title' => '归属云服务',
+ 'type' => 'string',
+ 'example' => 'SWAS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceNotFound.InstanceId',
+ 'errorMessage' => 'The specified resource of %s is not found.',
+ ],
+ ],
+ ],
+ '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":"<GetVpcPeerConnectionAttributeResponse>\\n <RequestId>473469C7-AA6F-4DC5-B3DB-A3AC0DE3C83E</RequestId>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n <GmtCreate>2022-04-24T09:02:36Z</GmtCreate>\\n <GmtModified>2022-04-24T19:20:45Z</GmtModified>\\n <Name>vpcpeer</Name>\\n <Description>test</Description>\\n <OwnerId>253460731706911260</OwnerId>\\n <AcceptingOwnerUid>283117732402484000</AcceptingOwnerUid>\\n <RegionId>cn-hangzhou</RegionId>\\n <AcceptingRegionId>cn-hangzhou</AcceptingRegionId>\\n <Bandwidth>1024</Bandwidth>\\n <Status>Activated</Status>\\n <BizStatus>Normal</BizStatus>\\n <GmtExpired>2022-05-01T09:02:36Z</GmtExpired>\\n <ResourceGroupId>rg-acfmxazb4ph6aiy****</ResourceGroupId>\\n <Vpc>\\n <VpcId>vpc-bp1gsk7h12ew7oegk****</VpcId>\\n <Ipv4Cidrs>192.168.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3c5:6e00::/56</Ipv6Cidrs>\\n </Vpc>\\n <AcceptingVpc>\\n <VpcId>vpc-bp1vzjkp2q1xgnind****</VpcId>\\n <Ipv4Cidrs>10.0.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3b8:3a00::/56</Ipv6Cidrs>\\n </AcceptingVpc>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n</GetVpcPeerConnectionAttributeResponse>","errorExample":""}]',
+ 'title' => 'GetVpcPeerConnectionAttribute',
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries tags that are added to Virtual Private Cloud (VPC) peering connections.',
+ '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' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PeerConnection',
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The resource ID.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the resource. You can specify up to 20 resource IDs.'."\n"
+ ."\n"
+ .'> Specify at least one of the **ResourceId.N** and **Tag.N** parameters (**Tag.N.Key** and **Tag.N.Value**).'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pcc-bp16qjewdsunr41m1****',
+ ],
+ 'deprecated' => true,
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceDept',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value. You can specify at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value**.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'deprecated' => true,
+ 'required' => false,
+ 'maxItems' => 21,
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The number of entries to return on each page. Valid values: **1** to **50**. Default value: **50**.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'* If this is your first query or no subsequent query is to be sent, ignore this parameter.'."\n"
+ .'* If a next query is to be sent, set the value to the value of **NextToken** that is returned in the last call.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'Tag Type:'."\n"
+ ."\n"
+ .'- All(Default)'."\n"
+ .'- Custom'."\n"
+ .'- System',
+ 'example' => 'All',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<ListVpcPeerResponse>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512',
+ ],
+ 'TagResources' => [
+ 'description' => 'The resources to which the tags are added.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceId' => [
+ 'description' => 'The ID of the resource.'."\n",
+ 'type' => 'string',
+ 'example' => 'pcc-bp16qjewdsunr41m1****',
+ ],
+ 'ResourceType' => [
+ 'description' => 'The type of the resource. The value is set to **PeerConnection**, which indicates a VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'PeerConnection',
+ ],
+ 'RegionNo' => [
+ 'description' => 'The region of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'TagKey' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceDept',
+ ],
+ 'TagValue' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ ],
+ ],
+ 'NextToken' => [
+ 'description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'* If **NextToken** is empty, it indicates that no next query is to be sent.'."\n"
+ .'* If **NextToken** is returned, the value indicates the token that is used for the next query.'."\n",
+ 'type' => 'string',
+ 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The number of entries returned per page.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidTagKey',
+ 'errorMessage' => 'The tag keys are not valid.',
+ ],
+ [
+ 'errorCode' => 'NumberExceed.Tags',
+ 'errorMessage' => 'The maximum number of tags is exceeded.',
+ ],
+ [
+ 'errorCode' => 'NumberExceed.ResourceIds',
+ 'errorMessage' => 'The maximum number of resource IDs is exceeded.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKeys',
+ 'errorMessage' => 'The tag key cannot be operated by the request.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKey.Duplicated',
+ 'errorMessage' => 'The specified tag key already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceIds.NotFound',
+ 'errorMessage' => 'The instance IDs are not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceType.NotFound',
+ 'errorMessage' => 'The instance type is not found.',
+ ],
+ [
+ 'errorCode' => 'BothEmpty.TagsAndResources',
+ 'errorMessage' => 'The specified Tags and ResourcesIds are not allow to both empty.',
+ ],
+ ],
+ ],
+ '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":"<ListTagResourcesResponse>\\n <RequestId>DE65F6B7-7566-4802-9007-96F2494AC512</RequestId>\\n <TagResources>\\n <ResourceId>pcc-bp16qjewdsunr41m1****</ResourceId>\\n <ResourceType>PeerConnection</ResourceType>\\n <RegionNo>cn-hangzhou</RegionNo>\\n <TagKey>FinanceDept</TagKey>\\n <TagValue>FinanceJoshua</TagValue>\\n </TagResources>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <MaxResults>50</MaxResults>\\n</ListTagResourcesResponse>","errorExample":""}]',
+ 'title' => 'ListTagResources',
+ 'description' => '* Set **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object to be queried.'."\n"
+ .'* **Tag.N** is a resource tag that consists of a key-value pair. If you set only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you set only **Tag.N.Value**, an error message is returned.'."\n"
+ .'* If you set **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.'."\n"
+ .'* If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.',
+ ],
+ 'ListVpcPeerConnections' => [
+ 'summary' => 'Queries virtual private cloud (VPC) peering connections.',
+ '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' => 'The ID of the region where you want to query VPC peering connections.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The ID of the VPC peering connection that you want to query.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'formData',
+ 'style' => 'simple',
+ 'schema' => [
+ 'title' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤',
+ 'description' => 'The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the requester VPC or accepter VPC of the VPC peering connection that you want to query.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-bp1gsk7h12ew7oegk****',
+ ],
+ 'required' => false,
+ 'maxItems' => 2,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The name of the VPC peering connection that you want to query.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpcpeer',
+ ],
+ ],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'* You do not need to specify this parameter for the first request.'."\n"
+ .'* You must specify the token that is obtained from the previous query as the value of NextToken.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
+ ],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The number of entries to return per page. Valid values: **1** to **100**. Default value: **20**.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tag list.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The tag value. You can specify at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceJoshua',
+ ],
+ 'Key' => [
+ 'description' => 'The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. The tag key cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceDept',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 10,
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the resource group.'."\n"
+ ."\n"
+ .'For more information about resource groups, see [What is a resource group?](~~94475~~)'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rg-acfm2ggeub5uf3y',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<ListVpcPeerResponse>',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '0ED8D006-F706-4D23-88ED-E11ED39DCAC0',
+ ],
+ 'TotalCount' => [
+ 'description' => 'The number of entries returned.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'MaxResults' => [
+ 'description' => 'The number of entries per page. Valid values: **1** to **100**. Default value: **20**.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'NextToken' => [
+ 'description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'* If no value is returned for **NextToken**, no next queries are sent.'."\n"
+ .'* If the value of **NextToken** is returned, the value indicates the token that is used for the next query.'."\n",
+ 'type' => 'string',
+ 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
+ ],
+ 'VpcPeerConnects' => [
+ 'description' => 'The details of the VPC peering connections.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The details of the VPC peering connection.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'AcceptingOwnerUid' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the accepter VPC belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '253460731706911258',
+ ],
+ 'Status' => [
+ 'description' => 'The status of the VPC peering connection. Valid values:'."\n"
+ ."\n"
+ .'* **Creating**'."\n"
+ .'* **Accepting**'."\n"
+ .'* **Updating**'."\n"
+ .'* **Rejected**'."\n"
+ .'* **Expired**'."\n"
+ .'* **Activated**'."\n"
+ .'* **Deleting**'."\n"
+ .'* **Deleted**'."\n"
+ ."\n"
+ .'For more information about the status of VPC peering connections, see [Overview of VPC peering connections](~~418507~~).'."\n",
+ 'type' => 'string',
+ 'example' => 'Activated',
+ ],
+ 'Description' => [
+ 'description' => 'The description of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'ResourceGroupId' => [
+ 'description' => 'The ID of the resource group.'."\n",
+ 'type' => 'string',
+ 'example' => 'rg-aek2gvbs746gt4q',
+ ],
+ 'InstanceId' => [
+ 'description' => 'The ID of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ 'AcceptingRegionId' => [
+ 'description' => 'The region ID of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'GmtModified' => [
+ 'description' => 'The time when the VPC peering connection was modified. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-04-24T19:20:45Z',
+ ],
+ 'Vpc' => [
+ 'description' => 'The details of the requester VPC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp1gsk7h12ew7oegk****',
+ ],
+ 'Ipv6Cidrs' => [
+ 'description' => 'The IPv6 CIDR block of the requester VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IPv6 CIDR block of the requester VPC.',
+ 'type' => 'string',
+ 'example' => '2408:XXXX:3c5:6e00::/56',
+ ],
+ ],
+ 'Ipv4Cidrs' => [
+ 'description' => 'The CIDR block of the requester VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The CIDR block of the requester VPC.',
+ 'type' => 'string',
+ 'example' => '192.168.0.0/16',
+ ],
+ ],
+ ],
+ ],
+ 'GmtExpired' => [
+ 'description' => 'The expiration time of the VPC peering connection. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n"
+ ."\n"
+ .'The expiration time is returned only when the **Status** of the VPC peering connection is **Accepting** or **Expired**. Otherwise, **null** is returned.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-05-01T09:02:36Z',
+ ],
+ 'Name' => [
+ 'description' => 'The name of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpcpeer',
+ ],
+ 'BizStatus' => [
+ 'description' => 'The business status of the VPC peering connection. Valid values:'."\n"
+ ."\n"
+ .'* **Normal**'."\n"
+ .'* **FinancialLocked**'."\n",
+ 'type' => 'string',
+ 'example' => 'Normal',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'The time when the VPC peering connection was created. The time is displayed in the `YYYY-MM-DDThh:mm:ssZ` format in UTC.'."\n",
+ 'type' => 'string',
+ 'example' => '2022-04-24T09:02:36Z',
+ ],
+ 'OwnerId' => [
+ 'description' => 'The ID of the Alibaba Cloud account to which the requester VPC belongs.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '253460731706911258',
+ ],
+ 'Bandwidth' => [
+ 'description' => 'The bandwidth of the VPC peering connection. Unit: Mbit/s. The value is an integer greater than 0.'."\n"
+ ."\n"
+ .'> If the value is set to -1, it indicates that no limit is imposed on the bandwidth.'."\n"
+ ."\n"
+ .'Default value:'."\n"
+ ."\n"
+ .'* The default bandwidth of an inter-region VPC peering connection is **1024** Mbit/s.'."\n"
+ .'* The default bandwidth of an intra-region VPC peering connection is **-1** Mbit/s.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1024',
+ ],
+ 'RegionId' => [
+ 'description' => 'The region ID of the requester VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'AcceptingVpc' => [
+ 'description' => 'The details of the accepter VPC.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'VpcId' => [
+ 'description' => 'The ID of the accepter VPC.'."\n",
+ 'type' => 'string',
+ 'example' => 'vpc-bp1vzjkp2q1xgnind****',
+ ],
+ 'Ipv6Cidrs' => [
+ 'description' => 'The IPv6 CIDR block of the accepter VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The IPv6 CIDR block of the accepter VPC.',
+ 'type' => 'string',
+ 'example' => '2408:XXXX:3b8:3a00::/56',
+ ],
+ ],
+ 'Ipv4Cidrs' => [
+ 'description' => 'The CIDR block of the accepter VPC.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The CIDR block of the accepter VPC.',
+ 'type' => 'string',
+ 'example' => '10.0.0.0/16',
+ ],
+ ],
+ ],
+ ],
+ 'LinkType' => [
+ 'description' => 'The link type of the VPC peering connection.',
+ 'type' => 'string',
+ 'example' => 'Gold',
+ ],
+ 'Tags' => [
+ 'description' => 'The tag list.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => [
+ 'description' => 'The tag value.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceJoshua',
+ ],
+ 'Key' => [
+ 'description' => 'The tag key.'."\n",
+ 'type' => 'string',
+ 'example' => 'FinanceDept',
+ ],
+ ],
+ ],
+ ],
+ 'ManagedService' => [
+ 'title' => '归属云服务',
+ 'type' => 'string',
+ 'example' => 'SWAS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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":"<ListVpcPeerConnectionsResponse>\\n <RequestId>0ED8D006-F706-4D23-88ED-E11ED39DCAC0</RequestId>\\n <TotalCount>1</TotalCount>\\n <MaxResults>20</MaxResults>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <VpcPeerConnects>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n <GmtCreate>2022-04-24T09:02:36Z</GmtCreate>\\n <GmtModified>2022-04-24T19:20:45Z</GmtModified>\\n <Name>vpcpeer</Name>\\n <Description>test</Description>\\n <RegionId>cn-hangzhou</RegionId>\\n <AcceptingRegionId>cn-hangzhou</AcceptingRegionId>\\n <Bandwidth>1024</Bandwidth>\\n <Status>Activated</Status>\\n <BizStatus>Normal</BizStatus>\\n <GmtExpired>2022-05-01T09:02:36Z</GmtExpired>\\n <ResourceGroupId>rg-acfmxazb4ph6aiy****</ResourceGroupId>\\n <Vpc>\\n <VpcId>vpc-bp1gsk7h12ew7oegk****</VpcId>\\n <Ipv4Cidrs>192.168.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3c5:6e00::/56</Ipv6Cidrs>\\n </Vpc>\\n <AcceptingVpc>\\n <VpcId>vpc-bp1vzjkp2q1xgnind****</VpcId>\\n <Ipv4Cidrs>10.0.0.0/16</Ipv4Cidrs>\\n <Ipv6Cidrs>2408:XXXX:3b8:3a00::/56</Ipv6Cidrs>\\n </AcceptingVpc>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </VpcPeerConnects>\\n</ListVpcPeerConnectionsResponse>","errorExample":""}]',
+ 'title' => 'ListVpcPeerConnections',
+ ],
+ 'ModifyVpcPeerConnection' => [
+ 'summary' => 'Modifies the description or name of a virtual private cloud (VPC) peering connection.',
+ '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' => 'The ID of the VPC peering connection whose name or description you want to modify.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-lnk0m24khwvtkm****',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The new name of the VPC peering connection.'."\n"
+ ."\n"
+ .'The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpcpeername',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The new description of the VPC peering connection.'."\n"
+ ."\n"
+ .'The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'newdescription',
+ ],
+ ],
+ [
+ 'name' => 'Bandwidth',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to only precheck the request. Valid values:'."\n"
+ ."\n"
+ .'* **true**: checks the request without performing the operation. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n"
+ .'* **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0c593ea1-3bea-11e9-b96b-88e9fe637760',
+ ],
+ ],
+ [
+ 'name' => 'LinkType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Type of connection. Valid values:'."\n"
+ ."\n"
+ .'- Platinum.'."\n"
+ ."\n"
+ .'- Gold: default value.'."\n"
+ ."\n"
+ .'> '."\n"
+ .'> - If you need to specify this parameter, ensure that the VPC peering connection is an inter-region connection.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Gold',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<ModifyVpcPeerResponse>',
+ 'description' => 'RpcResponse<ModifyVpcPeerResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '880C99E1-449B-524A-B81F-1EC53D2A7EAC',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceNotFound.InstanceId',
+ 'errorMessage' => 'The specified resource of %s is not found.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.VpcPeer',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'IncorrectBusinessStatus.VpcPeer',
+ 'errorMessage' => 'The business status of %s [%s] is incorrect.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.BandwidthCannotBeChangedInSameRegion',
+ 'errorMessage' => 'The operation failed because the bandwidth cannot be changed in the same region.',
+ ],
+ [
+ 'errorCode' => 'QuotaExceeded.Bandwidth',
+ 'errorMessage' => 'The quota of bandwidth is exceeded.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.InterRegionLinkTypeNotSupported',
+ 'errorMessage' => 'The same region not supported link type feature.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.RegionIdNotSupportLinkType',
+ 'errorMessage' => 'The feature link type is not supported in the region.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.SpecificLinkTypeNotSupported',
+ 'errorMessage' => 'The operation failed because the special link type of user is not opened.',
+ ],
+ [
+ 'errorCode' => 'OperationDenied.ServiceManagedInstance',
+ 'errorMessage' => 'Operation is denied because the specified instance belongs to service manager.',
+ ],
+ [
+ 'errorCode' => 'OperationFailed.ChargeTypeNotSupported',
+ 'errorMessage' => 'Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"880C99E1-449B-524A-B81F-1EC53D2A7EAC\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyVpcPeerConnectionResponse>\\n <RequestId>880C99E1-449B-524A-B81F-1EC53D2A7EAC</RequestId>\\n</ModifyVpcPeerConnectionResponse>","errorExample":""}]',
+ 'title' => 'ModifyVpcPeerConnection',
+ 'description' => '* The **ModifyVpcPeerConnection** operation is asynchronous. After you send a request, the system returns **RequestId**, but the operation is still being performed in the background. You can call the [GetVpcPeerConnectionAttribute](~~426100~~) operation to query the status of a VPC peering connection.'."\n"
+ ."\n"
+ .' * If a VPC peering connection is in the **Updating** state, the VPC peering connection is being modified.'."\n"
+ .' * If a VPC peering connection is in the **Activated** state, the VPC peering connection is modified.'."\n"
+ ."\n"
+ .'* You cannot repeatedly call the **ModifyVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.',
+ ],
+ 'MoveResourceGroup' => [
+ 'summary' => 'Moves a Virtual Private Cloud (VPC) peering connection from one resource group to another.',
+ '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' => 'The ID of the VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-gu32s92f9ytsk9****',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The resource type. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PeerConnection',
+ ],
+ ],
+ [
+ 'name' => 'NewResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the new resource group.'."\n"
+ ."\n"
+ .'> You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](~~94475~~)'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rg-acfm3peow3k****',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<CreateVpcPeerResponse>',
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => '611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation is successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**'."\n"
+ .'* **false**'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'OperationFailed.NotExist.ResourceGroup',
+ 'errorMessage' => 'The operation failed because the resource group not exist.',
+ ],
+ [
+ 'errorCode' => 'ResourceNotFound.VpcPeer',
+ 'errorMessage' => 'The specified resource of VpcPeer is not found.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<MoveResourceGroupResponse>\\n <RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>\\n <Success>true</Success>\\n</MoveResourceGroupResponse>","errorExample":""}]',
+ 'title' => 'MoveResourceGroup',
+ ],
+ 'RejectVpcPeerConnection' => [
+ 'summary' => 'Rejects a virtual private cloud (VPC) peering connection request.',
+ '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' => 'The ID of the VPC peering connection to be rejected by the acceptor VPC.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'pcc-lnk0m24khwvtkm0****',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Specifies whether to check the request without performing the operation. Valid values:'."\n"
+ ."\n"
+ .'* **true**: checks the request without performing the operation. The system checks the required parameters, request syntax, and limits. If the request fails to pass the check, an error message is returned. If the request passes the check, the `DryRunOperation` error code is returned.'."\n"
+ .'* **false** (default): sends the request. If the request passes the check, an HTTP 2xx status code is returned and the operation is performed.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The client token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not set this parameter, the system uses **RequestId** as **ClientToken**. The value of **RequestId** for each API request may be different.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<RejectVpcPeerResponse>',
+ 'description' => 'RpcResponse<RejectVpcPeerResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => '4EC47282-1B74-4534-BD2E-403F3EE64CAF',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ResourceNotFound.InstanceId',
+ 'errorMessage' => 'The specified resource of %s is not found.',
+ ],
+ [
+ 'errorCode' => 'IncorrectStatus.VpcPeer',
+ 'errorMessage' => 'The status of %s [%s] is incorrect.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD2E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<RejectVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD2E-403F3EE64CAF</RequestId>\\n</RejectVpcPeerConnectionResponse>","errorExample":""}]',
+ 'title' => 'RejectVpcPeerConnection',
+ 'description' => '* An acceptor VPC can reject a connection request from the requester VPC of a cross-account VPC peering connection. After the connection request is rejected, the VPC peering connection enters the **Rejected** state.'."\n"
+ .'* You cannot repeatedly call the **RejectVpcPeerConnection** operation for the same VPC peering connection within the specified period of time.',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Creates tags and adds them to a virtual private cloud (VPC) peering connection.',
+ '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' => 'The IDs of resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the resource. You can specify at most 20 IDs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pcc-bp16qjewdsunr41m1****',
+ ],
+ 'required' => true,
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tags.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => [
+ 'description' => 'The tag key. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceDept',
+ ],
+ 'Value' => [
+ 'description' => 'The tag value. You must specify at least one tag value and can specify at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceJoshua',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 21,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PeerConnection',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the resource to which you want to create and add tags.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<CreateVpcPeerResponse>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation is successful. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NumberExceed.Tags',
+ 'errorMessage' => 'The maximum number of tags is exceeded.',
+ ],
+ [
+ 'errorCode' => 'NumberExceed.ResourceIds',
+ 'errorMessage' => 'The maximum number of resource IDs is exceeded.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKeys',
+ 'errorMessage' => 'The tag key cannot be operated by the request.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKey.Duplicated',
+ 'errorMessage' => 'The specified tag key already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceIds.NotFound',
+ 'errorMessage' => 'The instance IDs are not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceType.NotFound',
+ 'errorMessage' => 'The instance type is not found.',
+ ],
+ [
+ 'errorCode' => 'IllegalParam.TagKey',
+ 'errorMessage' => 'The param of Tag.Key is illegal.',
+ ],
+ [
+ 'errorCode' => 'IllegalParam.TagValue',
+ 'errorMessage' => 'The param of Tag.Value is illegal.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</TagResourcesResponse>","errorExample":""}]',
+ 'title' => 'TagResources',
+ 'description' => 'Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:'."\n"
+ ."\n"
+ .'* The keys of tags that are added to the same instance must be unique.'."\n"
+ ."\n"
+ .'* You cannot create tags without adding them to instances. All tags must be added to instances.'."\n"
+ ."\n"
+ .'* Tag information is not shared across regions.'."\n"
+ ."\n"
+ .' For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.'."\n"
+ ."\n"
+ .'* For the same account and region, tags added to different VPC peering connections are shared.'."\n"
+ ."\n"
+ .' For example, if a tag is added to a VPC peering connection, the tag can also be added to other VPC peering connections within the same account and region. You can modify the key and the value of a tag or remove a tag from an instance. After you delete an instance, all tags that are added to the instance are deleted.'."\n"
+ ."\n"
+ .'* You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.',
+ ],
+ 'UnTagResources' => [
+ 'summary' => 'Removes tags from specified Virtual Private Cloud (VPC) peering connections.',
+ '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' => 'The IDs of resources.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The ID of the resource. You can specify up to 20 resource IDs.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pcc-bp16qjewdsunr41m1****',
+ ],
+ 'deprecated' => false,
+ 'required' => true,
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. It can be an empty string.'."\n"
+ ."\n"
+ .'It can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. It can be an empty string.'."\n"
+ ."\n"
+ .'It can be up to 128 characters in length. It cannot start with `acs:` or `aliyun` and cannot contain `http://` or `https://`.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FinanceDept',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Specifies whether to remove all tags from the specified resource. Valid values:'."\n"
+ ."\n"
+ .'* **true**: removes all tags from the specified resource.'."\n"
+ .'* **false**: does not remove all tags from the specified resource. This is the default value.'."\n",
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The type of the resource. Set the value to **PeerConnection**, which specifies a VPC peering connection.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PeerConnection',
+ ],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among all requests. The token can contain only ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123e4567-e89b-12d3-a456-426655440000',
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The region ID of the tag.'."\n"
+ ."\n"
+ .'You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RpcResponse<CreateVpcPeerResponse>',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of the request.'."\n",
+ 'type' => 'string',
+ 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the tags are removed. Valid values:'."\n"
+ ."\n"
+ .'* **true**: yes'."\n"
+ .'* **false**: no'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'NumberExceed.Tags',
+ 'errorMessage' => 'The maximum number of tags is exceeded.',
+ ],
+ [
+ 'errorCode' => 'NumberExceed.ResourceIds',
+ 'errorMessage' => 'The maximum number of resource IDs is exceeded.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKeys',
+ 'errorMessage' => 'The tag key cannot be operated by the request.',
+ ],
+ [
+ 'errorCode' => 'Forbidden.TagKey.Duplicated',
+ 'errorMessage' => 'The specified tag key already exists.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceIds.NotFound',
+ 'errorMessage' => 'The instance IDs are not found.',
+ ],
+ [
+ 'errorCode' => 'InvalidInstanceType.NotFound',
+ 'errorMessage' => 'The instance type is not found.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UnTagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</UnTagResourcesResponse>","errorExample":""}]',
+ 'title' => 'UnTagResources',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'ap-northeast-2',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wulanchabu',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-nanjing',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-heyuan',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-guangzhou',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-2',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-6',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-7',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-central-1',
+ 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ ],
+];