Skip to content

Commit 6a300ef

Browse files
committed
Supported InstanceMaintenanceAtrributes for maintening the attributes of instances.
1 parent c8ddac9 commit 6a300ef

File tree

3 files changed

+129
-141
lines changed

3 files changed

+129
-141
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## 1.8.54 - 2020-1-13
4+
- Supported InstanceMaintenanceAtrributes for maintening the attributes of instances.
5+
- Deleted MaintenanceProperty.
6+
- Supported RedeployDedicatedHost for redeploying dedicated host in under-assessment status.
7+
8+
39
## 1.8.53 - 2020-1-10
410
- Return `ConsistentTime` for DescribeBackups.
511
- Return `DBNodeIds` for CreateDBNodes.

src/Ecs/V20140526/EcsApiResolver.php

+122-140
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
* @method CreateKeyPair createKeyPair(array $options = [])
4747
* @method CreateLaunchTemplate createLaunchTemplate(array $options = [])
4848
* @method CreateLaunchTemplateVersion createLaunchTemplateVersion(array $options = [])
49-
* @method CreateMaintenanceProperty createMaintenanceProperty(array $options = [])
5049
* @method CreateNatGateway createNatGateway(array $options = [])
5150
* @method CreateNetworkInterface createNetworkInterface(array $options = [])
5251
* @method CreateNetworkInterfacePermission createNetworkInterfacePermission(array $options = [])
@@ -77,7 +76,6 @@
7776
* @method DeleteKeyPairs deleteKeyPairs(array $options = [])
7877
* @method DeleteLaunchTemplate deleteLaunchTemplate(array $options = [])
7978
* @method DeleteLaunchTemplateVersion deleteLaunchTemplateVersion(array $options = [])
80-
* @method DeleteMaintenanceProperty deleteMaintenanceProperty(array $options = [])
8179
* @method DeleteNatGateway deleteNatGateway(array $options = [])
8280
* @method DeleteNetworkInterface deleteNetworkInterface(array $options = [])
8381
* @method DeleteNetworkInterfacePermission deleteNetworkInterfacePermission(array $options = [])
@@ -123,6 +121,7 @@
123121
* @method DescribeInstanceAttribute describeInstanceAttribute(array $options = [])
124122
* @method DescribeInstanceAutoRenewAttribute describeInstanceAutoRenewAttribute(array $options = [])
125123
* @method DescribeInstanceHistoryEvents describeInstanceHistoryEvents(array $options = [])
124+
* @method DescribeInstanceMaintenanceAttributes describeInstanceMaintenanceAttributes(array $options = [])
126125
* @method DescribeInstanceMonitorData describeInstanceMonitorData(array $options = [])
127126
* @method DescribeInstanceRamRole describeInstanceRamRole(array $options = [])
128127
* @method DescribeInstances describeInstances(array $options = [])
@@ -139,7 +138,6 @@
139138
* @method DescribeLaunchTemplates describeLaunchTemplates(array $options = [])
140139
* @method DescribeLaunchTemplateVersions describeLaunchTemplateVersions(array $options = [])
141140
* @method DescribeLimitation describeLimitation(array $options = [])
142-
* @method DescribeMaintenanceProperty describeMaintenanceProperty(array $options = [])
143141
* @method DescribeNatGateways describeNatGateways(array $options = [])
144142
* @method DescribeNetworkInterfacePermissions describeNetworkInterfacePermissions(array $options = [])
145143
* @method DescribeNetworkInterfaces describeNetworkInterfaces(array $options = [])
@@ -223,12 +221,12 @@
223221
* @method ModifyInstanceAutoRenewAttribute modifyInstanceAutoRenewAttribute(array $options = [])
224222
* @method ModifyInstanceChargeType modifyInstanceChargeType(array $options = [])
225223
* @method ModifyInstanceDeployment modifyInstanceDeployment(array $options = [])
224+
* @method ModifyInstanceMaintenanceAttributes modifyInstanceMaintenanceAttributes(array $options = [])
226225
* @method ModifyInstanceNetworkSpec modifyInstanceNetworkSpec(array $options = [])
227226
* @method ModifyInstanceSpec modifyInstanceSpec(array $options = [])
228227
* @method ModifyInstanceVncPasswd modifyInstanceVncPasswd(array $options = [])
229228
* @method ModifyInstanceVpcAttribute modifyInstanceVpcAttribute(array $options = [])
230229
* @method ModifyLaunchTemplateDefaultVersion modifyLaunchTemplateDefaultVersion(array $options = [])
231-
* @method ModifyMaintenanceProperty modifyMaintenanceProperty(array $options = [])
232230
* @method ModifyNetworkInterfaceAttribute modifyNetworkInterfaceAttribute(array $options = [])
233231
* @method ModifyPhysicalConnectionAttribute modifyPhysicalConnectionAttribute(array $options = [])
234232
* @method ModifyPrepayInstanceSpec modifyPrepayInstanceSpec(array $options = [])
@@ -251,6 +249,7 @@
251249
* @method ReActivateInstances reActivateInstances(array $options = [])
252250
* @method RebootInstance rebootInstance(array $options = [])
253251
* @method RecoverVirtualBorderRouter recoverVirtualBorderRouter(array $options = [])
252+
* @method RedeployDedicatedHost redeployDedicatedHost(array $options = [])
254253
* @method RedeployInstance redeployInstance(array $options = [])
255254
* @method ReInitDisk reInitDisk(array $options = [])
256255
* @method ReleaseDedicatedHost releaseDedicatedHost(array $options = [])
@@ -2175,42 +2174,6 @@ public function withSystemDiskDescription($value)
21752174
}
21762175
}
21772176

