summaryrefslogtreecommitdiff
path: root/data/zh_cn/vpcpeer/2022-01-01/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/vpcpeer/2022-01-01/api-docs.php')
-rw-r--r--data/zh_cn/vpcpeer/2022-01-01/api-docs.php2510
1 files changed, 922 insertions, 1588 deletions
diff --git a/data/zh_cn/vpcpeer/2022-01-01/api-docs.php b/data/zh_cn/vpcpeer/2022-01-01/api-docs.php
index 32fba64..9246594 100644
--- a/data/zh_cn/vpcpeer/2022-01-01/api-docs.php
+++ b/data/zh_cn/vpcpeer/2022-01-01/api-docs.php
@@ -1,37 +1,15 @@
<?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',
- ],
+ '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',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -44,11 +22,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '130834',
- 'abilityTreeNodes' => [
- 'FEATUREvpcZAZ5VI',
- 'FEATUREvpc3J8W0N',
- 'FEATUREvpc7MUSG6',
- ],
+ 'abilityTreeNodes' => ['FEATUREvpcZAZ5VI', 'FEATUREvpc3J8W0N', 'FEATUREvpc7MUSG6'],
'autoTest' => false,
'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
'tenantRelevance' => 'publicInformation',
@@ -57,50 +31,30 @@
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '接收端需要接收的VPC对等连接实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pcc-guzvyqlj0n6e10****',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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****',
- ],
+ 'schema' => ['description' => '资源组ID。'."\n"
+ ."\n"
+ .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'],
],
[
'name' => 'Tag',
@@ -113,22 +67,12 @@
'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',
- ],
+ '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,
],
@@ -145,44 +89,21 @@
'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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"],
],
],
- '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' => '接收VPC对等连接',
'description' => '- 对于跨账号的VPC对等连接,只有接收端接收了连接请求后VPC对等连接实例才会激活。'."\n"
."\n"
@@ -193,17 +114,30 @@
.' - 当VPC对等连接实例处于**Activated**状态时,表示VPC对等连接实例激活完成。'."\n"
."\n"
.'- **AcceptVpcPeerConnection**接口不支持对同一个VPC对等连接实例并发发起接收VPC对等连接实例的请求。',
- ],
- 'CreateVpcPeerConnection' => [
- 'summary' => '调用CreateVpcPeerConnection接口创建VPC对等连接。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AcceptVpcPeerConnection'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<AcceptVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n</AcceptVpcPeerConnectionResponse>","errorExample":""}]',
+ ],
+ 'CreateVpcPeerConnection' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -211,166 +145,97 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '链路类型。'."\n"
+ ."\n"
+ .'可选值为 Platinum(铂金),Gold(金),默认为 Gold(金)。'."\n"
+ ."\n"
+ .'> 如需指定该参数,请确保您创建的是跨地域的对等连接。', 'type' => 'string', 'required' => false, 'example' => 'Gold'],
],
[
'name' => 'Tag',
@@ -383,22 +248,12 @@
'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',
- ],
+ '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,
],
@@ -415,130 +270,44 @@
'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****',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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' => ''],
],
],
- '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' => '创建VPC对等连接',
+ 'summary' => '调用CreateVpcPeerConnection接口创建VPC对等连接。',
'description' => '创建VPC对等连接前,您需要完成以下事项:'."\n"
.'- **CreateVpcPeerConnection**接口属于异步接口,即系统会先返回一个**InstanceId**,但该VPC对等连接实例并未创建完成,系统后台的创建任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~426095~~)查询VPC对等连接的状态。'."\n"
.' - 当VPC对等连接处于**Creating**状态时,表示VPC对等连接正在创建中。 '."\n"
@@ -549,17 +318,31 @@
.'<props="china">创建VPC对等连接时,系统会为您自动开通非跨境云数据传输CDT(Cloud DataTransfer)和跨境CDT功能。</props>'."\n"
."\n"
.'<props="intl">创建VPC对等连接时,系统会为您自动开通非跨境云数据传输CDT(Cloud DataTransfer)功能。</props>',
+ '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":"<CreateVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n <InstanceId>pcc-lnk0m24khwvtkm****</InstanceId>\\n</CreateVpcPeerConnectionResponse>","errorExample":""}]',
],
'DeleteVpcPeerConnection' => [
'summary' => '调用DeleteVpcPeerConnection接口删除VPC对等连接实例。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -567,65 +350,37 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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' => [
@@ -635,36 +390,19 @@
'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '54B48E3D-DF70-471B-AA93-08E683A1B45',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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' => ''],
],
],
- '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' => '删除VPC对等连接',
'description' => '- 您可用删除VPC对等连接实例,删除后,您的业务也会中断,请在不影响业务的情况下执行该操作。'."\n"
."\n"
@@ -680,17 +418,30 @@
.' - 当VPC对等连接实例处于**Deleted**状态时,表示删除完成。'."\n"
."\n"
.'- **DeleteVpcPeerConnection**接口不支持并发删除同一个VPC对等连接实例。',
- ],
- 'GetVpcPeerConnectionAttribute' => [
- 'summary' => '调用GetVpcPeerConnectionAttribute接口查询指定VPC对等连接的详细信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteVpcPeerConnection'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<DeleteVpcPeerConnectionResponse>\\n <RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>\\n</DeleteVpcPeerConnectionResponse>","errorExample":""}]',
+ ],
+ 'GetVpcPeerConnectionAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -698,24 +449,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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****',
- ],
+ 'schema' => ['description' => '需要查询详细信息的VPC对等连接实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-lnk0m24khwvtkm****'],
],
],
'responses' => [
@@ -725,132 +464,57 @@
'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****',
- ],
+ '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****',
- ],
+ 'VpcId' => ['description' => '发起端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1gsk7h12ew7oegk****'],
'Ipv4Cidrs' => [
'description' => '发起端网段信息。',
'type' => 'array',
- 'items' => [
- 'description' => '发起端网段信息。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
+ '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',
- ],
+ 'items' => ['description' => '发起端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3c5:6e00::/56'],
],
],
],
@@ -858,28 +522,16 @@
'description' => '接收端VPC实例详细信息。',
'type' => 'object',
'properties' => [
- 'VpcId' => [
- 'description' => '接收端VPC实例ID。',
- 'type' => 'string',
- 'example' => 'vpc-bp1vzjkp2q1xgnind****',
- ],
+ 'VpcId' => ['description' => '接收端VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1vzjkp2q1xgnind****'],
'Ipv4Cidrs' => [
'description' => '接收端网段信息。',
'type' => 'array',
- 'items' => [
- 'description' => '接收端网段信息。',
- 'type' => 'string',
- 'example' => '10.0.0.0/16',
- ],
+ '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',
- ],
+ 'items' => ['description' => '接收端IPv6网段信息。', 'type' => 'string', 'example' => '2408:XXXX:3b8:3a00::/56'],
],
],
],
@@ -890,59 +542,52 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
],
],
],
- 'LinkType' => [
- 'description' => 'VPC对等连接的链路类型。'."\n"
- ."\n"
- .'默认值如下:'."\n"
- .'- 跨地域VPC对等连接的默认链路类型为Gold(金)。'."\n"
- .'- 同地域VPC对等连接的默认链路类型为空。',
- 'type' => 'string',
- 'example' => 'Gold',
- ],
- 'ManagedService' => [
- 'title' => '归属云服务',
- 'description' => '归属云服务',
- 'type' => 'string',
- 'example' => 'SWAS',
- ],
+ '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.',
+ ['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":"<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' => '查询单个VPC对等连接属性',
],
'ListTagResources' => [
- 'summary' => '调用ListTagResources接口查询对等连接已经绑定的标签列表。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -950,24 +595,12 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '资源类型。取值:**PeerConnection**,VPC对等连接。', 'type' => 'string', 'required' => true, 'example' => 'PeerConnection'],
],
[
'name' => 'ResourceId',
@@ -976,14 +609,9 @@
'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****',
- ],
+ '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,
@@ -1000,26 +628,16 @@
'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',
- ],
+ '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,
],
@@ -1031,39 +649,23 @@
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => '分批次查询时每次显示的条目数。取值范围:**1**~**50**,默认值:**50**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ '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****',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '资源所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
[
'name' => 'Category',
@@ -1077,11 +679,7 @@
.'- System',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'All' => 'All',
- 'Custom' => 'Custom',
- 'System' => 'System',
- ],
+ 'enumValueTitles' => ['All' => 'All', 'Custom' => 'Custom', 'System' => 'System'],
'example' => 'All',
],
],
@@ -1093,11 +691,7 @@
'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512'],
'TagResources' => [
'description' => '绑定标签的资源信息。',
'type' => 'array',
@@ -1105,104 +699,64 @@
'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',
- ],
+ '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',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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"],
],
],
- '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' => '查询对等连接已经绑定的标签列表',
+ '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"
.'- 如果您同时指定多个标签键值对,返回结果为同时包含被指定的多个键值对的资源。',
- ],
- 'ListVpcPeerConnections' => [
- 'summary' => '调用ListVpcPeerConnections接口查询VPC对等连接的详细信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '3000', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<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":""}]',
+ ],
+ 'ListVpcPeerConnections' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1210,36 +764,19 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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',
- ],
+ '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****',
- ],
+ 'schema' => ['description' => '需要查询详细信息的VPC对等连接实例ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-lnk0m24khwvtkm****'],
],
[
'name' => 'VpcId',
@@ -1249,12 +786,7 @@
'title' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤',
'description' => '根据两端vpcid过滤,不区分发起端和接收端。如果只传入一个,则根据一端过滤',
'type' => 'array',
- 'items' => [
- 'description' => '需要查询详细信息的VPC对等连接的发起端或者接收端VPC的实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-bp1gsk7h12ew7oegk****',
- ],
+ 'items' => ['description' => '需要查询详细信息的VPC对等连接的发起端或者接收端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp1gsk7h12ew7oegk****'],
'required' => false,
'maxItems' => 2,
],
@@ -1262,35 +794,19 @@
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '需要查询详细信息的VPC对等连接的名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpcpeer',
- ],
+ '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****',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '分批次查询时每次显示的条目数。取值范围:**1**~**100**,默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'Tags',
@@ -1303,22 +819,12 @@
'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',
- ],
+ '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,
],
@@ -1329,14 +835,9 @@
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '资源组ID。'."\n"
- ."\n"
- .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxazb4ph6aiy****',
- ],
+ 'schema' => ['description' => '资源组ID。'."\n"
+ ."\n"
+ .'关于资源组的更多信息,请参见[什么是资源组](~~94475~~)。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxazb4ph6aiy****'],
],
],
'responses' => [
@@ -1346,30 +847,12 @@
'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****',
- ],
+ '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',
@@ -1377,168 +860,81 @@
'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',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ 'items' => ['description' => '接收端网段信息。', 'type' => 'string', 'example' => '10.0.0.0/16'],
],
],
],
- 'LinkType' => [
- 'description' => 'VPC对等连接的链路类型。'."\n"
- ."\n"
- .'默认值如下:'."\n"
- .'- 跨地域VPC对等连接的默认链路类型为Gold(金)。'."\n"
- .'- 同地域VPC对等连接的默认链路类型为空。',
- 'type' => 'string',
- 'example' => 'Gold',
- ],
+ 'LinkType' => ['description' => 'VPC对等连接的链路类型。'."\n"
+ ."\n"
+ .'默认值如下:'."\n"
+ .'- 跨地域VPC对等连接的默认链路类型为Gold(金)。'."\n"
+ .'- 同地域VPC对等连接的默认链路类型为空。', 'type' => 'string', 'example' => 'Gold'],
'Tags' => [
'description' => '标签列表。',
'type' => 'array',
@@ -1546,25 +942,12 @@
'description' => '标签列表。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'],
],
],
],
- 'ManagedService' => [
- 'title' => '归属云服务',
- 'description' => '归属云服务',
- 'type' => 'string',
- 'example' => 'SWAS',
- ],
+ 'ManagedService' => ['title' => '归属云服务', 'description' => '归属云服务', 'type' => 'string', 'example' => 'SWAS'],
],
],
],
@@ -1572,19 +955,32 @@
],
],
],
- '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' => '查询VPC对等连接列表',
- ],
- 'ModifyVpcPeerConnection' => [
- 'summary' => '调用ModifyVpcPeerConnection接口修改VPC对等连接实例的名称或者描述信息。',
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '调用ListVpcPeerConnections接口查询VPC对等连接的详细信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListVpcPeerConnections'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<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":""}]',
+ ],
+ 'ModifyVpcPeerConnection' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1592,99 +988,56 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '链路类型。'."\n"
+ ."\n"
+ .'可选值为 Platinum(铂金),Gold(金),默认为 Gold(金)。'."\n"
+ ."\n"
+ .'> 如需指定该参数,请确保您创建的是跨地域的对等连接。', 'type' => 'string', 'required' => false, 'example' => 'Gold'],
],
],
'responses' => [
@@ -1694,77 +1047,56 @@
'description' => 'RpcResponse<ModifyVpcPeerResponse>',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '880C99E1-449B-524A-B81F-1EC53D2A7EAC',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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' => ''],
],
],
- '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' => '修改VPC对等连接',
+ 'summary' => '调用ModifyVpcPeerConnection接口修改VPC对等连接实例的名称或者描述信息。',
'description' => '- **ModifyVpcPeerConnection**接口属于异步接口,即系统会先返回一个**RequestId**,但该VPC对等连接实例并未修改完成,系统后台的修改任务仍在进行。您可以调用[GetVpcPeerConnectionAttribute](~~426100~~)查询VPC对等连接实例的状态。'."\n"
.' - 当VPC对等连接实例处于**Updating**状态时,表示正在修改中。'."\n"
.' - 当VPC对等连接实例处于**Activated**状态时,表示修改完成。'."\n"
."\n"
.'- **ModifyVpcPeerConnection**接口不支持并发修改同一个VPC对等连接实例的名称和描述信息。',
- ],
- 'MoveResourceGroup' => [
- 'summary' => '调用MoveResourceGroup接口修改对等连接所属的资源组。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyVpcPeerConnection'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<ModifyVpcPeerConnectionResponse>\\n <RequestId>880C99E1-449B-524A-B81F-1EC53D2A7EAC</RequestId>\\n</ModifyVpcPeerConnectionResponse>","errorExample":""}]',
+ ],
+ 'MoveResourceGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1772,58 +1104,31 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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****',
- ],
+ 'schema' => ['description' => '需要修改资源组的对等连接的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pcc-gu32s92f9ytsk9****'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:**PeerConnection**,VPC对等连接。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PeerConnection',
- ],
+ '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****',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '资源所属的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -1833,48 +1138,48 @@
'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',
- ],
+ '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.',
- ],
- [
- 'errorCode' => 'ResourceNotFound.VpcPeer',
- 'errorMessage' => 'The specified resource of VpcPeer is not found.',
+ ['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":"<MoveResourceGroupResponse>\\n <RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>\\n <Success>true</Success>\\n</MoveResourceGroupResponse>","errorExample":""}]',
- 'title' => '迁移VPC对等连接资源组',
],
'RejectVpcPeerConnection' => [
'summary' => '调用RejectVpcPeerConnection接口拒绝VPC对等连接实例的请求。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1882,50 +1187,28 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ '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****',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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' => [
@@ -1935,43 +1218,45 @@
'description' => '请求ID。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD2E-403F3EE64CAF',
- ],
+ '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.',
- ],
- [
- 'errorCode' => 'IncorrectStatus.VpcPeer',
- 'errorMessage' => 'The status of %s [%s] is incorrect.',
- ],
+ ['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' => '对等连接实例状态不符合要求,该状态下对对连接实例不能被接收。'],
],
],
- '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' => '拒绝VPC对等连接',
'description' => '- 对于跨账号的VPC对等连接实例,接收端可以拒绝连接请求。拒绝连接请求的VPC对等连接实例变为**已拒绝**状态。'."\n"
."\n"
.'- **RejectVpcPeerConnection**不支持对同一个对等连接实例并发发起拒绝连接请求。',
- ],
- 'TagResources' => [
- 'summary' => '调用TagResources接口为指定的VPC对等连接统一创建并绑定标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '360', 'countWindow' => 60, 'regionId' => '*', 'api' => 'RejectVpcPeerConnection'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ '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":"<RejectVpcPeerConnectionResponse>\\n <RequestId>4EC47282-1B74-4534-BD2E-403F3EE64CAF</RequestId>\\n</RejectVpcPeerConnectionResponse>","errorExample":""}]',
+ ],
+ 'TagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1979,14 +1264,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ResourceId',
@@ -1995,12 +1273,7 @@
'schema' => [
'description' => '资源ID,最多支持输入20个资源ID。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID,最多支持输入20个资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pcc-bp16qjewdsunr41m1****',
- ],
+ 'items' => ['description' => '资源ID,最多支持输入20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-bp16qjewdsunr41m1****'],
'required' => true,
'maxItems' => 50,
'minItems' => 1,
@@ -2017,22 +1290,12 @@
'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',
- ],
+ '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,
],
@@ -2044,39 +1307,24 @@
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => '资源类型。取值:**PeerConnection**,表示VPC对等连接。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PeerConnection',
- ],
+ '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',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '要创建并绑定标签的资源所在的地域ID。'."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。'."\n"
+ ."\n", 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2086,61 +1334,29 @@
'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',
- ],
+ '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.',
- ],
- [
- '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.',
- ],
+ ['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非法'],
],
],
- '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' => '为指定的VPC对等连接统一创建并绑定标签',
+ 'summary' => '调用TagResources接口为指定的VPC对等连接统一创建并绑定标签。',
'description' => '标签是您为实例分配的标记,每个标签都由一对键值对(Key-Value)组成。标签的使用说明如下: '."\n"
.'- 一个实例上的每条标签的标签键(Key)必须唯一。'."\n"
.'- 不支持未绑定实例的空标签存在,标签必须绑定在实例上。'."\n"
@@ -2153,17 +1369,31 @@
.' 例如在同账号同地域下,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":"<TagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</TagResourcesResponse>","errorExample":""}]',
],
'UnTagResources' => [
'summary' => '调用UnTagResources接口为指定的VPC对等连接统一解绑标签。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2171,14 +1401,7 @@
],
'operationType' => 'readAndWrite',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'autoTest' => false,
- 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'autoTest' => false, 'notSupportAutoTestReason' => '镇元平台当前不满足vpcpeer场景租户隔离/ram鉴权测试能力', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'ResourceId',
@@ -2187,12 +1410,7 @@
'schema' => [
'description' => '资源ID。最多支持解绑20个资源ID。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。最多支持解绑20个资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pcc-bp16qjewdsunr41m1****',
- ],
+ 'items' => ['description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'pcc-bp16qjewdsunr41m1****'],
'deprecated' => false,
'required' => true,
'maxItems' => 50,
@@ -2208,14 +1426,9 @@
."\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',
- ],
+ 'items' => ['description' => '要解绑的标签键。最多支持输入20个标签键。如需传入该值,可以输入空字符串。'."\n"
+ ."\n\n"
+ .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n", 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'],
'required' => false,
'maxItems' => 21,
],
@@ -2223,50 +1436,30 @@
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'description' => '是否解绑资源的所有标签。取值:'."\n"
- .'- **true**:解除资源的所有标签。'."\n"
- .'- **false**(默认值):不解除资源的所有标签。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ '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',
- ],
+ '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',
- ],
+ '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',
- ],
+ 'schema' => ['description' => '标签所在的地域ID。 '."\n"
+ ."\n"
+ .'您可以通过调用[DescribeRegions](~~36063~~)接口获取地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'],
],
],
'responses' => [
@@ -2276,167 +1469,308 @@
'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',
- ],
+ '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.',
- ],
- [
- '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' => '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":"<UnTagResourcesResponse>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n <Success>true</Success>\\n</UnTagResourcesResponse>","errorExample":""}]',
- 'title' => '为指定的VPC对等连接统一解绑标签',
],
],
'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-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'],
],
- [
- 'regionId' => 'ap-southeast-7',
- 'endpoint' => 'vpcpeer.aliyuncs.com',
+ ],
+ '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' => '*'],
+ ],
+ ],
+ ],
],
- [
- 'regionId' => 'me-central-1',
- 'endpoint' => 'vpcpeer.aliyuncs.com',
+ '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}'],
],
],
];