1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Ga\V20191120; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method AddEntriesToAcl addEntriesToAcl(array $options = []) |
9
|
|
|
* @method AssociateAclsWithListener associateAclsWithListener(array $options = []) |
10
|
|
|
* @method AssociateAdditionalCertificatesWithListener associateAdditionalCertificatesWithListener(array $options = []) |
11
|
|
|
* @method AttachDdosToAccelerator attachDdosToAccelerator(array $options = []) |
12
|
|
|
* @method AttachLogStoreToEndpointGroup attachLogStoreToEndpointGroup(array $options = []) |
13
|
|
|
* @method BandwidthPackageAddAccelerator bandwidthPackageAddAccelerator(array $options = []) |
14
|
|
|
* @method BandwidthPackageRemoveAccelerator bandwidthPackageRemoveAccelerator(array $options = []) |
15
|
|
|
* @method ChangeResourceGroup changeResourceGroup(array $options = []) |
16
|
|
|
* @method ConfigEndpointProbe configEndpointProbe(array $options = []) |
17
|
|
|
* @method CreateAccelerator createAccelerator(array $options = []) |
18
|
|
|
* @method CreateAcl createAcl(array $options = []) |
19
|
|
|
* @method CreateApplicationMonitor createApplicationMonitor(array $options = []) |
20
|
|
|
* @method CreateBandwidthPackage createBandwidthPackage(array $options = []) |
21
|
|
|
* @method CreateBasicAccelerateIp createBasicAccelerateIp(array $options = []) |
22
|
|
|
* @method CreateBasicAccelerateIpEndpointRelation createBasicAccelerateIpEndpointRelation(array $options = []) |
23
|
|
|
* @method CreateBasicAccelerateIpEndpointRelations createBasicAccelerateIpEndpointRelations(array $options = []) |
24
|
|
|
* @method CreateBasicAccelerator createBasicAccelerator(array $options = []) |
25
|
|
|
* @method CreateBasicEndpoint createBasicEndpoint(array $options = []) |
26
|
|
|
* @method CreateBasicEndpointGroup createBasicEndpointGroup(array $options = []) |
27
|
|
|
* @method CreateBasicEndpoints createBasicEndpoints(array $options = []) |
28
|
|
|
* @method CreateBasicIpSet createBasicIpSet(array $options = []) |
29
|
|
|
* @method CreateCustomRoutingEndpointGroupDestinations createCustomRoutingEndpointGroupDestinations(array $options = []) |
30
|
|
|
* @method CreateCustomRoutingEndpointGroups createCustomRoutingEndpointGroups(array $options = []) |
31
|
|
|
* @method CreateCustomRoutingEndpoints createCustomRoutingEndpoints(array $options = []) |
32
|
|
|
* @method CreateCustomRoutingEndpointTrafficPolicies createCustomRoutingEndpointTrafficPolicies(array $options = []) |
33
|
|
|
* @method CreateDomain createDomain(array $options = []) |
34
|
|
|
* @method CreateEndpointGroup createEndpointGroup(array $options = []) |
35
|
|
|
* @method CreateEndpointGroups createEndpointGroups(array $options = []) |
36
|
|
|
* @method CreateForwardingRules createForwardingRules(array $options = []) |
37
|
|
|
* @method CreateIpSets createIpSets(array $options = []) |
38
|
|
|
* @method CreateListener createListener(array $options = []) |
39
|
|
|
* @method CreateSpareIps createSpareIps(array $options = []) |
40
|
|
|
* @method DeleteAccelerator deleteAccelerator(array $options = []) |
41
|
|
|
* @method DeleteAcl deleteAcl(array $options = []) |
42
|
|
|
* @method DeleteApplicationMonitor deleteApplicationMonitor(array $options = []) |
43
|
|
|
* @method DeleteBandwidthPackage deleteBandwidthPackage(array $options = []) |
44
|
|
|
* @method DeleteBasicAccelerateIp deleteBasicAccelerateIp(array $options = []) |
45
|
|
|
* @method DeleteBasicAccelerateIpEndpointRelation deleteBasicAccelerateIpEndpointRelation(array $options = []) |
46
|
|
|
* @method DeleteBasicAccelerator deleteBasicAccelerator(array $options = []) |
47
|
|
|
* @method DeleteBasicEndpoint deleteBasicEndpoint(array $options = []) |
48
|
|
|
* @method DeleteBasicEndpointGroup deleteBasicEndpointGroup(array $options = []) |
49
|
|
|
* @method DeleteBasicIpSet deleteBasicIpSet(array $options = []) |
50
|
|
|
* @method DeleteCustomRoutingEndpointGroupDestinations deleteCustomRoutingEndpointGroupDestinations(array $options = []) |
51
|
|
|
* @method DeleteCustomRoutingEndpointGroups deleteCustomRoutingEndpointGroups(array $options = []) |
52
|
|
|
* @method DeleteCustomRoutingEndpoints deleteCustomRoutingEndpoints(array $options = []) |
53
|
|
|
* @method DeleteCustomRoutingEndpointTrafficPolicies deleteCustomRoutingEndpointTrafficPolicies(array $options = []) |
54
|
|
|
* @method DeleteDomainAcceleratorRelation deleteDomainAcceleratorRelation(array $options = []) |
55
|
|
|
* @method DeleteEndpointGroup deleteEndpointGroup(array $options = []) |
56
|
|
|
* @method DeleteEndpointGroups deleteEndpointGroups(array $options = []) |
57
|
|
|
* @method DeleteForwardingRules deleteForwardingRules(array $options = []) |
58
|
|
|
* @method DeleteIpSet deleteIpSet(array $options = []) |
59
|
|
|
* @method DeleteIpSets deleteIpSets(array $options = []) |
60
|
|
|
* @method DeleteListener deleteListener(array $options = []) |
61
|
|
|
* @method DeleteSpareIps deleteSpareIps(array $options = []) |
62
|
|
|
* @method DescribeAccelerator describeAccelerator(array $options = []) |
63
|
|
|
* @method DescribeAcceleratorAutoRenewAttribute describeAcceleratorAutoRenewAttribute(array $options = []) |
64
|
|
|
* @method DescribeApplicationMonitor describeApplicationMonitor(array $options = []) |
65
|
|
|
* @method DescribeBandwidthPackage describeBandwidthPackage(array $options = []) |
66
|
|
|
* @method DescribeBandwidthPackageAutoRenewAttribute describeBandwidthPackageAutoRenewAttribute(array $options = []) |
67
|
|
|
* @method DescribeCommodity describeCommodity(array $options = []) |
68
|
|
|
* @method DescribeCommodityPrice describeCommodityPrice(array $options = []) |
69
|
|
|
* @method DescribeCustomRoutingEndpoint describeCustomRoutingEndpoint(array $options = []) |
70
|
|
|
* @method DescribeCustomRoutingEndpointGroup describeCustomRoutingEndpointGroup(array $options = []) |
71
|
|
|
* @method DescribeCustomRoutingEndpointGroupDestinations describeCustomRoutingEndpointGroupDestinations(array $options = []) |
72
|
|
|
* @method DescribeCustomRoutingEndPointTrafficPolicy describeCustomRoutingEndPointTrafficPolicy(array $options = []) |
73
|
|
|
* @method DescribeEndpointGroup describeEndpointGroup(array $options = []) |
74
|
|
|
* @method DescribeIpSet describeIpSet(array $options = []) |
75
|
|
|
* @method DescribeListener describeListener(array $options = []) |
76
|
|
|
* @method DescribeRegions describeRegions(array $options = []) |
77
|
|
|
* @method DetachDdosFromAccelerator detachDdosFromAccelerator(array $options = []) |
78
|
|
|
* @method DetachLogStoreFromEndpointGroup detachLogStoreFromEndpointGroup(array $options = []) |
79
|
|
|
* @method DetectApplicationMonitor detectApplicationMonitor(array $options = []) |
80
|
|
|
* @method DisableApplicationMonitor disableApplicationMonitor(array $options = []) |
81
|
|
|
* @method DissociateAclsFromListener dissociateAclsFromListener(array $options = []) |
82
|
|
|
* @method DissociateAdditionalCertificatesFromListener dissociateAdditionalCertificatesFromListener(array $options = []) |
83
|
|
|
* @method EnableApplicationMonitor enableApplicationMonitor(array $options = []) |
84
|
|
|
* @method GetAcl getAcl(array $options = []) |
85
|
|
|
* @method GetBasicAccelerateIp getBasicAccelerateIp(array $options = []) |
86
|
|
|
* @method GetBasicAccelerateIpEndpointRelation getBasicAccelerateIpEndpointRelation(array $options = []) |
87
|
|
|
* @method GetBasicAccelerateIpIdleCount getBasicAccelerateIpIdleCount(array $options = []) |
88
|
|
|
* @method GetBasicAccelerator getBasicAccelerator(array $options = []) |
89
|
|
|
* @method GetBasicEndpoint getBasicEndpoint(array $options = []) |
90
|
|
|
* @method GetBasicEndpointGroup getBasicEndpointGroup(array $options = []) |
91
|
|
|
* @method GetBasicIpSet getBasicIpSet(array $options = []) |
92
|
|
|
* @method GetHealthStatus getHealthStatus(array $options = []) |
93
|
|
|
* @method GetInvalidDomainCount getInvalidDomainCount(array $options = []) |
94
|
|
|
* @method GetIpsetsBandwidthLimit getIpsetsBandwidthLimit(array $options = []) |
95
|
|
|
* @method GetSpareIp getSpareIp(array $options = []) |
96
|
|
|
* @method ListAccelerateAreas listAccelerateAreas(array $options = []) |
97
|
|
|
* @method ListAccelerators listAccelerators(array $options = []) |
98
|
|
|
* @method ListAcls listAcls(array $options = []) |
99
|
|
|
* @method ListApplicationMonitor listApplicationMonitor(array $options = []) |
100
|
|
|
* @method ListApplicationMonitorDetectResult listApplicationMonitorDetectResult(array $options = []) |
101
|
|
|
* @method ListAvailableAccelerateAreas listAvailableAccelerateAreas(array $options = []) |
102
|
|
|
* @method ListAvailableBusiRegions listAvailableBusiRegions(array $options = []) |
103
|
|
|
* @method ListBandwidthackages listBandwidthackages(array $options = []) |
104
|
|
|
* @method ListBandwidthPackages listBandwidthPackages(array $options = []) |
105
|
|
|
* @method ListBasicAccelerateIpEndpointRelations listBasicAccelerateIpEndpointRelations(array $options = []) |
106
|
|
|
* @method ListBasicAccelerateIps listBasicAccelerateIps(array $options = []) |
107
|
|
|
* @method ListBasicAccelerators listBasicAccelerators(array $options = []) |
108
|
|
|
* @method ListBasicEndpoints listBasicEndpoints(array $options = []) |
109
|
|
|
* @method ListBusiRegions listBusiRegions(array $options = []) |
110
|
|
|
* @method ListCommonAreas listCommonAreas(array $options = []) |
111
|
|
|
* @method ListCustomRoutingEndpointGroupDestinations listCustomRoutingEndpointGroupDestinations(array $options = []) |
112
|
|
|
* @method ListCustomRoutingEndpointGroups listCustomRoutingEndpointGroups(array $options = []) |
113
|
|
|
* @method ListCustomRoutingEndpoints listCustomRoutingEndpoints(array $options = []) |
114
|
|
|
* @method ListCustomRoutingEndpointTrafficPolicies listCustomRoutingEndpointTrafficPolicies(array $options = []) |
115
|
|
|
* @method ListCustomRoutingPortMappings listCustomRoutingPortMappings(array $options = []) |
116
|
|
|
* @method ListCustomRoutingPortMappingsByDestination listCustomRoutingPortMappingsByDestination(array $options = []) |
117
|
|
|
* @method ListDomains listDomains(array $options = []) |
118
|
|
|
* @method ListEndpointGroups listEndpointGroups(array $options = []) |
119
|
|
|
* @method ListForwardingRules listForwardingRules(array $options = []) |
120
|
|
|
* @method ListIpSets listIpSets(array $options = []) |
121
|
|
|
* @method ListIspTypes listIspTypes(array $options = []) |
122
|
|
|
* @method ListListenerCertificates listListenerCertificates(array $options = []) |
123
|
|
|
* @method ListListeners listListeners(array $options = []) |
124
|
|
|
* @method ListSpareIps listSpareIps(array $options = []) |
125
|
|
|
* @method ListSystemSecurityPolicies listSystemSecurityPolicies(array $options = []) |
126
|
|
|
* @method ListTagResources listTagResources(array $options = []) |
127
|
|
|
* @method QueryCrossBorderApprovalStatus queryCrossBorderApprovalStatus(array $options = []) |
128
|
|
|
* @method RemoveEntriesFromAcl removeEntriesFromAcl(array $options = []) |
129
|
|
|
* @method ReplaceBandwidthPackage replaceBandwidthPackage(array $options = []) |
130
|
|
|
* @method TagResources tagResources(array $options = []) |
131
|
|
|
* @method UntagResources untagResources(array $options = []) |
132
|
|
|
* @method UpdateAccelerator updateAccelerator(array $options = []) |
133
|
|
|
* @method UpdateAcceleratorAutoRenewAttribute updateAcceleratorAutoRenewAttribute(array $options = []) |
134
|
|
|
* @method UpdateAcceleratorConfirm updateAcceleratorConfirm(array $options = []) |
135
|
|
|
* @method UpdateAcceleratorCrossBorderMode updateAcceleratorCrossBorderMode(array $options = []) |
136
|
|
|
* @method UpdateAclAttribute updateAclAttribute(array $options = []) |
137
|
|
|
* @method UpdateAdditionalCertificateWithListener updateAdditionalCertificateWithListener(array $options = []) |
138
|
|
|
* @method UpdateApplicationMonitor updateApplicationMonitor(array $options = []) |
139
|
|
|
* @method UpdateBandwidthPackagaAutoRenewAttribute updateBandwidthPackagaAutoRenewAttribute(array $options = []) |
140
|
|
|
* @method UpdateBandwidthPackage updateBandwidthPackage(array $options = []) |
141
|
|
|
* @method UpdateBasicAccelerator updateBasicAccelerator(array $options = []) |
142
|
|
|
* @method UpdateBasicEndpoint updateBasicEndpoint(array $options = []) |
143
|
|
|
* @method UpdateBasicEndpointGroup updateBasicEndpointGroup(array $options = []) |
144
|
|
|
* @method UpdateBasicIpSet updateBasicIpSet(array $options = []) |
145
|
|
|
* @method UpdateCustomRoutingEndpointGroupAttribute updateCustomRoutingEndpointGroupAttribute(array $options = []) |
146
|
|
|
* @method UpdateCustomRoutingEndpointGroupDestinations updateCustomRoutingEndpointGroupDestinations(array $options = []) |
147
|
|
|
* @method UpdateCustomRoutingEndpoints updateCustomRoutingEndpoints(array $options = []) |
148
|
|
|
* @method UpdateCustomRoutingEndpointTrafficPolicies updateCustomRoutingEndpointTrafficPolicies(array $options = []) |
149
|
|
|
* @method UpdateDomain updateDomain(array $options = []) |
150
|
|
|
* @method UpdateDomainState updateDomainState(array $options = []) |
151
|
|
|
* @method UpdateEndpointGroup updateEndpointGroup(array $options = []) |
152
|
|
|
* @method UpdateEndpointGroupAttribute updateEndpointGroupAttribute(array $options = []) |
153
|
|
|
* @method UpdateEndpointGroups updateEndpointGroups(array $options = []) |
154
|
|
|
* @method UpdateForwardingRules updateForwardingRules(array $options = []) |
155
|
|
|
* @method UpdateIpSet updateIpSet(array $options = []) |
156
|
|
|
* @method UpdateIpSets updateIpSets(array $options = []) |
157
|
|
|
* @method UpdateListener updateListener(array $options = []) |
158
|
|
|
*/ |
159
|
|
|
class GaApiResolver extends ApiResolver |
160
|
|
|
{ |
161
|
|
|
} |
162
|
|
|
|
163
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
164
|
|
|
{ |
165
|
|
|
/** @var string */ |
166
|
|
|
public $product = 'Ga'; |
167
|
|
|
|
168
|
|
|
/** @var string */ |
169
|
|
|
public $version = '2019-11-20'; |
170
|
|
|
|
171
|
|
|
/** @var string */ |
172
|
|
|
public $method = 'POST'; |
173
|
|
|
|
174
|
|
|
/** @var string */ |
175
|
|
|
public $serviceCode = 'gaplus'; |
176
|
|
|
} |
177
|
|
|
|
178
|
|
|
/** |
179
|
|
|
* @method string getAclId() |
180
|
|
|
* @method $this withAclId($value) |
181
|
|
|
* @method string getDryRun() |
182
|
|
|
* @method $this withDryRun($value) |
183
|
|
|
* @method string getClientToken() |
184
|
|
|
* @method $this withClientToken($value) |
185
|
|
|
* @method array getAclEntries() |
186
|
|
|
*/ |
187
|
|
|
class AddEntriesToAcl extends Rpc |
188
|
|
|
{ |
189
|
|
|
|
190
|
|
|
/** |
191
|
|
|
* @param array $aclEntries |
192
|
|
|
* |
193
|
|
|
* @return $this |
194
|
|
|
*/ |
195
|
|
|
public function withAclEntries(array $aclEntries) |
196
|
|
|
{ |
197
|
|
|
$this->data['AclEntries'] = $aclEntries; |
198
|
|
|
foreach ($aclEntries as $depth1 => $depth1Value) { |
199
|
|
|
if(isset($depth1Value['Entry'])){ |
200
|
|
|
$this->options['query']['AclEntries.' . ($depth1 + 1) . '.Entry'] = $depth1Value['Entry']; |
201
|
|
|
} |
202
|
|
|
if(isset($depth1Value['EntryDescription'])){ |
203
|
|
|
$this->options['query']['AclEntries.' . ($depth1 + 1) . '.EntryDescription'] = $depth1Value['EntryDescription']; |
204
|
|
|
} |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
return $this; |
208
|
|
|
} |
209
|
|
|
} |
210
|
|
|
|
211
|
|
|
/** |
212
|
|
|
* @method string getDryRun() |
213
|
|
|
* @method $this withDryRun($value) |
214
|
|
|
* @method string getClientToken() |
215
|
|
|
* @method $this withClientToken($value) |
216
|
|
|
* @method array getAclIds() |
217
|
|
|
* @method string getAclType() |
218
|
|
|
* @method $this withAclType($value) |
219
|
|
|
* @method string getListenerId() |
220
|
|
|
* @method $this withListenerId($value) |
221
|
|
|
*/ |
222
|
|
|
class AssociateAclsWithListener extends Rpc |
223
|
|
|
{ |
224
|
|
|
|
225
|
|
|
/** |
226
|
|
|
* @param array $aclIds |
227
|
|
|
* |
228
|
|
|
* @return $this |
229
|
|
|
*/ |
230
|
|
|
public function withAclIds(array $aclIds) |
231
|
|
|
{ |
232
|
|
|
$this->data['AclIds'] = $aclIds; |
233
|
|
|
foreach ($aclIds as $i => $iValue) { |
234
|
|
|
$this->options['query']['AclIds.' . ($i + 1)] = $iValue; |
235
|
|
|
} |
236
|
|
|
|
237
|
|
|
return $this; |
238
|
|
|
} |
239
|
|
|
} |
240
|
|
|
|
241
|
|
|
/** |
242
|
|
|
* @method string getClientToken() |
243
|
|
|
* @method $this withClientToken($value) |
244
|
|
|
* @method string getListenerId() |
245
|
|
|
* @method $this withListenerId($value) |
246
|
|
|
* @method array getCertificates() |
247
|
|
|
* @method string getAcceleratorId() |
248
|
|
|
* @method $this withAcceleratorId($value) |
249
|
|
|
*/ |
250
|
|
|
class AssociateAdditionalCertificatesWithListener extends Rpc |
251
|
|
|
{ |
252
|
|
|
|
253
|
|
|
/** |
254
|
|
|
* @param array $certificates |
255
|
|
|
* |
256
|
|
|
* @return $this |
257
|
|
|
*/ |
258
|
|
|
public function withCertificates(array $certificates) |
259
|
|
|
{ |
260
|
|
|
$this->data['Certificates'] = $certificates; |
261
|
|
|
foreach ($certificates as $depth1 => $depth1Value) { |
262
|
|
|
if(isset($depth1Value['Id'])){ |
263
|
|
|
$this->options['query']['Certificates.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
264
|
|
|
} |
265
|
|
|
if(isset($depth1Value['Domain'])){ |
266
|
|
|
$this->options['query']['Certificates.' . ($depth1 + 1) . '.Domain'] = $depth1Value['Domain']; |
267
|
|
|
} |
268
|
|
|
} |
269
|
|
|
|
270
|
|
|
return $this; |
271
|
|
|
} |
272
|
|
|
} |
273
|
|
|
|
274
|
|
|
/** |
275
|
|
|
* @method string getDdosId() |
276
|
|
|
* @method $this withDdosId($value) |
277
|
|
|
* @method string getDdosRegionId() |
278
|
|
|
* @method $this withDdosRegionId($value) |
279
|
|
|
* @method string getAcceleratorId() |
280
|
|
|
* @method $this withAcceleratorId($value) |
281
|
|
|
*/ |
282
|
|
|
class AttachDdosToAccelerator extends Rpc |
283
|
|
|
{ |
284
|
|
|
} |
285
|
|
|
|
286
|
|
|
/** |
287
|
|
|
* @method string getClientToken() |
288
|
|
|
* @method $this withClientToken($value) |
289
|
|
|
* @method string getSlsLogStoreName() |
290
|
|
|
* @method $this withSlsLogStoreName($value) |
291
|
|
|
* @method string getListenerId() |
292
|
|
|
* @method $this withListenerId($value) |
293
|
|
|
* @method array getEndpointGroupIds() |
294
|
|
|
* @method string getSlsProjectName() |
295
|
|
|
* @method $this withSlsProjectName($value) |
296
|
|
|
* @method string getSlsRegionId() |
297
|
|
|
* @method $this withSlsRegionId($value) |
298
|
|
|
* @method string getAcceleratorId() |
299
|
|
|
* @method $this withAcceleratorId($value) |
300
|
|
|
*/ |
301
|
|
|
class AttachLogStoreToEndpointGroup extends Rpc |
302
|
|
|
{ |
303
|
|
|
|
304
|
|
|
/** |
305
|
|
|
* @param array $endpointGroupIds |
306
|
|
|
* |
307
|
|
|
* @return $this |
308
|
|
|
*/ |
309
|
|
|
public function withEndpointGroupIds(array $endpointGroupIds) |
310
|
|
|
{ |
311
|
|
|
$this->data['EndpointGroupIds'] = $endpointGroupIds; |
312
|
|
|
foreach ($endpointGroupIds as $i => $iValue) { |
313
|
|
|
$this->options['query']['EndpointGroupIds.' . ($i + 1)] = $iValue; |
314
|
|
|
} |
315
|
|
|
|
316
|
|
|
return $this; |
317
|
|
|
} |
318
|
|
|
} |
319
|
|
|
|
320
|
|
|
/** |
321
|
|
|
* @method string getBandwidthPackageId() |
322
|
|
|
* @method $this withBandwidthPackageId($value) |
323
|
|
|
* @method string getAcceleratorId() |
324
|
|
|
* @method $this withAcceleratorId($value) |
325
|
|
|
*/ |
326
|
|
|
class BandwidthPackageAddAccelerator extends Rpc |
327
|
|
|
{ |
328
|
|
|
} |
329
|
|
|
|
330
|
|
|
/** |
331
|
|
|
* @method string getBandwidthPackageId() |
332
|
|
|
* @method $this withBandwidthPackageId($value) |
333
|
|
|
* @method string getAcceleratorId() |
334
|
|
|
* @method $this withAcceleratorId($value) |
335
|
|
|
*/ |
336
|
|
|
class BandwidthPackageRemoveAccelerator extends Rpc |
337
|
|
|
{ |
338
|
|
|
} |
339
|
|
|
|
340
|
|
|
/** |
341
|
|
|
* @method string getResourceId() |
342
|
|
|
* @method $this withResourceId($value) |
343
|
|
|
* @method string getClientToken() |
344
|
|
|
* @method $this withClientToken($value) |
345
|
|
|
* @method string getResourceType() |
346
|
|
|
* @method $this withResourceType($value) |
347
|
|
|
* @method string getNewResourceGroupId() |
348
|
|
|
* @method $this withNewResourceGroupId($value) |
349
|
|
|
*/ |
350
|
|
|
class ChangeResourceGroup extends Rpc |
351
|
|
|
{ |
352
|
|
|
} |
353
|
|
|
|
354
|
|
|
/** |
355
|
|
|
* @method string getClientToken() |
356
|
|
|
* @method $this withClientToken($value) |
357
|
|
|
* @method string getEndpoint() |
358
|
|
|
* @method $this withEndpoint($value) |
359
|
|
|
* @method string getEndpointType() |
360
|
|
|
* @method $this withEndpointType($value) |
361
|
|
|
* @method string getEnable() |
362
|
|
|
* @method $this withEnable($value) |
363
|
|
|
* @method string getProbeProtocol() |
364
|
|
|
* @method $this withProbeProtocol($value) |
365
|
|
|
* @method string getProbePort() |
366
|
|
|
* @method $this withProbePort($value) |
367
|
|
|
* @method string getEndpointGroupId() |
368
|
|
|
* @method $this withEndpointGroupId($value) |
369
|
|
|
*/ |
370
|
|
|
class ConfigEndpointProbe extends Rpc |
371
|
|
|
{ |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
/** |
375
|
|
|
* @method string getClientToken() |
376
|
|
|
* @method $this withClientToken($value) |
377
|
|
|
* @method array getSystemTag() |
378
|
|
|
* @method string getIpSetConfig() |
379
|
|
|
* @method $this withIpSetConfig($value) |
380
|
|
|
* @method string getAutoUseCoupon() |
381
|
|
|
* @method $this withAutoUseCoupon($value) |
382
|
|
|
* @method string getAutoRenewDuration() |
383
|
|
|
* @method $this withAutoRenewDuration($value) |
384
|
|
|
* @method string getSpec() |
385
|
|
|
* @method $this withSpec($value) |
386
|
|
|
* @method string getDuration() |
387
|
|
|
* @method $this withDuration($value) |
388
|
|
|
* @method string getResourceGroupId() |
389
|
|
|
* @method $this withResourceGroupId($value) |
390
|
|
|
* @method array getTag() |
391
|
|
|
* @method string getInstanceChargeType() |
392
|
|
|
* @method $this withInstanceChargeType($value) |
393
|
|
|
* @method string getAutoPay() |
394
|
|
|
* @method $this withAutoPay($value) |
395
|
|
|
* @method string getDryRun() |
396
|
|
|
* @method $this withDryRun($value) |
397
|
|
|
* @method string getPromotionOptionNo() |
398
|
|
|
* @method $this withPromotionOptionNo($value) |
399
|
|
|
* @method string getBandwidthBillingType() |
400
|
|
|
* @method $this withBandwidthBillingType($value) |
401
|
|
|
* @method string getAutoRenew() |
402
|
|
|
* @method $this withAutoRenew($value) |
403
|
|
|
* @method string getName() |
404
|
|
|
* @method $this withName($value) |
405
|
|
|
* @method string getPricingCycle() |
406
|
|
|
* @method $this withPricingCycle($value) |
407
|
|
|
*/ |
408
|
|
|
class CreateAccelerator extends Rpc |
409
|
|
|
{ |
410
|
|
|
|
411
|
|
|
/** |
412
|
|
|
* @param array $systemTag |
413
|
|
|
* |
414
|
|
|
* @return $this |
415
|
|
|
*/ |
416
|
|
|
public function withSystemTag(array $systemTag) |
417
|
|
|
{ |
418
|
|
|
$this->data['SystemTag'] = $systemTag; |
419
|
|
|
foreach ($systemTag as $depth1 => $depth1Value) { |
420
|
|
|
if(isset($depth1Value['Key'])){ |
421
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
422
|
|
|
} |
423
|
|
|
if(isset($depth1Value['Value'])){ |
424
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
425
|
|
|
} |
426
|
|
|
if(isset($depth1Value['Scope'])){ |
427
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Scope'] = $depth1Value['Scope']; |
428
|
|
|
} |
429
|
|
|
} |
430
|
|
|
|
431
|
|
|
return $this; |
432
|
|
|
} |
433
|
|
|
|
434
|
|
|
/** |
435
|
|
|
* @param array $tag |
436
|
|
|
* |
437
|
|
|
* @return $this |
438
|
|
|
*/ |
439
|
|
|
public function withTag(array $tag) |
440
|
|
|
{ |
441
|
|
|
$this->data['Tag'] = $tag; |
442
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
443
|
|
|
if(isset($depth1Value['Key'])){ |
444
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
445
|
|
|
} |
446
|
|
|
if(isset($depth1Value['Value'])){ |
447
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
448
|
|
|
} |
449
|
|
|
} |
450
|
|
|
|
451
|
|
|
return $this; |
452
|
|
|
} |
453
|
|
|
} |
454
|
|
|
|
455
|
|
|
/** |
456
|
|
|
* @method string getDryRun() |
457
|
|
|
* @method $this withDryRun($value) |
458
|
|
|
* @method string getAclName() |
459
|
|
|
* @method $this withAclName($value) |
460
|
|
|
* @method string getClientToken() |
461
|
|
|
* @method $this withClientToken($value) |
462
|
|
|
* @method array getSystemTag() |
463
|
|
|
* @method array getAclEntries() |
464
|
|
|
* @method string getAddressIPVersion() |
465
|
|
|
* @method $this withAddressIPVersion($value) |
466
|
|
|
* @method string getResourceGroupId() |
467
|
|
|
* @method $this withResourceGroupId($value) |
468
|
|
|
* @method array getTag() |
469
|
|
|
*/ |
470
|
|
|
class CreateAcl extends Rpc |
471
|
|
|
{ |
472
|
|
|
|
473
|
|
|
/** |
474
|
|
|
* @param array $systemTag |
475
|
|
|
* |
476
|
|
|
* @return $this |
477
|
|
|
*/ |
478
|
|
|
public function withSystemTag(array $systemTag) |
479
|
|
|
{ |
480
|
|
|
$this->data['SystemTag'] = $systemTag; |
481
|
|
|
foreach ($systemTag as $depth1 => $depth1Value) { |
482
|
|
|
if(isset($depth1Value['Key'])){ |
483
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
484
|
|
|
} |
485
|
|
|
if(isset($depth1Value['Value'])){ |
486
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
487
|
|
|
} |
488
|
|
|
if(isset($depth1Value['Scope'])){ |
489
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Scope'] = $depth1Value['Scope']; |
490
|
|
|
} |
491
|
|
|
} |
492
|
|
|
|
493
|
|
|
return $this; |
494
|
|
|
} |
495
|
|
|
|
496
|
|
|
/** |
497
|
|
|
* @param array $aclEntries |
498
|
|
|
* |
499
|
|
|
* @return $this |
500
|
|
|
*/ |
501
|
|
|
public function withAclEntries(array $aclEntries) |
502
|
|
|
{ |
503
|
|
|
$this->data['AclEntries'] = $aclEntries; |
504
|
|
|
foreach ($aclEntries as $depth1 => $depth1Value) { |
505
|
|
|
if(isset($depth1Value['Entry'])){ |
506
|
|
|
$this->options['query']['AclEntries.' . ($depth1 + 1) . '.Entry'] = $depth1Value['Entry']; |
507
|
|
|
} |
508
|
|
|
if(isset($depth1Value['EntryDescription'])){ |
509
|
|
|
$this->options['query']['AclEntries.' . ($depth1 + 1) . '.EntryDescription'] = $depth1Value['EntryDescription']; |
510
|
|
|
} |
511
|
|
|
} |
512
|
|
|
|
513
|
|
|
return $this; |
514
|
|
|
} |
515
|
|
|
|
516
|
|
|
/** |
517
|
|
|
* @param array $tag |
518
|
|
|
* |
519
|
|
|
* @return $this |
520
|
|
|
*/ |
521
|
|
|
public function withTag(array $tag) |
522
|
|
|
{ |
523
|
|
|
$this->data['Tag'] = $tag; |
524
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
525
|
|
|
if(isset($depth1Value['Key'])){ |
526
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
527
|
|
|
} |
528
|
|
|
if(isset($depth1Value['Value'])){ |
529
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
530
|
|
|
} |
531
|
|
|
} |
532
|
|
|
|
533
|
|
|
return $this; |
534
|
|
|
} |
535
|
|
|
} |
536
|
|
|
|
537
|
|
|
/** |
538
|
|
|
* @method string getAddress() |
539
|
|
|
* @method $this withAddress($value) |
540
|
|
|
* @method string getDetectEnable() |
541
|
|
|
* @method $this withDetectEnable($value) |
542
|
|
|
* @method string getClientToken() |
543
|
|
|
* @method $this withClientToken($value) |
544
|
|
|
* @method string getTaskName() |
545
|
|
|
* @method $this withTaskName($value) |
546
|
|
|
* @method string getDetectThreshold() |
547
|
|
|
* @method $this withDetectThreshold($value) |
548
|
|
|
* @method string getListenerId() |
549
|
|
|
* @method $this withListenerId($value) |
550
|
|
|
* @method string getOptionsJson() |
551
|
|
|
* @method $this withOptionsJson($value) |
552
|
|
|
* @method string getDetectTimes() |
553
|
|
|
* @method $this withDetectTimes($value) |
554
|
|
|
* @method string getAcceleratorId() |
555
|
|
|
* @method $this withAcceleratorId($value) |
556
|
|
|
* @method string getSilenceTime() |
557
|
|
|
* @method $this withSilenceTime($value) |
558
|
|
|
*/ |
559
|
|
|
class CreateApplicationMonitor extends Rpc |
560
|
|
|
{ |
561
|
|
|
} |
562
|
|
|
|
563
|
|
|
/** |
564
|
|
|
* @method string getBandwidthType() |
565
|
|
|
* @method $this withBandwidthType($value) |
566
|
|
|
* @method string getClientToken() |
567
|
|
|
* @method $this withClientToken($value) |
568
|
|
|
* @method array getSystemTag() |
569
|
|
|
* @method string getAutoUseCoupon() |
570
|
|
|
* @method $this withAutoUseCoupon($value) |
571
|
|
|
* @method string getType() |
572
|
|
|
* @method $this withType($value) |
573
|
|
|
* @method string getAutoRenewDuration() |
574
|
|
|
* @method $this withAutoRenewDuration($value) |
575
|
|
|
* @method string getDuration() |
576
|
|
|
* @method $this withDuration($value) |
577
|
|
|
* @method string getResourceGroupId() |
578
|
|
|
* @method $this withResourceGroupId($value) |
579
|
|
|
* @method array getTag() |
580
|
|
|
* @method string getAutoPay() |
581
|
|
|
* @method $this withAutoPay($value) |
582
|
|
|
* @method string getPromotionOptionNo() |
583
|
|
|
* @method $this withPromotionOptionNo($value) |
584
|
|
|
* @method string getBandwidth() |
585
|
|
|
* @method $this withBandwidth($value) |
586
|
|
|
* @method string getCbnGeographicRegionIdB() |
587
|
|
|
* @method $this withCbnGeographicRegionIdB($value) |
588
|
|
|
* @method string getCbnGeographicRegionIdA() |
589
|
|
|
* @method $this withCbnGeographicRegionIdA($value) |
590
|
|
|
* @method string getAutoRenew() |
591
|
|
|
* @method $this withAutoRenew($value) |
592
|
|
|
* @method string getBillingType() |
593
|
|
|
* @method $this withBillingType($value) |
594
|
|
|
* @method string getChargeType() |
595
|
|
|
* @method $this withChargeType($value) |
596
|
|
|
* @method string getPricingCycle() |
597
|
|
|
* @method $this withPricingCycle($value) |
598
|
|
|
* @method string getRatio() |
599
|
|
|
* @method $this withRatio($value) |
600
|
|
|
*/ |
601
|
|
|
class CreateBandwidthPackage extends Rpc |
602
|
|
|
{ |
603
|
|
|
|
604
|
|
|
/** |
605
|
|
|
* @param array $systemTag |
606
|
|
|
* |
607
|
|
|
* @return $this |
608
|
|
|
*/ |
609
|
|
|
public function withSystemTag(array $systemTag) |
610
|
|
|
{ |
611
|
|
|
$this->data['SystemTag'] = $systemTag; |
612
|
|
|
foreach ($systemTag as $depth1 => $depth1Value) { |
613
|
|
|
if(isset($depth1Value['Key'])){ |
614
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
615
|
|
|
} |
616
|
|
|
if(isset($depth1Value['Value'])){ |
617
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
618
|
|
|
} |
619
|
|
|
if(isset($depth1Value['Scope'])){ |
620
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Scope'] = $depth1Value['Scope']; |
621
|
|
|
} |
622
|
|
|
} |
623
|
|
|
|
624
|
|
|
return $this; |
625
|
|
|
} |
626
|
|
|
|
627
|
|
|
/** |
628
|
|
|
* @param array $tag |
629
|
|
|
* |
630
|
|
|
* @return $this |
631
|
|
|
*/ |
632
|
|
|
public function withTag(array $tag) |
633
|
|
|
{ |
634
|
|
|
$this->data['Tag'] = $tag; |
635
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
636
|
|
|
if(isset($depth1Value['Key'])){ |
637
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
638
|
|
|
} |
639
|
|
|
if(isset($depth1Value['Value'])){ |
640
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
641
|
|
|
} |
642
|
|
|
} |
643
|
|
|
|
644
|
|
|
return $this; |
645
|
|
|
} |
646
|
|
|
} |
647
|
|
|
|
648
|
|
|
/** |
649
|
|
|
* @method string getClientToken() |
650
|
|
|
* @method $this withClientToken($value) |
651
|
|
|
* @method string getIpSetId() |
652
|
|
|
* @method $this withIpSetId($value) |
653
|
|
|
* @method string getAcceleratorId() |
654
|
|
|
* @method $this withAcceleratorId($value) |
655
|
|
|
*/ |
656
|
|
|
class CreateBasicAccelerateIp extends Rpc |
657
|
|
|
{ |
658
|
|
|
} |
659
|
|
|
|
660
|
|
|
/** |
661
|
|
|
* @method string getClientToken() |
662
|
|
|
* @method $this withClientToken($value) |
663
|
|
|
* @method string getEndpointId() |
664
|
|
|
* @method $this withEndpointId($value) |
665
|
|
|
* @method string getAccelerateIpId() |
666
|
|
|
* @method $this withAccelerateIpId($value) |
667
|
|
|
* @method string getAcceleratorId() |
668
|
|
|
* @method $this withAcceleratorId($value) |
669
|
|
|
*/ |
670
|
|
|
class CreateBasicAccelerateIpEndpointRelation extends Rpc |
671
|
|
|
{ |
672
|
|
|
} |
673
|
|
|
|
674
|
|
|
/** |
675
|
|
|
* @method string getClientToken() |
676
|
|
|
* @method $this withClientToken($value) |
677
|
|
|
* @method string getAcceleratorId() |
678
|
|
|
* @method $this withAcceleratorId($value) |
679
|
|
|
* @method string getAccelerateIpEndpointRelations() |
680
|
|
|
* @method $this withAccelerateIpEndpointRelations($value) |
681
|
|
|
*/ |
682
|
|
|
class CreateBasicAccelerateIpEndpointRelations extends Rpc |
683
|
|
|
{ |
684
|
|
|
} |
685
|
|
|
|
686
|
|
|
/** |
687
|
|
|
* @method string getClientToken() |
688
|
|
|
* @method $this withClientToken($value) |
689
|
|
|
* @method array getSystemTag() |
690
|
|
|
* @method string getAutoUseCoupon() |
691
|
|
|
* @method $this withAutoUseCoupon($value) |
692
|
|
|
* @method string getAutoRenewDuration() |
693
|
|
|
* @method $this withAutoRenewDuration($value) |
694
|
|
|
* @method string getDuration() |
695
|
|
|
* @method $this withDuration($value) |
696
|
|
|
* @method string getResourceGroupId() |
697
|
|
|
* @method $this withResourceGroupId($value) |
698
|
|
|
* @method array getTag() |
699
|
|
|
* @method string getAutoPay() |
700
|
|
|
* @method $this withAutoPay($value) |
701
|
|
|
* @method string getDryRun() |
702
|
|
|
* @method $this withDryRun($value) |
703
|
|
|
* @method string getPromotionOptionNo() |
704
|
|
|
* @method $this withPromotionOptionNo($value) |
705
|
|
|
* @method string getBandwidthBillingType() |
706
|
|
|
* @method $this withBandwidthBillingType($value) |
707
|
|
|
* @method string getAutoRenew() |
708
|
|
|
* @method $this withAutoRenew($value) |
709
|
|
|
* @method string getChargeType() |
710
|
|
|
* @method $this withChargeType($value) |
711
|
|
|
* @method string getPricingCycle() |
712
|
|
|
* @method $this withPricingCycle($value) |
713
|
|
|
*/ |
714
|
|
|
class CreateBasicAccelerator extends Rpc |
715
|
|
|
{ |
716
|
|
|
|
717
|
|
|
/** |
718
|
|
|
* @param array $systemTag |
719
|
|
|
* |
720
|
|
|
* @return $this |
721
|
|
|
*/ |
722
|
|
|
public function withSystemTag(array $systemTag) |
723
|
|
|
{ |
724
|
|
|
$this->data['SystemTag'] = $systemTag; |
725
|
|
|
foreach ($systemTag as $depth1 => $depth1Value) { |
726
|
|
|
if(isset($depth1Value['Key'])){ |
727
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
728
|
|
|
} |
729
|
|
|
if(isset($depth1Value['Value'])){ |
730
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
731
|
|
|
} |
732
|
|
|
if(isset($depth1Value['Scope'])){ |
733
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Scope'] = $depth1Value['Scope']; |
734
|
|
|
} |
735
|
|
|
} |
736
|
|
|
|
737
|
|
|
return $this; |
738
|
|
|
} |
739
|
|
|
|
740
|
|
|
/** |
741
|
|
|
* @param array $tag |
742
|
|
|
* |
743
|
|
|
* @return $this |
744
|
|
|
*/ |
745
|
|
|
public function withTag(array $tag) |
746
|
|
|
{ |
747
|
|
|
$this->data['Tag'] = $tag; |
748
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
749
|
|
|
if(isset($depth1Value['Key'])){ |
750
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
751
|
|
|
} |
752
|
|
|
if(isset($depth1Value['Value'])){ |
753
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
754
|
|
|
} |
755
|
|
|
} |
756
|
|
|
|
757
|
|
|
return $this; |
758
|
|
|
} |
759
|
|
|
} |
760
|
|
|
|
761
|
|
|
/** |
762
|
|
|
* @method string getEndpointZoneId() |
763
|
|
|
* @method $this withEndpointZoneId($value) |
764
|
|
|
* @method string getEndpointSubAddressType() |
765
|
|
|
* @method $this withEndpointSubAddressType($value) |
766
|
|
|
* @method string getClientToken() |
767
|
|
|
* @method $this withClientToken($value) |
768
|
|
|
* @method string getEndpointAddress() |
769
|
|
|
* @method $this withEndpointAddress($value) |
770
|
|
|
* @method string getEndpointType() |
771
|
|
|
* @method $this withEndpointType($value) |
772
|
|
|
* @method string getName() |
773
|
|
|
* @method $this withName($value) |
774
|
|
|
* @method string getAcceleratorId() |
775
|
|
|
* @method $this withAcceleratorId($value) |
776
|
|
|
* @method string getEndpointSubAddress() |
777
|
|
|
* @method $this withEndpointSubAddress($value) |
778
|
|
|
* @method string getEndpointGroupId() |
779
|
|
|
* @method $this withEndpointGroupId($value) |
780
|
|
|
*/ |
781
|
|
|
class CreateBasicEndpoint extends Rpc |
782
|
|
|
{ |
783
|
|
|
} |
784
|
|
|
|
785
|
|
|
/** |
786
|
|
|
* @method string getClientToken() |
787
|
|
|
* @method $this withClientToken($value) |
788
|
|
|
* @method string getDescription() |
789
|
|
|
* @method $this withDescription($value) |
790
|
|
|
* @method string getEndpointAddress() |
791
|
|
|
* @method $this withEndpointAddress($value) |
792
|
|
|
* @method string getEndpointGroupRegion() |
793
|
|
|
* @method $this withEndpointGroupRegion($value) |
794
|
|
|
* @method string getEndpointType() |
795
|
|
|
* @method $this withEndpointType($value) |
796
|
|
|
* @method string getName() |
797
|
|
|
* @method $this withName($value) |
798
|
|
|
* @method string getAcceleratorId() |
799
|
|
|
* @method $this withAcceleratorId($value) |
800
|
|
|
* @method string getEndpointSubAddress() |
801
|
|
|
* @method $this withEndpointSubAddress($value) |
802
|
|
|
*/ |
803
|
|
|
class CreateBasicEndpointGroup extends Rpc |
804
|
|
|
{ |
805
|
|
|
} |
806
|
|
|
|
807
|
|
|
/** |
808
|
|
|
* @method string getEndpoints() |
809
|
|
|
* @method $this withEndpoints($value) |
810
|
|
|
* @method string getClientToken() |
811
|
|
|
* @method $this withClientToken($value) |
812
|
|
|
* @method string getAcceleratorId() |
813
|
|
|
* @method $this withAcceleratorId($value) |
814
|
|
|
* @method string getEndpointGroupId() |
815
|
|
|
* @method $this withEndpointGroupId($value) |
816
|
|
|
*/ |
817
|
|
|
class CreateBasicEndpoints extends Rpc |
818
|
|
|
{ |
819
|
|
|
} |
820
|
|
|
|
821
|
|
|
/** |
822
|
|
|
* @method string getClientToken() |
823
|
|
|
* @method $this withClientToken($value) |
824
|
|
|
* @method string getBandwidth() |
825
|
|
|
* @method $this withBandwidth($value) |
826
|
|
|
* @method string getIspType() |
827
|
|
|
* @method $this withIspType($value) |
828
|
|
|
* @method string getAccelerateRegionId() |
829
|
|
|
* @method $this withAccelerateRegionId($value) |
830
|
|
|
* @method string getAcceleratorId() |
831
|
|
|
* @method $this withAcceleratorId($value) |
832
|
|
|
*/ |
833
|
|
|
class CreateBasicIpSet extends Rpc |
834
|
|
|
{ |
835
|
|
|
} |
836
|
|
|
|
837
|
|
|
/** |
838
|
|
|
* @method string getDryRun() |
839
|
|
|
* @method $this withDryRun($value) |
840
|
|
|
* @method string getClientToken() |
841
|
|
|
* @method $this withClientToken($value) |
842
|
|
|
* @method array getDestinationConfigurations() |
843
|
|
|
* @method string getEndpointGroupId() |
844
|
|
|
* @method $this withEndpointGroupId($value) |
845
|
|
|
*/ |
846
|
|
|
class CreateCustomRoutingEndpointGroupDestinations extends Rpc |
847
|
|
|
{ |
848
|
|
|
|
849
|
|
|
/** |
850
|
|
|
* @param array $destinationConfigurations |
851
|
|
|
* |
852
|
|
|
* @return $this |
853
|
|
|
*/ |
854
|
|
|
public function withDestinationConfigurations(array $destinationConfigurations) |
855
|
|
|
{ |
856
|
|
|
$this->data['DestinationConfigurations'] = $destinationConfigurations; |
857
|
|
|
foreach ($destinationConfigurations as $depth1 => $depth1Value) { |
858
|
|
|
foreach ($depth1Value['Protocols'] as $i => $iValue) { |
859
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.Protocols.' . ($i + 1)] = $iValue; |
860
|
|
|
} |
861
|
|
|
if(isset($depth1Value['FromPort'])){ |
862
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
863
|
|
|
} |
864
|
|
|
if(isset($depth1Value['ToPort'])){ |
865
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
866
|
|
|
} |
867
|
|
|
} |
868
|
|
|
|
869
|
|
|
return $this; |
870
|
|
|
} |
871
|
|
|
} |
872
|
|
|
|
873
|
|
|
/** |
874
|
|
|
* @method string getDryRun() |
875
|
|
|
* @method $this withDryRun($value) |
876
|
|
|
* @method string getClientToken() |
877
|
|
|
* @method $this withClientToken($value) |
878
|
|
|
* @method array getEndpointGroupConfigurations() |
879
|
|
|
* @method string getListenerId() |
880
|
|
|
* @method $this withListenerId($value) |
881
|
|
|
* @method string getAcceleratorId() |
882
|
|
|
* @method $this withAcceleratorId($value) |
883
|
|
|
*/ |
884
|
|
|
class CreateCustomRoutingEndpointGroups extends Rpc |
885
|
|
|
{ |
886
|
|
|
|
887
|
|
|
/** |
888
|
|
|
* @param array $endpointGroupConfigurations |
889
|
|
|
* |
890
|
|
|
* @return $this |
891
|
|
|
*/ |
892
|
|
|
public function withEndpointGroupConfigurations(array $endpointGroupConfigurations) |
893
|
|
|
{ |
894
|
|
|
$this->data['EndpointGroupConfigurations'] = $endpointGroupConfigurations; |
895
|
|
|
foreach ($endpointGroupConfigurations as $depth1 => $depth1Value) { |
896
|
|
|
if(isset($depth1Value['EndpointGroupRegion'])){ |
897
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupRegion'] = $depth1Value['EndpointGroupRegion']; |
898
|
|
|
} |
899
|
|
|
if(isset($depth1Value['Name'])){ |
900
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name']; |
901
|
|
|
} |
902
|
|
|
if(isset($depth1Value['Description'])){ |
903
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.Description'] = $depth1Value['Description']; |
904
|
|
|
} |
905
|
|
|
foreach ($depth1Value['DestinationConfigurations'] as $depth2 => $depth2Value) { |
906
|
|
|
foreach ($depth2Value['Protocols'] as $i => $iValue) { |
907
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.DestinationConfigurations.' . ($depth2 + 1) . '.Protocols.' . ($i + 1)] = $iValue; |
908
|
|
|
} |
909
|
|
|
if(isset($depth2Value['FromPort'])){ |
910
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.DestinationConfigurations.' . ($depth2 + 1) . '.FromPort'] = $depth2Value['FromPort']; |
911
|
|
|
} |
912
|
|
|
if(isset($depth2Value['ToPort'])){ |
913
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.DestinationConfigurations.' . ($depth2 + 1) . '.ToPort'] = $depth2Value['ToPort']; |
914
|
|
|
} |
915
|
|
|
} |
916
|
|
|
foreach ($depth1Value['EndpointConfigurations'] as $depth2 => $depth2Value) { |
917
|
|
|
if(isset($depth2Value['Type'])){ |
918
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Type'] = $depth2Value['Type']; |
919
|
|
|
} |
920
|
|
|
if(isset($depth2Value['Endpoint'])){ |
921
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Endpoint'] = $depth2Value['Endpoint']; |
922
|
|
|
} |
923
|
|
|
if(isset($depth2Value['TrafficToEndpointPolicy'])){ |
924
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.TrafficToEndpointPolicy'] = $depth2Value['TrafficToEndpointPolicy']; |
925
|
|
|
} |
926
|
|
|
foreach ($depth2Value['PolicyConfigurations'] as $depth3 => $depth3Value) { |
927
|
|
|
if(isset($depth3Value['Address'])){ |
928
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.PolicyConfigurations.' . ($depth3 + 1) . '.Address'] = $depth3Value['Address']; |
929
|
|
|
} |
930
|
|
|
foreach ($depth3Value['PortRanges'] as $depth4 => $depth4Value) { |
931
|
|
|
if(isset($depth4Value['FromPort'])){ |
932
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.PolicyConfigurations.' . ($depth3 + 1) . '.PortRanges.' . ($depth4 + 1) . '.FromPort'] = $depth4Value['FromPort']; |
933
|
|
|
} |
934
|
|
|
if(isset($depth4Value['ToPort'])){ |
935
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.PolicyConfigurations.' . ($depth3 + 1) . '.PortRanges.' . ($depth4 + 1) . '.ToPort'] = $depth4Value['ToPort']; |
936
|
|
|
} |
937
|
|
|
} |
938
|
|
|
} |
939
|
|
|
} |
940
|
|
|
} |
941
|
|
|
|
942
|
|
|
return $this; |
943
|
|
|
} |
944
|
|
|
} |
945
|
|
|
|
946
|
|
|
/** |
947
|
|
|
* @method string getClientToken() |
948
|
|
|
* @method $this withClientToken($value) |
949
|
|
|
* @method array getEndpointConfigurations() |
950
|
|
|
* @method string getEndpointGroupId() |
951
|
|
|
* @method $this withEndpointGroupId($value) |
952
|
|
|
*/ |
953
|
|
|
class CreateCustomRoutingEndpoints extends Rpc |
954
|
|
|
{ |
955
|
|
|
|
956
|
|
|
/** |
957
|
|
|
* @param array $endpointConfigurations |
958
|
|
|
* |
959
|
|
|
* @return $this |
960
|
|
|
*/ |
961
|
|
|
public function withEndpointConfigurations(array $endpointConfigurations) |
962
|
|
|
{ |
963
|
|
|
$this->data['EndpointConfigurations'] = $endpointConfigurations; |
964
|
|
|
foreach ($endpointConfigurations as $depth1 => $depth1Value) { |
965
|
|
|
if(isset($depth1Value['Type'])){ |
966
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
967
|
|
|
} |
968
|
|
|
if(isset($depth1Value['Endpoint'])){ |
969
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Endpoint'] = $depth1Value['Endpoint']; |
970
|
|
|
} |
971
|
|
|
if(isset($depth1Value['TrafficToEndpointPolicy'])){ |
972
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.TrafficToEndpointPolicy'] = $depth1Value['TrafficToEndpointPolicy']; |
973
|
|
|
} |
974
|
|
|
foreach ($depth1Value['PolicyConfigurations'] as $depth2 => $depth2Value) { |
975
|
|
|
if(isset($depth2Value['Address'])){ |
976
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.Address'] = $depth2Value['Address']; |
977
|
|
|
} |
978
|
|
|
foreach ($depth2Value['PortRanges'] as $depth3 => $depth3Value) { |
979
|
|
|
if(isset($depth3Value['FromPort'])){ |
980
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.PortRanges.' . ($depth3 + 1) . '.FromPort'] = $depth3Value['FromPort']; |
981
|
|
|
} |
982
|
|
|
if(isset($depth3Value['ToPort'])){ |
983
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.PortRanges.' . ($depth3 + 1) . '.ToPort'] = $depth3Value['ToPort']; |
984
|
|
|
} |
985
|
|
|
} |
986
|
|
|
} |
987
|
|
|
} |
988
|
|
|
|
989
|
|
|
return $this; |
990
|
|
|
} |
991
|
|
|
} |
992
|
|
|
|
993
|
|
|
/** |
994
|
|
|
* @method string getClientToken() |
995
|
|
|
* @method $this withClientToken($value) |
996
|
|
|
* @method string getEndpointId() |
997
|
|
|
* @method $this withEndpointId($value) |
998
|
|
|
* @method array getPolicyConfigurations() |
999
|
|
|
*/ |
1000
|
|
|
class CreateCustomRoutingEndpointTrafficPolicies extends Rpc |
1001
|
|
|
{ |
1002
|
|
|
|
1003
|
|
|
/** |
1004
|
|
|
* @param array $policyConfigurations |
1005
|
|
|
* |
1006
|
|
|
* @return $this |
1007
|
|
|
*/ |
1008
|
|
|
public function withPolicyConfigurations(array $policyConfigurations) |
1009
|
|
|
{ |
1010
|
|
|
$this->data['PolicyConfigurations'] = $policyConfigurations; |
1011
|
|
|
foreach ($policyConfigurations as $depth1 => $depth1Value) { |
1012
|
|
|
if(isset($depth1Value['Address'])){ |
1013
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.Address'] = $depth1Value['Address']; |
1014
|
|
|
} |
1015
|
|
|
foreach ($depth1Value['PortRanges'] as $depth2 => $depth2Value) { |
1016
|
|
|
if(isset($depth2Value['FromPort'])){ |
1017
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.PortRanges.' . ($depth2 + 1) . '.FromPort'] = $depth2Value['FromPort']; |
1018
|
|
|
} |
1019
|
|
|
if(isset($depth2Value['ToPort'])){ |
1020
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.PortRanges.' . ($depth2 + 1) . '.ToPort'] = $depth2Value['ToPort']; |
1021
|
|
|
} |
1022
|
|
|
} |
1023
|
|
|
} |
1024
|
|
|
|
1025
|
|
|
return $this; |
1026
|
|
|
} |
1027
|
|
|
} |
1028
|
|
|
|
1029
|
|
|
/** |
1030
|
|
|
* @method array getAcceleratorIds() |
1031
|
|
|
* @method string getDomain() |
1032
|
|
|
* @method $this withDomain($value) |
1033
|
|
|
*/ |
1034
|
|
|
class CreateDomain extends Rpc |
1035
|
|
|
{ |
1036
|
|
|
|
1037
|
|
|
/** |
1038
|
|
|
* @param array $acceleratorIds |
1039
|
|
|
* |
1040
|
|
|
* @return $this |
1041
|
|
|
*/ |
1042
|
|
|
public function withAcceleratorIds(array $acceleratorIds) |
1043
|
|
|
{ |
1044
|
|
|
$this->data['AcceleratorIds'] = $acceleratorIds; |
1045
|
|
|
foreach ($acceleratorIds as $i => $iValue) { |
1046
|
|
|
$this->options['query']['AcceleratorIds.' . ($i + 1)] = $iValue; |
1047
|
|
|
} |
1048
|
|
|
|
1049
|
|
|
return $this; |
1050
|
|
|
} |
1051
|
|
|
} |
1052
|
|
|
|
1053
|
|
|
/** |
1054
|
|
|
* @method array getPortOverrides() |
1055
|
|
|
* @method string getHealthCheckEnabled() |
1056
|
|
|
* @method $this withHealthCheckEnabled($value) |
1057
|
|
|
* @method string getClientToken() |
1058
|
|
|
* @method $this withClientToken($value) |
1059
|
|
|
* @method array getSystemTag() |
1060
|
|
|
* @method string getHealthCheckIntervalSeconds() |
1061
|
|
|
* @method $this withHealthCheckIntervalSeconds($value) |
1062
|
|
|
* @method string getDescription() |
1063
|
|
|
* @method $this withDescription($value) |
1064
|
|
|
* @method string getHealthCheckProtocol() |
1065
|
|
|
* @method $this withHealthCheckProtocol($value) |
1066
|
|
|
* @method string getEndpointRequestProtocol() |
1067
|
|
|
* @method $this withEndpointRequestProtocol($value) |
1068
|
|
|
* @method string getListenerId() |
1069
|
|
|
* @method $this withListenerId($value) |
1070
|
|
|
* @method string getHealthCheckPath() |
1071
|
|
|
* @method $this withHealthCheckPath($value) |
1072
|
|
|
* @method array getEndpointConfigurations() |
1073
|
|
|
* @method string getEndpointGroupType() |
1074
|
|
|
* @method $this withEndpointGroupType($value) |
1075
|
|
|
* @method string getAcceleratorId() |
1076
|
|
|
* @method $this withAcceleratorId($value) |
1077
|
|
|
* @method array getTag() |
1078
|
|
|
* @method string getTrafficPercentage() |
1079
|
|
|
* @method $this withTrafficPercentage($value) |
1080
|
|
|
* @method string getHealthCheckPort() |
1081
|
|
|
* @method $this withHealthCheckPort($value) |
1082
|
|
|
* @method string getThresholdCount() |
1083
|
|
|
* @method $this withThresholdCount($value) |
1084
|
|
|
* @method string getEndpointGroupRegion() |
1085
|
|
|
* @method $this withEndpointGroupRegion($value) |
1086
|
|
|
* @method string getName() |
1087
|
|
|
* @method $this withName($value) |
1088
|
|
|
*/ |
1089
|
|
|
class CreateEndpointGroup extends Rpc |
1090
|
|
|
{ |
1091
|
|
|
|
1092
|
|
|
/** |
1093
|
|
|
* @param array $portOverrides |
1094
|
|
|
* |
1095
|
|
|
* @return $this |
1096
|
|
|
*/ |
1097
|
|
|
public function withPortOverrides(array $portOverrides) |
1098
|
|
|
{ |
1099
|
|
|
$this->data['PortOverrides'] = $portOverrides; |
1100
|
|
|
foreach ($portOverrides as $depth1 => $depth1Value) { |
1101
|
|
|
if(isset($depth1Value['ListenerPort'])){ |
1102
|
|
|
$this->options['query']['PortOverrides.' . ($depth1 + 1) . '.ListenerPort'] = $depth1Value['ListenerPort']; |
1103
|
|
|
} |
1104
|
|
|
if(isset($depth1Value['EndpointPort'])){ |
1105
|
|
|
$this->options['query']['PortOverrides.' . ($depth1 + 1) . '.EndpointPort'] = $depth1Value['EndpointPort']; |
1106
|
|
|
} |
1107
|
|
|
} |
1108
|
|
|
|
1109
|
|
|
return $this; |
1110
|
|
|
} |
1111
|
|
|
|
1112
|
|
|
/** |
1113
|
|
|
* @param array $systemTag |
1114
|
|
|
* |
1115
|
|
|
* @return $this |
1116
|
|
|
*/ |
1117
|
|
|
public function withSystemTag(array $systemTag) |
1118
|
|
|
{ |
1119
|
|
|
$this->data['SystemTag'] = $systemTag; |
1120
|
|
|
foreach ($systemTag as $depth1 => $depth1Value) { |
1121
|
|
|
if(isset($depth1Value['Key'])){ |
1122
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
1123
|
|
|
} |
1124
|
|
|
if(isset($depth1Value['Value'])){ |
1125
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
1126
|
|
|
} |
1127
|
|
|
if(isset($depth1Value['Scope'])){ |
1128
|
|
|
$this->options['query']['SystemTag.' . ($depth1 + 1) . '.Scope'] = $depth1Value['Scope']; |
1129
|
|
|
} |
1130
|
|
|
} |
1131
|
|
|
|
1132
|
|
|
return $this; |
1133
|
|
|
} |
1134
|
|
|
|
1135
|
|
|
/** |
1136
|
|
|
* @param array $endpointConfigurations |
1137
|
|
|
* |
1138
|
|
|
* @return $this |
1139
|
|
|
*/ |
1140
|
|
|
public function withEndpointConfigurations(array $endpointConfigurations) |
1141
|
|
|
{ |
1142
|
|
|
$this->data['EndpointConfigurations'] = $endpointConfigurations; |
1143
|
|
|
foreach ($endpointConfigurations as $depth1 => $depth1Value) { |
1144
|
|
|
if(isset($depth1Value['Type'])){ |
1145
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
1146
|
|
|
} |
1147
|
|
|
if(isset($depth1Value['EnableClientIPPreservation'])){ |
1148
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservation'] = $depth1Value['EnableClientIPPreservation']; |
1149
|
|
|
} |
1150
|
|
|
if(isset($depth1Value['Weight'])){ |
1151
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Weight'] = $depth1Value['Weight']; |
1152
|
|
|
} |
1153
|
|
|
if(isset($depth1Value['EnableProxyProtocol'])){ |
1154
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.EnableProxyProtocol'] = $depth1Value['EnableProxyProtocol']; |
1155
|
|
|
} |
1156
|
|
|
if(isset($depth1Value['Endpoint'])){ |
1157
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Endpoint'] = $depth1Value['Endpoint']; |
1158
|
|
|
} |
1159
|
|
|
} |
1160
|
|
|
|
1161
|
|
|
return $this; |
1162
|
|
|
} |
1163
|
|
|
|
1164
|
|
|
/** |
1165
|
|
|
* @param array $tag |
1166
|
|
|
* |
1167
|
|
|
* @return $this |
1168
|
|
|
*/ |
1169
|
|
|
public function withTag(array $tag) |
1170
|
|
|
{ |
1171
|
|
|
$this->data['Tag'] = $tag; |
1172
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
1173
|
|
|
if(isset($depth1Value['Key'])){ |
1174
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
1175
|
|
|
} |
1176
|
|
|
if(isset($depth1Value['Value'])){ |
1177
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
1178
|
|
|
} |
1179
|
|
|
} |
1180
|
|
|
|
1181
|
|
|
return $this; |
1182
|
|
|
} |
1183
|
|
|
} |
1184
|
|
|
|
1185
|
|
|
/** |
1186
|
|
|
* @method string getDryRun() |
1187
|
|
|
* @method $this withDryRun($value) |
1188
|
|
|
* @method string getClientToken() |
1189
|
|
|
* @method $this withClientToken($value) |
1190
|
|
|
* @method array getEndpointGroupConfigurations() |
1191
|
|
|
* @method string getListenerId() |
1192
|
|
|
* @method $this withListenerId($value) |
1193
|
|
|
* @method string getAcceleratorId() |
1194
|
|
|
* @method $this withAcceleratorId($value) |
1195
|
|
|
*/ |
1196
|
|
|
class CreateEndpointGroups extends Rpc |
1197
|
|
|
{ |
1198
|
|
|
|
1199
|
|
|
/** |
1200
|
|
|
* @param array $endpointGroupConfigurations |
1201
|
|
|
* |
1202
|
|
|
* @return $this |
1203
|
|
|
*/ |
1204
|
|
|
public function withEndpointGroupConfigurations(array $endpointGroupConfigurations) |
1205
|
|
|
{ |
1206
|
|
|
$this->data['EndpointGroupConfigurations'] = $endpointGroupConfigurations; |
1207
|
|
|
foreach ($endpointGroupConfigurations as $depth1 => $depth1Value) { |
1208
|
|
|
if(isset($depth1Value['EndpointGroupName'])){ |
1209
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupName'] = $depth1Value['EndpointGroupName']; |
1210
|
|
|
} |
1211
|
|
|
if(isset($depth1Value['EndpointGroupDescription'])){ |
1212
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupDescription'] = $depth1Value['EndpointGroupDescription']; |
1213
|
|
|
} |
1214
|
|
|
if(isset($depth1Value['EndpointGroupRegion'])){ |
1215
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupRegion'] = $depth1Value['EndpointGroupRegion']; |
1216
|
|
|
} |
1217
|
|
|
if(isset($depth1Value['TrafficPercentage'])){ |
1218
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.TrafficPercentage'] = $depth1Value['TrafficPercentage']; |
1219
|
|
|
} |
1220
|
|
|
if(isset($depth1Value['HealthCheckEnabled'])){ |
1221
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckEnabled'] = $depth1Value['HealthCheckEnabled']; |
1222
|
|
|
} |
1223
|
|
|
if(isset($depth1Value['HealthCheckIntervalSeconds'])){ |
1224
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckIntervalSeconds'] = $depth1Value['HealthCheckIntervalSeconds']; |
1225
|
|
|
} |
1226
|
|
|
if(isset($depth1Value['HealthCheckPath'])){ |
1227
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckPath'] = $depth1Value['HealthCheckPath']; |
1228
|
|
|
} |
1229
|
|
|
if(isset($depth1Value['HealthCheckPort'])){ |
1230
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckPort'] = $depth1Value['HealthCheckPort']; |
1231
|
|
|
} |
1232
|
|
|
if(isset($depth1Value['HealthCheckProtocol'])){ |
1233
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckProtocol'] = $depth1Value['HealthCheckProtocol']; |
1234
|
|
|
} |
1235
|
|
|
if(isset($depth1Value['ThresholdCount'])){ |
1236
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.ThresholdCount'] = $depth1Value['ThresholdCount']; |
1237
|
|
|
} |
1238
|
|
|
foreach ($depth1Value['EndpointConfigurations'] as $depth2 => $depth2Value) { |
1239
|
|
|
if(isset($depth2Value['Type'])){ |
1240
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Type'] = $depth2Value['Type']; |
1241
|
|
|
} |
1242
|
|
|
if(isset($depth2Value['Weight'])){ |
1243
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Weight'] = $depth2Value['Weight']; |
1244
|
|
|
} |
1245
|
|
|
if(isset($depth2Value['Endpoint'])){ |
1246
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Endpoint'] = $depth2Value['Endpoint']; |
1247
|
|
|
} |
1248
|
|
|
} |
1249
|
|
|
if(isset($depth1Value['EndpointRequestProtocol'])){ |
1250
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointRequestProtocol'] = $depth1Value['EndpointRequestProtocol']; |
1251
|
|
|
} |
1252
|
|
|
if(isset($depth1Value['EndpointGroupType'])){ |
1253
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupType'] = $depth1Value['EndpointGroupType']; |
1254
|
|
|
} |
1255
|
|
|
foreach ($depth1Value['PortOverrides'] as $depth2 => $depth2Value) { |
1256
|
|
|
if(isset($depth2Value['ListenerPort'])){ |
1257
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.PortOverrides.' . ($depth2 + 1) . '.ListenerPort'] = $depth2Value['ListenerPort']; |
1258
|
|
|
} |
1259
|
|
|
if(isset($depth2Value['EndpointPort'])){ |
1260
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.PortOverrides.' . ($depth2 + 1) . '.EndpointPort'] = $depth2Value['EndpointPort']; |
1261
|
|
|
} |
1262
|
|
|
} |
1263
|
|
|
if(isset($depth1Value['EnableClientIPPreservationToa'])){ |
1264
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservationToa'] = $depth1Value['EnableClientIPPreservationToa']; |
1265
|
|
|
} |
1266
|
|
|
if(isset($depth1Value['EnableClientIPPreservationProxyProtocol'])){ |
1267
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservationProxyProtocol'] = $depth1Value['EnableClientIPPreservationProxyProtocol']; |
1268
|
|
|
} |
1269
|
|
|
} |
1270
|
|
|
|
1271
|
|
|
return $this; |
1272
|
|
|
} |
1273
|
|
|
} |
1274
|
|
|
|
1275
|
|
|
/** |
1276
|
|
|
* @method string getClientToken() |
1277
|
|
|
* @method $this withClientToken($value) |
1278
|
|
|
* @method string getListenerId() |
1279
|
|
|
* @method $this withListenerId($value) |
1280
|
|
|
* @method string getAcceleratorId() |
1281
|
|
|
* @method $this withAcceleratorId($value) |
1282
|
|
|
* @method string getForwardingRules() |
1283
|
|
|
* @method $this withForwardingRules($value) |
1284
|
|
|
*/ |
1285
|
|
|
class CreateForwardingRules extends Rpc |
1286
|
|
|
{ |
1287
|
|
|
} |
1288
|
|
|
|
1289
|
|
|
/** |
1290
|
|
|
* @method string getClientToken() |
1291
|
|
|
* @method $this withClientToken($value) |
1292
|
|
|
* @method string getAcceleratorId() |
1293
|
|
|
* @method $this withAcceleratorId($value) |
1294
|
|
|
* @method array getAccelerateRegion() |
1295
|
|
|
*/ |
1296
|
|
|
class CreateIpSets extends Rpc |
1297
|
|
|
{ |
1298
|
|
|
|
1299
|
|
|
/** |
1300
|
|
|
* @param array $accelerateRegion |
1301
|
|
|
* |
1302
|
|
|
* @return $this |
1303
|
|
|
*/ |
1304
|
|
|
public function withAccelerateRegion(array $accelerateRegion) |
1305
|
|
|
{ |
1306
|
|
|
$this->data['AccelerateRegion'] = $accelerateRegion; |
1307
|
|
|
foreach ($accelerateRegion as $depth1 => $depth1Value) { |
1308
|
|
|
if(isset($depth1Value['AccelerateRegionId'])){ |
1309
|
|
|
$this->options['query']['AccelerateRegion.' . ($depth1 + 1) . '.AccelerateRegionId'] = $depth1Value['AccelerateRegionId']; |
1310
|
|
|
} |
1311
|
|
|
if(isset($depth1Value['IpVersion'])){ |
1312
|
|
|
$this->options['query']['AccelerateRegion.' . ($depth1 + 1) . '.IpVersion'] = $depth1Value['IpVersion']; |
1313
|
|
|
} |
1314
|
|
|
if(isset($depth1Value['Bandwidth'])){ |
1315
|
|
|
$this->options['query']['AccelerateRegion.' . ($depth1 + 1) . '.Bandwidth'] = $depth1Value['Bandwidth']; |
1316
|
|
|
} |
1317
|
|
|
if(isset($depth1Value['IspType'])){ |
1318
|
|
|
$this->options['query']['AccelerateRegion.' . ($depth1 + 1) . '.IspType'] = $depth1Value['IspType']; |
1319
|
|
|
} |
1320
|
|
|
} |
1321
|
|
|
|
1322
|
|
|
return $this; |
1323
|
|
|
} |
1324
|
|
|
} |
1325
|
|
|
|
1326
|
|
|
/** |
1327
|
|
|
* @method string getClientToken() |
1328
|
|
|
* @method $this withClientToken($value) |
1329
|
|
|
* @method string getDescription() |
1330
|
|
|
* @method $this withDescription($value) |
1331
|
|
|
* @method string getCustomRoutingEndpointGroupConfigurations() |
1332
|
|
|
* @method $this withCustomRoutingEndpointGroupConfigurations($value) |
1333
|
|
|
* @method string getType() |
1334
|
|
|
* @method $this withType($value) |
1335
|
|
|
* @method array getBackendPorts() |
1336
|
|
|
* @method string getProtocol() |
1337
|
|
|
* @method $this withProtocol($value) |
1338
|
|
|
* @method string getAcceleratorId() |
1339
|
|
|
* @method $this withAcceleratorId($value) |
1340
|
|
|
* @method string getEndpointGroupConfigurations() |
1341
|
|
|
* @method $this withEndpointGroupConfigurations($value) |
1342
|
|
|
* @method string getXForwardedForConfig() |
1343
|
|
|
* @method $this withXForwardedForConfig($value) |
1344
|
|
|
* @method string getSecurityPolicyId() |
1345
|
|
|
* @method $this withSecurityPolicyId($value) |
1346
|
|
|
* @method string getProxyProtocol() |
1347
|
|
|
* @method $this withProxyProtocol($value) |
1348
|
|
|
* @method array getPortRanges() |
1349
|
|
|
* @method array getCertificates() |
1350
|
|
|
* @method string getName() |
1351
|
|
|
* @method $this withName($value) |
1352
|
|
|
* @method string getClientAffinity() |
1353
|
|
|
* @method $this withClientAffinity($value) |
1354
|
|
|
*/ |
1355
|
|
|
class CreateListener extends Rpc |
1356
|
|
|
{ |
1357
|
|
|
|
1358
|
|
|
/** |
1359
|
|
|
* @param array $backendPorts |
1360
|
|
|
* |
1361
|
|
|
* @return $this |
1362
|
|
|
*/ |
1363
|
|
|
public function withBackendPorts(array $backendPorts) |
1364
|
|
|
{ |
1365
|
|
|
$this->data['BackendPorts'] = $backendPorts; |
1366
|
|
|
foreach ($backendPorts as $depth1 => $depth1Value) { |
1367
|
|
|
if(isset($depth1Value['FromPort'])){ |
1368
|
|
|
$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
1369
|
|
|
} |
1370
|
|
|
if(isset($depth1Value['ToPort'])){ |
1371
|
|
|
$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
1372
|
|
|
} |
1373
|
|
|
} |
1374
|
|
|
|
1375
|
|
|
return $this; |
1376
|
|
|
} |
1377
|
|
|
|
1378
|
|
|
/** |
1379
|
|
|
* @param array $portRanges |
1380
|
|
|
* |
1381
|
|
|
* @return $this |
1382
|
|
|
*/ |
1383
|
|
|
public function withPortRanges(array $portRanges) |
1384
|
|
|
{ |
1385
|
|
|
$this->data['PortRanges'] = $portRanges; |
1386
|
|
|
foreach ($portRanges as $depth1 => $depth1Value) { |
1387
|
|
|
if(isset($depth1Value['FromPort'])){ |
1388
|
|
|
$this->options['query']['PortRanges.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
1389
|
|
|
} |
1390
|
|
|
if(isset($depth1Value['ToPort'])){ |
1391
|
|
|
$this->options['query']['PortRanges.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
1392
|
|
|
} |
1393
|
|
|
} |
1394
|
|
|
|
1395
|
|
|
return $this; |
1396
|
|
|
} |
1397
|
|
|
|
1398
|
|
|
/** |
1399
|
|
|
* @param array $certificates |
1400
|
|
|
* |
1401
|
|
|
* @return $this |
1402
|
|
|
*/ |
1403
|
|
|
public function withCertificates(array $certificates) |
1404
|
|
|
{ |
1405
|
|
|
$this->data['Certificates'] = $certificates; |
1406
|
|
|
foreach ($certificates as $depth1 => $depth1Value) { |
1407
|
|
|
if(isset($depth1Value['Id'])){ |
1408
|
|
|
$this->options['query']['Certificates.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
1409
|
|
|
} |
1410
|
|
|
} |
1411
|
|
|
|
1412
|
|
|
return $this; |
1413
|
|
|
} |
1414
|
|
|
} |
1415
|
|
|
|
1416
|
|
|
/** |
1417
|
|
|
* @method string getDryRun() |
1418
|
|
|
* @method $this withDryRun($value) |
1419
|
|
|
* @method string getClientToken() |
1420
|
|
|
* @method $this withClientToken($value) |
1421
|
|
|
* @method array getSpareIps() |
1422
|
|
|
* @method string getAcceleratorId() |
1423
|
|
|
* @method $this withAcceleratorId($value) |
1424
|
|
|
*/ |
1425
|
|
|
class CreateSpareIps extends Rpc |
1426
|
|
|
{ |
1427
|
|
|
|
1428
|
|
|
/** |
1429
|
|
|
* @param array $spareIps |
1430
|
|
|
* |
1431
|
|
|
* @return $this |
1432
|
|
|
*/ |
1433
|
|
|
public function withSpareIps(array $spareIps) |
1434
|
|
|
{ |
1435
|
|
|
$this->data['SpareIps'] = $spareIps; |
1436
|
|
|
foreach ($spareIps as $i => $iValue) { |
1437
|
|
|
$this->options['query']['SpareIps.' . ($i + 1)] = $iValue; |
1438
|
|
|
} |
1439
|
|
|
|
1440
|
|
|
return $this; |
1441
|
|
|
} |
1442
|
|
|
} |
1443
|
|
|
|
1444
|
|
|
/** |
1445
|
|
|
* @method string getAcceleratorId() |
1446
|
|
|
* @method $this withAcceleratorId($value) |
1447
|
|
|
*/ |
1448
|
|
|
class DeleteAccelerator extends Rpc |
1449
|
|
|
{ |
1450
|
|
|
} |
1451
|
|
|
|
1452
|
|
|
/** |
1453
|
|
|
* @method string getAclId() |
1454
|
|
|
* @method $this withAclId($value) |
1455
|
|
|
* @method string getDryRun() |
1456
|
|
|
* @method $this withDryRun($value) |
1457
|
|
|
* @method string getClientToken() |
1458
|
|
|
* @method $this withClientToken($value) |
1459
|
|
|
*/ |
1460
|
|
|
class DeleteAcl extends Rpc |
1461
|
|
|
{ |
1462
|
|
|
} |
1463
|
|
|
|
1464
|
|
|
/** |
1465
|
|
|
* @method string getClientToken() |
1466
|
|
|
* @method $this withClientToken($value) |
1467
|
|
|
* @method string getTaskId() |
1468
|
|
|
* @method $this withTaskId($value) |
1469
|
|
|
*/ |
1470
|
|
|
class DeleteApplicationMonitor extends Rpc |
1471
|
|
|
{ |
1472
|
|
|
} |
1473
|
|
|
|
1474
|
|
|
/** |
1475
|
|
|
* @method string getBandwidthPackageId() |
1476
|
|
|
* @method $this withBandwidthPackageId($value) |
1477
|
|
|
* @method string getClientToken() |
1478
|
|
|
* @method $this withClientToken($value) |
1479
|
|
|
*/ |
1480
|
|
|
class DeleteBandwidthPackage extends Rpc |
1481
|
|
|
{ |
1482
|
|
|
} |
1483
|
|
|
|
1484
|
|
|
/** |
1485
|
|
|
* @method string getClientToken() |
1486
|
|
|
* @method $this withClientToken($value) |
1487
|
|
|
* @method string getAccelerateIpId() |
1488
|
|
|
* @method $this withAccelerateIpId($value) |
1489
|
|
|
*/ |
1490
|
|
|
class DeleteBasicAccelerateIp extends Rpc |
1491
|
|
|
{ |
1492
|
|
|
} |
1493
|
|
|
|
1494
|
|
|
/** |
1495
|
|
|
* @method string getClientToken() |
1496
|
|
|
* @method $this withClientToken($value) |
1497
|
|
|
* @method string getEndpointId() |
1498
|
|
|
* @method $this withEndpointId($value) |
1499
|
|
|
* @method string getAccelerateIpId() |
1500
|
|
|
* @method $this withAccelerateIpId($value) |
1501
|
|
|
* @method string getAcceleratorId() |
1502
|
|
|
* @method $this withAcceleratorId($value) |
1503
|
|
|
*/ |
1504
|
|
|
class DeleteBasicAccelerateIpEndpointRelation extends Rpc |
1505
|
|
|
{ |
1506
|
|
|
} |
1507
|
|
|
|
1508
|
|
|
/** |
1509
|
|
|
* @method string getAcceleratorId() |
1510
|
|
|
* @method $this withAcceleratorId($value) |
1511
|
|
|
*/ |
1512
|
|
|
class DeleteBasicAccelerator extends Rpc |
1513
|
|
|
{ |
1514
|
|
|
} |
1515
|
|
|
|
1516
|
|
|
/** |
1517
|
|
|
* @method string getClientToken() |
1518
|
|
|
* @method $this withClientToken($value) |
1519
|
|
|
* @method string getEndpointId() |
1520
|
|
|
* @method $this withEndpointId($value) |
1521
|
|
|
* @method string getEndpointGroupId() |
1522
|
|
|
* @method $this withEndpointGroupId($value) |
1523
|
|
|
*/ |
1524
|
|
|
class DeleteBasicEndpoint extends Rpc |
1525
|
|
|
{ |
1526
|
|
|
} |
1527
|
|
|
|
1528
|
|
|
/** |
1529
|
|
|
* @method string getClientToken() |
1530
|
|
|
* @method $this withClientToken($value) |
1531
|
|
|
* @method string getEndpointGroupId() |
1532
|
|
|
* @method $this withEndpointGroupId($value) |
1533
|
|
|
*/ |
1534
|
|
|
class DeleteBasicEndpointGroup extends Rpc |
1535
|
|
|
{ |
1536
|
|
|
} |
1537
|
|
|
|
1538
|
|
|
/** |
1539
|
|
|
* @method string getClientToken() |
1540
|
|
|
* @method $this withClientToken($value) |
1541
|
|
|
* @method string getIpSetId() |
1542
|
|
|
* @method $this withIpSetId($value) |
1543
|
|
|
*/ |
1544
|
|
|
class DeleteBasicIpSet extends Rpc |
1545
|
|
|
{ |
1546
|
|
|
} |
1547
|
|
|
|
1548
|
|
|
/** |
1549
|
|
|
* @method array getDestinationIds() |
1550
|
|
|
* @method string getDryRun() |
1551
|
|
|
* @method $this withDryRun($value) |
1552
|
|
|
* @method string getClientToken() |
1553
|
|
|
* @method $this withClientToken($value) |
1554
|
|
|
* @method string getEndpointGroupId() |
1555
|
|
|
* @method $this withEndpointGroupId($value) |
1556
|
|
|
*/ |
1557
|
|
|
class DeleteCustomRoutingEndpointGroupDestinations extends Rpc |
1558
|
|
|
{ |
1559
|
|
|
|
1560
|
|
|
/** |
1561
|
|
|
* @param array $destinationIds |
1562
|
|
|
* |
1563
|
|
|
* @return $this |
1564
|
|
|
*/ |
1565
|
|
|
public function withDestinationIds(array $destinationIds) |
1566
|
|
|
{ |
1567
|
|
|
$this->data['DestinationIds'] = $destinationIds; |
1568
|
|
|
foreach ($destinationIds as $i => $iValue) { |
1569
|
|
|
$this->options['query']['DestinationIds.' . ($i + 1)] = $iValue; |
1570
|
|
|
} |
1571
|
|
|
|
1572
|
|
|
return $this; |
1573
|
|
|
} |
1574
|
|
|
} |
1575
|
|
|
|
1576
|
|
|
/** |
1577
|
|
|
* @method string getDryRun() |
1578
|
|
|
* @method $this withDryRun($value) |
1579
|
|
|
* @method string getClientToken() |
1580
|
|
|
* @method $this withClientToken($value) |
1581
|
|
|
* @method array getEndpointGroupIds() |
1582
|
|
|
* @method string getAcceleratorId() |
1583
|
|
|
* @method $this withAcceleratorId($value) |
1584
|
|
|
*/ |
1585
|
|
|
class DeleteCustomRoutingEndpointGroups extends Rpc |
1586
|
|
|
{ |
1587
|
|
|
|
1588
|
|
|
/** |
1589
|
|
|
* @param array $endpointGroupIds |
1590
|
|
|
* |
1591
|
|
|
* @return $this |
1592
|
|
|
*/ |
1593
|
|
|
public function withEndpointGroupIds(array $endpointGroupIds) |
1594
|
|
|
{ |
1595
|
|
|
$this->data['EndpointGroupIds'] = $endpointGroupIds; |
1596
|
|
|
foreach ($endpointGroupIds as $i => $iValue) { |
1597
|
|
|
$this->options['query']['EndpointGroupIds.' . ($i + 1)] = $iValue; |
1598
|
|
|
} |
1599
|
|
|
|
1600
|
|
|
return $this; |
1601
|
|
|
} |
1602
|
|
|
} |
1603
|
|
|
|
1604
|
|
|
/** |
1605
|
|
|
* @method string getClientToken() |
1606
|
|
|
* @method $this withClientToken($value) |
1607
|
|
|
* @method array getEndpointIds() |
1608
|
|
|
* @method string getEndpointGroupId() |
1609
|
|
|
* @method $this withEndpointGroupId($value) |
1610
|
|
|
*/ |
1611
|
|
|
class DeleteCustomRoutingEndpoints extends Rpc |
1612
|
|
|
{ |
1613
|
|
|
|
1614
|
|
|
/** |
1615
|
|
|
* @param array $endpointIds |
1616
|
|
|
* |
1617
|
|
|
* @return $this |
1618
|
|
|
*/ |
1619
|
|
|
public function withEndpointIds(array $endpointIds) |
1620
|
|
|
{ |
1621
|
|
|
$this->data['EndpointIds'] = $endpointIds; |
1622
|
|
|
foreach ($endpointIds as $i => $iValue) { |
1623
|
|
|
$this->options['query']['EndpointIds.' . ($i + 1)] = $iValue; |
1624
|
|
|
} |
1625
|
|
|
|
1626
|
|
|
return $this; |
1627
|
|
|
} |
1628
|
|
|
} |
1629
|
|
|
|
1630
|
|
|
/** |
1631
|
|
|
* @method string getClientToken() |
1632
|
|
|
* @method $this withClientToken($value) |
1633
|
|
|
* @method string getEndpointId() |
1634
|
|
|
* @method $this withEndpointId($value) |
1635
|
|
|
* @method array getPolicyIds() |
1636
|
|
|
*/ |
1637
|
|
|
class DeleteCustomRoutingEndpointTrafficPolicies extends Rpc |
1638
|
|
|
{ |
1639
|
|
|
|
1640
|
|
|
/** |
1641
|
|
|
* @param array $policyIds |
1642
|
|
|
* |
1643
|
|
|
* @return $this |
1644
|
|
|
*/ |
1645
|
|
|
public function withPolicyIds(array $policyIds) |
1646
|
|
|
{ |
1647
|
|
|
$this->data['PolicyIds'] = $policyIds; |
1648
|
|
|
foreach ($policyIds as $i => $iValue) { |
1649
|
|
|
$this->options['query']['PolicyIds.' . ($i + 1)] = $iValue; |
1650
|
|
|
} |
1651
|
|
|
|
1652
|
|
|
return $this; |
1653
|
|
|
} |
1654
|
|
|
} |
1655
|
|
|
|
1656
|
|
|
/** |
1657
|
|
|
* @method array getAcceleratorIds() |
1658
|
|
|
* @method string getDomain() |
1659
|
|
|
* @method $this withDomain($value) |
1660
|
|
|
*/ |
1661
|
|
|
class DeleteDomainAcceleratorRelation extends Rpc |
1662
|
|
|
{ |
1663
|
|
|
|
1664
|
|
|
/** |
1665
|
|
|
* @param array $acceleratorIds |
1666
|
|
|
* |
1667
|
|
|
* @return $this |
1668
|
|
|
*/ |
1669
|
|
|
public function withAcceleratorIds(array $acceleratorIds) |
1670
|
|
|
{ |
1671
|
|
|
$this->data['AcceleratorIds'] = $acceleratorIds; |
1672
|
|
|
foreach ($acceleratorIds as $i => $iValue) { |
1673
|
|
|
$this->options['query']['AcceleratorIds.' . ($i + 1)] = $iValue; |
1674
|
|
|
} |
1675
|
|
|
|
1676
|
|
|
return $this; |
1677
|
|
|
} |
1678
|
|
|
} |
1679
|
|
|
|
1680
|
|
|
/** |
1681
|
|
|
* @method string getClientToken() |
1682
|
|
|
* @method $this withClientToken($value) |
1683
|
|
|
* @method string getAcceleratorId() |
1684
|
|
|
* @method $this withAcceleratorId($value) |
1685
|
|
|
* @method string getEndpointGroupId() |
1686
|
|
|
* @method $this withEndpointGroupId($value) |
1687
|
|
|
*/ |
1688
|
|
|
class DeleteEndpointGroup extends Rpc |
1689
|
|
|
{ |
1690
|
|
|
} |
1691
|
|
|
|
1692
|
|
|
/** |
1693
|
|
|
* @method string getDryRun() |
1694
|
|
|
* @method $this withDryRun($value) |
1695
|
|
|
* @method string getClientToken() |
1696
|
|
|
* @method $this withClientToken($value) |
1697
|
|
|
* @method array getEndpointGroupIds() |
1698
|
|
|
*/ |
1699
|
|
|
class DeleteEndpointGroups extends Rpc |
1700
|
|
|
{ |
1701
|
|
|
|
1702
|
|
|
/** |
1703
|
|
|
* @param array $endpointGroupIds |
1704
|
|
|
* |
1705
|
|
|
* @return $this |
1706
|
|
|
*/ |
1707
|
|
|
public function withEndpointGroupIds(array $endpointGroupIds) |
1708
|
|
|
{ |
1709
|
|
|
$this->data['EndpointGroupIds'] = $endpointGroupIds; |
1710
|
|
|
foreach ($endpointGroupIds as $i => $iValue) { |
1711
|
|
|
$this->options['query']['EndpointGroupIds.' . ($i + 1)] = $iValue; |
1712
|
|
|
} |
1713
|
|
|
|
1714
|
|
|
return $this; |
1715
|
|
|
} |
1716
|
|
|
} |
1717
|
|
|
|
1718
|
|
|
/** |
1719
|
|
|
* @method string getClientToken() |
1720
|
|
|
* @method $this withClientToken($value) |
1721
|
|
|
* @method string getListenerId() |
1722
|
|
|
* @method $this withListenerId($value) |
1723
|
|
|
* @method string getAcceleratorId() |
1724
|
|
|
* @method $this withAcceleratorId($value) |
1725
|
|
|
* @method string getForwardingRuleIds() |
1726
|
|
|
* @method $this withForwardingRuleIds($value) |
1727
|
|
|
*/ |
1728
|
|
|
class DeleteForwardingRules extends Rpc |
1729
|
|
|
{ |
1730
|
|
|
} |
1731
|
|
|
|
1732
|
|
|
/** |
1733
|
|
|
* @method string getClientToken() |
1734
|
|
|
* @method $this withClientToken($value) |
1735
|
|
|
* @method string getIpSetId() |
1736
|
|
|
* @method $this withIpSetId($value) |
1737
|
|
|
* @method string getAcceleratorId() |
1738
|
|
|
* @method $this withAcceleratorId($value) |
1739
|
|
|
*/ |
1740
|
|
|
class DeleteIpSet extends Rpc |
1741
|
|
|
{ |
1742
|
|
|
} |
1743
|
|
|
|
1744
|
|
|
/** |
1745
|
|
|
* @method array getIpSetIds() |
1746
|
|
|
*/ |
1747
|
|
|
class DeleteIpSets extends Rpc |
1748
|
|
|
{ |
1749
|
|
|
|
1750
|
|
|
/** |
1751
|
|
|
* @param array $ipSetIds |
1752
|
|
|
* |
1753
|
|
|
* @return $this |
1754
|
|
|
*/ |
1755
|
|
|
public function withIpSetIds(array $ipSetIds) |
1756
|
|
|
{ |
1757
|
|
|
$this->data['IpSetIds'] = $ipSetIds; |
1758
|
|
|
foreach ($ipSetIds as $i => $iValue) { |
1759
|
|
|
$this->options['query']['IpSetIds.' . ($i + 1)] = $iValue; |
1760
|
|
|
} |
1761
|
|
|
|
1762
|
|
|
return $this; |
1763
|
|
|
} |
1764
|
|
|
} |
1765
|
|
|
|
1766
|
|
|
/** |
1767
|
|
|
* @method string getClientToken() |
1768
|
|
|
* @method $this withClientToken($value) |
1769
|
|
|
* @method string getListenerId() |
1770
|
|
|
* @method $this withListenerId($value) |
1771
|
|
|
* @method string getAcceleratorId() |
1772
|
|
|
* @method $this withAcceleratorId($value) |
1773
|
|
|
*/ |
1774
|
|
|
class DeleteListener extends Rpc |
1775
|
|
|
{ |
1776
|
|
|
} |
1777
|
|
|
|
1778
|
|
|
/** |
1779
|
|
|
* @method string getDryRun() |
1780
|
|
|
* @method $this withDryRun($value) |
1781
|
|
|
* @method string getClientToken() |
1782
|
|
|
* @method $this withClientToken($value) |
1783
|
|
|
* @method array getSpareIps() |
1784
|
|
|
* @method string getAcceleratorId() |
1785
|
|
|
* @method $this withAcceleratorId($value) |
1786
|
|
|
*/ |
1787
|
|
|
class DeleteSpareIps extends Rpc |
1788
|
|
|
{ |
1789
|
|
|
|
1790
|
|
|
/** |
1791
|
|
|
* @param array $spareIps |
1792
|
|
|
* |
1793
|
|
|
* @return $this |
1794
|
|
|
*/ |
1795
|
|
|
public function withSpareIps(array $spareIps) |
1796
|
|
|
{ |
1797
|
|
|
$this->data['SpareIps'] = $spareIps; |
1798
|
|
|
foreach ($spareIps as $i => $iValue) { |
1799
|
|
|
$this->options['query']['SpareIps.' . ($i + 1)] = $iValue; |
1800
|
|
|
} |
1801
|
|
|
|
1802
|
|
|
return $this; |
1803
|
|
|
} |
1804
|
|
|
} |
1805
|
|
|
|
1806
|
|
|
/** |
1807
|
|
|
* @method string getAcceleratorId() |
1808
|
|
|
* @method $this withAcceleratorId($value) |
1809
|
|
|
*/ |
1810
|
|
|
class DescribeAccelerator extends Rpc |
1811
|
|
|
{ |
1812
|
|
|
} |
1813
|
|
|
|
1814
|
|
|
/** |
1815
|
|
|
* @method string getAcceleratorId() |
1816
|
|
|
* @method $this withAcceleratorId($value) |
1817
|
|
|
*/ |
1818
|
|
|
class DescribeAcceleratorAutoRenewAttribute extends Rpc |
1819
|
|
|
{ |
1820
|
|
|
} |
1821
|
|
|
|
1822
|
|
|
/** |
1823
|
|
|
* @method string getClientToken() |
1824
|
|
|
* @method $this withClientToken($value) |
1825
|
|
|
* @method string getTaskId() |
1826
|
|
|
* @method $this withTaskId($value) |
1827
|
|
|
*/ |
1828
|
|
|
class DescribeApplicationMonitor extends Rpc |
1829
|
|
|
{ |
1830
|
|
|
} |
1831
|
|
|
|
1832
|
|
|
/** |
1833
|
|
|
* @method string getBandwidthPackageId() |
1834
|
|
|
* @method $this withBandwidthPackageId($value) |
1835
|
|
|
*/ |
1836
|
|
|
class DescribeBandwidthPackage extends Rpc |
1837
|
|
|
{ |
1838
|
|
|
} |
1839
|
|
|
|
1840
|
|
|
/** |
1841
|
|
|
* @method string getInstanceId() |
1842
|
|
|
* @method $this withInstanceId($value) |
1843
|
|
|
*/ |
1844
|
|
|
class DescribeBandwidthPackageAutoRenewAttribute extends Rpc |
1845
|
|
|
{ |
1846
|
|
|
} |
1847
|
|
|
|
1848
|
|
|
/** |
1849
|
|
|
* @method string getCommodityCode() |
1850
|
|
|
* @method $this withCommodityCode($value) |
1851
|
|
|
* @method string getOrderType() |
1852
|
|
|
* @method $this withOrderType($value) |
1853
|
|
|
*/ |
1854
|
|
|
class DescribeCommodity extends Rpc |
1855
|
|
|
{ |
1856
|
|
|
} |
1857
|
|
|
|
1858
|
|
|
/** |
1859
|
|
|
* @method string getPromotionOptionNo() |
1860
|
|
|
* @method $this withPromotionOptionNo($value) |
1861
|
|
|
* @method string getOrders() |
1862
|
|
|
* @method $this withOrders($value) |
1863
|
|
|
*/ |
1864
|
|
|
class DescribeCommodityPrice extends Rpc |
1865
|
|
|
{ |
1866
|
|
|
} |
1867
|
|
|
|
1868
|
|
|
/** |
1869
|
|
|
* @method string getEndpointId() |
1870
|
|
|
* @method $this withEndpointId($value) |
1871
|
|
|
* @method string getEndpointGroup() |
1872
|
|
|
* @method $this withEndpointGroup($value) |
1873
|
|
|
*/ |
1874
|
|
|
class DescribeCustomRoutingEndpoint extends Rpc |
1875
|
|
|
{ |
1876
|
|
|
} |
1877
|
|
|
|
1878
|
|
|
/** |
1879
|
|
|
* @method string getEndpointGroupId() |
1880
|
|
|
* @method $this withEndpointGroupId($value) |
1881
|
|
|
*/ |
1882
|
|
|
class DescribeCustomRoutingEndpointGroup extends Rpc |
1883
|
|
|
{ |
1884
|
|
|
} |
1885
|
|
|
|
1886
|
|
|
/** |
1887
|
|
|
* @method string getDestinationId() |
1888
|
|
|
* @method $this withDestinationId($value) |
1889
|
|
|
* @method string getEndpointGroupId() |
1890
|
|
|
* @method $this withEndpointGroupId($value) |
1891
|
|
|
*/ |
1892
|
|
|
class DescribeCustomRoutingEndpointGroupDestinations extends Rpc |
1893
|
|
|
{ |
1894
|
|
|
} |
1895
|
|
|
|
1896
|
|
|
/** |
1897
|
|
|
* @method string getEndpointId() |
1898
|
|
|
* @method $this withEndpointId($value) |
1899
|
|
|
* @method string getPolicyId() |
1900
|
|
|
* @method $this withPolicyId($value) |
1901
|
|
|
*/ |
1902
|
|
|
class DescribeCustomRoutingEndPointTrafficPolicy extends Rpc |
1903
|
|
|
{ |
1904
|
|
|
} |
1905
|
|
|
|
1906
|
|
|
/** |
1907
|
|
|
* @method string getEndpointGroupId() |
1908
|
|
|
* @method $this withEndpointGroupId($value) |
1909
|
|
|
*/ |
1910
|
|
|
class DescribeEndpointGroup extends Rpc |
1911
|
|
|
{ |
1912
|
|
|
} |
1913
|
|
|
|
1914
|
|
|
/** |
1915
|
|
|
* @method string getIpSetId() |
1916
|
|
|
* @method $this withIpSetId($value) |
1917
|
|
|
*/ |
1918
|
|
|
class DescribeIpSet extends Rpc |
1919
|
|
|
{ |
1920
|
|
|
} |
1921
|
|
|
|
1922
|
|
|
/** |
1923
|
|
|
* @method string getListenerId() |
1924
|
|
|
* @method $this withListenerId($value) |
1925
|
|
|
*/ |
1926
|
|
|
class DescribeListener extends Rpc |
1927
|
|
|
{ |
1928
|
|
|
} |
1929
|
|
|
|
1930
|
|
|
class DescribeRegions extends Rpc |
1931
|
|
|
{ |
1932
|
|
|
} |
1933
|
|
|
|
1934
|
|
|
/** |
1935
|
|
|
* @method string getAcceleratorId() |
1936
|
|
|
* @method $this withAcceleratorId($value) |
1937
|
|
|
*/ |
1938
|
|
|
class DetachDdosFromAccelerator extends Rpc |
1939
|
|
|
{ |
1940
|
|
|
} |
1941
|
|
|
|
1942
|
|
|
/** |
1943
|
|
|
* @method string getClientToken() |
1944
|
|
|
* @method $this withClientToken($value) |
1945
|
|
|
* @method string getListenerId() |
1946
|
|
|
* @method $this withListenerId($value) |
1947
|
|
|
* @method array getEndpointGroupIds() |
1948
|
|
|
* @method string getAcceleratorId() |
1949
|
|
|
* @method $this withAcceleratorId($value) |
1950
|
|
|
*/ |
1951
|
|
|
class DetachLogStoreFromEndpointGroup extends Rpc |
1952
|
|
|
{ |
1953
|
|
|
|
1954
|
|
|
/** |
1955
|
|
|
* @param array $endpointGroupIds |
1956
|
|
|
* |
1957
|
|
|
* @return $this |
1958
|
|
|
*/ |
1959
|
|
|
public function withEndpointGroupIds(array $endpointGroupIds) |
1960
|
|
|
{ |
1961
|
|
|
$this->data['EndpointGroupIds'] = $endpointGroupIds; |
1962
|
|
|
foreach ($endpointGroupIds as $i => $iValue) { |
1963
|
|
|
$this->options['query']['EndpointGroupIds.' . ($i + 1)] = $iValue; |
1964
|
|
|
} |
1965
|
|
|
|
1966
|
|
|
return $this; |
1967
|
|
|
} |
1968
|
|
|
} |
1969
|
|
|
|
1970
|
|
|
/** |
1971
|
|
|
* @method string getClientToken() |
1972
|
|
|
* @method $this withClientToken($value) |
1973
|
|
|
* @method string getTaskId() |
1974
|
|
|
* @method $this withTaskId($value) |
1975
|
|
|
*/ |
1976
|
|
|
class DetectApplicationMonitor extends Rpc |
1977
|
|
|
{ |
1978
|
|
|
} |
1979
|
|
|
|
1980
|
|
|
/** |
1981
|
|
|
* @method string getClientToken() |
1982
|
|
|
* @method $this withClientToken($value) |
1983
|
|
|
* @method string getTaskId() |
1984
|
|
|
* @method $this withTaskId($value) |
1985
|
|
|
*/ |
1986
|
|
|
class DisableApplicationMonitor extends Rpc |
1987
|
|
|
{ |
1988
|
|
|
} |
1989
|
|
|
|
1990
|
|
|
/** |
1991
|
|
|
* @method string getDryRun() |
1992
|
|
|
* @method $this withDryRun($value) |
1993
|
|
|
* @method string getClientToken() |
1994
|
|
|
* @method $this withClientToken($value) |
1995
|
|
|
* @method array getAclIds() |
1996
|
|
|
* @method string getListenerId() |
1997
|
|
|
* @method $this withListenerId($value) |
1998
|
|
|
*/ |
1999
|
|
|
class DissociateAclsFromListener extends Rpc |
2000
|
|
|
{ |
2001
|
|
|
|
2002
|
|
|
/** |
2003
|
|
|
* @param array $aclIds |
2004
|
|
|
* |
2005
|
|
|
* @return $this |
2006
|
|
|
*/ |
2007
|
|
|
public function withAclIds(array $aclIds) |
2008
|
|
|
{ |
2009
|
|
|
$this->data['AclIds'] = $aclIds; |
2010
|
|
|
foreach ($aclIds as $i => $iValue) { |
2011
|
|
|
$this->options['query']['AclIds.' . ($i + 1)] = $iValue; |
2012
|
|
|
} |
2013
|
|
|
|
2014
|
|
|
return $this; |
2015
|
|
|
} |
2016
|
|
|
} |
2017
|
|
|
|
2018
|
|
|
/** |
2019
|
|
|
* @method string getClientToken() |
2020
|
|
|
* @method $this withClientToken($value) |
2021
|
|
|
* @method array getDomains() |
2022
|
|
|
* @method string getListenerId() |
2023
|
|
|
* @method $this withListenerId($value) |
2024
|
|
|
* @method string getAcceleratorId() |
2025
|
|
|
* @method $this withAcceleratorId($value) |
2026
|
|
|
*/ |
2027
|
|
|
class DissociateAdditionalCertificatesFromListener extends Rpc |
2028
|
|
|
{ |
2029
|
|
|
|
2030
|
|
|
/** |
2031
|
|
|
* @param array $domains |
2032
|
|
|
* |
2033
|
|
|
* @return $this |
2034
|
|
|
*/ |
2035
|
|
|
public function withDomains(array $domains) |
2036
|
|
|
{ |
2037
|
|
|
$this->data['Domains'] = $domains; |
2038
|
|
|
foreach ($domains as $i => $iValue) { |
2039
|
|
|
$this->options['query']['Domains.' . ($i + 1)] = $iValue; |
2040
|
|
|
} |
2041
|
|
|
|
2042
|
|
|
return $this; |
2043
|
|
|
} |
2044
|
|
|
} |
2045
|
|
|
|
2046
|
|
|
/** |
2047
|
|
|
* @method string getClientToken() |
2048
|
|
|
* @method $this withClientToken($value) |
2049
|
|
|
* @method string getTaskId() |
2050
|
|
|
* @method $this withTaskId($value) |
2051
|
|
|
*/ |
2052
|
|
|
class EnableApplicationMonitor extends Rpc |
2053
|
|
|
{ |
2054
|
|
|
} |
2055
|
|
|
|
2056
|
|
|
/** |
2057
|
|
|
* @method string getAclId() |
2058
|
|
|
* @method $this withAclId($value) |
2059
|
|
|
*/ |
2060
|
|
|
class GetAcl extends Rpc |
2061
|
|
|
{ |
2062
|
|
|
} |
2063
|
|
|
|
2064
|
|
|
/** |
2065
|
|
|
* @method string getClientToken() |
2066
|
|
|
* @method $this withClientToken($value) |
2067
|
|
|
* @method string getAccelerateIpId() |
2068
|
|
|
* @method $this withAccelerateIpId($value) |
2069
|
|
|
*/ |
2070
|
|
|
class GetBasicAccelerateIp extends Rpc |
2071
|
|
|
{ |
2072
|
|
|
} |
2073
|
|
|
|
2074
|
|
|
/** |
2075
|
|
|
* @method string getClientToken() |
2076
|
|
|
* @method $this withClientToken($value) |
2077
|
|
|
* @method string getEndpointId() |
2078
|
|
|
* @method $this withEndpointId($value) |
2079
|
|
|
* @method string getAccelerateIpId() |
2080
|
|
|
* @method $this withAccelerateIpId($value) |
2081
|
|
|
* @method string getAcceleratorId() |
2082
|
|
|
* @method $this withAcceleratorId($value) |
2083
|
|
|
*/ |
2084
|
|
|
class GetBasicAccelerateIpEndpointRelation extends Rpc |
2085
|
|
|
{ |
2086
|
|
|
} |
2087
|
|
|
|
2088
|
|
|
/** |
2089
|
|
|
* @method string getClientToken() |
2090
|
|
|
* @method $this withClientToken($value) |
2091
|
|
|
* @method string getIpSetId() |
2092
|
|
|
* @method $this withIpSetId($value) |
2093
|
|
|
*/ |
2094
|
|
|
class GetBasicAccelerateIpIdleCount extends Rpc |
2095
|
|
|
{ |
2096
|
|
|
} |
2097
|
|
|
|
2098
|
|
|
/** |
2099
|
|
|
* @method string getAcceleratorId() |
2100
|
|
|
* @method $this withAcceleratorId($value) |
2101
|
|
|
*/ |
2102
|
|
|
class GetBasicAccelerator extends Rpc |
2103
|
|
|
{ |
2104
|
|
|
} |
2105
|
|
|
|
2106
|
|
|
/** |
2107
|
|
|
* @method string getClientToken() |
2108
|
|
|
* @method $this withClientToken($value) |
2109
|
|
|
* @method string getEndpointId() |
2110
|
|
|
* @method $this withEndpointId($value) |
2111
|
|
|
*/ |
2112
|
|
|
class GetBasicEndpoint extends Rpc |
2113
|
|
|
{ |
2114
|
|
|
} |
2115
|
|
|
|
2116
|
|
|
/** |
2117
|
|
|
* @method string getClientToken() |
2118
|
|
|
* @method $this withClientToken($value) |
2119
|
|
|
* @method string getEndpointGroupId() |
2120
|
|
|
* @method $this withEndpointGroupId($value) |
2121
|
|
|
*/ |
2122
|
|
|
class GetBasicEndpointGroup extends Rpc |
2123
|
|
|
{ |
2124
|
|
|
} |
2125
|
|
|
|
2126
|
|
|
/** |
2127
|
|
|
* @method string getClientToken() |
2128
|
|
|
* @method $this withClientToken($value) |
2129
|
|
|
* @method string getIpSetId() |
2130
|
|
|
* @method $this withIpSetId($value) |
2131
|
|
|
*/ |
2132
|
|
|
class GetBasicIpSet extends Rpc |
2133
|
|
|
{ |
2134
|
|
|
} |
2135
|
|
|
|
2136
|
|
|
/** |
2137
|
|
|
* @method string getDryRun() |
2138
|
|
|
* @method $this withDryRun($value) |
2139
|
|
|
* @method string getClientToken() |
2140
|
|
|
* @method $this withClientToken($value) |
2141
|
|
|
* @method string getListenerId() |
2142
|
|
|
* @method $this withListenerId($value) |
2143
|
|
|
* @method string getAcceleratorId() |
2144
|
|
|
* @method $this withAcceleratorId($value) |
2145
|
|
|
*/ |
2146
|
|
|
class GetHealthStatus extends Rpc |
2147
|
|
|
{ |
2148
|
|
|
} |
2149
|
|
|
|
2150
|
|
|
class GetInvalidDomainCount extends Rpc |
2151
|
|
|
{ |
2152
|
|
|
} |
2153
|
|
|
|
2154
|
|
|
/** |
2155
|
|
|
* @method string getAcceleratorId() |
2156
|
|
|
* @method $this withAcceleratorId($value) |
2157
|
|
|
*/ |
2158
|
|
|
class GetIpsetsBandwidthLimit extends Rpc |
2159
|
|
|
{ |
2160
|
|
|
} |
2161
|
|
|
|
2162
|
|
|
/** |
2163
|
|
|
* @method string getDryRun() |
2164
|
|
|
* @method $this withDryRun($value) |
2165
|
|
|
* @method string getClientToken() |
2166
|
|
|
* @method $this withClientToken($value) |
2167
|
|
|
* @method string getSpareIp() |
2168
|
|
|
* @method $this withSpareIp($value) |
2169
|
|
|
* @method string getAcceleratorId() |
2170
|
|
|
* @method $this withAcceleratorId($value) |
2171
|
|
|
*/ |
2172
|
|
|
class GetSpareIp extends Rpc |
2173
|
|
|
{ |
2174
|
|
|
} |
2175
|
|
|
|
2176
|
|
|
class ListAccelerateAreas extends Rpc |
2177
|
|
|
{ |
2178
|
|
|
} |
2179
|
|
|
|
2180
|
|
|
/** |
2181
|
|
|
* @method string getPageNumber() |
2182
|
|
|
* @method $this withPageNumber($value) |
2183
|
|
|
* @method string getResourceGroupId() |
2184
|
|
|
* @method $this withResourceGroupId($value) |
2185
|
|
|
* @method string getPageSize() |
2186
|
|
|
* @method $this withPageSize($value) |
2187
|
|
|
* @method string getAcceleratorId() |
2188
|
|
|
* @method $this withAcceleratorId($value) |
2189
|
|
|
* @method string getState() |
2190
|
|
|
* @method $this withState($value) |
2191
|
|
|
* @method array getTag() |
2192
|
|
|
*/ |
2193
|
|
|
class ListAccelerators extends Rpc |
2194
|
|
|
{ |
2195
|
|
|
|
2196
|
|
|
/** |
2197
|
|
|
* @param array $tag |
2198
|
|
|
* |
2199
|
|
|
* @return $this |
2200
|
|
|
*/ |
2201
|
|
|
public function withTag(array $tag) |
2202
|
|
|
{ |
2203
|
|
|
$this->data['Tag'] = $tag; |
2204
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2205
|
|
|
if(isset($depth1Value['Key'])){ |
2206
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2207
|
|
|
} |
2208
|
|
|
if(isset($depth1Value['Value'])){ |
2209
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2210
|
|
|
} |
2211
|
|
|
} |
2212
|
|
|
|
2213
|
|
|
return $this; |
2214
|
|
|
} |
2215
|
|
|
} |
2216
|
|
|
|
2217
|
|
|
/** |
2218
|
|
|
* @method string getAclName() |
2219
|
|
|
* @method $this withAclName($value) |
2220
|
|
|
* @method string getClientToken() |
2221
|
|
|
* @method $this withClientToken($value) |
2222
|
|
|
* @method string getAclIds() |
2223
|
|
|
* @method $this withAclIds($value) |
2224
|
|
|
* @method string getResourceGroupId() |
2225
|
|
|
* @method $this withResourceGroupId($value) |
2226
|
|
|
* @method string getNextToken() |
2227
|
|
|
* @method $this withNextToken($value) |
2228
|
|
|
* @method string getMaxResults() |
2229
|
|
|
* @method $this withMaxResults($value) |
2230
|
|
|
* @method array getTag() |
2231
|
|
|
*/ |
2232
|
|
|
class ListAcls extends Rpc |
2233
|
|
|
{ |
2234
|
|
|
|
2235
|
|
|
/** |
2236
|
|
|
* @param array $tag |
2237
|
|
|
* |
2238
|
|
|
* @return $this |
2239
|
|
|
*/ |
2240
|
|
|
public function withTag(array $tag) |
2241
|
|
|
{ |
2242
|
|
|
$this->data['Tag'] = $tag; |
2243
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2244
|
|
|
if(isset($depth1Value['Key'])){ |
2245
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2246
|
|
|
} |
2247
|
|
|
if(isset($depth1Value['Value'])){ |
2248
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2249
|
|
|
} |
2250
|
|
|
} |
2251
|
|
|
|
2252
|
|
|
return $this; |
2253
|
|
|
} |
2254
|
|
|
} |
2255
|
|
|
|
2256
|
|
|
/** |
2257
|
|
|
* @method string getPageNumber() |
2258
|
|
|
* @method $this withPageNumber($value) |
2259
|
|
|
* @method string getPageSize() |
2260
|
|
|
* @method $this withPageSize($value) |
2261
|
|
|
* @method string getSearchValue() |
2262
|
|
|
* @method $this withSearchValue($value) |
2263
|
|
|
*/ |
2264
|
|
|
class ListApplicationMonitor extends Rpc |
2265
|
|
|
{ |
2266
|
|
|
} |
2267
|
|
|
|
2268
|
|
|
/** |
2269
|
|
|
* @method string getEndTime() |
2270
|
|
|
* @method $this withEndTime($value) |
2271
|
|
|
* @method string getBeginTime() |
2272
|
|
|
* @method $this withBeginTime($value) |
2273
|
|
|
* @method string getPageNumber() |
2274
|
|
|
* @method $this withPageNumber($value) |
2275
|
|
|
* @method string getPageSize() |
2276
|
|
|
* @method $this withPageSize($value) |
2277
|
|
|
* @method string getTaskId() |
2278
|
|
|
* @method $this withTaskId($value) |
2279
|
|
|
*/ |
2280
|
|
|
class ListApplicationMonitorDetectResult extends Rpc |
2281
|
|
|
{ |
2282
|
|
|
} |
2283
|
|
|
|
2284
|
|
|
/** |
2285
|
|
|
* @method string getAcceleratorId() |
2286
|
|
|
* @method $this withAcceleratorId($value) |
2287
|
|
|
*/ |
2288
|
|
|
class ListAvailableAccelerateAreas extends Rpc |
2289
|
|
|
{ |
2290
|
|
|
} |
2291
|
|
|
|
2292
|
|
|
/** |
2293
|
|
|
* @method string getAcceleratorId() |
2294
|
|
|
* @method $this withAcceleratorId($value) |
2295
|
|
|
*/ |
2296
|
|
|
class ListAvailableBusiRegions extends Rpc |
2297
|
|
|
{ |
2298
|
|
|
} |
2299
|
|
|
|
2300
|
|
|
/** |
2301
|
|
|
* @method string getPageNumber() |
2302
|
|
|
* @method $this withPageNumber($value) |
2303
|
|
|
* @method string getPageSize() |
2304
|
|
|
* @method $this withPageSize($value) |
2305
|
|
|
*/ |
2306
|
|
|
class ListBandwidthackages extends Rpc |
2307
|
|
|
{ |
2308
|
|
|
} |
2309
|
|
|
|
2310
|
|
|
/** |
2311
|
|
|
* @method string getBandwidthPackageId() |
2312
|
|
|
* @method $this withBandwidthPackageId($value) |
2313
|
|
|
* @method string getType() |
2314
|
|
|
* @method $this withType($value) |
2315
|
|
|
* @method string getPageNumber() |
2316
|
|
|
* @method $this withPageNumber($value) |
2317
|
|
|
* @method string getResourceGroupId() |
2318
|
|
|
* @method $this withResourceGroupId($value) |
2319
|
|
|
* @method string getPageSize() |
2320
|
|
|
* @method $this withPageSize($value) |
2321
|
|
|
* @method string getState() |
2322
|
|
|
* @method $this withState($value) |
2323
|
|
|
* @method array getTag() |
2324
|
|
|
*/ |
2325
|
|
|
class ListBandwidthPackages extends Rpc |
2326
|
|
|
{ |
2327
|
|
|
|
2328
|
|
|
/** |
2329
|
|
|
* @param array $tag |
2330
|
|
|
* |
2331
|
|
|
* @return $this |
2332
|
|
|
*/ |
2333
|
|
|
public function withTag(array $tag) |
2334
|
|
|
{ |
2335
|
|
|
$this->data['Tag'] = $tag; |
2336
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2337
|
|
|
if(isset($depth1Value['Key'])){ |
2338
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2339
|
|
|
} |
2340
|
|
|
if(isset($depth1Value['Value'])){ |
2341
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2342
|
|
|
} |
2343
|
|
|
} |
2344
|
|
|
|
2345
|
|
|
return $this; |
2346
|
|
|
} |
2347
|
|
|
} |
2348
|
|
|
|
2349
|
|
|
/** |
2350
|
|
|
* @method string getClientToken() |
2351
|
|
|
* @method $this withClientToken($value) |
2352
|
|
|
* @method string getEndpointId() |
2353
|
|
|
* @method $this withEndpointId($value) |
2354
|
|
|
* @method string getAccelerateIpId() |
2355
|
|
|
* @method $this withAccelerateIpId($value) |
2356
|
|
|
* @method string getNextToken() |
2357
|
|
|
* @method $this withNextToken($value) |
2358
|
|
|
* @method string getMaxResults() |
2359
|
|
|
* @method $this withMaxResults($value) |
2360
|
|
|
* @method string getAcceleratorId() |
2361
|
|
|
* @method $this withAcceleratorId($value) |
2362
|
|
|
*/ |
2363
|
|
|
class ListBasicAccelerateIpEndpointRelations extends Rpc |
2364
|
|
|
{ |
2365
|
|
|
} |
2366
|
|
|
|
2367
|
|
|
/** |
2368
|
|
|
* @method string getClientToken() |
2369
|
|
|
* @method $this withClientToken($value) |
2370
|
|
|
* @method string getIpSetId() |
2371
|
|
|
* @method $this withIpSetId($value) |
2372
|
|
|
* @method string getAccelerateIpAddress() |
2373
|
|
|
* @method $this withAccelerateIpAddress($value) |
2374
|
|
|
* @method string getAccelerateIpId() |
2375
|
|
|
* @method $this withAccelerateIpId($value) |
2376
|
|
|
* @method string getNextToken() |
2377
|
|
|
* @method $this withNextToken($value) |
2378
|
|
|
* @method string getMaxResults() |
2379
|
|
|
* @method $this withMaxResults($value) |
2380
|
|
|
*/ |
2381
|
|
|
class ListBasicAccelerateIps extends Rpc |
2382
|
|
|
{ |
2383
|
|
|
} |
2384
|
|
|
|
2385
|
|
|
/** |
2386
|
|
|
* @method string getPageNumber() |
2387
|
|
|
* @method $this withPageNumber($value) |
2388
|
|
|
* @method string getResourceGroupId() |
2389
|
|
|
* @method $this withResourceGroupId($value) |
2390
|
|
|
* @method string getPageSize() |
2391
|
|
|
* @method $this withPageSize($value) |
2392
|
|
|
* @method string getAcceleratorId() |
2393
|
|
|
* @method $this withAcceleratorId($value) |
2394
|
|
|
* @method string getState() |
2395
|
|
|
* @method $this withState($value) |
2396
|
|
|
* @method array getTag() |
2397
|
|
|
*/ |
2398
|
|
|
class ListBasicAccelerators extends Rpc |
2399
|
|
|
{ |
2400
|
|
|
|
2401
|
|
|
/** |
2402
|
|
|
* @param array $tag |
2403
|
|
|
* |
2404
|
|
|
* @return $this |
2405
|
|
|
*/ |
2406
|
|
|
public function withTag(array $tag) |
2407
|
|
|
{ |
2408
|
|
|
$this->data['Tag'] = $tag; |
2409
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2410
|
|
|
if(isset($depth1Value['Key'])){ |
2411
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2412
|
|
|
} |
2413
|
|
|
if(isset($depth1Value['Value'])){ |
2414
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2415
|
|
|
} |
2416
|
|
|
} |
2417
|
|
|
|
2418
|
|
|
return $this; |
2419
|
|
|
} |
2420
|
|
|
} |
2421
|
|
|
|
2422
|
|
|
/** |
2423
|
|
|
* @method string getClientToken() |
2424
|
|
|
* @method $this withClientToken($value) |
2425
|
|
|
* @method string getEndpointId() |
2426
|
|
|
* @method $this withEndpointId($value) |
2427
|
|
|
* @method string getEndpointType() |
2428
|
|
|
* @method $this withEndpointType($value) |
2429
|
|
|
* @method string getNextToken() |
2430
|
|
|
* @method $this withNextToken($value) |
2431
|
|
|
* @method string getName() |
2432
|
|
|
* @method $this withName($value) |
2433
|
|
|
* @method string getMaxResults() |
2434
|
|
|
* @method $this withMaxResults($value) |
2435
|
|
|
* @method string getEndpointGroupId() |
2436
|
|
|
* @method $this withEndpointGroupId($value) |
2437
|
|
|
*/ |
2438
|
|
|
class ListBasicEndpoints extends Rpc |
2439
|
|
|
{ |
2440
|
|
|
} |
2441
|
|
|
|
2442
|
|
|
class ListBusiRegions extends Rpc |
2443
|
|
|
{ |
2444
|
|
|
} |
2445
|
|
|
|
2446
|
|
|
/** |
2447
|
|
|
* @method string getIsEpg() |
2448
|
|
|
* @method $this withIsEpg($value) |
2449
|
|
|
* @method string getIsIpSet() |
2450
|
|
|
* @method $this withIsIpSet($value) |
2451
|
|
|
* @method string getIpVersion() |
2452
|
|
|
* @method $this withIpVersion($value) |
2453
|
|
|
*/ |
2454
|
|
|
class ListCommonAreas extends Rpc |
2455
|
|
|
{ |
2456
|
|
|
} |
2457
|
|
|
|
2458
|
|
|
/** |
2459
|
|
|
* @method string getPageNumber() |
2460
|
|
|
* @method $this withPageNumber($value) |
2461
|
|
|
* @method string getListenerId() |
2462
|
|
|
* @method $this withListenerId($value) |
2463
|
|
|
* @method string getFromPort() |
2464
|
|
|
* @method $this withFromPort($value) |
2465
|
|
|
* @method string getPageSize() |
2466
|
|
|
* @method $this withPageSize($value) |
2467
|
|
|
* @method string getAcceleratorId() |
2468
|
|
|
* @method $this withAcceleratorId($value) |
2469
|
|
|
* @method array getProtocols() |
2470
|
|
|
* @method string getToPort() |
2471
|
|
|
* @method $this withToPort($value) |
2472
|
|
|
* @method string getEndpointGroupId() |
2473
|
|
|
* @method $this withEndpointGroupId($value) |
2474
|
|
|
*/ |
2475
|
|
|
class ListCustomRoutingEndpointGroupDestinations extends Rpc |
2476
|
|
|
{ |
2477
|
|
|
|
2478
|
|
|
/** |
2479
|
|
|
* @param array $protocols |
2480
|
|
|
* |
2481
|
|
|
* @return $this |
2482
|
|
|
*/ |
2483
|
|
|
public function withProtocols(array $protocols) |
2484
|
|
|
{ |
2485
|
|
|
$this->data['Protocols'] = $protocols; |
2486
|
|
|
foreach ($protocols as $i => $iValue) { |
2487
|
|
|
$this->options['query']['Protocols.' . ($i + 1)] = $iValue; |
2488
|
|
|
} |
2489
|
|
|
|
2490
|
|
|
return $this; |
2491
|
|
|
} |
2492
|
|
|
} |
2493
|
|
|
|
2494
|
|
|
/** |
2495
|
|
|
* @method string getPageNumber() |
2496
|
|
|
* @method $this withPageNumber($value) |
2497
|
|
|
* @method string getListenerId() |
2498
|
|
|
* @method $this withListenerId($value) |
2499
|
|
|
* @method string getPageSize() |
2500
|
|
|
* @method $this withPageSize($value) |
2501
|
|
|
* @method string getAcceleratorId() |
2502
|
|
|
* @method $this withAcceleratorId($value) |
2503
|
|
|
* @method string getEndpointGroupId() |
2504
|
|
|
* @method $this withEndpointGroupId($value) |
2505
|
|
|
*/ |
2506
|
|
|
class ListCustomRoutingEndpointGroups extends Rpc |
2507
|
|
|
{ |
2508
|
|
|
} |
2509
|
|
|
|
2510
|
|
|
/** |
2511
|
|
|
* @method string getPageNumber() |
2512
|
|
|
* @method $this withPageNumber($value) |
2513
|
|
|
* @method string getListenerId() |
2514
|
|
|
* @method $this withListenerId($value) |
2515
|
|
|
* @method string getPageSize() |
2516
|
|
|
* @method $this withPageSize($value) |
2517
|
|
|
* @method string getAcceleratorId() |
2518
|
|
|
* @method $this withAcceleratorId($value) |
2519
|
|
|
* @method string getEndpointGroupId() |
2520
|
|
|
* @method $this withEndpointGroupId($value) |
2521
|
|
|
*/ |
2522
|
|
|
class ListCustomRoutingEndpoints extends Rpc |
2523
|
|
|
{ |
2524
|
|
|
} |
2525
|
|
|
|
2526
|
|
|
/** |
2527
|
|
|
* @method string getAddress() |
2528
|
|
|
* @method $this withAddress($value) |
2529
|
|
|
* @method string getEndpointId() |
2530
|
|
|
* @method $this withEndpointId($value) |
2531
|
|
|
* @method string getPageNumber() |
2532
|
|
|
* @method $this withPageNumber($value) |
2533
|
|
|
* @method string getListenerId() |
2534
|
|
|
* @method $this withListenerId($value) |
2535
|
|
|
* @method string getPageSize() |
2536
|
|
|
* @method $this withPageSize($value) |
2537
|
|
|
* @method string getAcceleratorId() |
2538
|
|
|
* @method $this withAcceleratorId($value) |
2539
|
|
|
* @method string getEndpointGroupId() |
2540
|
|
|
* @method $this withEndpointGroupId($value) |
2541
|
|
|
*/ |
2542
|
|
|
class ListCustomRoutingEndpointTrafficPolicies extends Rpc |
2543
|
|
|
{ |
2544
|
|
|
} |
2545
|
|
|
|
2546
|
|
|
/** |
2547
|
|
|
* @method string getPageNumber() |
2548
|
|
|
* @method $this withPageNumber($value) |
2549
|
|
|
* @method string getListenerId() |
2550
|
|
|
* @method $this withListenerId($value) |
2551
|
|
|
* @method string getPageSize() |
2552
|
|
|
* @method $this withPageSize($value) |
2553
|
|
|
* @method string getAcceleratorId() |
2554
|
|
|
* @method $this withAcceleratorId($value) |
2555
|
|
|
* @method string getEndpointGroupId() |
2556
|
|
|
* @method $this withEndpointGroupId($value) |
2557
|
|
|
*/ |
2558
|
|
|
class ListCustomRoutingPortMappings extends Rpc |
2559
|
|
|
{ |
2560
|
|
|
} |
2561
|
|
|
|
2562
|
|
|
/** |
2563
|
|
|
* @method string getEndpointId() |
2564
|
|
|
* @method $this withEndpointId($value) |
2565
|
|
|
* @method string getDestinationAddress() |
2566
|
|
|
* @method $this withDestinationAddress($value) |
2567
|
|
|
* @method string getPageNumber() |
2568
|
|
|
* @method $this withPageNumber($value) |
2569
|
|
|
* @method string getPageSize() |
2570
|
|
|
* @method $this withPageSize($value) |
2571
|
|
|
*/ |
2572
|
|
|
class ListCustomRoutingPortMappingsByDestination extends Rpc |
2573
|
|
|
{ |
2574
|
|
|
} |
2575
|
|
|
|
2576
|
|
|
/** |
2577
|
|
|
* @method string getPageNumber() |
2578
|
|
|
* @method $this withPageNumber($value) |
2579
|
|
|
* @method string getDomain() |
2580
|
|
|
* @method $this withDomain($value) |
2581
|
|
|
* @method string getPageSize() |
2582
|
|
|
* @method $this withPageSize($value) |
2583
|
|
|
* @method string getAcceleratorId() |
2584
|
|
|
* @method $this withAcceleratorId($value) |
2585
|
|
|
* @method string getState() |
2586
|
|
|
* @method $this withState($value) |
2587
|
|
|
*/ |
2588
|
|
|
class ListDomains extends Rpc |
2589
|
|
|
{ |
2590
|
|
|
} |
2591
|
|
|
|
2592
|
|
|
/** |
2593
|
|
|
* @method string getPageNumber() |
2594
|
|
|
* @method $this withPageNumber($value) |
2595
|
|
|
* @method string getListenerId() |
2596
|
|
|
* @method $this withListenerId($value) |
2597
|
|
|
* @method string getEndpointGroupType() |
2598
|
|
|
* @method $this withEndpointGroupType($value) |
2599
|
|
|
* @method string getAccessLogSwitch() |
2600
|
|
|
* @method $this withAccessLogSwitch($value) |
2601
|
|
|
* @method string getPageSize() |
2602
|
|
|
* @method $this withPageSize($value) |
2603
|
|
|
* @method string getAcceleratorId() |
2604
|
|
|
* @method $this withAcceleratorId($value) |
2605
|
|
|
* @method array getTag() |
2606
|
|
|
* @method string getEndpointGroupId() |
2607
|
|
|
* @method $this withEndpointGroupId($value) |
2608
|
|
|
*/ |
2609
|
|
|
class ListEndpointGroups extends Rpc |
2610
|
|
|
{ |
2611
|
|
|
|
2612
|
|
|
/** |
2613
|
|
|
* @param array $tag |
2614
|
|
|
* |
2615
|
|
|
* @return $this |
2616
|
|
|
*/ |
2617
|
|
|
public function withTag(array $tag) |
2618
|
|
|
{ |
2619
|
|
|
$this->data['Tag'] = $tag; |
2620
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2621
|
|
|
if(isset($depth1Value['Key'])){ |
2622
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2623
|
|
|
} |
2624
|
|
|
if(isset($depth1Value['Value'])){ |
2625
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2626
|
|
|
} |
2627
|
|
|
} |
2628
|
|
|
|
2629
|
|
|
return $this; |
2630
|
|
|
} |
2631
|
|
|
} |
2632
|
|
|
|
2633
|
|
|
/** |
2634
|
|
|
* @method string getClientToken() |
2635
|
|
|
* @method $this withClientToken($value) |
2636
|
|
|
* @method string getListenerId() |
2637
|
|
|
* @method $this withListenerId($value) |
2638
|
|
|
* @method string getForwardingRuleId() |
2639
|
|
|
* @method $this withForwardingRuleId($value) |
2640
|
|
|
* @method string getNextToken() |
2641
|
|
|
* @method $this withNextToken($value) |
2642
|
|
|
* @method string getMaxResults() |
2643
|
|
|
* @method $this withMaxResults($value) |
2644
|
|
|
* @method string getAcceleratorId() |
2645
|
|
|
* @method $this withAcceleratorId($value) |
2646
|
|
|
*/ |
2647
|
|
|
class ListForwardingRules extends Rpc |
2648
|
|
|
{ |
2649
|
|
|
} |
2650
|
|
|
|
2651
|
|
|
/** |
2652
|
|
|
* @method string getPageNumber() |
2653
|
|
|
* @method $this withPageNumber($value) |
2654
|
|
|
* @method string getPageSize() |
2655
|
|
|
* @method $this withPageSize($value) |
2656
|
|
|
* @method string getAcceleratorId() |
2657
|
|
|
* @method $this withAcceleratorId($value) |
2658
|
|
|
*/ |
2659
|
|
|
class ListIpSets extends Rpc |
2660
|
|
|
{ |
2661
|
|
|
} |
2662
|
|
|
|
2663
|
|
|
/** |
2664
|
|
|
* @method string getAcceleratorType() |
2665
|
|
|
* @method $this withAcceleratorType($value) |
2666
|
|
|
* @method string getBusinessRegionId() |
2667
|
|
|
* @method $this withBusinessRegionId($value) |
2668
|
|
|
* @method string getAcceleratorId() |
2669
|
|
|
* @method $this withAcceleratorId($value) |
2670
|
|
|
*/ |
2671
|
|
|
class ListIspTypes extends Rpc |
2672
|
|
|
{ |
2673
|
|
|
} |
2674
|
|
|
|
2675
|
|
|
/** |
2676
|
|
|
* @method string getRole() |
2677
|
|
|
* @method $this withRole($value) |
2678
|
|
|
* @method string getListenerId() |
2679
|
|
|
* @method $this withListenerId($value) |
2680
|
|
|
* @method string getNextToken() |
2681
|
|
|
* @method $this withNextToken($value) |
2682
|
|
|
* @method string getMaxResults() |
2683
|
|
|
* @method $this withMaxResults($value) |
2684
|
|
|
* @method string getAcceleratorId() |
2685
|
|
|
* @method $this withAcceleratorId($value) |
2686
|
|
|
*/ |
2687
|
|
|
class ListListenerCertificates extends Rpc |
2688
|
|
|
{ |
2689
|
|
|
} |
2690
|
|
|
|
2691
|
|
|
/** |
2692
|
|
|
* @method string getPageNumber() |
2693
|
|
|
* @method $this withPageNumber($value) |
2694
|
|
|
* @method string getPageSize() |
2695
|
|
|
* @method $this withPageSize($value) |
2696
|
|
|
* @method string getAcceleratorId() |
2697
|
|
|
* @method $this withAcceleratorId($value) |
2698
|
|
|
*/ |
2699
|
|
|
class ListListeners extends Rpc |
2700
|
|
|
{ |
2701
|
|
|
} |
2702
|
|
|
|
2703
|
|
|
/** |
2704
|
|
|
* @method string getDryRun() |
2705
|
|
|
* @method $this withDryRun($value) |
2706
|
|
|
* @method string getClientToken() |
2707
|
|
|
* @method $this withClientToken($value) |
2708
|
|
|
* @method string getAcceleratorId() |
2709
|
|
|
* @method $this withAcceleratorId($value) |
2710
|
|
|
*/ |
2711
|
|
|
class ListSpareIps extends Rpc |
2712
|
|
|
{ |
2713
|
|
|
} |
2714
|
|
|
|
2715
|
|
|
/** |
2716
|
|
|
* @method string getPageNumber() |
2717
|
|
|
* @method $this withPageNumber($value) |
2718
|
|
|
* @method string getPageSize() |
2719
|
|
|
* @method $this withPageSize($value) |
2720
|
|
|
*/ |
2721
|
|
|
class ListSystemSecurityPolicies extends Rpc |
2722
|
|
|
{ |
2723
|
|
|
} |
2724
|
|
|
|
2725
|
|
|
/** |
2726
|
|
|
* @method array getResourceId() |
2727
|
|
|
* @method string getClientToken() |
2728
|
|
|
* @method $this withClientToken($value) |
2729
|
|
|
* @method string getResourceType() |
2730
|
|
|
* @method $this withResourceType($value) |
2731
|
|
|
* @method string getNextToken() |
2732
|
|
|
* @method $this withNextToken($value) |
2733
|
|
|
* @method array getTag() |
2734
|
|
|
*/ |
2735
|
|
|
class ListTagResources extends Rpc |
2736
|
|
|
{ |
2737
|
|
|
|
2738
|
|
|
/** |
2739
|
|
|
* @param array $resourceId |
2740
|
|
|
* |
2741
|
|
|
* @return $this |
2742
|
|
|
*/ |
2743
|
|
|
public function withResourceId(array $resourceId) |
2744
|
|
|
{ |
2745
|
|
|
$this->data['ResourceId'] = $resourceId; |
2746
|
|
|
foreach ($resourceId as $i => $iValue) { |
2747
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
2748
|
|
|
} |
2749
|
|
|
|
2750
|
|
|
return $this; |
2751
|
|
|
} |
2752
|
|
|
|
2753
|
|
|
/** |
2754
|
|
|
* @param array $tag |
2755
|
|
|
* |
2756
|
|
|
* @return $this |
2757
|
|
|
*/ |
2758
|
|
|
public function withTag(array $tag) |
2759
|
|
|
{ |
2760
|
|
|
$this->data['Tag'] = $tag; |
2761
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2762
|
|
|
if(isset($depth1Value['Key'])){ |
2763
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2764
|
|
|
} |
2765
|
|
|
if(isset($depth1Value['Value'])){ |
2766
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2767
|
|
|
} |
2768
|
|
|
} |
2769
|
|
|
|
2770
|
|
|
return $this; |
2771
|
|
|
} |
2772
|
|
|
} |
2773
|
|
|
|
2774
|
|
|
class QueryCrossBorderApprovalStatus extends Rpc |
2775
|
|
|
{ |
2776
|
|
|
} |
2777
|
|
|
|
2778
|
|
|
/** |
2779
|
|
|
* @method string getAclId() |
2780
|
|
|
* @method $this withAclId($value) |
2781
|
|
|
* @method string getDryRun() |
2782
|
|
|
* @method $this withDryRun($value) |
2783
|
|
|
* @method string getClientToken() |
2784
|
|
|
* @method $this withClientToken($value) |
2785
|
|
|
* @method array getAclEntries() |
2786
|
|
|
*/ |
2787
|
|
|
class RemoveEntriesFromAcl extends Rpc |
2788
|
|
|
{ |
2789
|
|
|
|
2790
|
|
|
/** |
2791
|
|
|
* @param array $aclEntries |
2792
|
|
|
* |
2793
|
|
|
* @return $this |
2794
|
|
|
*/ |
2795
|
|
|
public function withAclEntries(array $aclEntries) |
2796
|
|
|
{ |
2797
|
|
|
$this->data['AclEntries'] = $aclEntries; |
2798
|
|
|
foreach ($aclEntries as $depth1 => $depth1Value) { |
2799
|
|
|
if(isset($depth1Value['Entry'])){ |
2800
|
|
|
$this->options['query']['AclEntries.' . ($depth1 + 1) . '.Entry'] = $depth1Value['Entry']; |
2801
|
|
|
} |
2802
|
|
|
} |
2803
|
|
|
|
2804
|
|
|
return $this; |
2805
|
|
|
} |
2806
|
|
|
} |
2807
|
|
|
|
2808
|
|
|
/** |
2809
|
|
|
* @method string getBandwidthPackageId() |
2810
|
|
|
* @method $this withBandwidthPackageId($value) |
2811
|
|
|
* @method string getTargetBandwidthPackageId() |
2812
|
|
|
* @method $this withTargetBandwidthPackageId($value) |
2813
|
|
|
* @method string getAcceleratorId() |
2814
|
|
|
* @method $this withAcceleratorId($value) |
2815
|
|
|
*/ |
2816
|
|
|
class ReplaceBandwidthPackage extends Rpc |
2817
|
|
|
{ |
2818
|
|
|
} |
2819
|
|
|
|
2820
|
|
|
/** |
2821
|
|
|
* @method array getResourceId() |
2822
|
|
|
* @method string getClientToken() |
2823
|
|
|
* @method $this withClientToken($value) |
2824
|
|
|
* @method string getResourceType() |
2825
|
|
|
* @method $this withResourceType($value) |
2826
|
|
|
* @method array getTag() |
2827
|
|
|
*/ |
2828
|
|
|
class TagResources extends Rpc |
2829
|
|
|
{ |
2830
|
|
|
|
2831
|
|
|
/** |
2832
|
|
|
* @param array $resourceId |
2833
|
|
|
* |
2834
|
|
|
* @return $this |
2835
|
|
|
*/ |
2836
|
|
|
public function withResourceId(array $resourceId) |
2837
|
|
|
{ |
2838
|
|
|
$this->data['ResourceId'] = $resourceId; |
2839
|
|
|
foreach ($resourceId as $i => $iValue) { |
2840
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
2841
|
|
|
} |
2842
|
|
|
|
2843
|
|
|
return $this; |
2844
|
|
|
} |
2845
|
|
|
|
2846
|
|
|
/** |
2847
|
|
|
* @param array $tag |
2848
|
|
|
* |
2849
|
|
|
* @return $this |
2850
|
|
|
*/ |
2851
|
|
|
public function withTag(array $tag) |
2852
|
|
|
{ |
2853
|
|
|
$this->data['Tag'] = $tag; |
2854
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
2855
|
|
|
if(isset($depth1Value['Key'])){ |
2856
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
2857
|
|
|
} |
2858
|
|
|
if(isset($depth1Value['Value'])){ |
2859
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
2860
|
|
|
} |
2861
|
|
|
} |
2862
|
|
|
|
2863
|
|
|
return $this; |
2864
|
|
|
} |
2865
|
|
|
} |
2866
|
|
|
|
2867
|
|
|
/** |
2868
|
|
|
* @method string getAll() |
2869
|
|
|
* @method $this withAll($value) |
2870
|
|
|
* @method array getResourceId() |
2871
|
|
|
* @method string getClientToken() |
2872
|
|
|
* @method $this withClientToken($value) |
2873
|
|
|
* @method string getResourceType() |
2874
|
|
|
* @method $this withResourceType($value) |
2875
|
|
|
* @method array getTagKey() |
2876
|
|
|
*/ |
2877
|
|
|
class UntagResources extends Rpc |
2878
|
|
|
{ |
2879
|
|
|
|
2880
|
|
|
/** |
2881
|
|
|
* @param array $resourceId |
2882
|
|
|
* |
2883
|
|
|
* @return $this |
2884
|
|
|
*/ |
2885
|
|
|
public function withResourceId(array $resourceId) |
2886
|
|
|
{ |
2887
|
|
|
$this->data['ResourceId'] = $resourceId; |
2888
|
|
|
foreach ($resourceId as $i => $iValue) { |
2889
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
2890
|
|
|
} |
2891
|
|
|
|
2892
|
|
|
return $this; |
2893
|
|
|
} |
2894
|
|
|
|
2895
|
|
|
/** |
2896
|
|
|
* @param array $tagKey |
2897
|
|
|
* |
2898
|
|
|
* @return $this |
2899
|
|
|
*/ |
2900
|
|
|
public function withTagKey(array $tagKey) |
2901
|
|
|
{ |
2902
|
|
|
$this->data['TagKey'] = $tagKey; |
2903
|
|
|
foreach ($tagKey as $i => $iValue) { |
2904
|
|
|
$this->options['query']['TagKey.' . ($i + 1)] = $iValue; |
2905
|
|
|
} |
2906
|
|
|
|
2907
|
|
|
return $this; |
2908
|
|
|
} |
2909
|
|
|
} |
2910
|
|
|
|
2911
|
|
|
/** |
2912
|
|
|
* @method string getAutoPay() |
2913
|
|
|
* @method $this withAutoPay($value) |
2914
|
|
|
* @method string getPromotionOptionNo() |
2915
|
|
|
* @method $this withPromotionOptionNo($value) |
2916
|
|
|
* @method string getClientToken() |
2917
|
|
|
* @method $this withClientToken($value) |
2918
|
|
|
* @method string getDescription() |
2919
|
|
|
* @method $this withDescription($value) |
2920
|
|
|
* @method string getAutoUseCoupon() |
2921
|
|
|
* @method $this withAutoUseCoupon($value) |
2922
|
|
|
* @method string getSpec() |
2923
|
|
|
* @method $this withSpec($value) |
2924
|
|
|
* @method string getName() |
2925
|
|
|
* @method $this withName($value) |
2926
|
|
|
* @method string getAcceleratorId() |
2927
|
|
|
* @method $this withAcceleratorId($value) |
2928
|
|
|
*/ |
2929
|
|
|
class UpdateAccelerator extends Rpc |
2930
|
|
|
{ |
2931
|
|
|
} |
2932
|
|
|
|
2933
|
|
|
/** |
2934
|
|
|
* @method string getClientToken() |
2935
|
|
|
* @method $this withClientToken($value) |
2936
|
|
|
* @method string getAutoRenewDuration() |
2937
|
|
|
* @method $this withAutoRenewDuration($value) |
2938
|
|
|
* @method string getAutoRenew() |
2939
|
|
|
* @method $this withAutoRenew($value) |
2940
|
|
|
* @method string getRenewalStatus() |
2941
|
|
|
* @method $this withRenewalStatus($value) |
2942
|
|
|
* @method string getName() |
2943
|
|
|
* @method $this withName($value) |
2944
|
|
|
* @method string getAcceleratorId() |
2945
|
|
|
* @method $this withAcceleratorId($value) |
2946
|
|
|
*/ |
2947
|
|
|
class UpdateAcceleratorAutoRenewAttribute extends Rpc |
2948
|
|
|
{ |
2949
|
|
|
} |
2950
|
|
|
|
2951
|
|
|
/** |
2952
|
|
|
* @method string getAcceleratorId() |
2953
|
|
|
* @method $this withAcceleratorId($value) |
2954
|
|
|
*/ |
2955
|
|
|
class UpdateAcceleratorConfirm extends Rpc |
2956
|
|
|
{ |
2957
|
|
|
} |
2958
|
|
|
|
2959
|
|
|
/** |
2960
|
|
|
* @method string getClientToken() |
2961
|
|
|
* @method $this withClientToken($value) |
2962
|
|
|
* @method string getCrossBorderMode() |
2963
|
|
|
* @method $this withCrossBorderMode($value) |
2964
|
|
|
* @method string getAcceleratorId() |
2965
|
|
|
* @method $this withAcceleratorId($value) |
2966
|
|
|
*/ |
2967
|
|
|
class UpdateAcceleratorCrossBorderMode extends Rpc |
2968
|
|
|
{ |
2969
|
|
|
} |
2970
|
|
|
|
2971
|
|
|
/** |
2972
|
|
|
* @method string getAclId() |
2973
|
|
|
* @method $this withAclId($value) |
2974
|
|
|
* @method string getDryRun() |
2975
|
|
|
* @method $this withDryRun($value) |
2976
|
|
|
* @method string getAclName() |
2977
|
|
|
* @method $this withAclName($value) |
2978
|
|
|
* @method string getClientToken() |
2979
|
|
|
* @method $this withClientToken($value) |
2980
|
|
|
*/ |
2981
|
|
|
class UpdateAclAttribute extends Rpc |
2982
|
|
|
{ |
2983
|
|
|
} |
2984
|
|
|
|
2985
|
|
|
/** |
2986
|
|
|
* @method string getDryRun() |
2987
|
|
|
* @method $this withDryRun($value) |
2988
|
|
|
* @method string getClientToken() |
2989
|
|
|
* @method $this withClientToken($value) |
2990
|
|
|
* @method string getCertificateId() |
2991
|
|
|
* @method $this withCertificateId($value) |
2992
|
|
|
* @method string getListenerId() |
2993
|
|
|
* @method $this withListenerId($value) |
2994
|
|
|
* @method string getDomain() |
2995
|
|
|
* @method $this withDomain($value) |
2996
|
|
|
* @method string getAcceleratorId() |
2997
|
|
|
* @method $this withAcceleratorId($value) |
2998
|
|
|
*/ |
2999
|
|
|
class UpdateAdditionalCertificateWithListener extends Rpc |
3000
|
|
|
{ |
3001
|
|
|
} |
3002
|
|
|
|
3003
|
|
|
/** |
3004
|
|
|
* @method string getDetectEnable() |
3005
|
|
|
* @method $this withDetectEnable($value) |
3006
|
|
|
* @method string getClientToken() |
3007
|
|
|
* @method $this withClientToken($value) |
3008
|
|
|
* @method string getTaskName() |
3009
|
|
|
* @method $this withTaskName($value) |
3010
|
|
|
* @method string getListenerId() |
3011
|
|
|
* @method $this withListenerId($value) |
3012
|
|
|
* @method string getSilenceTime() |
3013
|
|
|
* @method $this withSilenceTime($value) |
3014
|
|
|
* @method string getTaskId() |
3015
|
|
|
* @method $this withTaskId($value) |
3016
|
|
|
* @method string getAddress() |
3017
|
|
|
* @method $this withAddress($value) |
3018
|
|
|
* @method string getDetectThreshold() |
3019
|
|
|
* @method $this withDetectThreshold($value) |
3020
|
|
|
* @method string getOptionsJson() |
3021
|
|
|
* @method $this withOptionsJson($value) |
3022
|
|
|
* @method string getDetectTimes() |
3023
|
|
|
* @method $this withDetectTimes($value) |
3024
|
|
|
*/ |
3025
|
|
|
class UpdateApplicationMonitor extends Rpc |
3026
|
|
|
{ |
3027
|
|
|
} |
3028
|
|
|
|
3029
|
|
|
/** |
3030
|
|
|
* @method string getClientToken() |
3031
|
|
|
* @method $this withClientToken($value) |
3032
|
|
|
* @method string getAutoRenewDuration() |
3033
|
|
|
* @method $this withAutoRenewDuration($value) |
3034
|
|
|
* @method string getInstanceId() |
3035
|
|
|
* @method $this withInstanceId($value) |
3036
|
|
|
* @method string getAutoRenew() |
3037
|
|
|
* @method $this withAutoRenew($value) |
3038
|
|
|
* @method string getRenewalStatus() |
3039
|
|
|
* @method $this withRenewalStatus($value) |
3040
|
|
|
* @method string getName() |
3041
|
|
|
* @method $this withName($value) |
3042
|
|
|
*/ |
3043
|
|
|
class UpdateBandwidthPackagaAutoRenewAttribute extends Rpc |
3044
|
|
|
{ |
3045
|
|
|
} |
3046
|
|
|
|
3047
|
|
|
/** |
3048
|
|
|
* @method string getBandwidthType() |
3049
|
|
|
* @method $this withBandwidthType($value) |
3050
|
|
|
* @method string getBandwidthPackageId() |
3051
|
|
|
* @method $this withBandwidthPackageId($value) |
3052
|
|
|
* @method string getAutoPay() |
3053
|
|
|
* @method $this withAutoPay($value) |
3054
|
|
|
* @method string getPromotionOptionNo() |
3055
|
|
|
* @method $this withPromotionOptionNo($value) |
3056
|
|
|
* @method string getBandwidth() |
3057
|
|
|
* @method $this withBandwidth($value) |
3058
|
|
|
* @method string getDescription() |
3059
|
|
|
* @method $this withDescription($value) |
3060
|
|
|
* @method string getAutoUseCoupon() |
3061
|
|
|
* @method $this withAutoUseCoupon($value) |
3062
|
|
|
* @method string getName() |
3063
|
|
|
* @method $this withName($value) |
3064
|
|
|
*/ |
3065
|
|
|
class UpdateBandwidthPackage extends Rpc |
3066
|
|
|
{ |
3067
|
|
|
} |
3068
|
|
|
|
3069
|
|
|
/** |
3070
|
|
|
* @method string getClientToken() |
3071
|
|
|
* @method $this withClientToken($value) |
3072
|
|
|
* @method string getDescription() |
3073
|
|
|
* @method $this withDescription($value) |
3074
|
|
|
* @method string getName() |
3075
|
|
|
* @method $this withName($value) |
3076
|
|
|
* @method string getAcceleratorId() |
3077
|
|
|
* @method $this withAcceleratorId($value) |
3078
|
|
|
*/ |
3079
|
|
|
class UpdateBasicAccelerator extends Rpc |
3080
|
|
|
{ |
3081
|
|
|
} |
3082
|
|
|
|
3083
|
|
|
/** |
3084
|
|
|
* @method string getClientToken() |
3085
|
|
|
* @method $this withClientToken($value) |
3086
|
|
|
* @method string getEndpointId() |
3087
|
|
|
* @method $this withEndpointId($value) |
3088
|
|
|
* @method string getName() |
3089
|
|
|
* @method $this withName($value) |
3090
|
|
|
* @method string getEndpointGroupId() |
3091
|
|
|
* @method $this withEndpointGroupId($value) |
3092
|
|
|
*/ |
3093
|
|
|
class UpdateBasicEndpoint extends Rpc |
3094
|
|
|
{ |
3095
|
|
|
} |
3096
|
|
|
|
3097
|
|
|
/** |
3098
|
|
|
* @method string getClientToken() |
3099
|
|
|
* @method $this withClientToken($value) |
3100
|
|
|
* @method string getDescription() |
3101
|
|
|
* @method $this withDescription($value) |
3102
|
|
|
* @method string getEndpointAddress() |
3103
|
|
|
* @method $this withEndpointAddress($value) |
3104
|
|
|
* @method string getEndpointType() |
3105
|
|
|
* @method $this withEndpointType($value) |
3106
|
|
|
* @method string getName() |
3107
|
|
|
* @method $this withName($value) |
3108
|
|
|
* @method string getEndpointSubAddress() |
3109
|
|
|
* @method $this withEndpointSubAddress($value) |
3110
|
|
|
* @method string getEndpointGroupId() |
3111
|
|
|
* @method $this withEndpointGroupId($value) |
3112
|
|
|
*/ |
3113
|
|
|
class UpdateBasicEndpointGroup extends Rpc |
3114
|
|
|
{ |
3115
|
|
|
} |
3116
|
|
|
|
3117
|
|
|
/** |
3118
|
|
|
* @method string getClientToken() |
3119
|
|
|
* @method $this withClientToken($value) |
3120
|
|
|
* @method string getBandwidth() |
3121
|
|
|
* @method $this withBandwidth($value) |
3122
|
|
|
* @method string getIpSetId() |
3123
|
|
|
* @method $this withIpSetId($value) |
3124
|
|
|
*/ |
3125
|
|
|
class UpdateBasicIpSet extends Rpc |
3126
|
|
|
{ |
3127
|
|
|
} |
3128
|
|
|
|
3129
|
|
|
/** |
3130
|
|
|
* @method string getClientToken() |
3131
|
|
|
* @method $this withClientToken($value) |
3132
|
|
|
* @method string getDescription() |
3133
|
|
|
* @method $this withDescription($value) |
3134
|
|
|
* @method string getName() |
3135
|
|
|
* @method $this withName($value) |
3136
|
|
|
* @method string getEndpointGroupId() |
3137
|
|
|
* @method $this withEndpointGroupId($value) |
3138
|
|
|
*/ |
3139
|
|
|
class UpdateCustomRoutingEndpointGroupAttribute extends Rpc |
3140
|
|
|
{ |
3141
|
|
|
} |
3142
|
|
|
|
3143
|
|
|
/** |
3144
|
|
|
* @method string getDryRun() |
3145
|
|
|
* @method $this withDryRun($value) |
3146
|
|
|
* @method string getClientToken() |
3147
|
|
|
* @method $this withClientToken($value) |
3148
|
|
|
* @method array getDestinationConfigurations() |
3149
|
|
|
* @method string getEndpointGroupId() |
3150
|
|
|
* @method $this withEndpointGroupId($value) |
3151
|
|
|
*/ |
3152
|
|
|
class UpdateCustomRoutingEndpointGroupDestinations extends Rpc |
3153
|
|
|
{ |
3154
|
|
|
|
3155
|
|
|
/** |
3156
|
|
|
* @param array $destinationConfigurations |
3157
|
|
|
* |
3158
|
|
|
* @return $this |
3159
|
|
|
*/ |
3160
|
|
|
public function withDestinationConfigurations(array $destinationConfigurations) |
3161
|
|
|
{ |
3162
|
|
|
$this->data['DestinationConfigurations'] = $destinationConfigurations; |
3163
|
|
|
foreach ($destinationConfigurations as $depth1 => $depth1Value) { |
3164
|
|
|
foreach ($depth1Value['Protocols'] as $i => $iValue) { |
3165
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.Protocols.' . ($i + 1)] = $iValue; |
3166
|
|
|
} |
3167
|
|
|
if(isset($depth1Value['FromPort'])){ |
3168
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
3169
|
|
|
} |
3170
|
|
|
if(isset($depth1Value['ToPort'])){ |
3171
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
3172
|
|
|
} |
3173
|
|
|
if(isset($depth1Value['DestinationId'])){ |
3174
|
|
|
$this->options['query']['DestinationConfigurations.' . ($depth1 + 1) . '.DestinationId'] = $depth1Value['DestinationId']; |
3175
|
|
|
} |
3176
|
|
|
} |
3177
|
|
|
|
3178
|
|
|
return $this; |
3179
|
|
|
} |
3180
|
|
|
} |
3181
|
|
|
|
3182
|
|
|
/** |
3183
|
|
|
* @method string getClientToken() |
3184
|
|
|
* @method $this withClientToken($value) |
3185
|
|
|
* @method array getEndpointConfigurations() |
3186
|
|
|
* @method string getEndpointGroupId() |
3187
|
|
|
* @method $this withEndpointGroupId($value) |
3188
|
|
|
*/ |
3189
|
|
|
class UpdateCustomRoutingEndpoints extends Rpc |
3190
|
|
|
{ |
3191
|
|
|
|
3192
|
|
|
/** |
3193
|
|
|
* @param array $endpointConfigurations |
3194
|
|
|
* |
3195
|
|
|
* @return $this |
3196
|
|
|
*/ |
3197
|
|
|
public function withEndpointConfigurations(array $endpointConfigurations) |
3198
|
|
|
{ |
3199
|
|
|
$this->data['EndpointConfigurations'] = $endpointConfigurations; |
3200
|
|
|
foreach ($endpointConfigurations as $depth1 => $depth1Value) { |
3201
|
|
|
if(isset($depth1Value['TrafficToEndpointPolicy'])){ |
3202
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.TrafficToEndpointPolicy'] = $depth1Value['TrafficToEndpointPolicy']; |
3203
|
|
|
} |
3204
|
|
|
if(isset($depth1Value['EndpointId'])){ |
3205
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.EndpointId'] = $depth1Value['EndpointId']; |
3206
|
|
|
} |
3207
|
|
|
foreach ($depth1Value['PolicyConfigurations'] as $depth2 => $depth2Value) { |
3208
|
|
|
if(isset($depth2Value['Address'])){ |
3209
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.Address'] = $depth2Value['Address']; |
3210
|
|
|
} |
3211
|
|
|
foreach ($depth2Value['PortRanges'] as $depth3 => $depth3Value) { |
3212
|
|
|
if(isset($depth3Value['FromPort'])){ |
3213
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.PortRanges.' . ($depth3 + 1) . '.FromPort'] = $depth3Value['FromPort']; |
3214
|
|
|
} |
3215
|
|
|
if(isset($depth3Value['ToPort'])){ |
3216
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.PolicyConfigurations.' . ($depth2 + 1) . '.PortRanges.' . ($depth3 + 1) . '.ToPort'] = $depth3Value['ToPort']; |
3217
|
|
|
} |
3218
|
|
|
} |
3219
|
|
|
} |
3220
|
|
|
} |
3221
|
|
|
|
3222
|
|
|
return $this; |
3223
|
|
|
} |
3224
|
|
|
} |
3225
|
|
|
|
3226
|
|
|
/** |
3227
|
|
|
* @method string getClientToken() |
3228
|
|
|
* @method $this withClientToken($value) |
3229
|
|
|
* @method string getEndpointId() |
3230
|
|
|
* @method $this withEndpointId($value) |
3231
|
|
|
* @method array getPolicyConfigurations() |
3232
|
|
|
*/ |
3233
|
|
|
class UpdateCustomRoutingEndpointTrafficPolicies extends Rpc |
3234
|
|
|
{ |
3235
|
|
|
|
3236
|
|
|
/** |
3237
|
|
|
* @param array $policyConfigurations |
3238
|
|
|
* |
3239
|
|
|
* @return $this |
3240
|
|
|
*/ |
3241
|
|
|
public function withPolicyConfigurations(array $policyConfigurations) |
3242
|
|
|
{ |
3243
|
|
|
$this->data['PolicyConfigurations'] = $policyConfigurations; |
3244
|
|
|
foreach ($policyConfigurations as $depth1 => $depth1Value) { |
3245
|
|
|
if(isset($depth1Value['PolicyId'])){ |
3246
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.PolicyId'] = $depth1Value['PolicyId']; |
3247
|
|
|
} |
3248
|
|
|
if(isset($depth1Value['Address'])){ |
3249
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.Address'] = $depth1Value['Address']; |
3250
|
|
|
} |
3251
|
|
|
foreach ($depth1Value['PortRanges'] as $depth2 => $depth2Value) { |
3252
|
|
|
if(isset($depth2Value['FromPort'])){ |
3253
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.PortRanges.' . ($depth2 + 1) . '.FromPort'] = $depth2Value['FromPort']; |
3254
|
|
|
} |
3255
|
|
|
if(isset($depth2Value['ToPort'])){ |
3256
|
|
|
$this->options['query']['PolicyConfigurations.' . ($depth1 + 1) . '.PortRanges.' . ($depth2 + 1) . '.ToPort'] = $depth2Value['ToPort']; |
3257
|
|
|
} |
3258
|
|
|
} |
3259
|
|
|
} |
3260
|
|
|
|
3261
|
|
|
return $this; |
3262
|
|
|
} |
3263
|
|
|
} |
3264
|
|
|
|
3265
|
|
|
/** |
3266
|
|
|
* @method string getTargetDomain() |
3267
|
|
|
* @method $this withTargetDomain($value) |
3268
|
|
|
* @method string getDomain() |
3269
|
|
|
* @method $this withDomain($value) |
3270
|
|
|
*/ |
3271
|
|
|
class UpdateDomain extends Rpc |
3272
|
|
|
{ |
3273
|
|
|
} |
3274
|
|
|
|
3275
|
|
|
/** |
3276
|
|
|
* @method string getDomain() |
3277
|
|
|
* @method $this withDomain($value) |
3278
|
|
|
*/ |
3279
|
|
|
class UpdateDomainState extends Rpc |
3280
|
|
|
{ |
3281
|
|
|
} |
3282
|
|
|
|
3283
|
|
|
/** |
3284
|
|
|
* @method array getPortOverrides() |
3285
|
|
|
* @method string getHealthCheckEnabled() |
3286
|
|
|
* @method $this withHealthCheckEnabled($value) |
3287
|
|
|
* @method string getClientToken() |
3288
|
|
|
* @method $this withClientToken($value) |
3289
|
|
|
* @method string getHealthCheckIntervalSeconds() |
3290
|
|
|
* @method $this withHealthCheckIntervalSeconds($value) |
3291
|
|
|
* @method string getDescription() |
3292
|
|
|
* @method $this withDescription($value) |
3293
|
|
|
* @method string getHealthCheckProtocol() |
3294
|
|
|
* @method $this withHealthCheckProtocol($value) |
3295
|
|
|
* @method string getEndpointRequestProtocol() |
3296
|
|
|
* @method $this withEndpointRequestProtocol($value) |
3297
|
|
|
* @method string getHealthCheckPath() |
3298
|
|
|
* @method $this withHealthCheckPath($value) |
3299
|
|
|
* @method array getEndpointConfigurations() |
3300
|
|
|
* @method string getEndpointGroupId() |
3301
|
|
|
* @method $this withEndpointGroupId($value) |
3302
|
|
|
* @method string getTrafficPercentage() |
3303
|
|
|
* @method $this withTrafficPercentage($value) |
3304
|
|
|
* @method string getHealthCheckPort() |
3305
|
|
|
* @method $this withHealthCheckPort($value) |
3306
|
|
|
* @method string getThresholdCount() |
3307
|
|
|
* @method $this withThresholdCount($value) |
3308
|
|
|
* @method string getEndpointGroupRegion() |
3309
|
|
|
* @method $this withEndpointGroupRegion($value) |
3310
|
|
|
* @method string getName() |
3311
|
|
|
* @method $this withName($value) |
3312
|
|
|
*/ |
3313
|
|
|
class UpdateEndpointGroup extends Rpc |
3314
|
|
|
{ |
3315
|
|
|
|
3316
|
|
|
/** |
3317
|
|
|
* @param array $portOverrides |
3318
|
|
|
* |
3319
|
|
|
* @return $this |
3320
|
|
|
*/ |
3321
|
|
|
public function withPortOverrides(array $portOverrides) |
3322
|
|
|
{ |
3323
|
|
|
$this->data['PortOverrides'] = $portOverrides; |
3324
|
|
|
foreach ($portOverrides as $depth1 => $depth1Value) { |
3325
|
|
|
if(isset($depth1Value['ListenerPort'])){ |
3326
|
|
|
$this->options['query']['PortOverrides.' . ($depth1 + 1) . '.ListenerPort'] = $depth1Value['ListenerPort']; |
3327
|
|
|
} |
3328
|
|
|
if(isset($depth1Value['EndpointPort'])){ |
3329
|
|
|
$this->options['query']['PortOverrides.' . ($depth1 + 1) . '.EndpointPort'] = $depth1Value['EndpointPort']; |
3330
|
|
|
} |
3331
|
|
|
} |
3332
|
|
|
|
3333
|
|
|
return $this; |
3334
|
|
|
} |
3335
|
|
|
|
3336
|
|
|
/** |
3337
|
|
|
* @param array $endpointConfigurations |
3338
|
|
|
* |
3339
|
|
|
* @return $this |
3340
|
|
|
*/ |
3341
|
|
|
public function withEndpointConfigurations(array $endpointConfigurations) |
3342
|
|
|
{ |
3343
|
|
|
$this->data['EndpointConfigurations'] = $endpointConfigurations; |
3344
|
|
|
foreach ($endpointConfigurations as $depth1 => $depth1Value) { |
3345
|
|
|
if(isset($depth1Value['Type'])){ |
3346
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
3347
|
|
|
} |
3348
|
|
|
if(isset($depth1Value['EnableClientIPPreservation'])){ |
3349
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservation'] = $depth1Value['EnableClientIPPreservation']; |
3350
|
|
|
} |
3351
|
|
|
if(isset($depth1Value['Weight'])){ |
3352
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Weight'] = $depth1Value['Weight']; |
3353
|
|
|
} |
3354
|
|
|
if(isset($depth1Value['EnableProxyProtocol'])){ |
3355
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.EnableProxyProtocol'] = $depth1Value['EnableProxyProtocol']; |
3356
|
|
|
} |
3357
|
|
|
if(isset($depth1Value['Endpoint'])){ |
3358
|
|
|
$this->options['query']['EndpointConfigurations.' . ($depth1 + 1) . '.Endpoint'] = $depth1Value['Endpoint']; |
3359
|
|
|
} |
3360
|
|
|
} |
3361
|
|
|
|
3362
|
|
|
return $this; |
3363
|
|
|
} |
3364
|
|
|
} |
3365
|
|
|
|
3366
|
|
|
/** |
3367
|
|
|
* @method string getClientToken() |
3368
|
|
|
* @method $this withClientToken($value) |
3369
|
|
|
* @method string getDescription() |
3370
|
|
|
* @method $this withDescription($value) |
3371
|
|
|
* @method string getName() |
3372
|
|
|
* @method $this withName($value) |
3373
|
|
|
* @method string getEndpointGroupId() |
3374
|
|
|
* @method $this withEndpointGroupId($value) |
3375
|
|
|
*/ |
3376
|
|
|
class UpdateEndpointGroupAttribute extends Rpc |
3377
|
|
|
{ |
3378
|
|
|
} |
3379
|
|
|
|
3380
|
|
|
/** |
3381
|
|
|
* @method string getDryRun() |
3382
|
|
|
* @method $this withDryRun($value) |
3383
|
|
|
* @method string getClientToken() |
3384
|
|
|
* @method $this withClientToken($value) |
3385
|
|
|
* @method array getEndpointGroupConfigurations() |
3386
|
|
|
* @method string getListenerId() |
3387
|
|
|
* @method $this withListenerId($value) |
3388
|
|
|
*/ |
3389
|
|
|
class UpdateEndpointGroups extends Rpc |
3390
|
|
|
{ |
3391
|
|
|
|
3392
|
|
|
/** |
3393
|
|
|
* @param array $endpointGroupConfigurations |
3394
|
|
|
* |
3395
|
|
|
* @return $this |
3396
|
|
|
*/ |
3397
|
|
|
public function withEndpointGroupConfigurations(array $endpointGroupConfigurations) |
3398
|
|
|
{ |
3399
|
|
|
$this->data['EndpointGroupConfigurations'] = $endpointGroupConfigurations; |
3400
|
|
|
foreach ($endpointGroupConfigurations as $depth1 => $depth1Value) { |
3401
|
|
|
if(isset($depth1Value['EndpointGroupName'])){ |
3402
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupName'] = $depth1Value['EndpointGroupName']; |
3403
|
|
|
} |
3404
|
|
|
if(isset($depth1Value['EndpointGroupDescription'])){ |
3405
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupDescription'] = $depth1Value['EndpointGroupDescription']; |
3406
|
|
|
} |
3407
|
|
|
if(isset($depth1Value['TrafficPercentage'])){ |
3408
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.TrafficPercentage'] = $depth1Value['TrafficPercentage']; |
3409
|
|
|
} |
3410
|
|
|
if(isset($depth1Value['HealthCheckEnabled'])){ |
3411
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckEnabled'] = $depth1Value['HealthCheckEnabled']; |
3412
|
|
|
} |
3413
|
|
|
if(isset($depth1Value['HealthCheckIntervalSeconds'])){ |
3414
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckIntervalSeconds'] = $depth1Value['HealthCheckIntervalSeconds']; |
3415
|
|
|
} |
3416
|
|
|
if(isset($depth1Value['HealthCheckPath'])){ |
3417
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckPath'] = $depth1Value['HealthCheckPath']; |
3418
|
|
|
} |
3419
|
|
|
if(isset($depth1Value['HealthCheckPort'])){ |
3420
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckPort'] = $depth1Value['HealthCheckPort']; |
3421
|
|
|
} |
3422
|
|
|
if(isset($depth1Value['HealthCheckProtocol'])){ |
3423
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.HealthCheckProtocol'] = $depth1Value['HealthCheckProtocol']; |
3424
|
|
|
} |
3425
|
|
|
if(isset($depth1Value['ThresholdCount'])){ |
3426
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.ThresholdCount'] = $depth1Value['ThresholdCount']; |
3427
|
|
|
} |
3428
|
|
|
foreach ($depth1Value['EndpointConfigurations'] as $depth2 => $depth2Value) { |
3429
|
|
|
if(isset($depth2Value['Type'])){ |
3430
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Type'] = $depth2Value['Type']; |
3431
|
|
|
} |
3432
|
|
|
if(isset($depth2Value['Weight'])){ |
3433
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Weight'] = $depth2Value['Weight']; |
3434
|
|
|
} |
3435
|
|
|
if(isset($depth2Value['Endpoint'])){ |
3436
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointConfigurations.' . ($depth2 + 1) . '.Endpoint'] = $depth2Value['Endpoint']; |
3437
|
|
|
} |
3438
|
|
|
} |
3439
|
|
|
if(isset($depth1Value['EndpointRequestProtocol'])){ |
3440
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointRequestProtocol'] = $depth1Value['EndpointRequestProtocol']; |
3441
|
|
|
} |
3442
|
|
|
foreach ($depth1Value['PortOverrides'] as $depth2 => $depth2Value) { |
3443
|
|
|
if(isset($depth2Value['ListenerPort'])){ |
3444
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.PortOverrides.' . ($depth2 + 1) . '.ListenerPort'] = $depth2Value['ListenerPort']; |
3445
|
|
|
} |
3446
|
|
|
if(isset($depth2Value['EndpointPort'])){ |
3447
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.PortOverrides.' . ($depth2 + 1) . '.EndpointPort'] = $depth2Value['EndpointPort']; |
3448
|
|
|
} |
3449
|
|
|
} |
3450
|
|
|
if(isset($depth1Value['EnableClientIPPreservationToa'])){ |
3451
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservationToa'] = $depth1Value['EnableClientIPPreservationToa']; |
3452
|
|
|
} |
3453
|
|
|
if(isset($depth1Value['EnableClientIPPreservationProxyProtocol'])){ |
3454
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EnableClientIPPreservationProxyProtocol'] = $depth1Value['EnableClientIPPreservationProxyProtocol']; |
3455
|
|
|
} |
3456
|
|
|
if(isset($depth1Value['EndpointGroupId'])){ |
3457
|
|
|
$this->options['query']['EndpointGroupConfigurations.' . ($depth1 + 1) . '.EndpointGroupId'] = $depth1Value['EndpointGroupId']; |
3458
|
|
|
} |
3459
|
|
|
} |
3460
|
|
|
|
3461
|
|
|
return $this; |
3462
|
|
|
} |
3463
|
|
|
} |
3464
|
|
|
|
3465
|
|
|
/** |
3466
|
|
|
* @method string getClientToken() |
3467
|
|
|
* @method $this withClientToken($value) |
3468
|
|
|
* @method string getListenerId() |
3469
|
|
|
* @method $this withListenerId($value) |
3470
|
|
|
* @method string getAcceleratorId() |
3471
|
|
|
* @method $this withAcceleratorId($value) |
3472
|
|
|
* @method string getForwardingRules() |
3473
|
|
|
* @method $this withForwardingRules($value) |
3474
|
|
|
*/ |
3475
|
|
|
class UpdateForwardingRules extends Rpc |
3476
|
|
|
{ |
3477
|
|
|
} |
3478
|
|
|
|
3479
|
|
|
/** |
3480
|
|
|
* @method string getClientToken() |
3481
|
|
|
* @method $this withClientToken($value) |
3482
|
|
|
* @method string getBandwidth() |
3483
|
|
|
* @method $this withBandwidth($value) |
3484
|
|
|
* @method string getIpSetId() |
3485
|
|
|
* @method $this withIpSetId($value) |
3486
|
|
|
*/ |
3487
|
|
|
class UpdateIpSet extends Rpc |
3488
|
|
|
{ |
3489
|
|
|
} |
3490
|
|
|
|
3491
|
|
|
/** |
3492
|
|
|
* @method array getIpSets() |
3493
|
|
|
*/ |
3494
|
|
|
class UpdateIpSets extends Rpc |
3495
|
|
|
{ |
3496
|
|
|
|
3497
|
|
|
/** |
3498
|
|
|
* @param array $ipSets |
3499
|
|
|
* |
3500
|
|
|
* @return $this |
3501
|
|
|
*/ |
3502
|
|
|
public function withIpSets(array $ipSets) |
3503
|
|
|
{ |
3504
|
|
|
$this->data['IpSets'] = $ipSets; |
3505
|
|
|
foreach ($ipSets as $depth1 => $depth1Value) { |
3506
|
|
|
if(isset($depth1Value['Bandwidth'])){ |
3507
|
|
|
$this->options['query']['IpSets.' . ($depth1 + 1) . '.Bandwidth'] = $depth1Value['Bandwidth']; |
3508
|
|
|
} |
3509
|
|
|
if(isset($depth1Value['IpSetId'])){ |
3510
|
|
|
$this->options['query']['IpSets.' . ($depth1 + 1) . '.IpSetId'] = $depth1Value['IpSetId']; |
3511
|
|
|
} |
3512
|
|
|
} |
3513
|
|
|
|
3514
|
|
|
return $this; |
3515
|
|
|
} |
3516
|
|
|
} |
3517
|
|
|
|
3518
|
|
|
/** |
3519
|
|
|
* @method string getClientToken() |
3520
|
|
|
* @method $this withClientToken($value) |
3521
|
|
|
* @method string getDescription() |
3522
|
|
|
* @method $this withDescription($value) |
3523
|
|
|
* @method array getBackendPorts() |
3524
|
|
|
* @method string getListenerId() |
3525
|
|
|
* @method $this withListenerId($value) |
3526
|
|
|
* @method string getProtocol() |
3527
|
|
|
* @method $this withProtocol($value) |
3528
|
|
|
* @method string getXForwardedForConfig() |
3529
|
|
|
* @method $this withXForwardedForConfig($value) |
3530
|
|
|
* @method string getSecurityPolicyId() |
3531
|
|
|
* @method $this withSecurityPolicyId($value) |
3532
|
|
|
* @method string getProxyProtocol() |
3533
|
|
|
* @method $this withProxyProtocol($value) |
3534
|
|
|
* @method array getPortRanges() |
3535
|
|
|
* @method array getCertificates() |
3536
|
|
|
* @method string getName() |
3537
|
|
|
* @method $this withName($value) |
3538
|
|
|
* @method string getClientAffinity() |
3539
|
|
|
* @method $this withClientAffinity($value) |
3540
|
|
|
*/ |
3541
|
|
|
class UpdateListener extends Rpc |
3542
|
|
|
{ |
3543
|
|
|
|
3544
|
|
|
/** |
3545
|
|
|
* @param array $backendPorts |
3546
|
|
|
* |
3547
|
|
|
* @return $this |
3548
|
|
|
*/ |
3549
|
|
|
public function withBackendPorts(array $backendPorts) |
3550
|
|
|
{ |
3551
|
|
|
$this->data['BackendPorts'] = $backendPorts; |
3552
|
|
|
foreach ($backendPorts as $depth1 => $depth1Value) { |
3553
|
|
|
if(isset($depth1Value['FromPort'])){ |
3554
|
|
|
$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
3555
|
|
|
} |
3556
|
|
|
if(isset($depth1Value['ToPort'])){ |
3557
|
|
|
$this->options['query']['BackendPorts.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
3558
|
|
|
} |
3559
|
|
|
} |
3560
|
|
|
|
3561
|
|
|
return $this; |
3562
|
|
|
} |
3563
|
|
|
|
3564
|
|
|
/** |
3565
|
|
|
* @param array $portRanges |
3566
|
|
|
* |
3567
|
|
|
* @return $this |
3568
|
|
|
*/ |
3569
|
|
|
public function withPortRanges(array $portRanges) |
3570
|
|
|
{ |
3571
|
|
|
$this->data['PortRanges'] = $portRanges; |
3572
|
|
|
foreach ($portRanges as $depth1 => $depth1Value) { |
3573
|
|
|
if(isset($depth1Value['FromPort'])){ |
3574
|
|
|
$this->options['query']['PortRanges.' . ($depth1 + 1) . '.FromPort'] = $depth1Value['FromPort']; |
3575
|
|
|
} |
3576
|
|
|
if(isset($depth1Value['ToPort'])){ |
3577
|
|
|
$this->options['query']['PortRanges.' . ($depth1 + 1) . '.ToPort'] = $depth1Value['ToPort']; |
3578
|
|
|
} |
3579
|
|
|
} |
3580
|
|
|
|
3581
|
|
|
return $this; |
3582
|
|
|
} |
3583
|
|
|
|
3584
|
|
|
/** |
3585
|
|
|
* @param array $certificates |
3586
|
|
|
* |
3587
|
|
|
* @return $this |
3588
|
|
|
*/ |
3589
|
|
|
public function withCertificates(array $certificates) |
3590
|
|
|
{ |
3591
|
|
|
$this->data['Certificates'] = $certificates; |
3592
|
|
|
foreach ($certificates as $depth1 => $depth1Value) { |
3593
|
|
|
if(isset($depth1Value['Id'])){ |
3594
|
|
|
$this->options['query']['Certificates.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id']; |
3595
|
|
|
} |
3596
|
|
|
} |
3597
|
|
|
|
3598
|
|
|
return $this; |
3599
|
|
|
} |
3600
|
|
|
} |
3601
|
|
|
|