2178-
/**
2179-
* @method string getResourceOwnerId()
2180-
* @method $this withResourceOwnerId($value)
2181-
* @method string getStartTime()
2182-
* @method $this withStartTime($value)
2183-
* @method string getActionOnMaintenance()
2184-
* @method $this withActionOnMaintenance($value)
2185-
* @method string getResourceOwnerAccount()
2186-
* @method $this withResourceOwnerAccount($value)
2187-
* @method string getOwnerAccount()
2188-
* @method $this withOwnerAccount($value)
2189-
* @method string getEndTime()
2190-
* @method $this withEndTime($value)
2191-
* @method string getOwnerId()
2192-
* @method $this withOwnerId($value)
2193-
* @method array getInstanceId()
2194-
*/
2195-
class CreateMaintenanceProperty extends Rpc
2196-
{
2197-
2198-
/**
2199-
* @param array $instanceId
2200-
*
2201-
* @return $this
2202-
*/
2203-
public function withInstanceId(array $instanceId)
2204-
{
2205-
$this->data['InstanceId'] = $instanceId;
2206-
foreach ($instanceId as $i => $iValue) {
2207-
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
2208-
}
2209-
2210-
return $this;
2211-
}
2212-
}
2213-
22142177
/**
22152178
* @method string getResourceOwnerId()
22162179
* @method $this withResourceOwnerId($value)
@@ -2260,6 +2223,8 @@ public function withBandwidthPackage(array $bandwidthPackage)
22602223
* @method $this withSecurityGroupId($value)
22612224
* @method string getDescription()
22622225
* @method $this withDescription($value)
2226+
* @method string getSecondaryPrivateIpAddressCount()
2227+
* @method $this withSecondaryPrivateIpAddressCount($value)
22632228
* @method string getBusinessType()
22642229
* @method $this withBusinessType($value)
22652230
* @method string getResourceGroupId()
@@ -2278,6 +2243,7 @@ public function withBandwidthPackage(array $bandwidthPackage)
22782243
* @method array getSecurityGroupIds()
22792244
* @method string getVSwitchId()
22802245
* @method $this withVSwitchId($value)
2246+
* @method array getPrivateIpAddress()
22812247
* @method string getPrimaryIpAddress()
22822248
* @method $this withPrimaryIpAddress($value)
22832249
*/
@@ -2314,6 +2280,21 @@ public function withSecurityGroupIds(array $securityGroupIds)
23142280

23152281
return $this;
23162282
}
2283+
2284+
/**
2285+
* @param array $privateIpAddress
2286+
*
2287+
* @return $this
2288+
*/
2289+
public function withPrivateIpAddress(array $privateIpAddress)
2290+
{
2291+
$this->data['PrivateIpAddress'] = $privateIpAddress;
2292+
foreach ($privateIpAddress as $i => $iValue) {
2293+
$this->options['query']['PrivateIpAddress.' . ($i + 1)] = $iValue;
2294+
}
2295+
2296+
return $this;
2297+
}
23172298
}
23182299

