summaryrefslogtreecommitdiff
path: root/data/gwlb
diff options
context:
space:
mode:
Diffstat (limited to 'data/gwlb')
-rw-r--r--data/gwlb/2024-04-15/api-docs.php1798
1 files changed, 562 insertions, 1236 deletions
diff --git a/data/gwlb/2024-04-15/api-docs.php b/data/gwlb/2024-04-15/api-docs.php
index 7116f8c..bc58982 100644
--- a/data/gwlb/2024-04-15/api-docs.php
+++ b/data/gwlb/2024-04-15/api-docs.php
@@ -1,72 +1,13 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Gwlb',
- 'version' => '2024-04-15',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Gwlb', 'version' => '2024-04-15'],
'components' => [
'schemas' => [],
],
'apis' => [
- 'DescribeRegions' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'AcceptLanguage',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DescribeZones' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'AcceptLanguage',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'CreateLoadBalancer' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AddServersToServerGroup' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -75,32 +16,12 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'AddressIpVersion',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [],
- ],
- ],
- [
- 'name' => 'LoadBalancerName',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'VpcId',
+ 'name' => 'ServerGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ZoneMappings',
+ 'name' => 'Servers',
'in' => 'formData',
'style' => 'flat',
'schema' => [
@@ -110,77 +31,34 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'VSwitchId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ZoneId' => [
+ 'Port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'ServerId' => ['type' => 'string', 'required' => true],
+ 'ServerIp' => ['type' => 'string', 'required' => false],
+ 'ServerType' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['Ecs', 'Eni', 'Eci', 'Ip'],
],
],
],
- 'maxItems' => 20,
- ],
- ],
- [
- 'name' => 'Tag',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'maxItems' => 20,
- ],
- ],
- [
- 'name' => 'ResourceGroupId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'maxItems' => 200,
],
],
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateLoadBalancerAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateListener' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -191,159 +69,56 @@
[
'name' => 'LoadBalancerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LoadBalancerName',
+ 'name' => 'ListenerDescription',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DryRun',
+ 'name' => 'ServerGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'TcpIdleTimeout',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'TrafficMode',
+ 'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'UpdateLoadBalancerZones' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'LoadBalancerId',
+ 'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ZoneMappings',
+ 'name' => 'Tag',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'VSwitchId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ZoneId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
],
],
- [
- 'name' => 'DryRun',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'DeleteLoadBalancer' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'LoadBalancerId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'DryRun',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ClientToken',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
],
],
- 'ListLoadBalancers' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'CreateLoadBalancer' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -352,34 +127,6 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ZoneIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
- ],
- [
- 'name' => 'VpcIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
- ],
- [
'name' => 'AddressIpVersion',
'in' => 'formData',
'schema' => [
@@ -389,66 +136,34 @@
],
],
[
- 'name' => 'LoadBalancerStatus',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LoadBalancerBusinessStatus',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'LoadBalancerNames',
+ 'name' => 'LoadBalancerName',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'VpcId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'LoadBalancerIds',
+ 'name' => 'ZoneMappings',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'VSwitchId' => ['type' => 'string', 'required' => true],
+ 'ZoneId' => ['type' => 'string', 'required' => true],
+ ],
],
'maxItems' => 20,
],
],
[
- 'name' => 'TrafficMode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
'name' => 'Tag',
'in' => 'formData',
'style' => 'flat',
@@ -459,80 +174,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
],
],
[
- 'name' => 'NextToken',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MaxResults',
+ 'name' => 'ResourceGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Skip',
+ 'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'GetLoadBalancerAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'LoadBalancerId',
+ 'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'CreateServerGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -546,19 +214,13 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'Instance',
- 'Ip',
- ],
+ 'enum' => ['Instance', 'Ip'],
],
],
[
'name' => 'ServerGroupName',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Protocol',
@@ -566,9 +228,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'GENEVE',
- ],
+ 'enum' => ['GENEVE'],
],
],
[
@@ -577,11 +237,7 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- '5TCH',
- '3TCH',
- '2TCH',
- ],
+ 'enum' => ['5TCH', '3TCH', '2TCH'],
],
],
[
@@ -590,27 +246,18 @@
'schema' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'NoRebalance',
- 'Rebalance',
- ],
+ 'enum' => ['NoRebalance', 'Rebalance'],
],
],
[
'name' => 'VpcId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ResourceGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ConnectionDrainConfig',
@@ -620,15 +267,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'ConnectionDrainEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'ConnectionDrainTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'ConnectionDrainEnabled' => ['type' => 'boolean', 'required' => false],
+ 'ConnectionDrainTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
@@ -640,65 +280,30 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'HealthCheckConnectPort' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckConnectTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckDomain' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'HealthCheckEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'HealthCheckConnectPort' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckConnectTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckDomain' => ['type' => 'string', 'required' => false],
+ 'HealthCheckEnabled' => ['type' => 'boolean', 'required' => false],
'HealthCheckHttpCode' => [
'type' => 'array',
'required' => false,
'items' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'http_2xx',
- 'http_3xx',
- 'http_4xx',
- 'http_5xx',
- ],
+ 'enum' => ['http_2xx', 'http_3xx', 'http_4xx', 'http_5xx'],
],
],
- 'HealthCheckInterval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'HealthCheckInterval' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckPath' => ['type' => 'string', 'required' => false],
'HealthCheckProtocol' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'TCP',
- 'HTTP',
- ],
- ],
- 'HealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'UnhealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
+ 'enum' => ['TCP', 'HTTP'],
],
+ 'HealthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'UnhealthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckReq' => ['type' => 'string'],
+ 'HealthCheckExp' => ['type' => 'string'],
],
],
],
@@ -713,14 +318,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
@@ -729,29 +328,18 @@
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'UpdateServerGroupAttribute' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DeleteListener' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -760,161 +348,52 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServerGroupId',
+ 'name' => 'ListenerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ServerGroupName',
+ 'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'Scheduler',
+ 'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- '5TCH',
- '3TCH',
- '2TCH',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DeleteLoadBalancer' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ServerFailoverMode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'NoRebalance',
- 'Rebalance',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ConnectionDrainConfig',
+ 'name' => 'LoadBalancerId',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'ConnectionDrainEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'ConnectionDrainTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- [
- 'name' => 'HealthCheckConfig',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'HealthCheckConnectPort' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckConnectTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckDomain' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'HealthCheckEnabled' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'HealthCheckHttpCode' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'http_2xx',
- 'http_3xx',
- 'http_4xx',
- 'http_5xx',
- ],
- ],
- ],
- 'HealthCheckInterval' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'HealthCheckPath' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'HealthCheckProtocol' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'TCP',
- 'HTTP',
- ],
- ],
- 'HealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'UnhealthyThreshold' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'DeleteServerGroup' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -925,36 +404,23 @@
[
'name' => 'ServerGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'AddServersToServerGroup' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'DescribeRegions' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -963,77 +429,49 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServerGroupId',
+ 'name' => 'AcceptLanguage',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'DescribeZones' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Servers',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => true,
- 'items' => [
- 'type' => 'object',
- 'required' => false,
- 'properties' => [
- 'Port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'ServerId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ServerIp' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ServerType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Ecs',
- 'Eni',
- 'Eci',
- 'Ip',
- ],
- ],
- ],
- ],
- 'maxItems' => 200,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'DryRun',
+ 'name' => 'AcceptLanguage',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GetListenerAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'ClientToken',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ListenerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'RemoveServersFromServerGroup' => [
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetListenerHealthStatus' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1042,78 +480,76 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServerGroupId',
+ 'name' => 'ListenerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Servers',
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '1000'],
+ ],
+ [
+ 'name' => 'Skip',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'Filter',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => true,
+ 'required' => false,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Port' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'ServerId' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'ServerIp' => [
+ 'Name' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Status', 'ReasonCode', 'ServerId', 'ServerIp'],
],
- 'ServerType' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'Ecs',
- 'Eni',
- 'Eci',
- 'Ip',
- ],
+ 'Values' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
+ 'maxItems' => 20,
],
],
],
- 'maxItems' => 200,
+ 'minItems' => 1,
+ 'maxItems' => 20,
],
],
+ ],
+ ],
+ 'GetLoadBalancerAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'DryRun',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'ClientToken',
+ 'name' => 'LoadBalancerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
],
- 'ListServerGroups' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListListeners' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1122,52 +558,38 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServerGroupIds',
+ 'name' => 'ListenerIds',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
'maxItems' => 20,
],
],
[
- 'name' => 'ServerGroupNames',
+ 'name' => 'LoadBalancerIds',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
'maxItems' => 20,
],
],
[
- 'name' => 'ServerGroupType',
+ 'name' => 'NextToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Instance',
- 'Ip',
- ],
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ResourceGroupId',
+ 'name' => 'MaxResults',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Tag',
@@ -1180,63 +602,24 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
+ 'minItems' => 1,
'maxItems' => 20,
],
],
[
- 'name' => 'VpcId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'NextToken',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'MaxResults',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
'name' => 'Skip',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'ListServerGroupServers' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListLoadBalancers' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1245,132 +628,77 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ServerGroupId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ServerIds',
+ 'name' => 'ZoneIds',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 200,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'ServerIps',
+ 'name' => 'VpcIds',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'maxItems' => 200,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'AddressIpVersion',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => [],
],
],
[
- 'name' => 'MaxResults',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Skip',
+ 'name' => 'LoadBalancerStatus',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'CreateListener' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'LoadBalancerId',
+ 'name' => 'LoadBalancerBusinessStatus',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ListenerDescription',
+ 'name' => 'LoadBalancerNames',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'ServerGroupId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'TcpIdleTimeout',
+ 'name' => 'ResourceGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DryRun',
+ 'name' => 'LoadBalancerIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'TrafficMode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Tag',
@@ -1383,29 +711,33 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
],
],
+ [
+ 'name' => 'NextToken',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'Skip',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
],
- 'UpdateListenerAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListServerGroupServers' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1414,64 +746,52 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ListenerId',
+ 'name' => 'ServerGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'ListenerDescription',
+ 'name' => 'ServerIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 200,
],
],
[
- 'name' => 'ServerGroupId',
+ 'name' => 'ServerIps',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 200,
],
],
[
- 'name' => 'TcpIdleTimeout',
+ 'name' => 'NextToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'DryRun',
+ 'name' => 'MaxResults',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'Skip',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'DeleteListener' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'ListServerGroups' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1480,91 +800,110 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ListenerId',
+ 'name' => 'ServerGroupIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
- 'required' => true,
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'DryRun',
+ 'name' => 'ServerGroupNames',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'maxItems' => 20,
],
],
[
- 'name' => 'ClientToken',
+ 'name' => 'ServerGroupType',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => false,
+ 'enum' => ['Instance', 'Ip'],
],
],
- ],
- ],
- 'ListListeners' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ListenerIds',
+ 'name' => 'Tag',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
'required' => false,
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
+ ],
],
- 'minItems' => 1,
'maxItems' => 20,
],
],
[
- 'name' => 'LoadBalancerIds',
+ 'name' => 'VpcId',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'minItems' => 1,
- 'maxItems' => 20,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'NextToken',
'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'Skip',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ ],
+ ],
+ 'ListTagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'formData',
'schema' => [
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'enum' => [],
],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ResourceId',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
+ 'minItems' => 1,
+ 'maxItems' => 50,
],
],
[
@@ -1578,14 +917,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'minItems' => 1,
@@ -1593,24 +926,20 @@
],
],
[
- 'name' => 'Skip',
+ 'name' => 'NextToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'MaxResults',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'GetListenerAttribute' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'MoveResourceGroup' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1619,113 +948,90 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ListenerId',
+ 'name' => 'ResourceId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- ],
- 'GetListenerHealthStatus' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'NewResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
],
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'ListenerId',
+ 'name' => 'ResourceType',
'in' => 'formData',
'schema' => [
'type' => 'string',
'required' => true,
+ 'enum' => ['loadbalancer', 'servergroup'],
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'minimum' => '1',
- 'maximum' => '1000',
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'RemoveServersFromServerGroup' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Skip',
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ServerGroupId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'Filter',
+ 'name' => 'Servers',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Name' => [
+ 'Port' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'ServerId' => ['type' => 'string', 'required' => true],
+ 'ServerIp' => ['type' => 'string', 'required' => false],
+ 'ServerType' => [
'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'Status',
- 'ReasonCode',
- 'ServerId',
- 'ServerIp',
- ],
- ],
- 'Values' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'minItems' => 1,
- 'maxItems' => 20,
+ 'required' => true,
+ 'enum' => ['Ecs', 'Eni', 'Eci', 'Ip'],
],
],
],
- 'minItems' => 1,
- 'maxItems' => 20,
+ 'maxItems' => 200,
],
],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
],
'TagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1749,10 +1055,7 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 50,
],
@@ -1768,14 +1071,8 @@
'type' => 'object',
'required' => true,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Key' => ['type' => 'string', 'required' => true],
+ 'Value' => ['type' => 'string', 'required' => true],
],
],
'minItems' => 1,
@@ -1785,29 +1082,18 @@
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
'UntagResources' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1831,10 +1117,7 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 50,
],
@@ -1846,10 +1129,7 @@
'schema' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 20,
],
@@ -1857,37 +1137,65 @@
[
'name' => 'All',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'ListTagResources' => [
- 'methods' => [
- 'post',
- 'get',
+ 'UpdateListenerAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ListenerId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ListenerDescription',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'ServerGroupId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TcpIdleTimeout',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
],
+ ],
+ 'UpdateLoadBalancerAttribute' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1896,81 +1204,80 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ResourceType',
+ 'name' => 'LoadBalancerId',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [],
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'ResourceId',
+ 'name' => 'LoadBalancerName',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'minItems' => 1,
- 'maxItems' => 50,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'Tag',
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
+ 'name' => 'ClientToken',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'TrafficMode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ ],
+ ],
+ 'UpdateLoadBalancerZones' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'LoadBalancerId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ZoneMappings',
'in' => 'formData',
'style' => 'flat',
'schema' => [
'type' => 'array',
- 'required' => false,
+ 'required' => true,
'items' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'VSwitchId' => ['type' => 'string', 'required' => true],
+ 'ZoneId' => ['type' => 'string', 'required' => true],
],
],
- 'minItems' => 1,
'maxItems' => 20,
],
],
[
- 'name' => 'NextToken',
+ 'name' => 'DryRun',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'MaxResults',
+ 'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
- 'MoveResourceGroup' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'UpdateServerGroupAttribute' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -1979,88 +1286,107 @@
'deprecated' => false,
'parameters' => [
[
- 'name' => 'ResourceId',
+ 'name' => 'ServerGroupId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ServerGroupName',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'Scheduler',
'in' => 'formData',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['5TCH', '3TCH', '2TCH'],
],
],
[
- 'name' => 'NewResourceGroupId',
+ 'name' => 'ServerFailoverMode',
'in' => 'formData',
'schema' => [
'type' => 'string',
- 'required' => true,
+ 'required' => false,
+ 'enum' => ['NoRebalance', 'Rebalance'],
],
],
[
- 'name' => 'ResourceType',
+ 'name' => 'ConnectionDrainConfig',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'enum' => [
- 'loadbalancer',
- 'servergroup',
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'ConnectionDrainEnabled' => ['type' => 'boolean', 'required' => false],
+ 'ConnectionDrainTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
[
- 'name' => 'DryRun',
+ 'name' => 'HealthCheckConfig',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
'required' => false,
+ 'properties' => [
+ 'HealthCheckConnectPort' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckConnectTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckDomain' => ['type' => 'string', 'required' => false],
+ 'HealthCheckEnabled' => ['type' => 'boolean', 'required' => false],
+ 'HealthCheckHttpCode' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['http_2xx', 'http_3xx', 'http_4xx', 'http_5xx'],
+ ],
+ ],
+ 'HealthCheckInterval' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckPath' => ['type' => 'string', 'required' => false],
+ 'HealthCheckProtocol' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => ['TCP', 'HTTP'],
+ ],
+ 'HealthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'UnhealthyThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'HealthCheckReq' => ['type' => 'string'],
+ 'HealthCheckExp' => ['type' => 'string'],
+ ],
],
],
[
+ 'name' => 'DryRun',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false],
+ ],
+ [
'name' => 'ClientToken',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'gwlb.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'gwlb.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'gwlb.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'gwlb.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'gwlb.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'gwlb.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'gwlb.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'gwlb.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'gwlb.ap-southeast-3.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-shenzhen.aliyuncs.com', 'endpoint' => 'gwlb.cn-shenzhen.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'gwlb.cn-wulanchabu.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-beijing.aliyuncs.com', 'endpoint' => 'gwlb.cn-beijing.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.ap-northeast-1.aliyuncs.com', 'endpoint' => 'gwlb.ap-northeast-1.aliyuncs.com', 'vpc' => 'gwlb-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-shanghai.aliyuncs.com', 'endpoint' => 'gwlb.cn-shanghai.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-hongkong.aliyuncs.com', 'endpoint' => 'gwlb.cn-hongkong.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.ap-southeast-1.aliyuncs.com', 'endpoint' => 'gwlb.ap-southeast-1.aliyuncs.com', 'vpc' => 'gwlb-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.ap-southeast-3.aliyuncs.com', 'endpoint' => 'gwlb.ap-southeast-3.aliyuncs.com', 'vpc' => 'gwlb-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-7', 'regionName' => '泰国(曼谷)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.ap-southeast-7.aliyuncs.com', 'endpoint' => 'gwlb.ap-southeast-7.aliyuncs.com', 'vpc' => 'gwlb-vpc.ap-southeast-7.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.cn-hangzhou.aliyuncs.com', 'endpoint' => 'gwlb.cn-hangzhou.aliyuncs.com', 'vpc' => 'gwlb-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'gwlb.ap-southeast-8.aliyuncs.com', 'endpoint' => 'gwlb.ap-southeast-8.aliyuncs.com', 'vpc' => 'gwlb-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'gwlb.me-east-1.aliyuncs.com', 'endpoint' => 'gwlb.me-east-1.aliyuncs.com', 'vpc' => 'gwlb-vpc.me-east-1.aliyuncs.com'],
+ ['regionId' => 'me-central-1', 'regionName' => '沙特(利雅得)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'gwlb.me-central-1.aliyuncs.com', 'endpoint' => 'gwlb.me-central-1.aliyuncs.com', 'vpc' => 'gwlb-vpc.me-central-1.aliyuncs.com'],
],
];