diff options
Diffstat (limited to 'data/zh_cn/eipanycast')
| -rw-r--r-- | data/zh_cn/eipanycast/2020-03-09/api-docs.php | 3180 |
1 files changed, 1335 insertions, 1845 deletions
diff --git a/data/zh_cn/eipanycast/2020-03-09/api-docs.php b/data/zh_cn/eipanycast/2020-03-09/api-docs.php index 198c9df..64c22de 100644 --- a/data/zh_cn/eipanycast/2020-03-09/api-docs.php +++ b/data/zh_cn/eipanycast/2020-03-09/api-docs.php @@ -1,46 +1,24 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Eipanycast', - 'version' => '2020-03-09', - ], + 'info' => ['style' => 'RPC', 'product' => 'Eipanycast', 'version' => '2020-03-09'], 'directories' => [ [ - 'id' => 313074, - 'title' => '任播弹性公网IP', + 'children' => ['AllocateAnycastEipAddress', 'AssociateAnycastEipAddress', 'UnassociateAnycastEipAddress', 'ReleaseAnycastEipAddress', 'ModifyAnycastEipAddressSpec', 'ModifyAnycastEipAddressAttribute', 'UpdateAnycastEipAddressAssociations', 'DescribeAnycastEipAddress', 'DescribeAnycastPopLocations', 'ListAnycastEipAddresses', 'DescribeAnycastServerRegions'], 'type' => 'directory', - 'children' => [ - 'AllocateAnycastEipAddress', - 'AssociateAnycastEipAddress', - 'UnassociateAnycastEipAddress', - 'ReleaseAnycastEipAddress', - 'ModifyAnycastEipAddressSpec', - 'ModifyAnycastEipAddressAttribute', - 'UpdateAnycastEipAddressAssociations', - 'DescribeAnycastEipAddress', - 'DescribeAnycastPopLocations', - 'ListAnycastEipAddresses', - 'DescribeAnycastServerRegions', - ], + 'title' => '任播弹性公网IP', + 'id' => 46764, ], [ - 'id' => 313086, - 'title' => '标签', + 'children' => ['TagResources', 'ListTagResources', 'UntagResources'], 'type' => 'directory', - 'children' => [ - 'TagResources', - 'ListTagResources', - 'UntagResources', - ], + 'title' => '标签', + 'id' => 46776, ], [ - 'id' => 313090, - 'title' => '其他', + 'children' => ['ChangeResourceGroup'], 'type' => 'directory', - 'children' => [ - 'ChangeResourceGroup', - ], + 'title' => '其他', + 'id' => 68677, ], ], 'components' => [ @@ -48,15 +26,8 @@ ], 'apis' => [ 'AllocateAnycastEipAddress' => [ - 'summary' => '调用AllocateAnycastEipAddress接口创建Anycast EIP实例。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -68,9 +39,7 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -87,9 +56,7 @@ .'>带宽峰值不作为业务承诺指标,仅作为参考值和带宽上限峰值。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1000 => '1000', - ], + 'enumValueTitles' => [1000 => '1000'], 'example' => '200', 'default' => '1000', ], @@ -103,82 +70,50 @@ .'取值:**international**,指中国内地以外的区域。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'international' => 'international', - ], + 'enumValueTitles' => ['international' => 'international'], 'example' => 'international', ], ], [ 'name' => 'InstanceChargeType', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例付费类型。'."\n" - ."\n" - .'取值:**PostPaid**,指后付费。', - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - ], + 'schema' => ['description' => 'Anycast EIP实例付费类型。'."\n" + ."\n" + .'取值:**PostPaid**,指后付费。', 'type' => 'string', 'required' => false, 'example' => 'PostPaid'], ], [ 'name' => 'InternetChargeType', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例访问公网计费方式。'."\n" - ."\n" - .'取值:**PayByTraffic**,指按流量计费。', - 'type' => 'string', - 'required' => false, - 'example' => 'PayByTraffic', - ], + 'schema' => ['description' => 'Anycast EIP实例访问公网计费方式。'."\n" + ."\n" + .'取值:**PayByTraffic**,指按流量计费。', 'type' => 'string', 'required' => false, 'example' => 'PayByTraffic'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" - .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', - 'type' => 'string', - 'required' => false, - 'example' => '02fb3da4-130e-11e9-8e44-001****', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**不一样。', 'type' => 'string', 'required' => false, 'example' => '02fb3da4-130e-11e9-8e44-001****'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例名称。'."\n" - ."\n" - .'长度为0~128个字符,以大小字母或中文开头,可包含数字,下划线(_)或短划线(-)。', - 'type' => 'string', - 'required' => false, - 'example' => 'doctest', - ], + 'schema' => ['description' => 'Anycast EIP实例名称。'."\n" + ."\n" + .'长度为0~128个字符,以大小字母或中文开头,可包含数字,下划线(_)或短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'doctest'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例描述。'."\n" - ."\n" - .'长度为0~256个字符,不能以`http://`或`https://`开头。', - 'type' => 'string', - 'required' => false, - 'example' => 'docdesc', - ], + 'schema' => ['description' => 'Anycast EIP实例描述。'."\n" + ."\n" + .'长度为0~256个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'docdesc'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所属的资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-acfm3obzjuk****', - ], + 'schema' => ['description' => '实例所属的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfm3obzjuk****'], ], [ 'name' => 'Tag', @@ -193,22 +128,12 @@ .'一次最多支持输入20个标签信息。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '资源的标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以aliyun和acs:开头,不能包含`http://`或者`https://`。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag-key', - ], - 'Value' => [ - 'description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', - 'type' => 'string', - 'required' => false, - 'example' => 'tag-value', - ], + 'Key' => ['description' => '资源的标签键。最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以aliyun和acs:开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'tag-key'], + 'Value' => ['description' => '资源的标签值。最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。', 'type' => 'string', 'required' => false, 'example' => 'tag-value'], ], 'required' => false, ], @@ -223,58 +148,48 @@ 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], - 'AnycastId' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '1422000****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], + 'AnycastId' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'example' => 'aeip-bp1ix34fralt4ykf3****'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '1422000****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'OperationFailed.CdtNotOpened', - 'errorMessage' => 'Operation failed because cdt not opened.', - ], - [ - 'errorCode' => 'QuotaExceeded.AnycastEIP', - 'errorMessage' => 'Quota exceeded: The number of Anycast Elastic IP addresses has reached the limit. Please request a quota increase or release unused resources.', - ], - [ - 'errorCode' => 'IllegalParameter.Name', - 'errorMessage' => 'The specified Name is invalid.', - ], - [ - 'errorCode' => 'COMMODITY.INVALID_COMPONENT', - 'errorMessage' => 'The order configuration parameters do not meet the validation criteria. Please reselect the products.', + ['errorCode' => 'OperationFailed.CdtNotOpened', 'errorMessage' => 'Operation failed because cdt not opened.', 'description' => '进行当前操作请先开通CDT服务。'], + ['errorCode' => 'QuotaExceeded.AnycastEIP', 'errorMessage' => 'Quota exceeded: The number of Anycast Elastic IP addresses has reached the limit. Please request a quota increase or release unused resources.', 'description' => '配额超限:Anycast 弹性公网 IP 已达到上限,无法继续创建,请申请配额提升或释放无用资源。'], + ['errorCode' => 'IllegalParameter.Name', 'errorMessage' => 'The specified Name is invalid.', 'description' => '指定的参数Name不合法。'], + ['errorCode' => 'COMMODITY.INVALID_COMPONENT', 'errorMessage' => 'The order configuration parameters do not meet the validation criteria. Please reselect the products.', 'description' => '订单配置参数不符合校验条件,请重新选配商品!'], + ], + ], + 'title' => '创建实例', + 'summary' => '调用AllocateAnycastEipAddress接口创建Anycast EIP实例。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateAnycastEipAddress'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eipanycast:AllocateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/*'], + ], ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\",\\n \\"AnycastId\\": \\"aeip-bp1ix34fralt4ykf3****\\",\\n \\"OrderId\\": \\"1422000****\\"\\n}","errorExample":""},{"type":"xml","example":"<AllocateAnycastEipAddressResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n <AnycastId>aeip-bp1ix34fralt4ykf3****</AnycastId>\\n <OrderId>1422000****</OrderId>\\n</AllocateAnycastEipAddressResponse>","errorExample":""}]', - 'title' => '创建实例', ], 'AssociateAnycastEipAddress' => [ 'summary' => '调用AssociateAnycastEipAddress接口将Anycast EIP绑定到指定的后端云资源实例上。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -286,80 +201,48 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip2OM9BW', - ], + 'abilityTreeNodes' => ['FEATUREeip2OM9BW'], ], 'parameters' => [ [ 'name' => 'BindInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '要绑定的云资源实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'lb-d7oxbixhxv1uupnon****', - ], + 'schema' => ['description' => '要绑定的云资源实例ID。', 'type' => 'string', 'required' => true, 'example' => 'lb-d7oxbixhxv1uupnon****'], ], [ 'name' => 'BindInstanceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '要绑定的云资源实例地域ID。'."\n" - ."\n" - .'仅支持绑定部分地域的云资源实例,您可以通过调用[DescribeAnycastServerRegions](~~171939~~)接口获取可绑定云资源实例的地域ID。 ', - 'type' => 'string', - 'required' => true, - 'example' => 'us-west-1', - ], + 'schema' => ['description' => '要绑定的云资源实例地域ID。'."\n" + ."\n" + .'仅支持绑定部分地域的云资源实例,您可以通过调用[DescribeAnycastServerRegions](~~171939~~)接口获取可绑定云资源实例的地域ID。 ', 'type' => 'string', 'required' => true, 'example' => 'us-west-1'], ], [ 'name' => 'BindInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '要绑定的云资源实例类型。取值:'."\n" - .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" - .'- **NetworkInterface**:弹性网卡。', - 'type' => 'string', - 'required' => true, - 'example' => 'SlbInstance', - ], + 'schema' => ['description' => '要绑定的云资源实例类型。取值:'."\n" + .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" + .'- **NetworkInterface**:弹性网卡。', 'type' => 'string', 'required' => true, 'example' => 'SlbInstance'], ], [ 'name' => 'AnycastId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], + 'schema' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-bp1ix34fralt4ykf3****'], ], [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。'."\n" - ."\n" - .'由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" - ."\n" - .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', - 'type' => 'string', - 'required' => false, - 'example' => '123e4567-e89b-12d3-a456-426655440000', - ], + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。'."\n" + ."\n" + .'由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" + ."\n" + .'> 若您未指定,则系统自动使用API请求的**RequestId**作为**ClientToken**标识。每次API请求的**RequestId**可能不一样。', 'type' => 'string', 'required' => false, 'example' => '123e4567-e89b-12d3-a456-426655440000'], ], [ 'name' => 'DryRun', 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会绑定实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会绑定实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ 'name' => 'PopLocations', @@ -381,17 +264,11 @@ .'您可以通过调用[DescribeAnycastPopLocations](~~171938~~)接口获取支持的接入区域的接入点信息。'."\n", 'type' => 'object', 'properties' => [ - 'PopLocation' => [ - 'title' => 'pop location', - 'description' => '绑定云资源实例时,关联的接入区域的接入点信息。'."\n" - ."\n" - .'如果您是第一次绑定,该参数无需配置,系统自动关联所有接入区域。'."\n" - ."\n" - .'您可以通过调用[DescribeAnycastPopLocations](~~171938~~)接口获取支持的接入区域的接入点信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'us-west-1-pop', - ], + 'PopLocation' => ['title' => 'pop location', 'description' => '绑定云资源实例时,关联的接入区域的接入点信息。'."\n" + ."\n" + .'如果您是第一次绑定,该参数无需配置,系统自动关联所有接入区域。'."\n" + ."\n" + .'您可以通过调用[DescribeAnycastPopLocations](~~171938~~)接口获取支持的接入区域的接入点信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'us-west-1-pop'], ], 'required' => false, ], @@ -401,33 +278,21 @@ [ 'name' => 'AssociationMode', 'in' => 'query', - 'schema' => [ - 'title' => '关联模式,默认模式、普通模式Default/Normal', - 'description' => '绑定模式,取值:'."\n" - ."\n" - .'- **Default**:默认模式,将要绑定的云资源实例设置为默认源站。'."\n" - ."\n" - .'- **Normal**:普通模式,要绑定的云资源实例设置为普通源站。'."\n" - ."\n" - .'> Anycast EIP支持绑定多个地域的云资源实例,仅支持一个云资源实例为默认源站,其余均为普通源站。当不指定接入点或新增接入点时,访问请求默认转发至默认源站。<br/><ul><li>如果您是第一次绑定,绑定模式默认取值为**Default**。</li><li>如果您不是第一次绑定,您可以将绑定模式设置为**Default**,将生效新的默认源站,原默认源站将变更为普通源站。</li></ul>'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - ], + 'schema' => ['title' => '关联模式,默认模式、普通模式Default/Normal', 'description' => '绑定模式,取值:'."\n" + ."\n" + .'- **Default**:默认模式,将要绑定的云资源实例设置为默认源站。'."\n" + ."\n" + .'- **Normal**:普通模式,要绑定的云资源实例设置为普通源站。'."\n" + ."\n" + .'> Anycast EIP支持绑定多个地域的云资源实例,仅支持一个云资源实例为默认源站,其余均为普通源站。当不指定接入点或新增接入点时,访问请求默认转发至默认源站。<br/><ul><li>如果您是第一次绑定,绑定模式默认取值为**Default**。</li><li>如果您不是第一次绑定,您可以将绑定模式设置为**Default**,将生效新的默认源站,原默认源站将变更为普通源站。</li></ul>'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'Default'], ], [ 'name' => 'PrivateIpAddress', 'in' => 'query', - 'schema' => [ - 'title' => '私网ip地址', - 'description' => '要绑定的弹性网卡的辅助私网IP。'."\n" - ."\n" - .'只有当**BindInstanceType**取值为**NetworkInterface**时,该参数生效。不输入时,该参数默认为弹性网卡的主私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', - ], + 'schema' => ['title' => '私网ip地址', 'description' => '要绑定的弹性网卡的辅助私网IP。'."\n" + ."\n" + .'只有当**BindInstanceType**取值为**NetworkInterface**时,该参数生效。不输入时,该参数默认为弹性网卡的主私网IP。', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'], ], ], 'responses' => [ @@ -436,421 +301,55 @@ 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InstanceNotExist.ENI', - 'errorMessage' => 'Instance does not exist: The specified Elastic Network Interface (ENI) was not found. Please verify the instance ID or check if the resource has been released.', - ], - [ - 'errorCode' => 'InstanceNotExist.SLB', - 'errorMessage' => 'Instance does not exist: The specified Server Load Balancer (SLB) was not found. Please verify the instance ID or check if the resource has been released.', - ], - [ - 'errorCode' => 'IncorrectStatus.Anycast', - 'errorMessage' => 'The status of the Anycast instance is invalid.', - ], - [ - 'errorCode' => 'OperationFailed.BindOnFreeNetworkInterface', - 'errorMessage' => 'Operation failed because the specified network interface is not bound on instance.', - ], - [ - 'errorCode' => 'OperationFailed.Conflict', - 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', - ], - [ - 'errorCode' => 'OperationUnsupported.BACKEND_REGION_NOT_OPEN', - 'errorMessage' => 'The specified Region is not supported.', - ], - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - [ - 'errorCode' => 'ResourceNotFound.BindInstanceId', - 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', - ], + ['errorCode' => 'InstanceNotExist.ENI', 'errorMessage' => 'Instance does not exist: The specified Elastic Network Interface (ENI) was not found. Please verify the instance ID or check if the resource has been released.', 'description' => '实例不存在:指定的弹性网卡(ENI)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['errorCode' => 'InstanceNotExist.SLB', 'errorMessage' => 'Instance does not exist: The specified Server Load Balancer (SLB) was not found. Please verify the instance ID or check if the resource has been released.', 'description' => '实例不存在:指定的负载均衡(SLB)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => '任播弹性公网IP实例状态异常。'], + ['errorCode' => 'OperationFailed.BindOnFreeNetworkInterface', 'errorMessage' => 'Operation failed because the specified network interface is not bound on instance.', 'description' => '操作失败,因为指定的弹性网卡未绑定在实例上。'], + ['errorCode' => 'OperationFailed.Conflict', 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['errorCode' => 'OperationUnsupported.BACKEND_REGION_NOT_OPEN', 'errorMessage' => 'The specified Region is not supported.', 'description' => '指定的Region未支持'], + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ['errorCode' => 'ResourceNotFound.BindInstanceId', 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', 'description' => '指定的 BindInstanceId 不存在,请检查参数是否正确。'], ], ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<AssociateAnycastEipAddressResponse>\\r\\n<RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\r\\n</AssociateAnycastEipAddressResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], 'title' => '绑定后端云资源实例', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'UnassociateAnycastEipAddress' => [ - 'summary' => '调用UnassociateAnycastEipAddress接口来解除Anycast EIP与其绑定的后端云资源实例的关联。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], - ], - 'parameters' => [ - [ - 'name' => 'BindInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '要解绑的云资源实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'lb-2zebb08phyczzawe****', - ], - ], - [ - 'name' => 'BindInstanceRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '要解绑的云资源实例地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'us-west-1', - ], - ], - [ - 'name' => 'BindInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '要解绑的云资源实例类型。取值:'."\n" - ."\n" - .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" - .'- **NetworkInterface**:弹性网卡。', - 'type' => 'string', - 'required' => true, - 'example' => 'SlbInstance', - ], - ], - [ - 'name' => 'AnycastId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - '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' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会解绑后端实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'PrivateIpAddress', - 'in' => 'query', - 'schema' => [ - 'description' => '要解绑的弹性网卡的辅助私网IP。'."\n" - ."\n\n" - .'只有当**BindInstanceType**取值为**NetworkInterface**时,该参数生效。不输入时,该参数默认为弹性网卡的主私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.XX.XX', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回信息列表。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '私网IP地址', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IncorrectStatus.Anycast', - 'errorMessage' => 'The status of the Anycast instance is invalid.', - ], - [ - 'errorCode' => 'InstanceNotExist.ENI', - 'errorMessage' => 'Instance does not exist: The specified Elastic Network Interface (ENI) was not found. Please verify the instance ID or check if the resource has been released.', - ], - [ - 'errorCode' => 'InstanceNotExist.SLB', - 'errorMessage' => 'Instance does not exist: The specified Server Load Balancer (SLB) was not found. Please verify the instance ID or check if the resource has been released.', - ], - [ - 'errorCode' => 'OperationFailed.Conflict', - 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', - ], - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - [ - 'errorCode' => 'ResourceNotFound.BindInstanceId', - 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<UnassociateAnycastEipAddressResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</UnassociateAnycastEipAddressResponse>","errorExample":""}]', - 'title' => '解绑后端云资源实例', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ReleaseAnycastEipAddress' => [ - 'summary' => '调用ReleaseAnycastEipAddress接口释放指定Anycast EIP实例。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AnycastId', - 'in' => 'query', - 'schema' => [ - 'description' => '要释放的Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - 'schema' => [ - 'description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" - .'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。'."\n" - .'>', - 'type' => 'string', - 'required' => false, - 'example' => '02fb3da4-130e-11e9-8e44-001****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateAnycastEipAddress'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eipanycast:AssociateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'Instance', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:networkinterface/{#InstanceId}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationFailed.Conflict', - 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', - ], - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - [ - 'errorCode' => 'IncorrectStatus.Anycast', - 'errorMessage' => 'The status of the Anycast instance is invalid.', - ], - ], - 503 => [ - [ - 'errorCode' => 'SystemBusy', - 'errorMessage' => 'The system is busy. Please try again later.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]', - 'title' => '释放实例', - 'description' => '释放Anycast EIP实例前,请确保您要释放的目标实例处于非绑定状态。如何解绑资源,请参见[UnassociateAnycastEipAddress](~~2384544~~)。', - ], - 'ModifyAnycastEipAddressSpec' => [ - 'summary' => '调用ModifyAnycastEipAddressSpec接口修改Anycast EIP实例带宽值。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], - ], - 'parameters' => [ - [ - 'name' => 'Bandwidth', - 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例的带宽峰值。单位:Mbps。'."\n" - ."\n" - .'取值范围:**200**~**1000**。', - 'type' => 'string', - 'required' => true, - 'example' => '200', - ], - ], - [ - 'name' => 'AnycastId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回信息列表。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationFailed.Conflict', - 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', - ], - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAnycastEipAddressSpecResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</ModifyAnycastEipAddressSpecResponse>","errorExample":""}]', - 'title' => '修改实例带宽值', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<AssociateAnycastEipAddressResponse>\\r\\n<RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\r\\n</AssociateAnycastEipAddressResponse>","errorExample":""}]', ], - 'ModifyAnycastEipAddressAttribute' => [ - 'summary' => '调用ModifyAnycastEipAddressAttribute接口修改Anycast EIP实例的名称和描述。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ChangeResourceGroup' => [ + 'summary' => '修改AnycastEipAddress实例所属的资源组。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -862,298 +361,62 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], ], 'parameters' => [ [ - 'name' => 'AnycastId', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], + 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], ], [ - 'name' => 'Name', + 'name' => 'NewResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例名称。'."\n" - ."\n" - .'长度为0~128个字符,以大小字母或中文开头,可包含数字,下划线(_)或短划线(-)。', - 'type' => 'string', - 'required' => false, - 'example' => 'docname', - ], + 'schema' => ['description' => '目标资源组ID,可调用[ListResourceGroups](~~158855~~)接口查看资源组列表。', 'type' => 'string', 'required' => true, 'example' => 'rg-aeky6b2jfeerxxx'], ], [ - 'name' => 'Description', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例描述。'."\n" - ."\n" - .'长度为0~256个字符,不能以`http://`或`https://`开头。', - 'type' => 'string', - 'required' => false, - 'example' => 'docdesc', - ], + 'schema' => ['description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回参数列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - [ - 'errorCode' => 'IllegalParameter.Name', - 'errorMessage' => 'The specified Name is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAnycastEipAddressAttributeResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</ModifyAnycastEipAddressAttributeResponse>","errorExample":""}]', - 'title' => '修改实例属性', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'UpdateAnycastEipAddressAssociations' => [ - 'summary' => '当Anycast EIP实例绑定了多个地域源站的后端资源时,支持修改接入点与源站的映射关系。您可以通过调用UpdateAnycastEipAddressAssociations接口增加或删除指定源站(绑定的云资源实例)的接入点来修改接入点与源站的映射关系。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip2OM9BW', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改AnycastEipAddress实例所属的资源组', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], ], ], - 'parameters' => [ - [ - 'name' => 'BindInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '要绑定的云资源实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'lb-d7oxbixhxv1uupnon****', - ], - ], - [ - 'name' => 'AnycastId', - 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], - ], - [ - 'name' => 'ClientToken', - 'in' => 'query', - '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' => 'DryRun', - 'in' => 'query', - 'schema' => [ - 'description' => '是否只预检此次请求。取值:'."\n" - .'- **true**:发送检查请求,不会更新绑定关系。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" - .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - ], - [ - 'name' => 'PopLocationAddList', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => '新增关联的pop location', - 'description' => '需要新增的关联接入区域和接入点列表。', - 'type' => 'array', - 'items' => [ - 'description' => '需要新增的关联接入区域和接入点列表。', - 'type' => 'object', - 'properties' => [ - 'PopLocation' => [ - 'title' => 'pop location', - 'description' => '需要新增的关联接入区域的接入点。'."\n" - ."\n" - .'您可以通过调用[DescribeAnycastPopLocations](~~171938~~)接口获取支持的接入区域的接入点信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'us-west-1-pop', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], + 'ramActions' => [ [ - 'name' => 'PopLocationDeleteList', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => '待删除的关联pop location', - 'description' => '待删除的关联接入区域和接入点列表。', - 'type' => 'array', - 'items' => [ - 'description' => '待删除的关联接入区域的接入点列表。'."\n" - ."\n" - .'> 当该接入区域的接入点关联的云资源实例为默认源站时,无法删除该接入区域的接入点。', - 'type' => 'object', - 'properties' => [ - 'PopLocation' => [ - 'title' => 'pop location', - 'description' => '待删除的关联接入区域的接入点列表。'."\n" - ."\n" - .'> 当该接入区域的接入点关联的云资源实例为默认源站时,无法删除该接入区域的接入点。', - 'type' => 'string', - 'required' => false, - 'example' => 'eu-west-1-pop', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - ], - [ - 'name' => 'AssociationMode', - 'in' => 'query', - 'schema' => [ - 'title' => '关联模式,默认模式、普通模式Default/Normal', - 'description' => '绑定模式,取值:'."\n" - ."\n" - .'- **Default**:默认模式,将要绑定的云资源实例设置为默认源站。'."\n" - ."\n" - .'- **Normal**:普通模式,要绑定的云资源实例设置为普通源站。', - 'type' => 'string', - 'required' => false, - 'example' => 'Default', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回信息列表。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'OperationFailed.SetNormalAssociationMode', - 'errorMessage' => 'The only associated instance must be default mode. ', - ], - [ - 'errorCode' => 'OperationFailed.DeletedPopLocation', - 'errorMessage' => 'The operation is failed because of added Pop Location is invalid.', - ], - [ - 'errorCode' => 'OperationFailed.AddPopLocation', - 'errorMessage' => 'The operation is failed because of added Pop Location is invalid.', - ], - [ - 'errorCode' => 'ResourceNotFound.BindInstanceId', - 'errorMessage' => 'The specified resource BindInstanceId is not found.', - ], - [ - 'errorCode' => 'ResourceNotFound.AnycastId', - 'errorMessage' => 'The specified resource AnycastId is not found.', - ], - [ - 'errorCode' => 'IncorrectStatus.Anycast', - 'errorMessage' => 'The status of the Anycast instance is invalid.', - ], - [ - 'errorCode' => 'OperationFailed.Conflict', - 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', - ], - [ - 'errorCode' => 'OperationUnsupported.ServiceManaged', - 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'asynchronous', - 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', - 'callbackInterval' => 3000, - 'maxCallbackTimes' => 10, - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAnycastEipAddressAssociationsResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n</UpdateAnycastEipAddressAssociationsResponse>","errorExample":""}]', - 'title' => '更新实例绑定信息', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]', ], 'DescribeAnycastEipAddress' => [ - 'summary' => '查询指定Anycast EIP实例的具体信息,包括实例状态、带宽峰值和已绑定资源的信息等。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1165,44 +428,27 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeipNF1RIS', - ], + 'abilityTreeNodes' => ['FEATUREeipNF1RIS'], ], 'parameters' => [ [ 'name' => 'Ip', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例IP地址。'."\n" - ."\n" - .'> 您必须输入参数**Ip**和参数**AnycastId**中的任意一个。', - 'type' => 'string', - 'required' => false, - 'example' => '139.95.XX.XX', - ], + 'schema' => ['description' => 'Anycast EIP实例IP地址。'."\n" + ."\n" + .'> 您必须输入参数**Ip**和参数**AnycastId**中的任意一个。', 'type' => 'string', 'required' => false, 'example' => '139.95.XX.XX'], ], [ 'name' => 'AnycastId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。'."\n" - ."\n" - .'> 您必须输入参数**Ip**和参数**AnycastId**中的任意一个。', - 'type' => 'string', - 'required' => false, - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], + 'schema' => ['description' => 'Anycast EIP实例ID。'."\n" + ."\n" + .'> 您必须输入参数**Ip**和参数**AnycastId**中的任意一个。', 'type' => 'string', 'required' => false, 'example' => 'aeip-bp1ix34fralt4ykf3****'], ], [ 'name' => 'BindInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP绑定的云资源实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-2zebb08phyczzawe****', - ], + 'schema' => ['description' => 'Anycast EIP绑定的云资源实例ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-2zebb08phyczzawe****'], ], ], 'responses' => [ @@ -1211,43 +457,23 @@ 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'IP状态。'."\n" - ."\n" - .'- **Associating**:绑定中。'."\n" - .'- **Unassociating**:解绑中。'."\n" - .'- **Allocated**:已分配。'."\n" - .'- **Associated**:已绑定。'."\n" - .'- **Modifying**:修改中。'."\n" - .'- **Releasing**:释放中。'."\n" - .'- **Released**:已释放。', - 'type' => 'string', - 'example' => 'Associated', - ], - 'Description' => [ - 'description' => 'Anycast EIP实例描述。', - 'type' => 'string', - 'example' => 'doctest', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], - 'InstanceChargeType' => [ - 'description' => 'Anycast EIP实例的付费模式。'."\n" - ."\n" - .'取值:**PostPaid**,表示后付费模式。', - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'CreateTime' => [ - 'description' => 'Anycast EIP实例创建时间。'."\n" - ."\n" - .'时间按照ISO8601标准表示,并使用UTC时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。', - 'type' => 'string', - 'example' => '2021-04-23T01:37:38Z', - ], + 'Status' => ['description' => 'IP状态。'."\n" + ."\n" + .'- **Associating**:绑定中。'."\n" + .'- **Unassociating**:解绑中。'."\n" + .'- **Allocated**:已分配。'."\n" + .'- **Associated**:已绑定。'."\n" + .'- **Modifying**:修改中。'."\n" + .'- **Releasing**:释放中。'."\n" + .'- **Released**:已释放。', 'type' => 'string', 'example' => 'Associated'], + 'Description' => ['description' => 'Anycast EIP实例描述。', 'type' => 'string', 'example' => 'doctest'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], + 'InstanceChargeType' => ['description' => 'Anycast EIP实例的付费模式。'."\n" + ."\n" + .'取值:**PostPaid**,表示后付费模式。', 'type' => 'string', 'example' => 'PostPaid'], + 'CreateTime' => ['description' => 'Anycast EIP实例创建时间。'."\n" + ."\n" + .'时间按照ISO8601标准表示,并使用UTC时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2021-04-23T01:37:38Z'], 'AnycastEipBindInfoList' => [ 'description' => 'Anycast EIP实例绑定云资源信息列表。', 'type' => 'array', @@ -1255,42 +481,22 @@ 'description' => 'Anycast EIP实例绑定云资源信息列表。', 'type' => 'object', 'properties' => [ - 'BindInstanceType' => [ - 'description' => '绑定的云资源实例类型。取值:'."\n" - ."\n" - .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" - .'- **NetworkInterface**:弹性网卡。', - 'type' => 'string', - 'example' => 'SlbInstance', - ], - 'BindTime' => [ - 'description' => '绑定时间。'."\n" - ."\n" - .'时间按照ISO8601标准表示,并使用UTC时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。', - 'type' => 'string', - 'example' => '2021-04-23T02:37:38Z', - ], - 'Status' => [ - 'description' => '绑定的云资源实例的状态。取值:'."\n" - .'- **BINDING**:绑定中。'."\n" - .'- **BINDED**:已绑定。'."\n" - .'- **UNBINDING**:解绑中。'."\n" - .'- **DELETED**:已删除。'."\n" - .'- **MODIFYING**:修改中。'."\n" - ."\n", - 'type' => 'string', - 'example' => 'BINDING', - ], - 'BindInstanceRegionId' => [ - 'description' => '绑定的云资源实例的地域ID。', - 'type' => 'string', - 'example' => 'us-west-1', - ], - 'BindInstanceId' => [ - 'description' => '绑定的云资源实例ID。', - 'type' => 'string', - 'example' => 'lb-2zebb08phyczzawe****', - ], + 'BindInstanceType' => ['description' => '绑定的云资源实例类型。取值:'."\n" + ."\n" + .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" + .'- **NetworkInterface**:弹性网卡。', 'type' => 'string', 'example' => 'SlbInstance'], + 'BindTime' => ['description' => '绑定时间。'."\n" + ."\n" + .'时间按照ISO8601标准表示,并使用UTC时间。格式为:`YYYY-MM-DDThh:mm:ssZ`。', 'type' => 'string', 'example' => '2021-04-23T02:37:38Z'], + 'Status' => ['description' => '绑定的云资源实例的状态。取值:'."\n" + .'- **BINDING**:绑定中。'."\n" + .'- **BINDED**:已绑定。'."\n" + .'- **UNBINDING**:解绑中。'."\n" + .'- **DELETED**:已删除。'."\n" + .'- **MODIFYING**:修改中。'."\n" + ."\n", 'type' => 'string', 'example' => 'BINDING'], + 'BindInstanceRegionId' => ['description' => '绑定的云资源实例的地域ID。', 'type' => 'string', 'example' => 'us-west-1'], + 'BindInstanceId' => ['description' => '绑定的云资源实例ID。', 'type' => 'string', 'example' => 'lb-2zebb08phyczzawe****'], 'PopLocations' => [ 'title' => '关联的pop点', 'description' => '绑定云资源实例时,关联的接入区域的接入点信息。'."\n" @@ -1303,98 +509,41 @@ .'如果您是第一次绑定,系统将返回所有接入区域的接入点信息。'."\n", 'type' => 'object', 'properties' => [ - 'PopLocation' => [ - 'title' => 'PopLocation', - 'description' => '绑定云资源实例时,关联的接入区域的接入点信息。'."\n" - ."\n" - .'如果您是第一次绑定,系统将返回所有接入区域的接入点信息。'."\n", - 'type' => 'string', - 'example' => 'us-west-1-pop', - ], + 'PopLocation' => ['title' => 'PopLocation', 'description' => '绑定云资源实例时,关联的接入区域的接入点信息。'."\n" + ."\n" + .'如果您是第一次绑定,系统将返回所有接入区域的接入点信息。'."\n", 'type' => 'string', 'example' => 'us-west-1-pop'], ], ], ], - 'AssociationMode' => [ - 'title' => '绑定模式 Normal、Default', - 'description' => '绑定模式,取值:'."\n" - ."\n" - .'- **Default**:默认模式,绑定的云资源实例为默认源站。'."\n" - ."\n" - .'- **Normal**:普通模式,绑定的云资源实例为普通源站。', - 'type' => 'string', - 'example' => 'Default', - ], - 'PrivateIpAddress' => [ - 'title' => 'ip地址', - 'description' => '绑定的弹性网卡的辅助私网IP。'."\n" - ."\n" - .'只有当**BindInstanceType**取值为**NetworkInterface**时,返回该参数。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], + 'AssociationMode' => ['title' => '绑定模式 Normal、Default', 'description' => '绑定模式,取值:'."\n" + ."\n" + .'- **Default**:默认模式,绑定的云资源实例为默认源站。'."\n" + ."\n" + .'- **Normal**:普通模式,绑定的云资源实例为普通源站。', 'type' => 'string', 'example' => 'Default'], + 'PrivateIpAddress' => ['title' => 'ip地址', 'description' => '绑定的弹性网卡的辅助私网IP。'."\n" + ."\n" + .'只有当**BindInstanceType**取值为**NetworkInterface**时,返回该参数。', 'type' => 'string', 'example' => '192.168.XX.XX'], ], ], ], - 'BusinessStatus' => [ - 'description' => 'Anycast EIP实例的业务状态。取值:'."\n" - ."\n" - .'- **Normal**:正常状态。'."\n" - .'- **FinancialLocked**:欠费锁定状态。'."\n" - .'- **RiskExpired**:安全锁定状态。', - 'type' => 'string', - 'example' => 'Normal', - ], - 'InternetChargeType' => [ - 'description' => 'Anycast EIP实例的计费方式。'."\n" - ."\n" - .'取值:**PayByTraffic**,表示按流量计费方式。', - 'type' => 'string', - 'example' => 'PayByTraffic', - ], - 'Name' => [ - 'description' => 'Anycast EIP实例名称。', - 'type' => 'string', - 'example' => 'docname', - ], - 'AnycastId' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'example' => 'aeip-bp1ix34fralt4ykf3****', - ], - 'ServiceLocation' => [ - 'description' => 'Anycast EIP实例接入区域。'."\n" - ."\n" - .'取值:**international**,表示中国内地以外的区域。', - 'type' => 'string', - 'example' => 'international', - ], - 'Bandwidth' => [ - 'description' => 'Anycast EIP实例的带宽峰值,单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'IpAddress' => [ - 'description' => 'Anycast EIP实例IP地址。', - 'type' => 'string', - 'example' => '139.95.XX.XX', - ], - 'Bid' => [ - 'description' => 'Anycast EIP实例账号BID。', - 'type' => 'string', - 'example' => '26842', - ], - 'AliUid' => [ - 'description' => 'Anycast EIP实例账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '25346073170691****', - ], - 'ResourceGroupId' => [ - 'description' => '实例所属的资源组ID。', - 'type' => 'string', - 'example' => 'rg-acfmzssisocarfy', - ], + 'BusinessStatus' => ['description' => 'Anycast EIP实例的业务状态。取值:'."\n" + ."\n" + .'- **Normal**:正常状态。'."\n" + .'- **FinancialLocked**:欠费锁定状态。'."\n" + .'- **RiskExpired**:安全锁定状态。', 'type' => 'string', 'example' => 'Normal'], + 'InternetChargeType' => ['description' => 'Anycast EIP实例的计费方式。'."\n" + ."\n" + .'取值:**PayByTraffic**,表示按流量计费方式。', 'type' => 'string', 'example' => 'PayByTraffic'], + 'Name' => ['description' => 'Anycast EIP实例名称。', 'type' => 'string', 'example' => 'docname'], + 'AnycastId' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'example' => 'aeip-bp1ix34fralt4ykf3****'], + 'ServiceLocation' => ['description' => 'Anycast EIP实例接入区域。'."\n" + ."\n" + .'取值:**international**,表示中国内地以外的区域。', 'type' => 'string', 'example' => 'international'], + 'Bandwidth' => ['description' => 'Anycast EIP实例的带宽峰值,单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'IpAddress' => ['description' => 'Anycast EIP实例IP地址。', 'type' => 'string', 'example' => '139.95.XX.XX'], + 'Bid' => ['description' => 'Anycast EIP实例账号BID。', 'type' => 'string', 'example' => '26842'], + 'AliUid' => ['description' => 'Anycast EIP实例账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '25346073170691****'], + 'ResourceGroupId' => ['description' => '实例所属的资源组ID。', 'type' => 'string', 'example' => 'rg-acfmzssisocarfy'], 'Tags' => [ 'description' => '标签信息。', 'type' => 'array', @@ -1402,58 +551,53 @@ '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'], ], ], ], - 'ServiceManaged' => [ - 'description' => '是否为服务账号创建的资源。'."\n" - .'0:非服务账号创建。'."\n" - .'1:服务账号创建。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'ServiceManaged' => ['description' => '是否为服务账号创建的资源。'."\n" + .'0:非服务账号创建。'."\n" + .'1:服务账号创建。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], ], ], ], 'errorCodes' => [ 200 => [ - [ - 'errorCode' => 'MissingParam.ResourceIdentifier', - 'errorMessage' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.', - ], + ['errorCode' => 'MissingParam.ResourceIdentifier', 'errorMessage' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.', 'description' => '请求缺少必要参数:请提供 AnycastId、IP 或 BindInstanceId 中的至少一个。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Associated\\",\\n \\"Description\\": \\"doctest\\",\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"CreateTime\\": \\"2021-04-23T01:37:38Z\\",\\n \\"AnycastEipBindInfoList\\": [\\n {\\n \\"BindInstanceType\\": \\"SlbInstance\\",\\n \\"BindTime\\": \\"2021-04-23T02:37:38Z\\",\\n \\"Status\\": \\"BINDING\\",\\n \\"BindInstanceRegionId\\": \\"us-west-1\\",\\n \\"BindInstanceId\\": \\"lb-2zebb08phyczzawe****\\",\\n \\"PopLocations\\": [\\n {\\n \\"PopLocation\\": \\"us-west-1-pop\\"\\n }\\n ],\\n \\"AssociationMode\\": \\"Default\\",\\n \\"PrivateIpAddress\\": \\"192.168.XX.XX\\"\\n }\\n ],\\n \\"BusinessStatus\\": \\"Normal\\",\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"Name\\": \\"docname\\",\\n \\"AnycastId\\": \\"aeip-bp1ix34fralt4ykf3****\\",\\n \\"ServiceLocation\\": \\"international\\",\\n \\"Bandwidth\\": 200,\\n \\"IpAddress\\": \\"139.95.XX.XX\\",\\n \\"Bid\\": \\"26842\\",\\n \\"AliUid\\": 0,\\n \\"ResourceGroupId\\": \\"rg-acfmzssisocarfy\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ServiceManaged\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastEipAddressResponse>\\n <Status>Associated</Status>\\n <Description>doctest</Description>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <CreateTime>2021-04-23T01:37:38Z</CreateTime>\\n <AnycastEipBindInfoList>\\n <BindInstanceType>SlbInstance</BindInstanceType>\\n <BindTime>2021-04-23T02:37:38Z</BindTime>\\n <Status>BINDING</Status>\\n <BindInstanceRegionId>us-west-1</BindInstanceRegionId>\\n <BindInstanceId>lb-2zebb08phyczzawe****</BindInstanceId>\\n <PopLocations>\\n <PopLocation>us-west-1-pop</PopLocation>\\n </PopLocations>\\n <AssociationMode>Default</AssociationMode>\\n <PrivateIpAddress>192.168.XX.XX</PrivateIpAddress>\\n </AnycastEipBindInfoList>\\n <BusinessStatus>Normal</BusinessStatus>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <Name>docname</Name>\\n <AnycastId>aeip-bp1ix34fralt4ykf3****</AnycastId>\\n <ServiceLocation>international</ServiceLocation>\\n <Bandwidth>200</Bandwidth>\\n <IpAddress>139.95.XX.XX</IpAddress>\\n <Bid>26842</Bid>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n</DescribeAnycastEipAddressResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查看实例信息', + 'summary' => '查询指定Anycast EIP实例的具体信息,包括实例状态、带宽峰值和已绑定资源的信息等。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAnycastPopLocations' => [ - 'summary' => '调用DescribeAnycastPopLocations接口查询指定接入区域的接入点信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastEipAddress'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eipanycast:DescribeAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Status\\": \\"Associated\\",\\n \\"Description\\": \\"doctest\\",\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"CreateTime\\": \\"2021-04-23T01:37:38Z\\",\\n \\"AnycastEipBindInfoList\\": [\\n {\\n \\"BindInstanceType\\": \\"SlbInstance\\",\\n \\"BindTime\\": \\"2021-04-23T02:37:38Z\\",\\n \\"Status\\": \\"BINDING\\",\\n \\"BindInstanceRegionId\\": \\"us-west-1\\",\\n \\"BindInstanceId\\": \\"lb-2zebb08phyczzawe****\\",\\n \\"PopLocations\\": [\\n {\\n \\"PopLocation\\": \\"us-west-1-pop\\"\\n }\\n ],\\n \\"AssociationMode\\": \\"Default\\",\\n \\"PrivateIpAddress\\": \\"192.168.XX.XX\\"\\n }\\n ],\\n \\"BusinessStatus\\": \\"Normal\\",\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"Name\\": \\"docname\\",\\n \\"AnycastId\\": \\"aeip-bp1ix34fralt4ykf3****\\",\\n \\"ServiceLocation\\": \\"international\\",\\n \\"Bandwidth\\": 200,\\n \\"IpAddress\\": \\"139.95.XX.XX\\",\\n \\"Bid\\": \\"26842\\",\\n \\"AliUid\\": 0,\\n \\"ResourceGroupId\\": \\"rg-acfmzssisocarfy\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ],\\n \\"ServiceManaged\\": 1\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastEipAddressResponse>\\n <Status>Associated</Status>\\n <Description>doctest</Description>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <CreateTime>2021-04-23T01:37:38Z</CreateTime>\\n <AnycastEipBindInfoList>\\n <BindInstanceType>SlbInstance</BindInstanceType>\\n <BindTime>2021-04-23T02:37:38Z</BindTime>\\n <Status>BINDING</Status>\\n <BindInstanceRegionId>us-west-1</BindInstanceRegionId>\\n <BindInstanceId>lb-2zebb08phyczzawe****</BindInstanceId>\\n <PopLocations>\\n <PopLocation>us-west-1-pop</PopLocation>\\n </PopLocations>\\n <AssociationMode>Default</AssociationMode>\\n <PrivateIpAddress>192.168.XX.XX</PrivateIpAddress>\\n </AnycastEipBindInfoList>\\n <BusinessStatus>Normal</BusinessStatus>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <Name>docname</Name>\\n <AnycastId>aeip-bp1ix34fralt4ykf3****</AnycastId>\\n <ServiceLocation>international</ServiceLocation>\\n <Bandwidth>200</Bandwidth>\\n <IpAddress>139.95.XX.XX</IpAddress>\\n <Bid>26842</Bid>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n</DescribeAnycastEipAddressResponse>","errorExample":""}]', + ], + 'DescribeAnycastPopLocations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1465,22 +609,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip3Z2ARP', - ], + 'abilityTreeNodes' => ['FEATUREeip3Z2ARP'], ], 'parameters' => [ [ 'name' => 'ServiceLocation', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例的接入区域。'."\n" - ."\n" - .'取值:**international**,指中国内地以外的区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'international', - ], + 'schema' => ['description' => 'Anycast EIP实例的接入区域。'."\n" + ."\n" + .'取值:**international**,指中国内地以外的区域。', 'type' => 'string', 'required' => false, 'example' => 'international'], ], ], 'responses' => [ @@ -1496,49 +633,97 @@ 'description' => '接入区域的接入点信息列表。', 'type' => 'object', 'properties' => [ - 'RegionName' => [ - 'description' => '接入点地域名称。', - 'type' => 'string', - 'example' => 'us-west-1-pop', - ], - 'RegionId' => [ - 'description' => '接入点地域ID。', - 'type' => 'string', - 'example' => 'us-west-1-pop', - ], + 'RegionName' => ['description' => '接入点地域名称。', 'type' => 'string', 'example' => 'us-west-1-pop'], + 'RegionId' => ['description' => '接入点地域ID。', 'type' => 'string', 'example' => 'us-west-1-pop'], ], ], ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], - 'Count' => [ - 'description' => '接入点列表条目数。', - 'type' => 'string', - 'example' => '1', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], + 'Count' => ['description' => '接入点列表条目数。', 'type' => 'string', 'example' => '1'], ], ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AnycastPopLocationList\\": [\\n {\\n \\"RegionName\\": \\"us-west-1-pop\\",\\n \\"RegionId\\": \\"us-west-1-pop\\"\\n }\\n ],\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"Count\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastPopLocationsResponse>\\n <AnycastPopLocationList>\\n <RegionName>us-west-1-pop</RegionName>\\n <RegionId>us-west-1-pop</RegionId>\\n </AnycastPopLocationList>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <Count>1</Count>\\n</DescribeAnycastPopLocationsResponse>","errorExample":""}]', 'title' => '查询接入点信息', + 'summary' => '调用DescribeAnycastPopLocations接口查询指定接入区域的接入点信息。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastPopLocations'], + ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AnycastPopLocationList\\": [\\n {\\n \\"RegionName\\": \\"us-west-1-pop\\",\\n \\"RegionId\\": \\"us-west-1-pop\\"\\n }\\n ],\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"Count\\": \\"1\\"\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastPopLocationsResponse>\\n <AnycastPopLocationList>\\n <RegionName>us-west-1-pop</RegionName>\\n <RegionId>us-west-1-pop</RegionId>\\n </AnycastPopLocationList>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <Count>1</Count>\\n</DescribeAnycastPopLocationsResponse>","errorExample":""}]', ], - 'ListAnycastEipAddresses' => [ - 'summary' => '查询指定接入区域已创建Anycast EIP实例的具体信息,包括实例状态、带宽峰值和已绑定资源的信息等。', - 'methods' => [ - 'post', - 'get', + 'DescribeAnycastServerRegions' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREeipIDYPAX'], ], - 'schemes' => [ - 'http', - 'https', + 'parameters' => [ + [ + 'name' => 'ServiceLocation', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP接入区域。'."\n" + ."\n" + .'取值:**international**,表示中国内地以外的区域。', 'type' => 'string', 'required' => true, 'example' => 'international'], + ], ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息列表。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], + 'Count' => ['description' => '列表条目数。', 'type' => 'string', 'example' => '1'], + 'AnycastServerRegionList' => [ + 'description' => 'Anycast EIP可绑定的后端地域信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Anycast EIP可绑定的后端地域信息列表。', + 'type' => 'object', + 'properties' => [ + 'RegionName' => ['description' => '可绑定地域名称。', 'type' => 'string', 'example' => 'eu-west-1-gb33-a01'], + 'RegionId' => ['description' => '可绑定地域ID。', 'type' => 'string', 'example' => 'eu-west-1'], + ], + ], + ], + ], + ], + ], + ], + 'title' => '查询可绑定的后端服务地域', + 'summary' => '调用DescribeAnycastServerRegions接口查询指定区域内Anycast EIP可绑定的后端服务地域。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastServerRegions'], + ], + ], + 'ramActions' => [], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"Count\\": \\"1\\",\\n \\"AnycastServerRegionList\\": [\\n {\\n \\"RegionName\\": \\"eu-west-1-gb33-a01\\",\\n \\"RegionId\\": \\"eu-west-1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastServerRegionsResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <Count>1</Count>\\n <AnycastServerRegionList>\\n <RegionName>eu-west-1-gb33-a01</RegionName>\\n <RegionId>eu-west-1</RegionId>\\n </AnycastServerRegionList>\\n</DescribeAnycastServerRegionsResponse>","errorExample":""}]', + ], + 'ListAnycastEipAddresses' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1550,22 +735,15 @@ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], ], 'parameters' => [ [ 'name' => 'AnycastId', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例ID。'."\n" - ."\n" - .'> 为保证查询结果准确性,不建议同时配置**AnycastIds**和**AnycastId**。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], + 'schema' => ['description' => 'Anycast EIP实例ID。'."\n" + ."\n" + .'> 为保证查询结果准确性,不建议同时配置**AnycastIds**和**AnycastId**。'."\n", 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], ], [ 'name' => 'AnycastIds', @@ -1578,15 +756,10 @@ ."\n" .'> 为保证查询结果准确性,不建议同时配置**AnycastIds**和**AnycastId**。', 'type' => 'array', - 'items' => [ - 'description' => 'Anycast EIP实例ID列表。'."\n" - ."\n" - .'最多支持输入50个Anycast EIP实例ID。'."\n" - .'> 为保证查询结果准确性,不建议同时配置**AnycastIds**和**AnycastId**。', - 'type' => 'string', - 'required' => false, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], + 'items' => ['description' => 'Anycast EIP实例ID列表。'."\n" + ."\n" + .'最多支持输入50个Anycast EIP实例ID。'."\n" + .'> 为保证查询结果准确性,不建议同时配置**AnycastIds**和**AnycastId**。', 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], 'required' => false, 'maxItems' => 50, ], @@ -1594,70 +767,40 @@ [ 'name' => 'AnycastEipAddress', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例被分配的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '139.95.XX.XX', - ], + 'schema' => ['description' => 'Anycast EIP实例被分配的IP地址。', 'type' => 'string', 'required' => false, 'example' => '139.95.XX.XX'], ], [ 'name' => 'ServiceLocation', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例接入区域。'."\n" - ."\n" - .'取值:**international**,指中国内地以外的区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'international', - ], + 'schema' => ['description' => 'Anycast EIP实例接入区域。'."\n" + ."\n" + .'取值:**international**,指中国内地以外的区域。', 'type' => 'string', 'required' => false, 'example' => 'international'], ], [ 'name' => 'InstanceChargeType', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP付费模式。'."\n" - ."\n" - .'取值:**PostPaid**,后付费模式。', - 'type' => 'string', - 'required' => false, - 'example' => 'PostPaid', - ], + 'schema' => ['description' => 'Anycast EIP付费模式。'."\n" + ."\n" + .'取值:**PostPaid**,后付费模式。', 'type' => 'string', 'required' => false, 'example' => 'PostPaid'], ], [ 'name' => 'InternetChargeType', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例访问公网计费方式。'."\n" - ."\n" - .'取值:**PayByTraffic**,指按流量计费。', - 'type' => 'string', - 'required' => false, - 'example' => 'PayByTraffic', - ], + 'schema' => ['description' => 'Anycast EIP实例访问公网计费方式。'."\n" + ."\n" + .'取值:**PayByTraffic**,指按流量计费。', 'type' => 'string', 'required' => false, 'example' => 'PayByTraffic'], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例名称。'."\n" - ."\n" - .'名称长度为0~128个字符,以大小写字母或中文开头,可包含数字、短划线(-)或下划线(_)。', - 'type' => 'string', - 'required' => false, - 'example' => 'doctest', - ], + 'schema' => ['description' => 'Anycast EIP实例名称。'."\n" + ."\n" + .'名称长度为0~128个字符,以大小写字母或中文开头,可包含数字、短划线(-)或下划线(_)。', 'type' => 'string', 'required' => false, 'example' => 'doctest'], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所属的资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-aekzthsmwsnfuni', - ], + 'schema' => ['description' => '实例所属的资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-aekzthsmwsnfuni'], ], [ 'name' => 'Tags', @@ -1670,26 +813,16 @@ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" - ."\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" - .'> 参数**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" + .'> 参数**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" + .'> 参数**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], @@ -1700,56 +833,35 @@ [ 'name' => 'MaxResults', 'in' => 'query', - 'schema' => [ - 'description' => '列表分页展示时每页展示的实例个数,取值范围:**20~100**。默认值:**50**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '50', - ], + 'schema' => ['description' => '列表分页展示时每页展示的实例个数,取值范围:**20~100**。默认值:**50**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], ], [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', - 'type' => 'string', - 'required' => false, - 'example' => 'caeba0bbb2be03f84eb48b699f0a****', - ], + 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的NextToken值。', 'type' => 'string', 'required' => false, 'example' => 'caeba0bbb2be03f84eb48b699f0a****'], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'IP状态,取值:'."\n" - ."\n" - .'- **Associating**:绑定中。'."\n" - .'- **Unassociating**:解绑中。'."\n" - .'- **Allocated**:已分配。'."\n" - .'- **Associated**:已绑定。'."\n" - .'- **Modifying**:修改中。'."\n" - .'- **Releasing**:释放中。'."\n" - .'- **Released**:已释放。', - 'type' => 'string', - 'required' => false, - 'example' => 'Associated', - ], + 'schema' => ['description' => 'IP状态,取值:'."\n" + ."\n" + .'- **Associating**:绑定中。'."\n" + .'- **Unassociating**:解绑中。'."\n" + .'- **Allocated**:已分配。'."\n" + .'- **Associated**:已绑定。'."\n" + .'- **Modifying**:修改中。'."\n" + .'- **Releasing**:释放中。'."\n" + .'- **Released**:已释放。', 'type' => 'string', 'required' => false, 'example' => 'Associated'], ], [ 'name' => 'BusinessStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'Anycast EIP实例的业务状态,取值:'."\n" - ."\n" - .'- **Normal**:正常状态。'."\n" - .'- **FinancialLocked**:欠费锁定状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'Normal', - ], + 'schema' => ['description' => 'Anycast EIP实例的业务状态,取值:'."\n" + ."\n" + .'- **Normal**:正常状态。'."\n" + .'- **FinancialLocked**:欠费锁定状态。', 'type' => 'string', 'required' => false, 'example' => 'Normal'], ], [ 'name' => 'BindInstanceIds', @@ -1760,14 +872,9 @@ ."\n" .'最多支持输入100个云资源实例ID。', 'type' => 'array', - 'items' => [ - 'description' => 'Anycast EIP绑定的云资源实例ID列表。'."\n" - ."\n" - .'最多支持输入100个云资源实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-2zebb08phyczzawe****', - ], + 'items' => ['description' => 'Anycast EIP绑定的云资源实例ID列表。'."\n" + ."\n" + .'最多支持输入100个云资源实例ID。', 'type' => 'string', 'required' => false, 'example' => 'lb-2zebb08phyczzawe****'], 'required' => false, 'example' => 'lb-2zebb08phyczzawe****', 'maxItems' => 100, @@ -1780,24 +887,11 @@ 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '列表条目数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'NextToken' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 如果**NextToken**为空表示没有下一次查询。'."\n" - .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], + 'TotalCount' => ['description' => '列表条目数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], 'AnycastList' => [ 'description' => 'Anycast EIP信息列表。', 'type' => 'array', @@ -1805,65 +899,27 @@ 'description' => 'Anycast EIP信息列表。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'IP状态。'."\n" - ."\n" - .'- **Associating**:绑定中。'."\n" - .'- **Unassociating**:解绑中。'."\n" - .'- **Allocated**:已分配。'."\n" - .'- **Associated**:已绑定。'."\n" - .'- **Modifying**:修改中。'."\n" - .'- **Releasing**:释放中。'."\n" - .'- **Released**:已释放。', - 'type' => 'string', - 'example' => 'Associating', - ], - 'CreateTime' => [ - 'description' => 'Anycast EIP实例创建时间。', - 'type' => 'string', - 'example' => '2022-04-22T01:37:38Z', - ], - 'AnycastId' => [ - 'description' => 'Anycast EIP实例ID。', - 'type' => 'string', - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], - 'AliUid' => [ - 'description' => 'Anycast EIP实例账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123440159596****', - ], - 'ServiceLocation' => [ - 'description' => 'Anycast EIP实例接入区域。'."\n" - ."\n" - .'**international**:指中国内地以外的区域。', - 'type' => 'string', - 'example' => 'international', - ], - 'InstanceChargeType' => [ - 'description' => 'Anycast EIP实例的付费模式。'."\n" - ."\n" - .'**PostPaid**:指后付费模式。', - 'type' => 'string', - 'example' => 'PostPaid', - ], - 'IpAddress' => [ - 'description' => 'Anycast EIP实例IP地址。', - 'type' => 'string', - 'example' => '139.95.XX.XX', - ], - 'Bandwidth' => [ - 'description' => 'Anycast EIP实例的带宽峰值。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Description' => [ - 'description' => 'Anycast EIP实例描述。', - 'type' => 'string', - 'example' => 'docdesc', - ], + 'Status' => ['description' => 'IP状态。'."\n" + ."\n" + .'- **Associating**:绑定中。'."\n" + .'- **Unassociating**:解绑中。'."\n" + .'- **Allocated**:已分配。'."\n" + .'- **Associated**:已绑定。'."\n" + .'- **Modifying**:修改中。'."\n" + .'- **Releasing**:释放中。'."\n" + .'- **Released**:已释放。', 'type' => 'string', 'example' => 'Associating'], + 'CreateTime' => ['description' => 'Anycast EIP实例创建时间。', 'type' => 'string', 'example' => '2022-04-22T01:37:38Z'], + 'AnycastId' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'example' => 'aeip-2zeerraiwb7ujsxdc****'], + 'AliUid' => ['description' => 'Anycast EIP实例账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123440159596****'], + 'ServiceLocation' => ['description' => 'Anycast EIP实例接入区域。'."\n" + ."\n" + .'**international**:指中国内地以外的区域。', 'type' => 'string', 'example' => 'international'], + 'InstanceChargeType' => ['description' => 'Anycast EIP实例的付费模式。'."\n" + ."\n" + .'**PostPaid**:指后付费模式。', 'type' => 'string', 'example' => 'PostPaid'], + 'IpAddress' => ['description' => 'Anycast EIP实例IP地址。', 'type' => 'string', 'example' => '139.95.XX.XX'], + 'Bandwidth' => ['description' => 'Anycast EIP实例的带宽峰值。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Description' => ['description' => 'Anycast EIP实例描述。', 'type' => 'string', 'example' => 'docdesc'], 'AnycastEipBindInfoList' => [ 'description' => 'Anycast EIP实例绑定信息列表。', 'type' => 'array', @@ -1871,68 +927,31 @@ 'description' => 'Anycast EIP实例绑定信息列表。', 'type' => 'object', 'properties' => [ - 'BindInstanceType' => [ - 'description' => '绑定云资源实例类型。'."\n" - ."\n" - .'- **SlbInstance**:指专有网络类型的私网传统型负载均衡CLB(Classic Load Balancer)实例(原SLB)。'."\n" - ."\n" - .'- **NetworkInterface**:弹性网卡ENI(Elastic Network Interface)。'."\n", - 'type' => 'string', - 'example' => 'SlbInstance', - ], - 'BindTime' => [ - 'description' => '绑定时间。', - 'type' => 'string', - 'example' => '2022-04-23T01:37:38Z', - ], - 'BindInstanceRegionId' => [ - 'description' => '绑定云资源实例地域ID。', - 'type' => 'string', - 'example' => 'us-west-1', - ], - 'BindInstanceId' => [ - 'description' => '绑定云资源实例ID。', - 'type' => 'string', - 'example' => 'lb-2zebb08phyczzawe****', - ], + 'BindInstanceType' => ['description' => '绑定云资源实例类型。'."\n" + ."\n" + .'- **SlbInstance**:指专有网络类型的私网传统型负载均衡CLB(Classic Load Balancer)实例(原SLB)。'."\n" + ."\n" + .'- **NetworkInterface**:弹性网卡ENI(Elastic Network Interface)。'."\n", 'type' => 'string', 'example' => 'SlbInstance'], + 'BindTime' => ['description' => '绑定时间。', 'type' => 'string', 'example' => '2022-04-23T01:37:38Z'], + 'BindInstanceRegionId' => ['description' => '绑定云资源实例地域ID。', 'type' => 'string', 'example' => 'us-west-1'], + 'BindInstanceId' => ['description' => '绑定云资源实例ID。', 'type' => 'string', 'example' => 'lb-2zebb08phyczzawe****'], ], ], ], - 'InternetChargeType' => [ - 'description' => 'Anycast EIP实例的计费方式。'."\n" - ."\n" - .'**PayByTraffic**:指按流量计费方式。', - 'type' => 'string', - 'example' => 'PayByTraffic', - ], - 'BusinessStatus' => [ - 'description' => 'Anycast EIP实例的业务状态。'."\n" - ."\n" - .'- **Normal**:正常状态。'."\n" - .'- **FinancialLocked**:欠费锁定状态。', - 'type' => 'string', - 'example' => 'Normal', - ], - 'Name' => [ - 'description' => 'Anycast EIP实例名称。', - 'type' => 'string', - 'example' => 'docname', - ], - 'ServiceManaged' => [ - 'description' => '是否为服务账号创建的资源。'."\n" - ."\n" - .'- **0**:非服务账号创建。'."\n" - ."\n" - .'- **1**:服务账号创建。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ResourceGroupId' => [ - 'description' => '实例所属的资源组ID。', - 'type' => 'string', - 'example' => 'rg-aekzthsmwsnfuni'."\n", - ], + 'InternetChargeType' => ['description' => 'Anycast EIP实例的计费方式。'."\n" + ."\n" + .'**PayByTraffic**:指按流量计费方式。', 'type' => 'string', 'example' => 'PayByTraffic'], + 'BusinessStatus' => ['description' => 'Anycast EIP实例的业务状态。'."\n" + ."\n" + .'- **Normal**:正常状态。'."\n" + .'- **FinancialLocked**:欠费锁定状态。', 'type' => 'string', 'example' => 'Normal'], + 'Name' => ['description' => 'Anycast EIP实例名称。', 'type' => 'string', 'example' => 'docname'], + 'ServiceManaged' => ['description' => '是否为服务账号创建的资源。'."\n" + ."\n" + .'- **0**:非服务账号创建。'."\n" + ."\n" + .'- **1**:服务账号创建。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ResourceGroupId' => ['description' => '实例所属的资源组ID。', 'type' => 'string', 'example' => 'rg-aekzthsmwsnfuni'."\n"], 'Tags' => [ 'description' => '标签信息。', 'type' => 'array', @@ -1940,16 +959,8 @@ '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'], ], ], ], @@ -1960,25 +971,37 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"AnycastList\\": [\\n {\\n \\"Status\\": \\"Associating\\",\\n \\"CreateTime\\": \\"2022-04-22T01:37:38Z\\",\\n \\"AnycastId\\": \\"aeip-2zeerraiwb7ujsxdc****\\",\\n \\"AliUid\\": 0,\\n \\"ServiceLocation\\": \\"international\\",\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"IpAddress\\": \\"139.95.XX.XX\\",\\n \\"Bandwidth\\": 200,\\n \\"Description\\": \\"docdesc\\",\\n \\"AnycastEipBindInfoList\\": [\\n {\\n \\"BindInstanceType\\": \\"SlbInstance\\",\\n \\"BindTime\\": \\"2022-04-23T01:37:38Z\\",\\n \\"BindInstanceRegionId\\": \\"us-west-1\\",\\n \\"BindInstanceId\\": \\"lb-2zebb08phyczzawe****\\"\\n }\\n ],\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"BusinessStatus\\": \\"Normal\\",\\n \\"Name\\": \\"docname\\",\\n \\"ServiceManaged\\": 0,\\n \\"ResourceGroupId\\": \\"rg-aekzthsmwsnfuni\\\\n\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListAnycastEipAddressesResponse>\\n <TotalCount>100</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <AnycastList>\\n <Status>Associating</Status>\\n <CreateTime>2022-04-22T01:37:38Z</CreateTime>\\n <AnycastId>aeip-2zeerraiwb7ujsxdc****</AnycastId>\\n <ServiceLocation>international</ServiceLocation>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <IpAddress>139.95.XX.XX</IpAddress>\\n <Bandwidth>200</Bandwidth>\\n <Description>docdesc</Description>\\n <AnycastEipBindInfoList>\\n <BindInstanceType>SlbInstance</BindInstanceType>\\n <BindTime>2022-04-23T01:37:38Z</BindTime>\\n <BindInstanceRegionId>us-west-1</BindInstanceRegionId>\\n <BindInstanceId>lb-2zebb08phyczzawe****</BindInstanceId>\\n </AnycastEipBindInfoList>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <BusinessStatus>Normal</BusinessStatus>\\n <Name>docname</Name>\\n <ServiceManaged>0</ServiceManaged>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </AnycastList>\\n</ListAnycastEipAddressesResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询已创建实例', + 'summary' => '查询指定接入区域已创建Anycast EIP实例的具体信息,包括实例状态、带宽峰值和已绑定资源的信息等。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAnycastServerRegions' => [ - 'summary' => '调用DescribeAnycastServerRegions接口查询指定区域内Anycast EIP可绑定的后端服务地域。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAnycastEipAddresses'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eipanycast:ListAnycastEipAddresses', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 100,\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"AnycastList\\": [\\n {\\n \\"Status\\": \\"Associating\\",\\n \\"CreateTime\\": \\"2022-04-22T01:37:38Z\\",\\n \\"AnycastId\\": \\"aeip-2zeerraiwb7ujsxdc****\\",\\n \\"AliUid\\": 0,\\n \\"ServiceLocation\\": \\"international\\",\\n \\"InstanceChargeType\\": \\"PostPaid\\",\\n \\"IpAddress\\": \\"139.95.XX.XX\\",\\n \\"Bandwidth\\": 200,\\n \\"Description\\": \\"docdesc\\",\\n \\"AnycastEipBindInfoList\\": [\\n {\\n \\"BindInstanceType\\": \\"SlbInstance\\",\\n \\"BindTime\\": \\"2022-04-23T01:37:38Z\\",\\n \\"BindInstanceRegionId\\": \\"us-west-1\\",\\n \\"BindInstanceId\\": \\"lb-2zebb08phyczzawe****\\"\\n }\\n ],\\n \\"InternetChargeType\\": \\"PayByTraffic\\",\\n \\"BusinessStatus\\": \\"Normal\\",\\n \\"Name\\": \\"docname\\",\\n \\"ServiceManaged\\": 0,\\n \\"ResourceGroupId\\": \\"rg-aekzthsmwsnfuni\\\\n\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"FinanceDept\\",\\n \\"Value\\": \\"FinanceJoshua\\"\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListAnycastEipAddressesResponse>\\n <TotalCount>100</TotalCount>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <AnycastList>\\n <Status>Associating</Status>\\n <CreateTime>2022-04-22T01:37:38Z</CreateTime>\\n <AnycastId>aeip-2zeerraiwb7ujsxdc****</AnycastId>\\n <ServiceLocation>international</ServiceLocation>\\n <InstanceChargeType>PostPaid</InstanceChargeType>\\n <IpAddress>139.95.XX.XX</IpAddress>\\n <Bandwidth>200</Bandwidth>\\n <Description>docdesc</Description>\\n <AnycastEipBindInfoList>\\n <BindInstanceType>SlbInstance</BindInstanceType>\\n <BindTime>2022-04-23T01:37:38Z</BindTime>\\n <BindInstanceRegionId>us-west-1</BindInstanceRegionId>\\n <BindInstanceId>lb-2zebb08phyczzawe****</BindInstanceId>\\n </AnycastEipBindInfoList>\\n <InternetChargeType>PayByTraffic</InternetChargeType>\\n <BusinessStatus>Normal</BusinessStatus>\\n <Name>docname</Name>\\n <ServiceManaged>0</ServiceManaged>\\n <Tags>\\n <Key>FinanceDept</Key>\\n <Value>FinanceJoshua</Value>\\n </Tags>\\n </AnycastList>\\n</ListAnycastEipAddressesResponse>","errorExample":""}]', + ], + 'ListTagResources' => [ + 'summary' => '调用ListTagResources接口查询任播弹性公网IP已绑定的标签列表信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1987,83 +1010,224 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeipIDYPAX', - ], + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], ], 'parameters' => [ [ - 'name' => 'ServiceLocation', + 'name' => 'ResourceId', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'Anycast EIP接入区域。'."\n" + 'description' => '资源ID列表。', + 'type' => 'array', + 'items' => ['description' => '资源ID。最多支持输入20个资源ID。'."\n" ."\n" - .'取值:**international**,表示中国内地以外的区域。', - 'type' => 'string', - 'required' => true, - 'example' => 'international', + .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], + 'required' => false, + 'maxItems' => 50, + 'minItems' => 1, + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS'], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" + ."\n" + .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], + 'Value' => ['description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n" + ."\n\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" + ."\n" + .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'maxItems' => 21, + 'minItems' => 1, ], ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + ."\n" + .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" + ."\n" + .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => ['description' => '分页查询时每页的最大条目数。取值范围:**1**~**50**,默认值:**50**。', 'type' => 'string', 'required' => false, 'example' => '50'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF', - ], - 'Count' => [ - 'description' => '列表条目数。', - 'type' => 'string', - 'example' => '1', - ], - 'AnycastServerRegionList' => [ - 'description' => 'Anycast EIP可绑定的后端地域信息列表。', + 'NextToken' => ['description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" + .'- 如果**NextToken**为空表示没有下一次查询。'."\n" + .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512'], + 'TagResources' => [ + 'description' => '绑定标签的资源信息。', 'type' => 'array', 'items' => [ - 'description' => 'Anycast EIP可绑定的后端地域信息列表。', 'type' => 'object', 'properties' => [ - 'RegionName' => [ - 'description' => '可绑定地域名称。', - 'type' => 'string', - 'example' => 'eu-west-1-gb33-a01', - ], - 'RegionId' => [ - 'description' => '可绑定地域ID。', - 'type' => 'string', - 'example' => 'eu-west-1', - ], + 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'aeip-2zeerraiwb7ujsxdc****'], + 'ResourceType' => ['description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', 'type' => 'string', 'example' => 'ANYCASTEIPADDRESS'], + 'TagValue' => ['description' => '标签值。', 'type' => 'string', 'example' => 'FinanceJoshua'], + 'TagKey' => ['description' => '标签键。', 'type' => 'string', 'example' => 'FinanceDept'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\",\\n \\"Count\\": \\"1\\",\\n \\"AnycastServerRegionList\\": [\\n {\\n \\"RegionName\\": \\"eu-west-1-gb33-a01\\",\\n \\"RegionId\\": \\"eu-west-1\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeAnycastServerRegionsResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n <Count>1</Count>\\n <AnycastServerRegionList>\\n <RegionName>eu-west-1-gb33-a01</RegionName>\\n <RegionId>eu-west-1</RegionId>\\n </AnycastServerRegionList>\\n</DescribeAnycastServerRegionsResponse>","errorExample":""}]', - 'title' => '查询可绑定的后端服务地域', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidTagKey', 'errorMessage' => 'The tag keys are not valid.', 'description' => ''], + ['errorCode' => 'NumberExceed.Tags', 'errorMessage' => 'The maximum number of tags is exceeded.', 'description' => ''], + ['errorCode' => 'NumberExceed.ResourceIds', 'errorMessage' => 'The maximum number of resource IDs is exceeded.', 'description' => ''], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => ''], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => ''], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询实例已绑定的标签列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eipanycast:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494AC512\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"aeip-2zeerraiwb7ujsxdc****\\",\\n \\"ResourceType\\": \\"ANYCASTEIPADDRESS\\",\\n \\"TagValue\\": \\"FinanceJoshua\\",\\n \\"TagKey\\": \\"FinanceDept\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>DE65F6B7-7566-4802-9007-96F2494AC512</RequestId>\\n <TagResources>\\n <ResourceId>aeip-2zeerraiwb7ujsxdc****</ResourceId>\\n <ResourceType>ANYCASTEIPADDRESS</ResourceType>\\n <TagValue>FinanceJoshua</TagValue>\\n <TagKey>FinanceDept</TagKey>\\n </TagResources>\\n</ListTagResourcesResponse>","errorExample":""}]', + ], + 'ModifyAnycastEipAddressAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AnycastId', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-bp1ix34fralt4ykf3****'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例名称。'."\n" + ."\n" + .'长度为0~128个字符,以大小字母或中文开头,可包含数字,下划线(_)或短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'docname'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例描述。'."\n" + ."\n" + .'长度为0~256个字符,不能以`http://`或`https://`开头。', 'type' => 'string', 'required' => false, 'example' => 'docdesc'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回参数列表。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ['errorCode' => 'IllegalParameter.Name', 'errorMessage' => 'The specified Name is invalid.', 'description' => '指定的参数Name不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改实例属性', + 'summary' => '调用ModifyAnycastEipAddressAttribute接口修改Anycast EIP实例的名称和描述。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'TagResources' => [ - 'summary' => '调用TagResources接口为指定的资源统一创建并绑定标签。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAnycastEipAddressAttribute'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ModifyAnycastEipAddressAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAnycastEipAddressAttributeResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</ModifyAnycastEipAddressAttributeResponse>","errorExample":""}]', + ], + 'ModifyAnycastEipAddressSpec' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2075,10 +1239,159 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], + ], + 'parameters' => [ + [ + 'name' => 'Bandwidth', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例的带宽峰值。单位:Mbps。'."\n" + ."\n" + .'取值范围:**200**~**1000**。', 'type' => 'string', 'required' => true, 'example' => '200'], + ], + [ + 'name' => 'AnycastId', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-bp1ix34fralt4ykf3****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息列表。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationFailed.Conflict', 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ], + ], + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], + 'title' => '修改实例带宽值', + 'summary' => '调用ModifyAnycastEipAddressSpec接口修改Anycast EIP实例带宽值。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAnycastEipAddressSpec'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ModifyAnycastEipAddressSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyAnycastEipAddressSpecResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</ModifyAnycastEipAddressSpecResponse>","errorExample":""}]', + ], + 'ReleaseAnycastEipAddress' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AnycastId', + 'in' => 'query', + 'schema' => ['description' => '要释放的Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-bp1ix34fralt4ykf3****'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => ['description' => '客户端Token,用于保证请求的幂等性。由客户端生成该参数值,要保证在不同请求间唯一,最大值不超过64个ASCII字符。'."\n" + .'> 若您未指定,则系统自动使用API请求的RequestId作为ClientToken标识。每次API请求的RequestId不一样。'."\n" + .'>', 'type' => 'string', 'required' => false, 'example' => '02fb3da4-130e-11e9-8e44-001****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationFailed.Conflict', 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => '任播弹性公网IP实例状态异常。'], + ], + 503 => [ + ['errorCode' => 'SystemBusy', 'errorMessage' => 'The system is busy. Please try again later.', 'description' => '当前系统繁忙,请稍后重试。'."\n"], + ], + ], + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], + 'title' => '释放实例', + 'summary' => '调用ReleaseAnycastEipAddress接口释放指定Anycast EIP实例。', + 'description' => '释放Anycast EIP实例前,请确保您要释放的目标实例处于非绑定状态。如何解绑资源,请参见[UnassociateAnycastEipAddress](~~2384544~~)。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReleaseAnycastEipAddress'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eipanycast:ReleaseAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]', + ], + 'TagResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], + ], 'parameters' => [ [ 'name' => 'ResourceId', @@ -2087,14 +1400,9 @@ 'schema' => [ 'description' => '资源ID,最多支持输入20个资源ID。', 'type' => 'array', - 'items' => [ - 'description' => '资源ID。最多支持输入20个资源ID。'."\n" - ."\n" - .'> 调用该API时,**ResourceId.N**参数必须输入。', - 'type' => 'string', - 'required' => false, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], + 'items' => ['description' => '资源ID。最多支持输入20个资源ID。'."\n" + ."\n" + .'> 调用该API时,**ResourceId.N**参数必须输入。', 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], 'required' => true, 'maxItems' => 50, 'minItems' => 1, @@ -2103,12 +1411,7 @@ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', - 'type' => 'string', - 'required' => true, - 'example' => 'ANYCASTEIPADDRESS', - ], + 'schema' => ['description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS'], ], [ 'name' => 'Tag', @@ -2121,26 +1424,16 @@ 'description' => '标签信息。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'description' => '资源的标签键。至少输入1个标签键,最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以aliyun和acs:开头,不能包含`http://`或者`https://`。'."\n" - ."\n" - .'> 调用该API时,**Tag.N.Key**参数必须输入。', - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'description' => '资源的标签值。至少输入1个标签值,最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" - ."\n" - .'> 调用该API时,**Tag.N.Value**参数必须输入。', - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceJoshua', - ], + 'Key' => ['description' => '资源的标签键。至少输入1个标签键,最多支持输入20个标签键。一旦传入该值,则不允许为空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以aliyun和acs:开头,不能包含`http://`或者`https://`。'."\n" + ."\n" + .'> 调用该API时,**Tag.N.Key**参数必须输入。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], + 'Value' => ['description' => '资源的标签值。至少输入1个标签值,最多支持输入20个标签值。一旦传入该值,可以为空字符串。'."\n" + ."\n" + .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" + ."\n" + .'> 调用该API时,**Tag.N.Value**参数必须输入。', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua'], ], 'required' => false, ], @@ -2157,275 +1450,167 @@ 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否调用成功。取值:'."\n" - ."\n" - .'**true**:调用成功。'."\n" - ."\n" - .'**false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0', - ], + 'Success' => ['description' => '是否调用成功。取值:'."\n" + ."\n" + .'**true**:调用成功。'."\n" + ."\n" + .'**false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], ], ], ], ], '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' => ''], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => ''], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => ''], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <Success>true</Success>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</TagResourcesResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '为实例添加标签', - ], - 'ListTagResources' => [ - 'summary' => '调用ListTagResources接口查询任播弹性公网IP已绑定的标签列表信息。', - 'methods' => [ - 'post', - 'get', + 'summary' => '调用TagResources接口为指定的资源统一创建并绑定标签。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <Success>true</Success>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</TagResourcesResponse>","errorExample":""}]', + ], + 'UnassociateAnycastEipAddress' => [ + 'summary' => '调用UnassociateAnycastEipAddress接口来解除Anycast EIP与其绑定的后端云资源实例的关联。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], ], 'parameters' => [ [ - 'name' => 'ResourceId', + 'name' => 'BindInstanceId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '资源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' => 'aeip-2zeerraiwb7ujsxdc****', - ], - 'required' => false, - 'maxItems' => 50, - 'minItems' => 1, - ], + 'schema' => ['description' => '要解绑的云资源实例ID。', 'type' => 'string', 'required' => true, 'example' => 'lb-2zebb08phyczzawe****'], ], [ - 'name' => 'ResourceType', + 'name' => 'BindInstanceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', - 'type' => 'string', - 'required' => true, - 'example' => 'ANYCASTEIPADDRESS', - ], + 'schema' => ['description' => '要解绑的云资源实例地域ID。', 'type' => 'string', 'required' => true, 'example' => 'us-west-1'], ], [ - 'name' => 'Tag', + 'name' => 'BindInstanceType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '资源的标签键。最多支持20个标签键。一旦传入该值,则不允许为空字符串。'."\n" - ."\n" - .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" - ."\n" - .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], - 'Value' => [ - 'description' => '资源的标签值。最多支持20个标签值。一旦传入该值,可以为空字符串。'."\n" - ."\n\n" - .'最多支持128个字符,不能以`aliyun`和`acs:`开头,不能包含`http://`或者`https://`。'."\n" - ."\n" - .'> 参数**ResourceId.N**或**Tag.N**(**Tag.N.Key**与**Tag.N.Value**)至少输入一个。', - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceJoshua', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 21, - 'minItems' => 1, - ], + 'schema' => ['description' => '要解绑的云资源实例类型。取值:'."\n" + ."\n" + .'- **SlbInstance**:专有网络类型的CLB实例。'."\n" + .'- **NetworkInterface**:弹性网卡。', 'type' => 'string', 'required' => true, 'example' => 'SlbInstance'], ], [ - 'name' => 'NextToken', + 'name' => 'AnycastId', 'in' => 'query', - 'schema' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - ."\n" - .'- 第一次查询和没有下一次查询时,均无需填写。'."\n" - ."\n" - .'- 如果有下一次查询,取值为上一次API调用返回的**NextToken**值。', - 'type' => 'string', - 'required' => false, - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], + 'schema' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], ], [ - 'name' => 'MaxResults', + 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时每页的最大条目数。取值范围:**1**~**50**,默认值:**50**。', - 'type' => 'string', - 'required' => false, - 'example' => '50', - ], + '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' => 'DryRun', + 'in' => 'query', + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会解绑后端实例。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'PrivateIpAddress', + 'in' => 'query', + 'schema' => ['description' => '要解绑的弹性网卡的辅助私网IP。'."\n" + ."\n\n" + .'只有当**BindInstanceType**取值为**NetworkInterface**时,该参数生效。不输入时,该参数默认为弹性网卡的主私网IP。', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'NextToken' => [ - 'description' => '是否拥有下一次查询的令牌(Token)。取值:'."\n" - .'- 如果**NextToken**为空表示没有下一次查询。'."\n" - .'- 如果**NextToken**有返回值,该取值表示下一次查询开始的令牌。', - 'type' => 'string', - 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512', - ], - 'TagResources' => [ - 'description' => '绑定标签的资源信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceId' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], - 'ResourceType' => [ - 'description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', - 'type' => 'string', - 'example' => 'ANYCASTEIPADDRESS', - ], - 'TagValue' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'FinanceJoshua', - ], - 'TagKey' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'FinanceDept', - ], - ], - ], - ], + 'RequestId' => ['title' => '私网IP地址', 'description' => '请求ID。', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'], ], ], ], ], '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' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => '任播弹性公网IP实例状态异常。'], + ['errorCode' => 'InstanceNotExist.ENI', 'errorMessage' => 'Instance does not exist: The specified Elastic Network Interface (ENI) was not found. Please verify the instance ID or check if the resource has been released.', 'description' => '实例不存在:指定的弹性网卡(ENI)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['errorCode' => 'InstanceNotExist.SLB', 'errorMessage' => 'Instance does not exist: The specified Server Load Balancer (SLB) was not found. Please verify the instance ID or check if the resource has been released.', 'description' => '实例不存在:指定的负载均衡(SLB)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['errorCode' => 'OperationFailed.Conflict', 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ['errorCode' => 'ResourceNotFound.BindInstanceId', 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', 'description' => '指定的 BindInstanceId 不存在,请检查参数是否正确。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], + 'title' => '解绑后端云资源实例', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnassociateAnycastEipAddress'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eipanycast:UnassociateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'Instance', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:networkinterface/{#InstanceId}'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": \\"FFmyTO70tTpLG6I3FmYAXGKPd****\\",\\n \\"RequestId\\": \\"DE65F6B7-7566-4802-9007-96F2494AC512\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceId\\": \\"aeip-2zeerraiwb7ujsxdc****\\",\\n \\"ResourceType\\": \\"ANYCASTEIPADDRESS\\",\\n \\"TagValue\\": \\"FinanceJoshua\\",\\n \\"TagKey\\": \\"FinanceDept\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <NextToken>FFmyTO70tTpLG6I3FmYAXGKPd****</NextToken>\\n <RequestId>DE65F6B7-7566-4802-9007-96F2494AC512</RequestId>\\n <TagResources>\\n <ResourceId>aeip-2zeerraiwb7ujsxdc****</ResourceId>\\n <ResourceType>ANYCASTEIPADDRESS</ResourceType>\\n <TagValue>FinanceJoshua</TagValue>\\n <TagKey>FinanceDept</TagKey>\\n </TagResources>\\n</ListTagResourcesResponse>","errorExample":""}]', - 'title' => '查询实例已绑定的标签列表', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","errorExample":""},{"type":"xml","example":"<UnassociateAnycastEipAddressResponse>\\n <RequestId>FBDB18D8-E91E-4978-8D6C-6E2E3EE10133</RequestId>\\n</UnassociateAnycastEipAddressResponse>","errorExample":""}]', ], 'UntagResources' => [ - 'summary' => '调用UntagResources接口为指定的Anycast EIP资源批量解绑标签。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2437,9 +1622,7 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], + 'abilityTreeNodes' => ['FEATUREeip70HI1T'], ], 'parameters' => [ [ @@ -2449,12 +1632,7 @@ 'schema' => [ 'description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'array', - 'items' => [ - 'description' => '资源ID。最多支持解绑20个资源ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], + 'items' => ['description' => '资源ID。最多支持解绑20个资源ID。', 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****'], 'required' => true, 'maxItems' => 50, 'minItems' => 1, @@ -2463,12 +1641,7 @@ [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', - 'type' => 'string', - 'required' => true, - 'example' => 'ANYCASTEIPADDRESS', - ], + 'schema' => ['description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS'], ], [ 'name' => 'TagKey', @@ -2479,14 +1652,9 @@ ."\n" .'一个标签键最多支持128个字符,不能以aliyun和acs:开头,不能包含`http://`或者`https://`。', 'type' => 'array', - 'items' => [ - 'description' => '要解绑的标签键。最多支持输入20个标签键。一旦传入该值,可以为空字符串。'."\n" - ."\n" - .'一个标签键最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', - 'type' => 'string', - 'required' => false, - 'example' => 'FinanceDept', - ], + 'items' => ['description' => '要解绑的标签键。最多支持输入20个标签键。一旦传入该值,可以为空字符串。'."\n" + ."\n" + .'一个标签键最多支持128个字符,不能以aliyun和acs:开头,不能包含http://或者https://。', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept'], 'required' => false, 'maxItems' => 21, ], @@ -2499,68 +1667,53 @@ 'description' => 'BaseResult', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'description' => '是否调用成功。取值:'."\n" - ."\n" - .'**true**:调用成功。'."\n" - ."\n" - .'**false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0', - ], + 'Success' => ['description' => '是否调用成功。取值:'."\n" + ."\n" + .'**true**:调用成功。'."\n" + ."\n" + .'**false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'], ], ], ], ], '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' => ''], + ['errorCode' => 'Forbidden.TagKeys', 'errorMessage' => 'The tag key cannot be operated by the request.', 'description' => ''], + ['errorCode' => 'Forbidden.TagKey.Duplicated', 'errorMessage' => 'The specified tag key already exists.', 'description' => ''], + ['errorCode' => 'InvalidInstanceIds.NotFound', 'errorMessage' => 'The instance IDs are not found.', 'description' => ''], + ['errorCode' => 'InvalidInstanceType.NotFound', 'errorMessage' => 'The instance type is not found.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <Success>true</Success>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '为实例解绑标签', - ], - 'ChangeResourceGroup' => [ - 'summary' => '修改AnycastEipAddress实例所属的资源组。', - 'methods' => [ - 'post', - 'get', + 'summary' => '调用UntagResources接口为指定的Anycast EIP资源批量解绑标签。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <Success>true</Success>\\n <RequestId>C46FF5A8-C5F0-4024-8262-B16B639225A0</RequestId>\\n</UntagResourcesResponse>","errorExample":""}]', + ], + 'UpdateAnycastEipAddressAssociations' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2572,67 +1725,404 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREeip70HI1T', - ], + 'abilityTreeNodes' => ['FEATUREeip2OM9BW'], ], 'parameters' => [ [ - 'name' => 'ResourceId', + 'name' => 'BindInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aeip-2zeerraiwb7ujsxdc****', - ], + 'schema' => ['description' => '要绑定的云资源实例ID。', 'type' => 'string', 'required' => true, 'example' => 'lb-d7oxbixhxv1uupnon****'], ], [ - 'name' => 'NewResourceGroupId', + 'name' => 'AnycastId', + 'in' => 'query', + 'schema' => ['description' => 'Anycast EIP实例ID。', 'type' => 'string', 'required' => true, 'example' => 'aeip-bp1ix34fralt4ykf3****'], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + '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' => 'DryRun', 'in' => 'query', + 'schema' => ['description' => '是否只预检此次请求。取值:'."\n" + .'- **true**:发送检查请求,不会更新绑定关系。检查项包括是否填写了必需参数、请求格式、业务限制。如果检查不通过,则返回对应错误。如果检查通过,则返回错误码`DryRunOperation`。'."\n" + .'- **false**(默认值):发送正常请求,通过检查后返回HTTP 2xx状态码并直接进行操作。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'PopLocationAddList', + 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '目标资源组ID,可调用[ListResourceGroups](~~158855~~)接口查看资源组列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'rg-aeky6b2jfeerxxx', + 'title' => '新增关联的pop location', + 'description' => '需要新增的关联接入区域和接入点列表。', + 'type' => 'array', + 'items' => [ + 'description' => '需要新增的关联接入区域和接入点列表。', + 'type' => 'object', + 'properties' => [ + 'PopLocation' => ['title' => 'pop location', 'description' => '需要新增的关联接入区域的接入点。'."\n" + ."\n" + .'您可以通过调用[DescribeAnycastPopLocations](~~171938~~)接口获取支持的接入区域的接入点信息。', 'type' => 'string', 'required' => false, 'example' => 'us-west-1-pop'], + ], + 'required' => false, + ], + 'required' => false, ], ], [ - 'name' => 'ResourceType', + 'name' => 'PopLocationDeleteList', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '资源类型,取值:**ANYCASTEIPADDRESS**。', - 'type' => 'string', - 'required' => true, - 'example' => 'ANYCASTEIPADDRESS', + 'title' => '待删除的关联pop location', + 'description' => '待删除的关联接入区域和接入点列表。', + 'type' => 'array', + 'items' => [ + 'description' => '待删除的关联接入区域的接入点列表。'."\n" + ."\n" + .'> 当该接入区域的接入点关联的云资源实例为默认源站时,无法删除该接入区域的接入点。', + 'type' => 'object', + 'properties' => [ + 'PopLocation' => ['title' => 'pop location', 'description' => '待删除的关联接入区域的接入点列表。'."\n" + ."\n" + .'> 当该接入区域的接入点关联的云资源实例为默认源站时,无法删除该接入区域的接入点。', 'type' => 'string', 'required' => false, 'example' => 'eu-west-1-pop'], + ], + 'required' => false, + ], + 'required' => false, ], ], + [ + 'name' => 'AssociationMode', + 'in' => 'query', + 'schema' => ['title' => '关联模式,默认模式、普通模式Default/Normal', 'description' => '绑定模式,取值:'."\n" + ."\n" + .'- **Default**:默认模式,将要绑定的云资源实例设置为默认源站。'."\n" + ."\n" + .'- **Normal**:普通模式,要绑定的云资源实例设置为普通源站。', 'type' => 'string', 'required' => false, 'example' => 'Default'], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回信息列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'OperationFailed.SetNormalAssociationMode', 'errorMessage' => 'The only associated instance must be default mode. ', 'description' => ''], + ['errorCode' => 'OperationFailed.DeletedPopLocation', 'errorMessage' => 'The operation is failed because of added Pop Location is invalid.', 'description' => ''], + ['errorCode' => 'OperationFailed.AddPopLocation', 'errorMessage' => 'The operation is failed because of added Pop Location is invalid.', 'description' => ''], + ['errorCode' => 'ResourceNotFound.BindInstanceId', 'errorMessage' => 'The specified resource BindInstanceId is not found.', 'description' => '指定的BindInstanceId不存在'], + ['errorCode' => 'ResourceNotFound.AnycastId', 'errorMessage' => 'The specified resource AnycastId is not found.', 'description' => '指定的AnycastId不存在'], + ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => '任播弹性公网IP实例状态异常。'], + ['errorCode' => 'OperationFailed.Conflict', 'errorMessage' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]', - 'title' => '修改AnycastEipAddress实例所属的资源组', + 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10], + 'title' => '更新实例绑定信息', + 'summary' => '当Anycast EIP实例绑定了多个地域源站的后端资源时,支持修改接入点与源站的映射关系。您可以通过调用UpdateAnycastEipAddressAssociations接口增加或删除指定源站(绑定的云资源实例)的接入点来修改接入点与源站的映射关系。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAnycastEipAddressAssociations'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:UpdateAnycastEipAddressAssociations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddressAttachment', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","errorExample":""},{"type":"xml","example":"<UpdateAnycastEipAddressAssociationsResponse>\\n <RequestId>4EC47282-1B74-4534-BD0E-403F3EE64CAF</RequestId>\\n</UpdateAnycastEipAddressAssociationsResponse>","errorExample":""}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'eipanycast.cn-hangzhou.aliyuncs.com', + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'eipanycast.cn-hangzhou.aliyuncs.com', 'endpoint' => 'eipanycast.cn-hangzhou.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'Forbidden.RAM', 'message' => 'The user is not authorized to operate on the specified resource, or the API operation does not support RAM.', 'http_code' => 400, 'description' => 'RAM校验不通过'], + ['code' => 'IllegalParam.MaxResult', 'message' => 'The specified MaxResult is invalid', 'http_code' => 400, 'description' => 'MaxResult 非法'], + ['code' => 'IllegalParam.ServiceLocation', 'message' => 'The specified ServiceLocation is invalid.', 'http_code' => 400, 'description' => '指定的参数ServiceLocation不合法。'], + ['code' => 'IllegalParameter.Bandwidth', 'message' => 'The specified Bandwidth is invalid.', 'http_code' => 400, 'description' => '带宽值参数不合法。'], + ['code' => 'IllegalParameter.Description', 'message' => 'The specified Description is invalid.', 'http_code' => 400, 'description' => '指定的参数Description不合法。'], + ['code' => 'IllegalParameter.Name', 'message' => 'The specified Name is invalid.', 'http_code' => 400, 'description' => '指定的参数Name不合法。'], + ['code' => 'IncorrectStatus.Anycast', 'message' => 'The status of the Anycast instance is invalid.', 'http_code' => 400, 'description' => '任播弹性公网IP实例状态异常。'], + ['code' => 'InstanceExist.Anycast', 'message' => 'The specified Anycast instance already exists.', 'http_code' => 400, 'description' => '指定的任播弹性公网IP已经存在。'], + ['code' => 'InstanceNotExist.Anycast', 'message' => 'The specified instance does not exist.', 'http_code' => 400, 'description' => '指定的实例不存在。'], + ['code' => 'InstanceNotExist.SLB', 'message' => 'The instance %s is not exist.', 'http_code' => 404, 'description' => '指定的SLB实例不存在。'], + ['code' => 'InvalidInstanceParams.NotFound', 'message' => 'The specified instance parameter is not found.', 'http_code' => 400, 'description' => '实例参数不存在。'], + ['code' => 'MissingParam.AnycastIdOrIp', 'message' => 'The parameter AnycastId Or Ip is mandatory.', 'http_code' => 400, 'description' => '参数AnycastId和Ip必须指定一个。'], + ['code' => 'MissingParameter.AnycastId', 'message' => 'You must specify AnycastId.', 'http_code' => 400, 'description' => '参数AnycastId不存在。'], + ['code' => 'MissingParameter.ChargeType', 'message' => 'You must specify ChargeType.', 'http_code' => 400, 'description' => '参数ChargeType不存在。'], + ['code' => 'MissingParameter.InternetChargeType', 'message' => 'You must specify InternetChargeType.', 'http_code' => 400, 'description' => '参数InternetChargeType不存在。'], + ['code' => 'MissingParameter.ServiceLocation', 'message' => 'You must specify ServiceLocation.', 'http_code' => 400, 'description' => '参数ServiceLocation不存在。'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform the operation.', 'http_code' => 400, 'description' => '无权限操作。'], + ['code' => 'OperationFailed.AlreadyBoundedEip', 'message' => 'Operation failed because the instance already bounded eip.', 'http_code' => 400, 'description' => '操作失败,因为指定的实例已绑定EIP。'], + ['code' => 'OperationFailed.BindOnFreeNetworkInterface', 'message' => 'Operation failed because the specified network interface is not bound on instance.', 'http_code' => 400, 'description' => '操作失败,因为指定的弹性网卡未绑定在实例上。'], + ['code' => 'OperationFailed.CdtNotOpened', 'message' => 'Operation failed because cdt not opened.', 'http_code' => 400, 'description' => '进行当前操作请先开通CDT服务。'], + ['code' => 'OperationFailed.DeletedPopLocation', 'message' => 'The operation is failed because of added Pop Location is invalid.', 'http_code' => 400, 'description' => '由于指定添加的POP地域不存在或已下线,操作失败'], + ['code' => 'OperationFailed.InvalidAvsVersion', 'message' => 'Operation failed because InvalidAvsVersion.', 'http_code' => 400, 'description' => '指定的ECS实例不支持绑定Anycast。'], + ['code' => 'OperationFailed.SetNormalAssociationMode', 'message' => 'The only associated instance must be default mode.', 'http_code' => 400, 'description' => 'AnycastEIP绑定实例只有一个时必须使用Default模式。'], + ['code' => 'OperationUnsupported.BACKEND_REGION_NOT_OPEN', 'message' => 'The specified Region is not supported.', 'http_code' => 400, 'description' => '指定的Region未支持'], + ['code' => 'OperationUnsupported.ServiceManaged', 'message' => 'Operation is forbidden because this instance belongs to Service manager.', 'http_code' => 400, 'description' => '操作被禁止,该实例属于托管资源。'."\n"], + ['code' => 'ResourceNotFound.AnycastId', 'message' => 'The specified resource AnycastId is not found.', 'http_code' => 400, 'description' => '指定的AnycastId不存在'], + ['code' => 'ResourceNotFound.AnycastInstance', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => '指定的实例不存在'], + ['code' => 'ResourceNotFound.BindInstanceId', 'message' => 'The specified resource BindInstanceId is not found.', 'http_code' => 400, 'description' => '指定的BindInstanceId不存在'], + ['code' => 'SystemBusy', 'message' => 'The system is busy. Please try again later.', 'http_code' => 503, 'description' => '当前系统繁忙,请稍后重试。'."\n"], + ['code' => 'MissingParam.BindInstanceRegionId', 'message' => 'The parameter BindInstanceRegionId is mandatory.', 'http_code' => 400, 'description' => '参数 BindInstanceRegionId 是必填的'], + ['code' => 'MissingParam.ResourceIdentifier', 'message' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.', 'http_code' => 200, 'description' => '请求缺少必要参数:请提供 AnycastId、IP 或 BindInstanceId 中的至少一个。'], + ['code' => 'OperationFailed.Conflict', 'message' => 'Operation failed: The request was too frequent or there was a concurrency conflict. Please try again later.', 'http_code' => 400, 'description' => '操作失败:请求过于频繁或存在并发冲突,请稍后重试。'], + ['code' => 'IllegalParam.TagKey', 'message' => 'Invalid parameter: TagKey is illegal. Please check the format.', 'http_code' => 400, 'description' => '参数错误:TagKey 不合法,请检查格式'], + ['code' => 'InstanceNotExist.SLB', 'message' => 'Instance does not exist: The specified Server Load Balancer (SLB) was not found. Please verify the instance ID or check if the resource has been released.', 'http_code' => 400, 'description' => '实例不存在:指定的负载均衡(SLB)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['code' => 'AccessDenied.RAM', 'message' => 'Access denied: The current account or role lacks RAM permissions to perform this operation. Please contact your administrator for authorization.', 'http_code' => 400, 'description' => '访问被拒绝:当前账号或角色缺少 RAM 权限,无法执行此操作,请联系管理员授权。'], + ['code' => 'InstanceNotExist.ENI', 'message' => 'Instance does not exist: The specified Elastic Network Interface (ENI) was not found. Please verify the instance ID or check if the resource has been released.', 'http_code' => 400, 'description' => '实例不存在:指定的弹性网卡(ENI)未找到,请检查实例 ID 是否正确或资源是否已被释放。'], + ['code' => 'ResourceNotFound.BindInstanceId', 'message' => 'Resource not found: The specified BindInstanceId does not exist.', 'http_code' => 400, 'description' => '指定的 BindInstanceId 不存在,请检查参数是否正确。'], + ['code' => 'QuotaExceeded.AnycastEIP', 'message' => 'Quota exceeded: The number of Anycast Elastic IP addresses has reached the limit. Please request a quota increase or release unused resources.', 'http_code' => 400, 'description' => '配额超限:Anycast 弹性公网 IP 已达到上限,无法继续创建,请申请配额提升或释放无用资源。'], + ['code' => 'MissingParam.TagsAndResourceIds', 'message' => 'Missing required parameters: Tag and ResourceIds must both be provided in the request.', 'http_code' => 400, 'description' => '请求缺少必要参数:必须同时提供 Tag 和 ResourceId 参数'], + ['code' => 'COMMODITY.INVALID_COMPONENT', 'message' => 'The order configuration parameters do not meet the validation criteria. Please reselect the products.', 'http_code' => 400, 'description' => '订单配置参数不符合校验条件,请重新选配商品!'], + ], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ReleaseAnycastEipAddress'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListTagResources'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'], + ['threshold' => '600', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ListAnycastEipAddresses'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AllocateAnycastEipAddress'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastEipAddress'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAnycastEipAddressAttribute'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastServerRegions'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastPopLocations'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'TagResources'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateAnycastEipAddressAssociations'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UnassociateAnycastEipAddress'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ModifyAnycastEipAddressSpec'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'AssociateAnycastEipAddress'], + ], + ], + 'ram' => [ + 'productCode' => 'Eipanycast', + 'productName' => '弹性公网IP', + 'ramCodes' => ['eipanycast'], + 'ramLevel' => '资源级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'UpdateAnycastEipAddressAssociations', + 'description' => '更新实例绑定信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:UpdateAnycastEipAddressAssociations', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddressAttachment', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + [ + 'apiName' => 'ListTagResources', + 'description' => '查询实例已绑定的标签列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eipanycast:ListTagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + [ + 'apiName' => 'AssociateAnycastEipAddressPreCheck', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'eipanycast:AssociateAnycastEipAddressPreCheck', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyAnycastEipAddressSpec', + 'description' => '修改实例带宽值', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ModifyAnycastEipAddressSpec', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + [ + 'apiName' => 'AssociateAnycastEipAddress', + 'description' => '绑定后端云资源实例', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eipanycast:AssociateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'Instance', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:networkinterface/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'UnassociateAnycastEipAddress', + 'description' => '解绑后端云资源实例', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eipanycast:UnassociateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'product' => 'Eipanycast', 'resourceType' => 'Instance', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:networkinterface/{#InstanceId}'], + ], + ], + ], + [ + 'apiName' => 'ListAnycastEipAddresses', + 'description' => '查询已创建实例', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'eipanycast:ListAnycastEipAddresses', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/*'], + ], + ], + ], + [ + 'apiName' => 'ReleaseAnycastEipAddress', + 'description' => '释放实例', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'eipanycast:ReleaseAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + [ + 'apiName' => 'AllocateAnycastEipAddress', + 'description' => '创建实例', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'eipanycast:AllocateAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAnycastEipAddress', + 'description' => '查看实例信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'eipanycast:DescribeAnycastEipAddress', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + [ + 'apiName' => 'ChangeResourceGroup', + 'description' => '修改AnycastEipAddress实例所属的资源组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ChangeResourceGroup', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + [ + 'apiName' => 'UntagResources', + 'description' => '为实例解绑标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:UntagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ], + ], + ], + [ + 'apiName' => 'ModifyAnycastEipAddressAttribute', + 'description' => '修改实例属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:ModifyAnycastEipAddressAttribute', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + [ + 'apiName' => 'TagResources', + 'description' => '为实例添加标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'eipanycast:TagResources', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Eipanycast', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#anycastId}'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'AnycastEipAddressAttachment', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ['validationType' => 'always', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/{#AnycastId}'], + ['validationType' => 'conditional', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:slb:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'conditional', 'resourceType' => 'LoadBalancer', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:loadbalancer/{#LoadBalancerId}'], + ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:networkinterface/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'AnycastEipAddress', 'arn' => 'acs:eipanycast:{#regionId}:{#accountId}:anycast/*'], ], ], ]; |
