|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Eipanycast\V20200309; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method AllocateAnycastEipAddress allocateAnycastEipAddress(array $options = []) |
|
9
|
|
|
* @method AssociateAnycastEipAddress associateAnycastEipAddress(array $options = []) |
|
10
|
|
|
* @method DescribeAnycastEipAddress describeAnycastEipAddress(array $options = []) |
|
11
|
|
|
* @method DescribeAnycastPopLocations describeAnycastPopLocations(array $options = []) |
|
12
|
|
|
* @method DescribeAnycastServerRegions describeAnycastServerRegions(array $options = []) |
|
13
|
|
|
* @method ListAnycastEipAddresses listAnycastEipAddresses(array $options = []) |
|
14
|
|
|
* @method ModifyAnycastEipAddressAttribute modifyAnycastEipAddressAttribute(array $options = []) |
|
15
|
|
|
* @method ModifyAnycastEipAddressSpec modifyAnycastEipAddressSpec(array $options = []) |
|
16
|
|
|
* @method ReleaseAnycastEipAddress releaseAnycastEipAddress(array $options = []) |
|
17
|
|
|
* @method UnassociateAnycastEipAddress unassociateAnycastEipAddress(array $options = []) |
|
18
|
|
|
*/ |
|
19
|
|
|
class EipanycastApiResolver extends ApiResolver |
|
20
|
|
|
{ |
|
21
|
|
|
} |
|
22
|
|
|
|
|
23
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
24
|
|
|
{ |
|
25
|
|
|
/** @var string */ |
|
26
|
|
|
public $product = 'Eipanycast'; |
|
27
|
|
|
|
|
28
|
|
|
/** @var string */ |
|
29
|
|
|
public $version = '2020-03-09'; |
|
30
|
|
|
|
|
31
|
|
|
/** @var string */ |
|
32
|
|
|
public $method = 'POST'; |
|
33
|
|
|
|
|
34
|
|
|
/** @var string */ |
|
35
|
|
|
public $serviceCode = 'eipanycast'; |
|
36
|
|
|
} |
|
37
|
|
|
|
|
38
|
|
|
/** |
|
39
|
|
|
* @method string getBandwidth() |
|
40
|
|
|
* @method $this withBandwidth($value) |
|
41
|
|
|
* @method string getServiceLocation() |
|
42
|
|
|
* @method $this withServiceLocation($value) |
|
43
|
|
|
* @method string getClientToken() |
|
44
|
|
|
* @method $this withClientToken($value) |
|
45
|
|
|
* @method string getDescription() |
|
46
|
|
|
* @method $this withDescription($value) |
|
47
|
|
|
* @method string getInternetChargeType() |
|
48
|
|
|
* @method $this withInternetChargeType($value) |
|
49
|
|
|
* @method string getName() |
|
50
|
|
|
* @method $this withName($value) |
|
51
|
|
|
* @method string getInstanceChargeType() |
|
52
|
|
|
* @method $this withInstanceChargeType($value) |
|
53
|
|
|
*/ |
|
54
|
|
|
class AllocateAnycastEipAddress extends Rpc |
|
55
|
|
|
{ |
|
56
|
|
|
} |
|
57
|
|
|
|
|
58
|
|
|
/** |
|
59
|
|
|
* @method string getDryRun() |
|
60
|
|
|
* @method $this withDryRun($value) |
|
61
|
|
|
* @method string getClientToken() |
|
62
|
|
|
* @method $this withClientToken($value) |
|
63
|
|
|
* @method string getBindInstanceType() |
|
64
|
|
|
* @method $this withBindInstanceType($value) |
|
65
|
|
|
* @method string getBindInstanceRegionId() |
|
66
|
|
|
* @method $this withBindInstanceRegionId($value) |
|
67
|
|
|
* @method string getAnycastId() |
|
68
|
|
|
* @method $this withAnycastId($value) |
|
69
|
|
|
* @method string getBindInstanceId() |
|
70
|
|
|
* @method $this withBindInstanceId($value) |
|
71
|
|
|
*/ |
|
72
|
|
|
class AssociateAnycastEipAddress extends Rpc |
|
73
|
|
|
{ |
|
74
|
|
|
} |
|
75
|
|
|
|
|
76
|
|
|
/** |
|
77
|
|
|
* @method string getAnycastId() |
|
78
|
|
|
* @method $this withAnycastId($value) |
|
79
|
|
|
* @method string getBindInstanceId() |
|
80
|
|
|
* @method $this withBindInstanceId($value) |
|
81
|
|
|
*/ |
|
82
|
|
|
class DescribeAnycastEipAddress extends Rpc |
|
83
|
|
|
{ |
|
84
|
|
|
} |
|
85
|
|
|
|
|
86
|
|
|
/** |
|
87
|
|
|
* @method string getServiceLocation() |
|
88
|
|
|
* @method $this withServiceLocation($value) |
|
89
|
|
|
*/ |
|
90
|
|
|
class DescribeAnycastPopLocations extends Rpc |
|
91
|
|
|
{ |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
/** |
|
95
|
|
|
* @method string getServiceLocation() |
|
96
|
|
|
* @method $this withServiceLocation($value) |
|
97
|
|
|
*/ |
|
98
|
|
|
class DescribeAnycastServerRegions extends Rpc |
|
99
|
|
|
{ |
|
100
|
|
|
} |
|
101
|
|
|
|
|
102
|
|
|
/** |
|
103
|
|
|
* @method string getBusinessStatus() |
|
104
|
|
|
* @method $this withBusinessStatus($value) |
|
105
|
|
|
* @method string getServiceLocation() |
|
106
|
|
|
* @method $this withServiceLocation($value) |
|
107
|
|
|
* @method string getAnycastEipAddress() |
|
108
|
|
|
* @method $this withAnycastEipAddress($value) |
|
109
|
|
|
* @method string getNextToken() |
|
110
|
|
|
* @method $this withNextToken($value) |
|
111
|
|
|
* @method string getInternetChargeType() |
|
112
|
|
|
* @method $this withInternetChargeType($value) |
|
113
|
|
|
* @method string getAnycastId() |
|
114
|
|
|
* @method $this withAnycastId($value) |
|
115
|
|
|
* @method string getName() |
|
116
|
|
|
* @method $this withName($value) |
|
117
|
|
|
* @method array getBindInstanceIds() |
|
118
|
|
|
* @method string getMaxResults() |
|
119
|
|
|
* @method $this withMaxResults($value) |
|
120
|
|
|
* @method string getInstanceChargeType() |
|
121
|
|
|
* @method $this withInstanceChargeType($value) |
|
122
|
|
|
* @method string getStatus() |
|
123
|
|
|
* @method $this withStatus($value) |
|
124
|
|
|
*/ |
|
125
|
|
|
class ListAnycastEipAddresses extends Rpc |
|
126
|
|
|
{ |
|
127
|
|
|
|
|
128
|
|
|
/** |
|
129
|
|
|
* @param array $bindInstanceIds |
|
130
|
|
|
* |
|
131
|
|
|
* @return $this |
|
132
|
|
|
*/ |
|
133
|
|
|
public function withBindInstanceIds(array $bindInstanceIds) |
|
134
|
|
|
{ |
|
135
|
|
|
$this->data['BindInstanceIds'] = $bindInstanceIds; |
|
136
|
|
|
foreach ($bindInstanceIds as $i => $iValue) { |
|
137
|
|
|
$this->options['query']['BindInstanceIds.' . ($i + 1)] = $iValue; |
|
138
|
|
|
} |
|
139
|
|
|
|
|
140
|
|
|
return $this; |
|
141
|
|
|
} |
|
142
|
|
|
} |
|
143
|
|
|
|
|
144
|
|
|
/** |
|
145
|
|
|
* @method string getDescription() |
|
146
|
|
|
* @method $this withDescription($value) |
|
147
|
|
|
* @method string getAnycastId() |
|
148
|
|
|
* @method $this withAnycastId($value) |
|
149
|
|
|
* @method string getName() |
|
150
|
|
|
* @method $this withName($value) |
|
151
|
|
|
*/ |
|
152
|
|
|
class ModifyAnycastEipAddressAttribute extends Rpc |
|
153
|
|
|
{ |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
|
|
/** |
|
157
|
|
|
* @method string getBandwidth() |
|
158
|
|
|
* @method $this withBandwidth($value) |
|
159
|
|
|
* @method string getAnycastId() |
|
160
|
|
|
* @method $this withAnycastId($value) |
|
161
|
|
|
*/ |
|
162
|
|
|
class ModifyAnycastEipAddressSpec extends Rpc |
|
163
|
|
|
{ |
|
164
|
|
|
} |
|
165
|
|
|
|
|
166
|
|
|
/** |
|
167
|
|
|
* @method string getClientToken() |
|
168
|
|
|
* @method $this withClientToken($value) |
|
169
|
|
|
* @method string getAnycastId() |
|
170
|
|
|
* @method $this withAnycastId($value) |
|
171
|
|
|
*/ |
|
172
|
|
|
class ReleaseAnycastEipAddress extends Rpc |
|
173
|
|
|
{ |
|
174
|
|
|
} |
|
175
|
|
|
|
|
176
|
|
|
/** |
|
177
|
|
|
* @method string getDryRun() |
|
178
|
|
|
* @method $this withDryRun($value) |
|
179
|
|
|
* @method string getClientToken() |
|
180
|
|
|
* @method $this withClientToken($value) |
|
181
|
|
|
* @method string getBindInstanceType() |
|
182
|
|
|
* @method $this withBindInstanceType($value) |
|
183
|
|
|
* @method string getBindInstanceRegionId() |
|
184
|
|
|
* @method $this withBindInstanceRegionId($value) |
|
185
|
|
|
* @method string getAnycastId() |
|
186
|
|
|
* @method $this withAnycastId($value) |
|
187
|
|
|
* @method string getBindInstanceId() |
|
188
|
|
|
* @method $this withBindInstanceId($value) |
|
189
|
|
|
*/ |
|
190
|
|
|
class UnassociateAnycastEipAddress extends Rpc |
|
191
|
|
|
{ |
|
192
|
|
|
} |
|
193
|
|
|
|