summaryrefslogtreecommitdiff
path: root/data/en_us/eipanycast/2020-03-09
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/eipanycast/2020-03-09')
-rw-r--r--data/en_us/eipanycast/2020-03-09/api-docs.php3424
1 files changed, 1531 insertions, 1893 deletions
diff --git a/data/en_us/eipanycast/2020-03-09/api-docs.php b/data/en_us/eipanycast/2020-03-09/api-docs.php
index 265eb72..2ecac92 100644
--- a/data/en_us/eipanycast/2020-03-09/api-docs.php
+++ b/data/en_us/eipanycast/2020-03-09/api-docs.php
@@ -1,46 +1,16 @@
<?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' => null,
- 'type' => 'directory',
- 'children' => [
- 'AllocateAnycastEipAddress',
- 'AssociateAnycastEipAddress',
- 'UnassociateAnycastEipAddress',
- 'ReleaseAnycastEipAddress',
- 'ModifyAnycastEipAddressSpec',
- 'ModifyAnycastEipAddressAttribute',
- 'UpdateAnycastEipAddressAssociations',
- 'DescribeAnycastEipAddress',
- 'DescribeAnycastPopLocations',
- 'ListAnycastEipAddresses',
- 'DescribeAnycastServerRegions',
- ],
- ],
- [
- 'id' => 313086,
- 'title' => null,
+ 'children' => ['AllocateAnycastEipAddress', 'AssociateAnycastEipAddress', 'UnassociateAnycastEipAddress', 'ReleaseAnycastEipAddress', 'ModifyAnycastEipAddressSpec', 'ModifyAnycastEipAddressAttribute', 'UpdateAnycastEipAddressAssociations', 'DescribeAnycastEipAddress', 'DescribeAnycastPopLocations', 'ListAnycastEipAddresses', 'DescribeAnycastServerRegions'],
'type' => 'directory',
- 'children' => [
- 'TagResources',
- 'ListTagResources',
- 'UntagResources',
- ],
+ 'title' => 'Anycast elastic IP address',
],
[
- 'id' => 313090,
- 'title' => null,
+ 'children' => ['ChangeResourceGroup', 'ListTagResources', 'TagResources', 'UntagResources'],
+ 'title' => 'Others',
'type' => 'directory',
- 'children' => [
- 'ChangeResourceGroup',
- ],
],
],
'components' => [
@@ -48,15 +18,9 @@
],
'apis' => [
'AllocateAnycastEipAddress' => [
- 'summary' => 'Creates an Anycast elastic IP address (Anycast EIP).',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'The AllocateAnycastEipAddress operation creates an Anycast EIP instance.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -68,9 +32,7 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
@@ -78,102 +40,74 @@
'name' => 'Bandwidth',
'in' => 'query',
'schema' => [
- 'description' => 'The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.'."\n"
+ 'description' => 'The peak bandwidth of the Anycast EIP instance. Unit: Mbps.'."\n"
."\n"
.'Valid values: **200** to **1000**.'."\n"
."\n"
.'Default value: **1000**.'."\n"
."\n"
- .'> The maximum bandwidth is not a guaranteed service and is for reference only.'."\n",
+ .'> The peak bandwidth is for reference only and is not a guaranteed value. It serves as the upper limit for bandwidth.',
'type' => 'string',
'required' => false,
- 'example' => '200',
'default' => '1000',
+ 'title' => '',
+ 'enumValueTitles' => [1000 => '1000'],
+ 'example' => '200',
],
],
[
'name' => 'ServiceLocation',
'in' => 'query',
'schema' => [
- 'description' => 'The access area of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **international**, which specifies the areas outside the Chinese mainland.'."\n",
+ 'description' => 'The access area of the Anycast EIP instance.',
'type' => 'string',
'required' => true,
+ 'title' => '',
+ 'enumValueTitles' => ['international' => 'Specifies regions outside the Chinese mainland.'],
'example' => 'international',
],
],
[
'name' => 'InstanceChargeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The billing method of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **PostPaid**, which specifies the pay-as-you-go billing method.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PostPaid',
- ],
+ 'schema' => ['description' => 'The billing method of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'Set the value to **PostPaid**. This value specifies the pay-as-you-go billing method.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PostPaid'],
],
[
'name' => 'InternetChargeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The metering method of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **PayByTraffic**, which specifies the pay-by-data-transfer metering method.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PayByTraffic',
- ],
+ 'schema' => ['description' => 'The metering method for Internet data transfer.'."\n"
+ ."\n"
+ .'Set the value to **PayByTraffic**. This value specifies the pay-by-data-transfer metering method.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PayByTraffic'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
- ."\n"
- .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
- ."\n"
- .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '02fb3da4-130e-11e9-8e44-001****',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'Make sure that the client token is unique for each request. The token can contain a maximum of 64 ASCII characters.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the Anycast EIP.'."\n"
- ."\n"
- .'The name must be 0 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doctest',
- ],
+ 'schema' => ['description' => 'The name of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The name must be 0 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'doctest'],
],
[
'name' => 'Description',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the Anycast EIP.'."\n"
- ."\n"
- .'The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'docdesc',
- ],
+ 'schema' => ['description' => 'The description of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'docdesc'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfm3obzjukv53a',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-acfm3obzjuk****'],
],
[
'name' => 'Tag',
@@ -184,79 +118,75 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
+ 'Key' => ['type' => 'string', 'description' => 'The tag key. Specify up to 20 tag keys. A tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'A tag key contains up to 128 characters, cannot begin with `aliyun` or `acs:` or contain `http://` or `https://`.', 'required' => false, 'title' => '', 'example' => 'tag-key'],
+ 'Value' => ['type' => 'string', 'description' => 'The tag value. Specify up to 20 tag values. A tag value can be an empty string.'."\n"
+ ."\n"
+ .'A tag value contains up to 128 characters, cannot begin with `aliyun` or `acs:` or contain `http://` or `https://`.', 'required' => false, 'title' => '', 'example' => 'tag-value'],
],
+ 'description' => 'The resource tag. Specify up to 20 tags at a time.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'maxItems' => 20,
+ 'description' => 'The resource tags.',
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
- ],
- 'AnycastId' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
- 'OrderId' => [
- 'description' => 'The order ID.'."\n",
- 'type' => 'string',
- 'example' => '1422000****',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
+ 'AnycastId' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'string', 'title' => '', 'example' => '1422000****'],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
'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' => 'Please activate CDT service before performing the current operation.'],
+ ['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' => 'Quota Excess: The Anycast Elastic IP address has reached the upper limit and cannot be created. Apply for a quota increase or release useless resources.'],
+ ['errorCode' => 'IllegalParameter.Name', 'errorMessage' => 'The specified Name is invalid.', 'description' => ''],
+ ['errorCode' => 'COMMODITY.INVALID_COMPONENT', 'errorMessage' => 'The order configuration parameters do not meet the validation criteria. Please reselect the products.', 'description' => 'Order configuration parameters do not meet the verification conditions, please re-match the goods!'],
],
],
- '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' => 'AllocateAnycastEipAddress',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
+ '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' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\",\\n \\"AnycastId\\": \\"aeip-bp1ix34fralt4ykf3****\\",\\n \\"OrderId\\": \\"1422000****\\"\\n}","type":"json"}]',
'extraInfo' => ' ',
],
'AssociateAnycastEipAddress' => [
- 'summary' => 'Associates an Anycast EIP with an endpoint.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -268,387 +198,168 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip2OM9BW',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip2OM9BW'],
],
'parameters' => [
[
'name' => 'BindInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the endpoint with which you want to associate the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-d7oxbixhxv1uupnon****',
- ],
+ 'schema' => ['description' => 'The ID of the cloud resource with which you want to associate the Anycast EIP.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'lb-d7oxbixhxv1uupnon****'],
],
[
'name' => 'BindInstanceRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the region where the endpoint is deployed.'."\n"
- ."\n"
- .'You can associate Anycast EIPs only with endpoints in specific regions. You can call the [DescribeAnycastServerRegions](~~171939~~) operation to query the region IDs.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'us-west-1',
- ],
+ 'schema' => ['description' => 'The ID of the region where the cloud resource is deployed.'."\n"
+ ."\n"
+ .'You can associate Anycast EIPs with cloud resources in specific regions. You can call the [](t2322852.xdita#)operation to query the region IDs.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'us-west-1'],
],
[
'name' => 'BindInstanceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The type of endpoint with which you want to associate the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **SlbInstance**: internal-facing Server Load Balancer (SLB) instance that is deployed in a virtual private cloud (VPC)'."\n"
- .'* **NetworkInterface**: elastic network interface (ENI)'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SlbInstance',
- ],
+ 'schema' => ['description' => 'The type of the cloud resource with which you want to associate the Anycast EIP. Valid values:'."\n"
+ ."\n"
+ .'- **SlbInstance**: a Classic Load Balancer (CLB) instance in a virtual private cloud (VPC).'."\n"
+ ."\n"
+ .'- **NetworkInterface**: an elastic network interface (ENI).', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'SlbInstance'],
],
[
'name' => 'AnycastId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
+ 'schema' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
],
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
- ."\n"
- .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
- ."\n"
- .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '123e4567-e89b-12d3-a456-426655440000',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '123e4567-e89b-12d3-a456-426655440000'],
],
[
'name' => 'DryRun',
'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to perform only a dry run, without performing the actual request. Valid values:'."\n"
- ."\n"
- .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
- .'* **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether to perform a dry run, without performing the actual request. Valid values:'."\n"
+ ."\n"
+ .'- **true**: performs a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
+ ."\n"
+ .'- **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
[
'name' => 'PopLocations',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'title' => '绑定时关联的pop location,如果是绑定的第一个实例,该参数会忽略,会下发到全部pop点',
- 'description' => 'The information about the access points in associated access areas when you associate an Anycast EIP with an endpoint.'."\n"
+ 'title' => '',
+ 'description' => 'The information about the access points in the access areas that are associated with the cloud resource.'."\n"
."\n"
- .'If this is your first time to associate an Anycast EIP with an endpoint, ignore this parameter. The system automatically associates all access areas.'."\n"
+ .'If this is your first time to associate a cloud resource, you do not need to configure this parameter. The system automatically associates all access areas.'."\n"
."\n"
- .'You can call the [DescribeAnycastPopLocations](~~171938~~) operation to query information about access points in supported access areas.'."\n",
+ .'You can call the [](t2322850.xdita#)operation to query the information about the access points in the supported access areas.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The information about the access points in the access areas that are associated with the cloud resource.'."\n"
+ ."\n"
+ .'If this is your first time to associate a cloud resource, you do not need to configure this parameter. The system automatically associates all access areas.'."\n"
+ ."\n"
+ .'You can call the [](t2322850.xdita#)operation to query the information about the access points in the supported access areas.',
'type' => 'object',
'properties' => [
- 'PopLocation' => [
- 'title' => 'pop location',
- 'description' => 'The information about the access points in associated access areas when you associate an Anycast EIP with an endpoint.'."\n"
- ."\n"
- .'If this is your first time to associate an Anycast EIP with an endpoint, ignore this parameter. The system automatically associates all access areas.'."\n"
- ."\n"
- .'You can call the [DescribeAnycastPopLocations](~~171938~~) operation to query information about access points in supported access areas.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'us-west-1-pop',
- ],
+ 'PopLocation' => ['title' => '', 'description' => 'The information about the access points in the access areas that are associated with the cloud resource.'."\n"
+ ."\n"
+ .'If this is your first time to associate a cloud resource, you do not need to configure this parameter. The system automatically associates all access areas.'."\n"
+ ."\n"
+ .'You can call the [](t2322850.xdita#)operation to query the information about the access points in the supported access areas.', 'type' => 'string', 'required' => false, 'example' => 'us-west-1-pop'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
+ 'example' => '',
],
],
[
'name' => 'AssociationMode',
'in' => 'query',
- 'schema' => [
- 'title' => '关联模式,默认模式、普通模式Default/Normal',
- 'description' => 'The association mode. Valid values:'."\n"
- ."\n"
- .'* **Default**: the default mode. In this mode, the endpoint to be associated serves as the default origin server.'."\n"
- .'* **Normal**: the standard mode. In this mode, the endpoint to be associated serves as a standard origin server.'."\n"
- ."\n"
- .'> You can associate endpoints in multiple regions with an Anycast EIP. However, only one endpoint can serve as the default origin server. Others serve as standard origin servers. If you do not specify or add an access point, requests are forwarded to the default origin server.\\'."\n"
- ."\n\n"
- .'* If this is your first time to associate an Anycast EIP with an endpoint, set the value to **Default**.'."\n"
- .'* If not, you can also set the value to **Default**, which specifies a new default origin server. In this case, the previous origin server functions as a standard origin server.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Default',
- ],
+ 'schema' => ['title' => '', 'description' => 'The association mode. Valid values:'."\n"
+ ."\n"
+ .'- **Default**: the default mode. In this mode, the associated cloud resource is the default origin server.'."\n"
+ ."\n"
+ .'- **Normal**: the normal mode. In this mode, the associated cloud resource is a normal origin server.'."\n"
+ ."\n"
+ .'> An Anycast EIP can be associated with cloud resources in multiple regions. However, you can specify only one default origin server and multiple normal origin servers. When you do not specify an access point or add a new access point, requests are forwarded to the default origin server by default.'."\n"
+ .'>'."\n"
+ .'> - If this is your first time to associate a cloud resource with the Anycast EIP, the association mode is **Default** by default.'."\n"
+ .'>'."\n"
+ .'> - If this is not your first time to associate a cloud resource with the Anycast EIP, you can set the association mode to **Default**. This makes the new cloud resource the default origin server, and the original default origin server becomes a normal origin server.', 'type' => 'string', 'required' => false, 'example' => 'Default'],
],
[
'name' => 'PrivateIpAddress',
'in' => 'query',
- 'schema' => [
- 'title' => '私网ip地址',
- 'description' => 'The secondary private IP address of the ENI with which you want to associate the Anycast EIP.'."\n"
- ."\n"
- .'This parameter is valid only when you set **BindInstanceType** to **NetworkInterface**. If you do not set this parameter, the primary private IP address of the ENI is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.XX.XX',
- ],
+ 'schema' => ['title' => '', 'description' => 'The secondary private IP address of the ENI.'."\n"
+ ."\n"
+ .'This parameter is required when **BindInstanceType** is set to **NetworkInterface**. If you do not specify this parameter, the primary private IP address of the ENI is used.', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The response.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
'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' => ''],
+ ['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' => ''],
+ ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => ''],
+ ['errorCode' => 'OperationFailed.BindOnFreeNetworkInterface', 'errorMessage' => 'Operation failed because the specified network interface is not bound on instance.', 'description' => 'The operation failed because the specified ENI is not bound to the instance.'],
+ ['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' => 'The specified region is not supported.'],
+ ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ['errorCode' => 'ResourceNotFound.BindInstanceId', 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', 'description' => ''],
],
],
- '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' => 'AssociateAnycastEipAddress',
+ 'summary' => 'Associates an Anycast EIP with a specified backend cloud resource.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UnassociateAnycastEipAddress' => [
- 'summary' => 'Disassociates an Anycast EIP from an endpoint.',
- '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' => 'The ID of the endpoint from which you want to disassociate the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-2zebb08phyczzawe****',
- ],
- ],
- [
- 'name' => 'BindInstanceRegionId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The region where the endpoint is deployed.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'us-west-1',
- ],
- ],
- [
- 'name' => 'BindInstanceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The type of endpoint from which you want to disassociate the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **SlbInstance**: an internal-facing Server Load Balancer (SLB) instance that is deployed in a virtual private cloud (VPC)'."\n"
- .'* **NetworkInterface**: elastic network interface (ENI)'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'SlbInstance',
- ],
- ],
- [
- 'name' => 'AnycastId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
- ."\n"
- .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
- ."\n"
- .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '02fb3da4-130e-11e9-8e44-001****',
- ],
- ],
- [
- 'name' => 'DryRun',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to perform a dry run, without performing the actual request. Valid values:'."\n"
- ."\n"
- .'* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
- .'* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'PrivateIpAddress',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The secondary private IP address of the ENI from which you want to disassociate the Anycast EIP.'."\n"
- ."\n"
- .'This parameter is valid only when you set **BindInstanceType** to **NetworkInterface**. If you do not specify this parameter, the primary private IP address of the ENI is used.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.XX.XX',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'description' => 'The response parameters.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '私网IP地址',
- 'description' => 'The request ID.'."\n",
- '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' => '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' => 'UnassociateAnycastEipAddress',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
],
- 'ReleaseAnycastEipAddress' => [
- 'summary' => 'Releases an Anycast elastic IP address (Anycast EIP).',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ChangeResourceGroup' => [
+ 'summary' => 'Modifies the resource group to which an AnycastEipAddress instance belongs.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -657,37 +368,26 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
- 'tenantRelevance' => 'publicInformation',
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
],
'parameters' => [
[
- 'name' => 'AnycastId',
+ 'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP to be released.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
+ 'schema' => ['description' => 'The resource ID.', 'type' => 'string', 'required' => true, 'example' => 'aeip-2zeerraiwb7ujsxdc****', 'title' => ''],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'NewResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
- ."\n"
- .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '02fb3da4-130e-11e9-8e44-001****',
- ],
+ 'schema' => ['description' => 'The ID of the destination resource group. You can call the [ListResourceGroups](~~158855~~) operation to query resource groups.', 'type' => 'string', 'required' => true, 'example' => 'rg-aeky6b2jfeerxxx', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS', 'title' => ''],
],
],
'responses' => [
@@ -695,747 +395,315 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133', 'title' => ''],
],
'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'ReleaseAnycastEipAddress',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
- ],
- 'ModifyAnycastEipAddressSpec' => [
- 'summary' => 'Modifies the maximum bandwidth of an Anycast elastic IP address (Anycast EIP).',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Modify the resource group of an anycastEipAddress instance',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'ChangeResourceGroup'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Bandwidth',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.'."\n"
- ."\n"
- .'Valid values: **200** to **1000**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => '200',
- ],
- ],
- [
- 'name' => 'AnycastId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'description' => 'The response parameters.'."\n",
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
- ],
+ '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.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' => 'ModifyAnycastEipAddressSpec',
- 'requestParamsDescription' => ' ',
- 'responseParamsDescription' => ' ',
- 'extraInfo' => ' ',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
],
- 'ModifyAnycastEipAddressAttribute' => [
- 'summary' => 'Modifies the name and description of an Anycast elastic IP address (Anycast EIP).',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAnycastEipAddress' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeNodes' => ['FEATUREeipNF1RIS'],
],
'parameters' => [
[
- 'name' => 'AnycastId',
+ 'name' => 'Ip',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
+ 'schema' => ['description' => 'The IP address of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'> You must specify either **Ip** or **AnycastId**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '139.95.XX.XX'],
],
[
- 'name' => 'Name',
+ 'name' => 'AnycastId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the Anycast EIP.'."\n"
- ."\n"
- .'The name must be 0 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'docname',
- ],
+ 'schema' => ['description' => 'The ID of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'> You must specify either **Ip** or **AnycastId**.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
],
[
- 'name' => 'Description',
+ 'name' => 'BindInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The description of the Anycast EIP.'."\n"
- ."\n"
- .'The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'docdesc',
- ],
+ 'schema' => ['description' => 'The ID of the cloud resource instance with which the Anycast EIP is associated.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'lb-2zebb08phyczzawe****'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The information that is returned.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
+ 'Status' => ['description' => 'The status of the IP address.'."\n"
+ ."\n"
+ .'- **Associating**: The instance is being associated.'."\n"
+ ."\n"
+ .'- **Unassociating**: The instance is being disassociated.'."\n"
+ ."\n"
+ .'- **Allocated**: The instance is allocated.'."\n"
+ ."\n"
+ .'- **Associated**: The instance is associated.'."\n"
+ ."\n"
+ .'- **Modifying**: The instance is being modified.'."\n"
+ ."\n"
+ .'- **Releasing**: The instance is being released.'."\n"
+ ."\n"
+ .'- **Released**: The instance is released.', 'type' => 'string', 'title' => '', 'example' => 'Associated'],
+ 'Description' => ['description' => 'The description of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'doctest'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'],
+ 'InstanceChargeType' => ['description' => 'The billing method of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The value is **PostPaid**, which indicates the pay-as-you-go billing method.', 'type' => 'string', 'title' => '', 'example' => 'PostPaid'],
+ 'CreateTime' => ['description' => 'The time when the Anycast EIP instance was created.'."\n"
+ ."\n"
+ .'The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2021-04-23T01:37:38Z'],
+ 'AnycastEipBindInfoList' => [
+ 'description' => 'The list of cloud resources that are associated with the Anycast EIP instance.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of cloud resources that are associated with the Anycast EIP instance.',
+ 'type' => 'object',
+ 'properties' => [
+ 'BindInstanceType' => ['description' => 'The type of the associated cloud resource instance. Valid values:'."\n"
+ ."\n"
+ .'- **SlbInstance**: a Classic Load Balancer (CLB) instance in a virtual private cloud (VPC).'."\n"
+ ."\n"
+ .'- **NetworkInterface**: an elastic network interface (ENI).', 'type' => 'string', 'title' => '', 'example' => 'SlbInstance'],
+ 'BindTime' => ['description' => 'The time when the cloud resource was associated.'."\n"
+ ."\n"
+ .'The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time is displayed in UTC.', 'type' => 'string', 'title' => '', 'example' => '2021-04-23T02:37:38Z'],
+ 'Status' => ['description' => 'The status of the associated cloud resource instance. Valid values:'."\n"
+ ."\n"
+ .'- **BINDING**: The cloud resource is being associated.'."\n"
+ ."\n"
+ .'- **BINDED**: The cloud resource is associated.'."\n"
+ ."\n"
+ .'- **UNBINDING**: The cloud resource is being disassociated.'."\n"
+ ."\n"
+ .'- **DELETED**: The cloud resource is deleted.'."\n"
+ ."\n"
+ .'- **MODIFYING**: The association is being modified.', 'type' => 'string', 'title' => '', 'example' => 'BINDING'],
+ 'BindInstanceRegionId' => ['description' => 'The region ID of the associated cloud resource instance.', 'type' => 'string', 'title' => '', 'example' => 'us-west-1'],
+ 'BindInstanceId' => ['description' => 'The ID of the associated cloud resource instance.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zebb08phyczzawe****'],
+ 'PopLocations' => [
+ 'title' => '',
+ 'description' => 'The information about the access points in the access areas that are connected to the associated cloud resource instance.'."\n"
+ ."\n"
+ .'If you associate a cloud resource for the first time, the system returns the access points in all access areas.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The information about the access points in the access areas that are connected to the associated cloud resource instance.'."\n"
+ ."\n"
+ .'If you associate a cloud resource for the first time, the system returns the access points in all access areas.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PopLocation' => ['title' => '', 'description' => 'The information about the access points in the access areas that are connected to the associated cloud resource instance.'."\n"
+ ."\n"
+ .'If you associate a cloud resource for the first time, the system returns the access points in all access areas.', 'type' => 'string', 'example' => 'us-west-1-pop'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'AssociationMode' => ['title' => '', 'description' => 'The association mode. Valid values:'."\n"
+ ."\n"
+ .'- **Default**: The associated cloud resource instance is the default origin server.'."\n"
+ ."\n"
+ .'- **Normal**: The associated cloud resource instance is a normal origin server.', 'type' => 'string', 'example' => 'Default'],
+ 'PrivateIpAddress' => ['title' => '', 'description' => 'The secondary private IP address of the associated ENI.'."\n"
+ ."\n"
+ .'This parameter is returned only when **BindInstanceType** is set to **NetworkInterface**.', 'type' => 'string', 'example' => '192.168.XX.XX'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'BusinessStatus' => ['description' => 'The service status of the Anycast EIP instance. Valid values:'."\n"
+ ."\n"
+ .'- **Normal**: The Anycast EIP is in a normal state.'."\n"
+ ."\n"
+ .'- **FinancialLocked**: The Anycast EIP is locked due to an overdue payment.'."\n"
+ ."\n"
+ .'- **RiskExpired**: The Anycast EIP is locked for security reasons.', 'type' => 'string', 'title' => '', 'example' => 'Normal'],
+ 'InternetChargeType' => ['description' => 'The metering method of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The value is **PayByTraffic**, which indicates the pay-by-data-transfer metering method.', 'type' => 'string', 'title' => '', 'example' => 'PayByTraffic'],
+ 'Name' => ['description' => 'The name of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'docname'],
+ 'AnycastId' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ 'ServiceLocation' => ['description' => 'The access area of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The value is **international**, which indicates regions outside the Chinese mainland.', 'type' => 'string', 'title' => '', 'example' => 'international'],
+ 'Bandwidth' => ['description' => 'The peak bandwidth of the Anycast EIP instance. Unit: Mbit/s.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'IpAddress' => ['description' => 'The IP address of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => '139.95.XX.XX'],
+ 'Bid' => ['description' => 'The BID of the account that owns the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => '26842'],
+ 'AliUid' => ['description' => 'The ID of the account that owns the Anycast EIP instance.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '25346073170691****'],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'title' => '', 'example' => 'rg-acfmzssisocarfy'],
+ 'Tags' => [
+ 'description' => 'The tag information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'FinanceJoshua'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
],
+ 'ServiceManaged' => ['description' => 'Indicates whether the resource is created by a service account. 0: The resource is not created by a service account. 1: The resource is created by a service account.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '1'],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
'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.',
- ],
+ 200 => [
+ ['errorCode' => 'MissingParam.ResourceIdentifier', 'errorMessage' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.', 'description' => ''],
],
],
- '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' => 'ModifyAnycastEipAddressAttribute',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'DescribeAnycastEipAddress',
+ 'summary' => 'Queries the details of a specified Anycast EIP instance, including its status, peak bandwidth, and associated cloud resources.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'UpdateAnycastEipAddressAssociations' => [
- 'summary' => 'If an Anycast EIP is associated with endpoints in different regions, you can change the access points that are mapped to an endpoint. You can call UpdateAnycastEipAddressAssociations to add or delete endpoints to modify the mappings between endpoints and access points.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastEipAddress'],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip2OM9BW',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'BindInstanceId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the cloud resource with which you want to associate the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lb-d7oxbixhxv1uupnon****',
- ],
- ],
- [
- 'name' => 'AnycastId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
- ."\n"
- .'You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
- ."\n"
- .'> If you do not set this parameter, the system automatically uses **RequestId** as **ClientToken**. **RequestId** may be different for each API request.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '02fb3da4-130e-11e9-8e44-001****',
- ],
- ],
- [
- 'name' => 'DryRun',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Specifies whether to only precheck the request. Valid values:'."\n"
- ."\n"
- .'* **true**: prechecks the request without updating the association information. The system checks the required parameters, request syntax, and limits. If the request fails to pass the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.'."\n"
- .'* **false** (default): sends the API request. If the request passes the precheck, a 2xx HTTP status code is returned and the operation is performed.'."\n",
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- ],
- [
- 'name' => 'PopLocationAddList',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '新增关联的pop location',
- 'description' => 'The access areas and access points to be added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PopLocation' => [
- 'title' => 'pop location',
- 'description' => 'The access points in the access areas to be added.'."\n"
- ."\n"
- .'You can call the [DescribeAnycastPopLocations](~~171938~~) operation to query the access points in supported access areas.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'us-west-1-pop',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PopLocationDeleteList',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '待删除的关联pop location',
- 'description' => 'The access areas and access points to be deleted.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PopLocation' => [
- 'title' => 'pop location',
- 'description' => 'The access points in the access areas to be deleted.'."\n"
- ."\n"
- .'> If the access point in the access area is associated with a default origin server, you cannot delete the access point in the access area.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eu-west-1-pop',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'AssociationMode',
- 'in' => 'query',
- 'schema' => [
- 'title' => '关联模式,默认模式、普通模式Default/Normal',
- 'description' => 'The association mode. Valid values:'."\n"
- ."\n"
- .'* **Default**: the default mode. In this mode, cloud resources to be associated are set as default origin servers.'."\n"
- .'* **Normal**: the standard mode. In this mode, cloud resources to be associated are set as standard origin servers.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Default',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => 'The ID of the request.'."\n",
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'eipanycast:DescribeAnycastEipAddress',
+ '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' => 'UpdateAnycastEipAddressAssociations',
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
],
- 'DescribeAnycastEipAddress' => [
- 'summary' => 'Queries Anycast elastic IP addresses (Anycast EIPs) associated with specified instance IP addresses or instance IDs, including instance status, maximum bandwidth, and associated resources.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DescribeAnycastPopLocations' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeipNF1RIS',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip3Z2ARP'],
],
'parameters' => [
[
- 'name' => 'Ip',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address of the Anycast EIP.'."\n"
- ."\n"
- .'> You must specify **Ip** or **AnycastId**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '139.95.XX.XX',
- ],
- ],
- [
- 'name' => 'AnycastId',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n"
- ."\n"
- .'> You must specify **Ip** or **AnycastId**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
- ],
- [
- 'name' => 'BindInstanceId',
+ 'name' => 'ServiceLocation',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the endpoint with which the Anycast EIP is associated.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-2zebb08phyczzawe****',
- ],
+ 'schema' => ['description' => 'The access area of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'Set the value to **international**. This value specifies the regions outside the Chinese mainland.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'international'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The list of response parameters.',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The status of the Anycast EIP.'."\n"
- ."\n"
- .'* **Associating**'."\n"
- .'* **Unassociating**'."\n"
- .'* **Allocated**'."\n"
- .'* **Associated**'."\n"
- .'* **Modifying**'."\n"
- .'* **Releasing**'."\n"
- .'* **Released**'."\n",
- 'type' => 'string',
- 'example' => 'Associated',
- ],
- 'Description' => [
- 'description' => 'The description of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'doctest',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
- 'InstanceChargeType' => [
- 'description' => 'The billing method of the Anycast EIP.'."\n"
- ."\n"
- .'Only **PostPaid** may be returned, which indicates the pay-as-you-go billing method.'."\n",
- 'type' => 'string',
- 'example' => 'PostPaid',
- ],
- 'CreateTime' => [
- 'description' => 'The point in time at which the Anycast EIP was created.'."\n"
- ."\n"
- .'The time follows the ISO8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.'."\n",
- 'type' => 'string',
- 'example' => '2021-04-23T01:37:38Z',
- ],
- 'AnycastEipBindInfoList' => [
- 'description' => 'The information about the endpoint with which the Anycast EIP is associated.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'BindInstanceType' => [
- 'description' => 'The type of endpoint with which the Anycast EIP is associated. Valid values:'."\n"
- ."\n"
- .'* **SlbInstance**: a CLB instance in a VPC.'."\n"
- .'* **NetworkInterface**: an elastic network interface (ENI).'."\n",
- 'type' => 'string',
- 'example' => 'SlbInstance',
- ],
- 'BindTime' => [
- 'description' => 'The time when the Anycast EIP was associated.'."\n"
- ."\n"
- .'The time follows the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time is displayed in UTC.'."\n",
- 'type' => 'string',
- 'example' => '2021-04-23T02:37:38Z',
- ],
- 'Status' => [
- 'description' => 'The status of the endpoint. Valid values:'."\n"
- ."\n"
- .'* **BINDING**'."\n"
- .'* **BINDED**'."\n"
- .'* **UNBINDING**'."\n"
- .'* **DELETED**'."\n"
- .'* **MODIFYING**'."\n",
- 'type' => 'string',
- 'example' => 'BINDING',
- ],
- 'BindInstanceRegionId' => [
- 'description' => 'The ID of the region in which the endpoint is deployed.'."\n",
- 'type' => 'string',
- 'example' => 'us-west-1',
- ],
- 'BindInstanceId' => [
- 'description' => 'The ID of the endpoint with which the Anycast EIP is associated.'."\n",
- 'type' => 'string',
- 'example' => 'lb-2zebb08phyczzawe****',
- ],
- 'PopLocations' => [
- 'title' => '关联的pop点',
- 'description' => 'The information about the access points in associated access areas when you associate an Anycast EIP with a cloud resource.'."\n"
- ."\n"
- .'If this is your first time associating an Anycast EIP with an endpoint, the system returns information about access points in all access areas.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'PopLocation' => [
- 'title' => 'PopLocation',
- 'description' => 'The information about the access points in associated access areas when you associate an Anycast EIP with a cloud resource.'."\n"
- ."\n"
- .'If this is your first time associating an Anycast EIP with an endpoint, the system returns information about access points in all access areas.'."\n",
- 'type' => 'string',
- 'example' => 'us-west-1-pop',
- ],
- ],
- ],
- ],
- 'AssociationMode' => [
- 'title' => '绑定模式 Normal、Default',
- 'description' => 'The association mode. Valid values:'."\n"
- ."\n"
- .'* **Default**: the default mode. In this mode, the associated endpoint serves as the default origin server.'."\n"
- .'* **Normal**: the standard mode. In this mode, the associated endpoint serves as a standard origin server.'."\n",
- 'type' => 'string',
- 'example' => 'Default',
- ],
- 'PrivateIpAddress' => [
- 'title' => 'ip地址',
- 'description' => 'The secondary private IP address of the associated ENI.'."\n"
- ."\n"
- .'This parameter is valid only when **BindInstanceType** is set to **NetworkInterface**.'."\n",
- 'type' => 'string',
- 'example' => '192.168.XX.XX',
- ],
- ],
- ],
- ],
- 'BusinessStatus' => [
- 'description' => 'The status of the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **Normal**: running as expected'."\n"
- .'* **FinancialLocked**: locked due to overdue payments'."\n"
- .'* **RiskExpired**: locked due to security reasons.'."\n",
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'InternetChargeType' => [
- 'description' => 'The metering method of the Anycast EIP.'."\n"
- ."\n"
- .'Only **PayByTraffic** may be returned, which indicates the pay-by-data-transfer metering method.'."\n",
- 'type' => 'string',
- 'example' => 'PayByTraffic',
- ],
- 'Name' => [
- 'description' => 'The name of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'docname',
- ],
- 'AnycastId' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'aeip-bp1ix34fralt4ykf3****',
- ],
- 'ServiceLocation' => [
- 'description' => 'The access area of the Anycast EIP.'."\n"
- ."\n"
- .'Only **international** may be returned, which indicates the areas outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'example' => 'international',
- ],
- 'Bandwidth' => [
- 'description' => 'The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'IpAddress' => [
- 'description' => 'The IP address of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => '139.95.XX.XX',
- ],
- 'Bid' => [
- 'description' => 'The BID of the account to which the Anycast EIP belongs.'."\n",
- 'type' => 'string',
- 'example' => '26842',
- ],
- 'AliUid' => [
- 'description' => 'The ID of the account to which the Anycast EIP belongs.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '25346073170691****',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group to which the instance belongs.'."\n",
- 'type' => 'string',
- 'example' => 'rg-acfmzssisocarfy',
- ],
- 'Tags' => [
- 'description' => 'The information about the tags.'."\n",
+ 'AnycastPopLocationList' => [
+ 'description' => 'A list of access points in the access area.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The access points in the access area.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Value' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
+ 'RegionName' => ['description' => 'The name of the region where the access point is located.', 'type' => 'string', 'title' => '', 'example' => 'us-west-1-pop'],
+ 'RegionId' => ['description' => 'The ID of the region where the access point is located.', 'type' => 'string', 'title' => '', 'example' => 'us-west-1-pop'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'ServiceManaged' => [
- 'description' => 'Indicates whether the instance is managed. Valid values:'."\n"
- ."\n"
- .'* **1**: yes'."\n"
- .'* **0**: no.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'],
+ 'Count' => ['description' => 'The number of access points returned.', 'type' => 'string', 'title' => '', 'example' => '1'],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- 'errorCodes' => [
- 200 => [
- [
- 'errorCode' => 'MissingParam.ResourceIdentifier',
- 'errorMessage' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or 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":""}]',
- 'title' => 'DescribeAnycastEipAddress',
+ 'title' => 'DescribeAnycastPopLocations',
+ 'summary' => 'Queries the access points in a specified access area.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAnycastPopLocations' => [
- 'summary' => 'Queries the access points in an access area.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastPopLocations'],
+ ],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
+ ],
+ 'DescribeAnycastServerRegions' => [
+ 'summary' => 'Queries the regions where backend services can be attached to an Anycast EIP.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1447,80 +715,63 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip3Z2ARP',
- ],
+ 'abilityTreeNodes' => ['FEATUREeipIDYPAX'],
],
'parameters' => [
[
'name' => 'ServiceLocation',
'in' => 'query',
- 'schema' => [
- 'description' => 'The access area of the Anycast elastic IP address (EIP).'."\n"
- ."\n"
- .'Set the value to **international**, which specifies the areas outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'international',
- ],
+ 'schema' => ['description' => 'The access area of the Anycast EIP.'."\n"
+ ."\n"
+ .'Set the value to **international**. This value indicates regions outside the Chinese mainland.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'international'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
+ 'description' => 'The list of returned information.',
'type' => 'object',
'properties' => [
- 'AnycastPopLocationList' => [
- 'description' => 'The list of access points in the specified access area.'."\n",
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'],
+ 'Count' => ['description' => 'The number of entries in the list.', 'type' => 'string', 'title' => '', 'example' => '1'],
+ 'AnycastServerRegionList' => [
+ 'description' => 'The list of backend server regions to which the Anycast EIP can be attached.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The list of backend server regions to which the Anycast EIP can be attached.',
'type' => 'object',
'properties' => [
- 'RegionName' => [
- 'description' => 'The name of the region where the access point is deployed.'."\n",
- 'type' => 'string',
- 'example' => 'us-west-1-pop',
- ],
- 'RegionId' => [
- 'description' => 'The ID of the region where the access point is deployed.'."\n",
- 'type' => 'string',
- 'example' => 'us-west-1-pop',
- ],
+ 'RegionName' => ['description' => 'The name of the backend server region.', 'type' => 'string', 'title' => '', 'example' => 'eu-west-1-gb33-a01'],
+ 'RegionId' => ['description' => 'The ID of the backend server region.', 'type' => 'string', 'title' => '', 'example' => 'eu-west-1'],
],
+ 'title' => '',
+ 'example' => '',
],
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
- 'Count' => [
- 'description' => 'The number of access points.'."\n",
- 'type' => 'string',
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAnycastPopLocations',
+ 'title' => 'DescribeAnycastServerRegions',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeAnycastServerRegions'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]',
],
'ListAnycastEipAddresses' => [
- 'summary' => 'Queries information about Anycast elastic IP addresses (Anycast EIPs) in an access area, including instance status, maximum bandwidth, and associated resources.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1532,436 +783,313 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
],
'parameters' => [
[
'name' => 'AnycastId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the Anycast EIP.'."\n"
- ."\n"
- .'> To ensure the accuracy of the query result, we do not recommend that you specify **AnycastIds** and **AnycastId** at the same time.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
+ 'schema' => ['description' => 'The ID of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'> To ensure query accuracy, we recommend that you do not specify **AnycastIds** and **AnycastId** at the same time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
],
[
'name' => 'AnycastIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The IDs of Anycast EIPs.'."\n"
+ 'description' => 'The list of Anycast EIP instance IDs.'."\n"
."\n"
- .'You can enter at most 50 Anycast EIP IDs.'."\n"
+ .'You can enter up to 50 Anycast EIP instance IDs.'."\n"
."\n"
- .'> To ensure the accuracy of the query result, we do not recommend that you specify **AnycastIds** and **AnycastId** at the same time.',
+ .'> To ensure query accuracy, we recommend that you do not specify **AnycastIds** and **AnycastId** at the same time.',
'type' => 'array',
- 'items' => [
- 'description' => 'The IDs of Anycast EIPs.'."\n"
- ."\n"
- .'You can enter at most 50 Anycast EIP IDs.'."\n"
- ."\n"
- .'> To ensure the accuracy of the query result, we do not recommend that you specify **AnycastIds** and **AnycastId** at the same time.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
+ 'items' => ['description' => 'The list of Anycast EIP instance IDs.'."\n"
+ ."\n"
+ .'You can enter up to 50 Anycast EIP instance IDs.'."\n"
+ ."\n"
+ .'> To ensure query accuracy, we recommend that you do not specify **AnycastIds** and **AnycastId** at the same time.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
'required' => false,
'maxItems' => 50,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'AnycastEipAddress',
'in' => 'query',
- 'schema' => [
- 'description' => 'The IP address that is allocated to the Anycast EIP.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '139.95.XX.XX',
- ],
+ 'schema' => ['description' => 'The IP address of the Anycast EIP instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '139.95.XX.XX'],
],
[
'name' => 'ServiceLocation',
'in' => 'query',
- 'schema' => [
- 'description' => 'The access area of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **international**, which specifies the regions outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'international',
- ],
+ 'schema' => ['description' => 'The access area of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'Set the value to **international**, which specifies regions outside the Chinese mainland.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'international'],
],
[
'name' => 'InstanceChargeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The billing method of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **PostPaid**, which specifies the pay-as-you-go billing method.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PostPaid',
- ],
+ 'schema' => ['description' => 'The billing method of the Anycast EIP.'."\n"
+ ."\n"
+ .'Set the value to **PostPaid**, which specifies the pay-as-you-go billing method.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PostPaid'],
],
[
'name' => 'InternetChargeType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The metering method of the Anycast EIP.'."\n"
- ."\n"
- .'Set the value to **PayByTraffic**, which specifies the pay-by-data-transfer metering method.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'PayByTraffic',
- ],
+ 'schema' => ['description' => 'The metering method for Internet data transfer of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'Set the value to **PayByTraffic**, which specifies the pay-by-data-transfer metering method.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'PayByTraffic'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the Anycast EIP.'."\n"
- ."\n"
- .'The name must be 0 to 128 characters in length, and can contain digits, hyphens (-), and underscores (\\_). The name must start with a letter.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'doctest',
- ],
+ 'schema' => ['description' => 'The name of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The name must be 0 to 128 characters in length, start with a letter or a Chinese character, and can contain digits, hyphens (-), and underscores (\\_).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'doctest'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the resource group to which the instance belongs.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-aekzthsmwsnfuni',
- ],
+ 'schema' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'rg-aekzthsmwsnfuni'],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tags.',
+ 'description' => 'The tag information.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.'."\n",
+ 'description' => 'The tag information.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key of the resource. You can specify up to 20 tag keys. You cannot specify empty strings as tag keys.'."\n"
- ."\n"
- .'The key can be up to 64 characters in length and can contain letters, digits, periods (.), underscores (\\_), and hyphens (-). The key must start with a letter but cannot start with `aliyun` or `acs:`. The key cannot contain `http://` or `https://`.'."\n"
- ."\n"
- .'> You must specify at least one of **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- 'Value' => [
- 'description' => 'The tag value of the resource. You can specify up to 20 tag values. It can be an empty string.'."\n"
- ."\n"
- .'The value cannot exceed 128 characters in length and can contain digits, periods (.), underscores (\\_), and hyphens (-). The value must start with a letter but cannot start with `aliyun` or `acs:`. The value cannot contain `http://` or `https://`.'."\n"
- ."\n"
- .'> You must specify at least one of **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag1',
- ],
+ 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. The tag key cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify at least one of **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify at least one of **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceJoshua'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
'maxItems' => 10,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries to return on each page. Valid values: **20 to 100**. Default value: **50**.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The number of entries to return on each page when a list is displayed. Valid values: 20 to **100**. Default value: **50**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '', 'example' => '50'],
],
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n"
- ."\n"
- .'* You do not need to specify this parameter for the first request.'."\n"
- .'* You must specify the token that is obtained from the previous query as the value of NextToken.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'caeba0bbb2be03f84eb48b699f0a****',
- ],
+ 'schema' => ['description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'- You do not need to specify this parameter for the first query or if no next query is to be sent.'."\n"
+ ."\n"
+ .'- If a next query is to be sent, set the value to the NextToken value returned from the previous API call.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'caeba0bbb2be03f84eb48b699f0a****'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => 'The status of the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **Associating**'."\n"
- .'* **Unassociating**'."\n"
- .'* **Allocated**'."\n"
- .'* **Associated**'."\n"
- .'* **Modifying**'."\n"
- .'* **Releasing**'."\n"
- .'* **Released**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Associated',
- ],
+ 'schema' => ['description' => 'The IP address status. Valid values:'."\n"
+ ."\n"
+ .'- **Associating**: The Anycast EIP is being associated.'."\n"
+ ."\n"
+ .'- **Unassociating**: The Anycast EIP is being disassociated.'."\n"
+ ."\n"
+ .'- **Allocated**: The Anycast EIP is allocated.'."\n"
+ ."\n"
+ .'- **Associated**: The Anycast EIP is associated.'."\n"
+ ."\n"
+ .'- **Modifying**: The Anycast EIP is being modified.'."\n"
+ ."\n"
+ .'- **Releasing**: The Anycast EIP is being released.'."\n"
+ ."\n"
+ .'- **Released**: The Anycast EIP is released.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Associated'],
],
[
'name' => 'BusinessStatus',
'in' => 'query',
- 'schema' => [
- 'description' => 'The service status of the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **Normal**'."\n"
- .'* **FinancialLocked**'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Normal',
- ],
+ 'schema' => ['description' => 'The service status of the Anycast EIP instance. Valid values:'."\n"
+ ."\n"
+ .'- **Normal**: The Anycast EIP is in a normal state.'."\n"
+ ."\n"
+ .'- **FinancialLocked**: The Anycast EIP is locked due to an overdue payment.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'Normal'],
],
[
'name' => 'BindInstanceIds',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The IDs of the cloud resources with which the Anycast EIPs are associated.'."\n"
+ 'description' => 'The list of IDs of cloud resources with which the Anycast EIP is associated.'."\n"
."\n"
- .'You can enter at most 100 cloud resource IDs.',
+ .'You can enter up to 100 cloud resource IDs.',
'type' => 'array',
- 'items' => [
- 'description' => 'The IDs of the cloud resources with which the Anycast EIPs are associated.'."\n"
- ."\n"
- .'You can enter at most 100 cloud resource IDs.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lb-2zebb08phyczzawe****',
- ],
+ 'items' => ['description' => 'The list of IDs of cloud resources with which the Anycast EIP is associated.'."\n"
+ ."\n"
+ .'You can enter up to 100 cloud resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'lb-2zebb08phyczzawe****'],
'required' => false,
'example' => 'lb-2zebb08phyczzawe****',
'maxItems' => 100,
+ 'title' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => '',
+ 'description' => 'The list of returned information.',
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => 'The number of entries returned.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '100',
- ],
- 'NextToken' => [
- 'description' => 'A pagination token. It can be used in the next request to retrieve a new page of results. Valid values:'."\n"
- ."\n"
- .'* If **NextToken** is empty, no next page exists.'."\n"
- .'* If **NextToken** is not empty, the value of NextToken can be used in the next request to retrieve a new page of results.'."\n",
- 'type' => 'string',
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
+ 'TotalCount' => ['description' => 'The number of entries in the list.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '100'],
+ 'NextToken' => ['description' => 'The token that is used for the next query. Valid values:'."\n"
+ ."\n"
+ .'- If **NextToken** is empty, it indicates that no next query is to be sent.'."\n"
+ ."\n"
+ .'- If a value is returned for **NextToken**, the value is the token that is used for the next query.', 'type' => 'string', 'title' => '', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'],
'AnycastList' => [
- 'description' => 'The list of Anycast EIPs.'."\n",
+ 'description' => 'The list of Anycast EIP instances.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The list of Anycast EIP instances.',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'description' => 'The status of the Anycast EIP.'."\n"
- ."\n"
- .'* **Associating**'."\n"
- .'* **Unassociating**'."\n"
- .'* **Allocated**'."\n"
- .'* **Associated**'."\n"
- .'* **Modifying**'."\n"
- .'* **Releasing**'."\n"
- .'* **Released**'."\n",
- 'type' => 'string',
- 'example' => 'Associating',
- ],
- 'CreateTime' => [
- 'description' => 'The time when the Anycast EIP was created.'."\n",
- 'type' => 'string',
- 'example' => '2022-04-22T01:37:38Z',
- ],
- 'AnycastId' => [
- 'description' => 'The ID of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
- 'AliUid' => [
- 'description' => 'The ID of the account to which the Anycast EIP belongs.'."\n",
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123440159596****',
- ],
- 'ServiceLocation' => [
- 'description' => 'The access area of the Anycast EIP.'."\n"
- ."\n"
- .'**international**: regions outside the Chinese mainland'."\n",
- 'type' => 'string',
- 'example' => 'international',
- ],
- 'InstanceChargeType' => [
- 'description' => 'The billing method of the Anycast EIP.'."\n"
- ."\n"
- .'**PostPaid**: pay-as-you-go'."\n",
- 'type' => 'string',
- 'example' => 'PostPaid',
- ],
- 'IpAddress' => [
- 'description' => 'The IP address of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => '139.95.XX.XX',
- ],
- 'Bandwidth' => [
- 'description' => 'The maximum bandwidth of the Anycast EIP. Unit: Mbit/s.'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Description' => [
- 'description' => 'The description of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'docdesc',
- ],
+ 'Status' => ['description' => 'The IP address status.'."\n"
+ ."\n"
+ .'- **Associating**: The Anycast EIP is being associated.'."\n"
+ ."\n"
+ .'- **Unassociating**: The Anycast EIP is being disassociated.'."\n"
+ ."\n"
+ .'- **Allocated**: The Anycast EIP is allocated.'."\n"
+ ."\n"
+ .'- **Associated**: The Anycast EIP is associated.'."\n"
+ ."\n"
+ .'- **Modifying**: The Anycast EIP is being modified.'."\n"
+ ."\n"
+ .'- **Releasing**: The Anycast EIP is being released.'."\n"
+ ."\n"
+ .'- **Released**: The Anycast EIP is released.', 'type' => 'string', 'title' => '', 'example' => 'Associating'],
+ 'CreateTime' => ['description' => 'The time when the Anycast EIP instance was created.', 'type' => 'string', 'title' => '', 'example' => '2022-04-22T01:37:38Z'],
+ 'AnycastId' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
+ 'AliUid' => ['description' => 'The ID of the Alibaba Cloud account to which the Anycast EIP instance belongs.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '123440159596****'],
+ 'ServiceLocation' => ['description' => 'The access area of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'**international**: regions outside the Chinese mainland.', 'type' => 'string', 'title' => '', 'example' => 'international'],
+ 'InstanceChargeType' => ['description' => 'The billing method of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'**PostPaid**: the pay-as-you-go billing method.', 'type' => 'string', 'title' => '', 'example' => 'PostPaid'],
+ 'IpAddress' => ['description' => 'The IP address of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => '139.95.XX.XX'],
+ 'Bandwidth' => ['description' => 'The peak bandwidth of the Anycast EIP instance. Unit: Mbps.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '200'],
+ 'Description' => ['description' => 'The description of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'docdesc'],
'AnycastEipBindInfoList' => [
- 'description' => 'The list of cloud resources with which the Anycast EIPs are associated.'."\n",
+ 'description' => 'The list of binding information about the Anycast EIP instance.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The list of binding information about the Anycast EIP instance.',
'type' => 'object',
'properties' => [
- 'BindInstanceType' => [
- 'description' => 'The type of cloud resource with which the Anycast EIP is associated.'."\n"
- ."\n"
- .'* **SlbInstance**: an internal-facing Classic Load Balancer (CLB) instance deployed in a virtual private cloud (VPC). CLB is formerly known as Server Load Balancer (SLB).'."\n"
- .'* **NetworkInterface**: an elastic network interface (ENI).'."\n",
- 'type' => 'string',
- 'example' => 'SlbInstance',
- ],
- 'BindTime' => [
- 'description' => 'The time when the Anycast EIP was associated.'."\n",
- 'type' => 'string',
- 'example' => '2022-04-23T01:37:38Z',
- ],
- 'BindInstanceRegionId' => [
- 'description' => 'The ID of the region where the cloud resource is deployed.'."\n",
- 'type' => 'string',
- 'example' => 'us-west-1',
- ],
- 'BindInstanceId' => [
- 'description' => 'The ID of the cloud resource with which the Anycast EIP is associated.'."\n",
- 'type' => 'string',
- 'example' => 'lb-2zebb08phyczzawe****',
- ],
+ 'BindInstanceType' => ['description' => 'The type of the cloud resource with which the Anycast EIP instance is associated.'."\n"
+ ."\n"
+ .'- **SlbInstance**: a private Classic Load Balancer (CLB) instance in a virtual private cloud (VPC).'."\n"
+ ."\n"
+ .'- **NetworkInterface**: an elastic network interface (ENI).', 'type' => 'string', 'title' => '', 'example' => 'SlbInstance'],
+ 'BindTime' => ['description' => 'The time when the Anycast EIP instance was bound to the cloud resource.', 'type' => 'string', 'title' => '', 'example' => '2022-04-23T01:37:38Z'],
+ 'BindInstanceRegionId' => ['description' => 'The ID of the region where the associated cloud resource is deployed.', 'type' => 'string', 'title' => '', 'example' => 'us-west-1'],
+ 'BindInstanceId' => ['description' => 'The ID of the cloud resource with which the Anycast EIP instance is associated.', 'type' => 'string', 'title' => '', 'example' => 'lb-2zebb08phyczzawe****'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'InternetChargeType' => [
- 'description' => 'The metering method of the Anycast EIP.'."\n"
- ."\n"
- .'**PayByTraffic**: pay-by-data-transfer'."\n",
- 'type' => 'string',
- 'example' => 'PayByTraffic',
- ],
- 'BusinessStatus' => [
- 'description' => 'The service status of the Anycast EIP. Valid values:'."\n"
- ."\n"
- .'* **Normal**'."\n"
- .'* **FinancialLocked**'."\n",
- 'type' => 'string',
- 'example' => 'Normal',
- ],
- 'Name' => [
- 'description' => 'The name of the Anycast EIP.'."\n",
- 'type' => 'string',
- 'example' => 'docname',
- ],
- 'ServiceManaged' => [
- 'description' => 'Indicates whether the resource is created by the service account.'."\n"
- ."\n"
- .'* **0**: no'."\n"
- .'* **1**: yes'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'ResourceGroupId' => [
- 'description' => 'The ID of the resource group to which the instance belongs.'."\n",
- 'type' => 'string',
- 'example' => 'rg-aekzthsmwsnfuni'."\n",
- ],
+ 'InternetChargeType' => ['description' => 'The metering method of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'**PayByTraffic**: the pay-by-data-transfer metering method.', 'type' => 'string', 'title' => '', 'example' => 'PayByTraffic'],
+ 'BusinessStatus' => ['description' => 'The service status of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'- **Normal**: The Anycast EIP is in a normal state.'."\n"
+ ."\n"
+ .'- **FinancialLocked**: The Anycast EIP is locked due to an overdue payment.', 'type' => 'string', 'title' => '', 'example' => 'Normal'],
+ 'Name' => ['description' => 'The name of the Anycast EIP instance.', 'type' => 'string', 'title' => '', 'example' => 'docname'],
+ 'ServiceManaged' => ['description' => 'Indicates whether the resource is created by a service account.'."\n"
+ ."\n"
+ .'- **0**: The resource is not created by a service account.'."\n"
+ ."\n"
+ .'- **1**: The resource is created by a service account.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'example' => '0'],
+ 'ResourceGroupId' => ['description' => 'The ID of the resource group to which the instance belongs.', 'type' => 'string', 'title' => '', 'example' => 'rg-aekzthsmwsnfuni'."\n"],
'Tags' => [
- 'description' => 'The information about the tags.'."\n",
+ 'description' => 'The tag information.',
'type' => 'array',
'items' => [
- 'description' => 'The tags.',
+ 'description' => 'The tag information.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The tag key.'."\n",
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => 'The tag value.'."\n",
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'FinanceJoshua'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'ListAnycastEipAddresses',
+ 'summary' => 'Queries the details of Anycast EIPs in a specified access area, including their status, peak bandwidth, and information about bound cloud resources.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'DescribeAnycastServerRegions' => [
- 'summary' => 'Queries regions where you can associate Anycast elastic IP addresses (Anycast EIPs) with endpoints.',
- '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' => '[{"errorExample":"","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}","type":"json"}]',
+ ],
+ 'ListTagResources' => [
+ 'summary' => 'Queries the tags that are bound to Anycast elastic IP addresses (Anycast EIPs) by calling the ListTagResources operation.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1970,83 +1098,238 @@
'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' => 'The access area from which you use the Anycast EIP to communicate with the Internet.'."\n"
+ 'description' => 'The list of resource IDs.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n"
."\n"
- .'Set the value to **international**, which specifies the areas outside the Chinese mainland.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'international',
+ .'> You must specify at least one of **ResourceId.N** and **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'example' => 'aeip-2zeerraiwb7ujsxdc****', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 50,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource type. Valid values: **ANYCASTEIPADDRESS**.', 'type' => 'string', 'required' => true, 'example' => 'ANYCASTEIPADDRESS', 'title' => ''],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'The tag information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key of the resource. You can specify up to 20 tag keys. If you specify this parameter, the value cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify at least one of **ResourceId.N** and **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'example' => 'FinanceDept', 'title' => ''],
+ 'Value' => ['description' => 'The tag value of the resource. You can specify up to 20 tag values. If you specify this parameter, the value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> You must specify at least one of **ResourceId.N** and **Tag.N** (**Tag.N.Key** and **Tag.N.Value**).', 'type' => 'string', 'required' => false, 'example' => 'FinanceJoshua', 'title' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The pagination token. Valid values:'."\n"
+ ."\n"
+ .'- If this is the first query or no subsequent query is required, leave this parameter empty.'."\n"
+ ."\n"
+ .'- If a subsequent query is required, set the value to the **NextToken** value returned by the previous API call.', 'type' => 'string', 'required' => false, 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The maximum number of entries per page for a paged query. Valid values: **1** to **50**. Default value: **50**.', 'type' => 'string', 'required' => false, 'example' => '50', 'title' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'The response parameters.'."\n",
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF',
- ],
- 'Count' => [
- 'description' => 'The number of returned entries.'."\n",
- 'type' => 'string',
- 'example' => '1',
- ],
- 'AnycastServerRegionList' => [
- 'description' => 'The list of regions where you can associate Anycast EIPs with endpoints.'."\n",
+ 'NextToken' => ['description' => 'The pagination token. Valid values:'."\n"
+ .'- If **NextToken** is empty, no subsequent query exists.'."\n"
+ .'- If **NextToken** is returned, the value indicates the token for the next query.', 'type' => 'string', 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512', 'title' => ''],
+ 'TagResources' => [
+ 'description' => 'The information about the resources to which tags are bound.',
'type' => 'array',
'items' => [
- 'description' => '',
'type' => 'object',
'properties' => [
- 'RegionName' => [
- 'description' => 'The name of the region.'."\n",
- 'type' => 'string',
- 'example' => 'eu-west-1-gb33-a01',
- ],
- 'RegionId' => [
- 'description' => 'The ID of the region.'."\n",
- 'type' => 'string',
- 'example' => 'eu-west-1',
- ],
+ 'ResourceId' => ['description' => 'The resource ID.', 'type' => 'string', 'example' => 'aeip-2zeerraiwb7ujsxdc****', 'title' => ''],
+ 'ResourceType' => ['description' => 'The resource type. Valid values: **ANYCASTEIPADDRESS**.', 'type' => 'string', 'example' => 'ANYCASTEIPADDRESS', 'title' => ''],
+ 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'example' => 'FinanceJoshua', 'title' => ''],
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'example' => 'FinanceDept', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => 'DescribeAnycastServerRegions',
+ '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' => 'Query tags bound to instances',
+ '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' => '[{"errorExample":"","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}","type":"json"}]',
+ ],
+ 'ModifyAnycastEipAddressAttribute' => [
+ 'summary' => 'Changes the name and description of an Anycast EIP instance.',
+ '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' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The name must be 0 to 128 characters in length. It must start with a letter or a Chinese character. It can contain digits, underscores (\\_), and hyphens (-).', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'docname'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The description of the Anycast EIP instance.'."\n"
+ ."\n"
+ .'The description must be 0 to 256 characters in length and cannot start with `http://` or `https://`.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'docdesc'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'OperationUnsupported.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ['errorCode' => 'IllegalParameter.Name', 'errorMessage' => 'The specified Name is invalid.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'ModifyAnycastEipAddressAttribute',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
- ],
- 'TagResources' => [
- 'summary' => 'Creates and adds tags to resources.',
- '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' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyAnycastEipAddressSpec' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2058,358 +1341,395 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Bandwidth',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The peak bandwidth of the Anycast EIP instance. Unit: Mbps.'."\n"
+ ."\n"
+ .'Valid values: **200** to **1000**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '200'],
+ ],
+ [
+ 'name' => 'AnycastId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => 'The response.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10],
+ 'title' => 'ModifyAnycastEipAddressSpec',
+ 'summary' => 'Modifies the bandwidth of an Anycast EIP instance.',
+ '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' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
+ ],
+ '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' => 'The ID of the Anycast EIP instance that you want to release.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the RequestId of the request as the ClientToken. The RequestId of each API request may be different.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ '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' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', 'description' => ''],
+ ],
+ 503 => [
+ ['errorCode' => 'SystemBusy', 'errorMessage' => 'The system is busy. Please try again later.', 'description' => 'The system is currently busy, please try again later.'],
],
],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10],
+ 'title' => 'ReleaseAnycastEipAddress',
+ 'summary' => 'Releases an Anycast EIP instance.',
+ 'description' => 'Before you release an Anycast EIP instance, make sure that the instance is not associated with a cloud resource. For more information, see [](t2322843.xdita#).',
+ '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"}]',
+ 'extraInfo' => ' ',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Creates and attaches tags to specified resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
+ ],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The resource ID. You can specify at most 20 IDs.'."\n",
+ 'description' => 'The resource ID. You can specify up to 20 resource IDs.',
'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n"
- ."\n"
- .'> When you call this operation, **ResourceId.N** is required.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
+ 'items' => ['description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n"
+ ."\n"
+ .'> When you call this operation, you must specify the **ResourceId.N** parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
'required' => true,
'maxItems' => 50,
'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANYCASTEIPADDRESS',
- ],
+ 'schema' => ['description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ANYCASTEIPADDRESS'],
],
[
'name' => 'Tag',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The tag information.'."\n",
+ 'description' => 'The tag information.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'The tag information.',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'The key of tag N to add to the resource. You must enter at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n"
- ."\n"
- .'The tag key can be up to 128 characters in length and cannot start with acs: or aliyun. It cannot contain `http://` or `https://`.'."\n"
- ."\n"
- .'> When you call this operation, **Tag.N.Key** is required.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => 'The value of tag N to add to the resource. You must enter at least one tag value and at most 20 tag values. The tag value can be an empty string.'."\n"
- ."\n"
- .'It can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.'."\n"
- ."\n"
- .'> When you call this operation, **Tag.N.Value** is required.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
+ 'Key' => ['description' => 'The tag key of the resource. You must specify at least one tag key and at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ ."\n"
+ .'The tag key can be up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> When you call this operation, you must specify the **Tag.N.Key** parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'],
+ 'Value' => ['description' => 'The tag value of the resource. You must specify at least one tag value and at most 20 tag values. The tag value can be an empty string.'."\n"
+ ."\n"
+ .'The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.'."\n"
+ ."\n"
+ .'> When you call this operation, you must specify the **Tag.N.Value** parameter.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceJoshua'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => true,
'maxItems' => 21,
'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'BaseResult',
- 'description' => 'BaseResult'."\n",
+ 'title' => '',
+ 'description' => 'BaseResult',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the operation is successful. Valid values:'."\n"
- ."\n"
- .'**true**'."\n"
- ."\n"
- .'**false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0',
- ],
+ 'Success' => ['description' => 'Indicates whether the call is successful. Valid values:'."\n"
+ ."\n"
+ .'**true**: The call is successful.'."\n"
+ ."\n"
+ .'**false**: The call failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'],
],
+ 'example' => '',
],
],
],
'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' => 'TagResources',
- ],
- 'ListTagResources' => [
- 'summary' => 'Queries the tags that are added to resources.',
- 'methods' => [
- 'post',
- 'get',
+ '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' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","type":"json"}]',
+ ],
+ 'UnassociateAnycastEipAddress' => [
+ 'summary' => 'Disassociates an Anycast EIP from an endpoint.',
+ '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' => 'The resource IDs.'."\n",
- 'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n"
- ."\n"
- .'> You must specify **ResourceId.N** or **Tag.N** (**Tag.N.Key** or **Tag.N.Value**).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
- 'required' => false,
- 'maxItems' => 50,
- 'minItems' => 1,
- ],
+ 'schema' => ['description' => 'The ID of the endpoint from which you want to disassociate the Anycast EIP.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'lb-2zebb08phyczzawe****'],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'BindInstanceRegionId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANYCASTEIPADDRESS',
- ],
+ 'schema' => ['description' => 'The region where the endpoint is deployed.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'us-west-1'],
],
[
- 'name' => 'Tag',
+ 'name' => 'BindInstanceType',
'in' => 'query',
- 'style' => 'repeatList',
- 'schema' => [
- 'description' => 'The tag information.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'description' => 'The key of tag N. You can specify up to 20 tag keys. The tag key cannot be an empty string.'."\n"
- ."\n"
- .'The tag key can be a up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.'."\n"
- ."\n"
- .'> You must specify **ResourceId.N** or **Tag.N** (**Tag.N.Key** or **Tag.N.Value**).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
- 'Value' => [
- 'description' => 'The value of tag N. You can specify up to 20 tag values. The tag value can be an empty string.'."\n"
- ."\n"
- .'It can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.'."\n"
- ."\n"
- .'> You must specify **ResourceId.N** or **Tag.N** (**Tag.N.Key** or **Tag.N.Value**).'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceJoshua',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- 'maxItems' => 21,
- 'minItems' => 1,
- ],
+ 'schema' => ['description' => 'The type of endpoint from which you want to disassociate the Anycast EIP. Valid values:'."\n"
+ ."\n"
+ .'- **SlbInstance**: an internal-facing Server Load Balancer (SLB) instance that is deployed in a virtual private cloud (VPC)'."\n"
+ ."\n"
+ .'- **NetworkInterface**: elastic network interface (ENI)', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'SlbInstance'],
],
[
- 'name' => 'NextToken',
+ 'name' => 'AnycastId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n"
- ."\n"
- .'* If this is your first query or no next queries are to be sent, ignore this parameter.'."\n"
- .'* You must specify the token that is obtained from the previous query as the value of **NextToken**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
+ 'schema' => ['description' => 'The ID of the Anycast EIP.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'description' => 'The number of entries per page. Valid values: **1** to **50**. Default value: **50**.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => '50',
- ],
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to perform a dry run, without performing the actual request. Valid values:'."\n"
+ ."\n"
+ .'- **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.'."\n"
+ ."\n"
+ .'- **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ [
+ 'name' => 'PrivateIpAddress',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The secondary private IP address of the ENI from which you want to disassociate the Anycast EIP.'."\n"
+ ."\n"
+ .'This parameter is valid only when you set **BindInstanceType** to **NetworkInterface**. If you do not specify this parameter, the primary private IP address of the ENI is used.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '192.168.XX.XX'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'The pagination token that is used in the next request to retrieve a new page of results. Valid values:'."\n"
- ."\n"
- .'* If **NextToken** is empty, no next page exists.'."\n"
- .'* If a value is returned for **NextToken**, the value is the token that determines the start point of the next query.'."\n",
- 'type' => 'string',
- 'example' => 'FFmyTO70tTpLG6I3FmYAXGKPd****',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'DE65F6B7-7566-4802-9007-96F2494AC512',
- ],
- 'TagResources' => [
- 'description' => 'The resources to which the tags are added.'."\n",
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ResourceId' => [
- 'description' => 'The resource ID.'."\n",
- 'type' => 'string',
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
- 'ResourceType' => [
- 'description' => 'The resource type. Only **ANYCASTEIPADDRESS** may be returned.'."\n",
- 'type' => 'string',
- 'example' => 'ANYCASTEIPADDRESS',
- ],
- 'TagValue' => [
- 'description' => 'The value of tag N.'."\n",
- 'type' => 'string',
- 'example' => 'FinanceJoshua',
- ],
- 'TagKey' => [
- 'description' => 'The key of tag N.'."\n",
- 'type' => 'string',
- 'example' => 'FinanceDept',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133'],
],
- 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'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' => ''],
+ ['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' => ''],
+ ['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' => ''],
+ ['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' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ['errorCode' => 'ResourceNotFound.BindInstanceId', 'errorMessage' => 'Resource not found: The specified BindInstanceId does not exist.', 'description' => ''],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10],
+ 'title' => 'UnassociateAnycastEipAddress',
+ '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' => 'ListTagResources',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
],
'UntagResources' => [
- 'summary' => 'Removes tags from Anycast EIPs.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2421,9 +1741,7 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip70HI1T'],
],
'parameters' => [
[
@@ -2431,120 +1749,95 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n",
+ 'description' => 'The resource IDs. You can detach tags from a maximum of 20 resource IDs.',
'type' => 'array',
- 'items' => [
- 'description' => 'The resource ID. You can specify up to 20 resource IDs.'."\n",
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
+ 'items' => ['description' => 'The resource ID. You can detach tags from a maximum of 20 resource IDs.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'aeip-2zeerraiwb7ujsxdc****'],
'required' => true,
'maxItems' => 50,
'minItems' => 1,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.'."\n",
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANYCASTEIPADDRESS',
- ],
+ 'schema' => ['description' => 'The resource type. Set the value to **ANYCASTEIPADDRESS**.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'ANYCASTEIPADDRESS'],
],
[
'name' => 'TagKey',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. The tag key cannot be an empty string.'."\n"
+ 'description' => 'The tag keys that you want to detach. You can enter a maximum of 20 tag keys. If you specify this parameter, the value cannot be an empty string.'."\n"
."\n"
- .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain `http://` or `https://`.'."\n",
+ .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:. It also cannot contain `http://` or `https://`.',
'type' => 'array',
- 'items' => [
- 'description' => 'The key of the tag that you want to remove. You can specify at most 20 tag keys. It can be an empty string.'."\n"
- ."\n"
- .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain `http://` or `https://`.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'FinanceDept',
- ],
+ 'items' => ['description' => 'The tag key that you want to detach. You can enter a maximum of 20 tag keys. If you specify this parameter, the value can be an empty string.'."\n"
+ ."\n"
+ .'A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:. It also cannot contain http\\:// or https\\://.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'FinanceDept'],
'required' => false,
'maxItems' => 21,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'BaseResult',
- 'description' => 'BaseResult'."\n",
+ 'title' => '',
+ 'description' => 'BaseResult',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => 'Indicates whether the operation is successful. Valid values:'."\n"
- ."\n"
- .'**true**'."\n"
- ."\n"
- .'**false**'."\n",
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0',
- ],
+ 'Success' => ['description' => 'Indicates whether the call was successful. Valid values:'."\n"
+ ."\n"
+ .'**true**: The call was successful.'."\n"
+ ."\n"
+ .'**false**: The call failed.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'C46FF5A8-C5F0-4024-8262-B16B639225A0'],
],
+ 'example' => '',
],
],
],
'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' => 'UntagResources',
- ],
- 'ChangeResourceGroup' => [
- 'summary' => 'Changes the resource group to which an Anycast elastic IP address (EIP) belongs.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'summary' => 'Detaches tags from Anycast EIPs in a batch.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UntagResources'],
+ ],
+ ],
+ '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' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"C46FF5A8-C5F0-4024-8262-B16B639225A0\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateAnycastEipAddressAssociations' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2556,69 +1849,414 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREeip70HI1T',
- ],
+ 'abilityTreeNodes' => ['FEATUREeip2OM9BW'],
],
'parameters' => [
[
- 'name' => 'ResourceId',
+ 'name' => 'BindInstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => 'The resource ID.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aeip-2zeerraiwb7ujsxdc****',
- ],
+ 'schema' => ['description' => 'The ID of the cloud resource instance to be associated.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'lb-d7oxbixhxv1uupnon****'],
],
[
- 'name' => 'NewResourceGroupId',
+ 'name' => 'AnycastId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The ID of the Anycast EIP instance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'aeip-bp1ix34fralt4ykf3****'],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The client token that is used to ensure the idempotence of the request.'."\n"
+ ."\n"
+ .'The client generates the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.'."\n"
+ ."\n"
+ .'> If you do not specify this parameter, the system automatically uses the **RequestId** of the request as the **ClientToken**. The **RequestId** may be different for each request.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '02fb3da4-130e-11e9-8e44-001****'],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Specifies whether to perform a dry run. Valid values:'."\n"
+ ."\n"
+ .'- **true**: sends a check request and does not update the association. The system checks whether the required parameters are specified, the request format, and the service limits. If the check fails, the corresponding error is returned. If the check succeeds, the `DryRunOperation` error code is returned.'."\n"
+ ."\n"
+ .'- **false** (default): sends a normal request. After the request passes the check, an HTTP 2xx status code is returned and the operation is performed.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
+ ],
+ [
+ 'name' => 'PopLocationAddList',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'The ID of the resource group to which you want to move the resource.'."\n"
- .'> You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](~~158855~~)',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-aeky6b2jfeerxxx',
+ 'title' => '',
+ 'description' => 'The list of access areas and access points to be added.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of access areas and access points to be added.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PopLocation' => ['title' => '', 'description' => 'The access point of the access area to be added.'."\n"
+ ."\n"
+ .'You can call the [](t2322850.xdita#)operation to query information about the access points in supported access areas.', 'type' => 'string', 'required' => false, 'example' => 'us-west-1-pop'],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'example' => '',
],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'PopLocationDeleteList',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => 'The type of the resource for which you want to modify the resource group. Valid value: **ANYCASTEIPADDRESS**.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ANYCASTEIPADDRESS',
+ 'title' => '',
+ 'description' => 'The list of access areas and access points to be deleted.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The list of access points in the access areas to be deleted.'."\n"
+ ."\n"
+ .'> You cannot delete the access point of an access area if the cloud resource instance associated with the access point is the default origin server.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PopLocation' => ['title' => '', 'description' => 'The list of access points in the access areas to be deleted.'."\n"
+ ."\n"
+ .'> You cannot delete the access point of an access area if the cloud resource instance associated with the access point is the default origin server.', 'type' => 'string', 'required' => false, 'example' => 'eu-west-1-pop'],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'example' => '',
],
],
+ [
+ 'name' => 'AssociationMode',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'The association mode. Valid values:'."\n"
+ ."\n"
+ .'- **Default**: In this mode, the cloud resource instance to be associated is set as the default origin server.'."\n"
+ ."\n"
+ .'- **Normal**: In this mode, the cloud resource instance to be associated is set as a normal origin server.', 'type' => 'string', 'required' => false, 'example' => 'Default'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'The request ID.'."\n",
- 'type' => 'string',
- 'example' => 'FBDB18D8-E91E-4978-8D6C-6E2E3EE10133',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '4EC47282-1B74-4534-BD0E-403F3EE64CAF'],
],
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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' => ''],
+ ['errorCode' => 'ResourceNotFound.AnycastId', 'errorMessage' => 'The specified resource AnycastId is not found.', 'description' => ''],
+ ['errorCode' => 'IncorrectStatus.Anycast', 'errorMessage' => 'The status of the Anycast instance is invalid.', '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.ServiceManaged', 'errorMessage' => 'Operation is forbidden because this instance belongs to Service manager.', 'description' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'asynchronous', 'callback' => 'Eipanycast::2020-03-09::ListAnycastEipAddresses', 'callbackInterval' => 3000, 'maxCallbackTimes' => 10],
+ 'title' => 'UpdateAnycastEipAddressAssociations',
+ 'summary' => 'If an Anycast EIP instance is associated with backend resources in multiple regions, you can modify the mappings between access points and origin servers. You can call the UpdateAnycastEipAddressAssociations operation to add or remove access points for a specified origin server, which is an associated cloud resource instance.',
+ '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' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FBDB18D8-E91E-4978-8D6C-6E2E3EE10133\\"\\n}","type":"json"}]',
- 'title' => 'ChangeResourceGroup',
- 'translator' => 'machine',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4EC47282-1B74-4534-BD0E-403F3EE64CAF\\"\\n}","type":"json"}]',
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'eipanycast.cn-hangzhou.aliyuncs.com',
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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 check fails'],
+ ['code' => 'IllegalParam.MaxResult', 'message' => 'The specified MaxResult is invalid', 'http_code' => 400, 'description' => ''],
+ ['code' => 'IllegalParam.ServiceLocation', 'message' => 'The specified ServiceLocation is invalid.', 'http_code' => 400, 'description' => ''],
+ ['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' => ''],
+ ['code' => 'IllegalParameter.Name', 'message' => 'The specified Name is invalid.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'IncorrectStatus.Anycast', 'message' => 'The status of the Anycast instance is invalid.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'InstanceExist.Anycast', 'message' => 'The specified Anycast instance already exists.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'The specified SLB instance does not exist.'],
+ ['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' => 'The parameters AnycastId and Ip must be specified one.'],
+ ['code' => 'MissingParameter.AnycastId', 'message' => 'You must specify AnycastId.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'MissingParameter.ChargeType', 'message' => 'You must specify ChargeType.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'MissingParameter.InternetChargeType', 'message' => 'You must specify InternetChargeType.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'MissingParameter.ServiceLocation', 'message' => 'You must specify ServiceLocation.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'The operation failed because the specified instance is already bound to an EIP.'],
+ ['code' => 'OperationFailed.BindOnFreeNetworkInterface', 'message' => 'Operation failed because the specified network interface is not bound on instance.', 'http_code' => 400, 'description' => 'The operation failed because the specified ENI is not bound to the instance.'],
+ ['code' => 'OperationFailed.CdtNotOpened', 'message' => 'Operation failed because cdt not opened.', 'http_code' => 400, 'description' => 'Please activate CDT service before performing the current operation.'],
+ ['code' => 'OperationFailed.DeletedPopLocation', 'message' => 'The operation is failed because of added Pop Location is invalid.', 'http_code' => 400, 'description' => 'Since the specified POP region does not exist or has been offline, the operation shi'],
+ ['code' => 'OperationFailed.InvalidAvsVersion', 'message' => 'Operation failed because InvalidAvsVersion.', 'http_code' => 400, 'description' => 'The specified ECS instance does not support binding Anycast.'],
+ ['code' => 'OperationFailed.SetNormalAssociationMode', 'message' => 'The only associated instance must be default mode.', 'http_code' => 400, 'description' => 'Default mode must be used AnycastEIP there is only one binding instance.'],
+ ['code' => 'OperationUnsupported.BACKEND_REGION_NOT_OPEN', 'message' => 'The specified Region is not supported.', 'http_code' => 400, 'description' => 'The specified region is not supported.'],
+ ['code' => 'OperationUnsupported.ServiceManaged', 'message' => 'Operation is forbidden because this instance belongs to Service manager.', 'http_code' => 400, 'description' => 'The operation is prohibited and the instance belongs to a managed resource.'."\n"],
+ ['code' => 'ResourceNotFound.AnycastId', 'message' => 'The specified resource AnycastId is not found.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'ResourceNotFound.AnycastInstance', 'message' => 'The specified resource of %s is not found.', 'http_code' => 404, 'description' => 'The specified instance does not exist'],
+ ['code' => 'ResourceNotFound.BindInstanceId', 'message' => 'The specified resource BindInstanceId is not found.', 'http_code' => 400, 'description' => ''],
+ ['code' => 'SystemBusy', 'message' => 'The system is busy. Please try again later.', 'http_code' => 503, 'description' => 'The system is currently busy, please try again later.'],
+ ['code' => 'MissingParam.BindInstanceRegionId', 'message' => 'The parameter BindInstanceRegionId is mandatory.', 'http_code' => 400, 'description' => 'Parameter BindInstanceRegionId is required'],
+ ['code' => 'MissingParam.ResourceIdentifier', 'message' => 'Missing required parameter: Please provide at least one of AnycastId, IP, or BindInstanceId.', 'http_code' => 200, 'description' => ''],
+ ['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' => ''],
+ ['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' => ''],
+ ['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' => ''],
+ ['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' => ''],
+ ['code' => 'ResourceNotFound.BindInstanceId', 'message' => 'Resource not found: The specified BindInstanceId does not exist.', 'http_code' => 400, 'description' => ''],
+ ['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' => 'Quota Excess: The Anycast Elastic IP address has reached the upper limit and cannot be created. Apply for a quota increase or release useless resources.'],
+ ['code' => 'MissingParam.TagsAndResourceIds', 'message' => 'Missing required parameters: Tag and ResourceIds must both be provided in the request.', 'http_code' => 400, 'description' => 'Request is missing required parameter: Both Tag and ResourceIds parameters must be provided'],
+ ['code' => 'COMMODITY.INVALID_COMPONENT', 'message' => 'The order configuration parameters do not meet the validation criteria. Please reselect the products.', 'http_code' => 400, 'description' => 'Order configuration parameters do not meet the verification conditions, please re-match the goods!'],
+ ],
+ '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' => 'Elastic IP Address',
+ 'ramCodes' => ['eipanycast'],
+ 'ramLevel' => 'RESOURCE',
+ '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' => 'All Resource', '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' => '',
+ '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/*'],
],
],
];