23192300
/**
@@ -3049,36 +3030,6 @@ public function withDeleteVersion(array $deleteVersion)
30493030
}
30503031
}
30513032

3052-
/**
3053-
* @method string getResourceOwnerId()
3054-
* @method $this withResourceOwnerId($value)
3055-
* @method string getResourceOwnerAccount()
3056-
* @method $this withResourceOwnerAccount($value)
3057-
* @method string getOwnerAccount()
3058-
* @method $this withOwnerAccount($value)
3059-
* @method string getOwnerId()
3060-
* @method $this withOwnerId($value)
3061-
* @method array getInstanceId()
3062-
*/
3063-
class DeleteMaintenanceProperty extends Rpc
3064-
{
3065-
3066-
/**
3067-
* @param array $instanceId
3068-
*
3069-
* @return $this
3070-
*/
3071-
public function withInstanceId(array $instanceId)
3072-
{
3073-
$this->data['InstanceId'] = $instanceId;
3074-
foreach ($instanceId as $i => $iValue) {
3075-
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
3076-
}
3077-
3078-
return $this;
3079-
}
3080-
}
3081-
30823033
/**
30833034
* @method string getResourceOwnerId()
30843035
* @method $this withResourceOwnerId($value)
@@ -4624,6 +4575,40 @@ public function withNotBeforeEnd($value)
46244575
}
46254576
}
46264577

4578+
/**
4579+
* @method string getResourceOwnerId()
4580+
* @method $this withResourceOwnerId($value)
4581+
* @method string getPageNumber()
4582+
* @method $this withPageNumber($value)
4583+
* @method string getPageSize()
4584+
* @method $this withPageSize($value)
4585+
* @method string getResourceOwnerAccount()
4586+
* @method $this withResourceOwnerAccount($value)
4587+
* @method string getOwnerAccount()
4588+
* @method $this withOwnerAccount($value)
4589+
* @method string getOwnerId()
4590+
* @method $this withOwnerId($value)
4591+
* @method array getInstanceId()
4592+
*/
4593+
class DescribeInstanceMaintenanceAttributes extends Rpc
4594+
{
4595+
4596+
/**
4597+
* @param array $instanceId
4598+
*
4599+
* @return $this
4600+
*/
4601+
public function withInstanceId(array $instanceId)
4602+
{
4603+
$this->data['InstanceId'] = $instanceId;
4604+
foreach ($instanceId as $i => $iValue) {
4605+
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
4606+
}
4607+
4608+
return $this;
4609+
}
4610+
}
4611+
46274612
/**
46284613
* @method string getResourceOwnerId()
46294614
* @method $this withResourceOwnerId($value)
@@ -5327,40 +5312,6 @@ class DescribeLimitation extends Rpc
53275312
{
53285313
}
53295314

5330-
/**
5331-
* @method string getResourceOwnerId()
5332-
* @method $this withResourceOwnerId($value)
5333-
* @method string getPageNumber()
5334-
* @method $this withPageNumber($value)
5335-
* @method string getPageSize()
5336-
* @method $this withPageSize($value)
5337-
* @method string getResourceOwnerAccount()
5338-
* @method $this withResourceOwnerAccount($value)
5339-
* @method string getOwnerAccount()
5340-
* @method $this withOwnerAccount($value)
5341-
* @method string getOwnerId()
5342-
* @method $this withOwnerId($value)
5343-
* @method array getInstanceId()
5344-
*/
5345-
class DescribeMaintenanceProperty extends Rpc
5346-
{
5347-
5348-
/**
5349-
* @param array $instanceId
5350-
*
5351-
* @return $this
5352-
*/
5353-
public function withInstanceId(array $instanceId)
5354-
{
5355-
$this->data['InstanceId'] = $instanceId;
5356-
foreach ($instanceId as $i => $iValue) {
5357-
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
5358-
}
5359-
5360-
return $this;
5361-
}
5362-
}
5363-
53645315
/**
53655316
* @method string getResourceOwnerId()
53665317
* @method $this withResourceOwnerId($value)
@@ -8099,6 +8050,55 @@ class ModifyInstanceDeployment extends Rpc
80998050
{
81008051
}
81018052

8053+
/**
8054+
* @method string getResourceOwnerId()
8055+
* @method $this withResourceOwnerId($value)
8056+
* @method array getMaintenanceWindow()
8057+
* @method string getActionOnMaintenance()
8058+
* @method $this withActionOnMaintenance($value)
8059+
* @method string getResourceOwnerAccount()
8060+
* @method $this withResourceOwnerAccount($value)
8061+
* @method string getOwnerAccount()
8062+
* @method $this withOwnerAccount($value)
8063+
* @method string getOwnerId()
8064+
* @method $this withOwnerId($value)
8065+
* @method array getInstanceId()
8066+
*/
8067+
class ModifyInstanceMaintenanceAttributes extends Rpc
8068+
{
8069+
8070+
/**
8071+
* @param array $maintenanceWindow
8072+
*
8073+
* @return $this
8074+
*/
8075+
public function withMaintenanceWindow(array $maintenanceWindow)
8076+
{
8077+
$this->data['MaintenanceWindow'] = $maintenanceWindow;
8078+
foreach ($maintenanceWindow as $depth1 => $depth1Value) {
8079+
$this->options['query']['MaintenanceWindow.' . ($depth1 + 1) . '.StartTime'] = $depth1Value['StartTime'];
8080+
$this->options['query']['MaintenanceWindow.' . ($depth1 + 1) . '.EndTime'] = $depth1Value['EndTime'];
8081+
}
8082+
8083+
return $this;
8084+
}
8085+
8086+
/**
8087+
* @param array $instanceId
8088+
*
8089+
* @return $this
8090+
*/
8091+
public function withInstanceId(array $instanceId)
8092+
{
8093+
$this->data['InstanceId'] = $instanceId;
8094+
foreach ($instanceId as $i => $iValue) {
8095+
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
8096+
}
8097+
8098+
return $this;
8099+
}
8100+
}
8101+
81028102
/**
81038103
* @method string getResourceOwnerId()
81048104
* @method $this withResourceOwnerId($value)
@@ -8273,42 +8273,6 @@ class ModifyLaunchTemplateDefaultVersion extends Rpc
82738273
{
82748274
}
82758275

8276-
/**
8277-
* @method string getResourceOwnerId()
8278-
* @method $this withResourceOwnerId($value)
8279-
* @method string getStartTime()
8280-
* @method $this withStartTime($value)
8281-
* @method string getActionOnMaintenance()
8282-
* @method $this withActionOnMaintenance($value)
8283-
* @method string getResourceOwnerAccount()
8284-
* @method $this withResourceOwnerAccount($value)
8285-
* @method string getOwnerAccount()
8286-
* @method $this withOwnerAccount($value)
8287-
* @method string getEndTime()
8288-
* @method $this withEndTime($value)
8289-
* @method string getOwnerId()
8290-
* @method $this withOwnerId($value)
8291-
* @method array getInstanceId()
8292-
*/
8293-
class ModifyMaintenanceProperty extends Rpc
8294-
{
8295-
8296-
/**
8297-
* @param array $instanceId
8298-
*
8299-
* @return $this
8300-
*/
8301-
public function withInstanceId(array $instanceId)
8302-
{
8303-
$this->data['InstanceId'] = $instanceId;
8304-
foreach ($instanceId as $i => $iValue) {
8305-
$this->options['query']['InstanceId.' . ($i + 1)] = $iValue;
8306-
}
8307-
8308-
return $this;
8309-
}
8310-
}
8311-
83128276
/**
83138277
* @method string getResourceOwnerId()
83148278
* @method $this withResourceOwnerId($value)
@@ -8409,6 +8373,8 @@ public function withBandwidth($value)
84098373
* @method $this withInstanceType($value)
84108374
* @method string getAutoPay()
84118375
* @method $this withAutoPay($value)
8376+
* @method string getRebootWhenFinished()
8377+
* @method $this withRebootWhenFinished($value)
84128378
* @method string getResourceOwnerAccount()
84138379
* @method $this withResourceOwnerAccount($value)
84148380
* @method string getOwnerAccount()
@@ -8967,6 +8933,22 @@ class RecoverVirtualBorderRouter extends Rpc
89678933
{
89688934
}
89698935

8936+
/**
8937+
* @method string getResourceOwnerId()
8938+
* @method $this withResourceOwnerId($value)
8939+
* @method string getResourceOwnerAccount()
8940+
* @method $this withResourceOwnerAccount($value)
8941+
* @method string getOwnerAccount()
8942+
* @method $this withOwnerAccount($value)
8943+
* @method string getDedicatedHostId()
8944+
* @method $this withDedicatedHostId($value)
8945+
* @method string getOwnerId()
8946+
* @method $this withOwnerId($value)
8947+
*/
8948+
class RedeployDedicatedHost extends Rpc
8949+
{
8950+
}
8951+
89708952
/**
89718953
* @method string getResourceOwnerId()
89728954
* @method $this withResourceOwnerId($value)

0 commit comments

Comments
 (0)