Skip to content

Commit

Permalink
Supported sync create eni and assign private ip.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 17, 2020
1 parent 128c866 commit 8cbad06
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.8.331 - 2020-6-17
- Supported sync create eni and assign private ip.


## 1.8.330 - 2020-6-16
- Support TargetImageId in ApplyNodes Interface.

Expand Down
138 changes: 138 additions & 0 deletions src/Ecs/V20140526/EcsApiResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
* @method DescribeDedicatedHostTypes describeDedicatedHostTypes(array $options = [])
* @method DescribeDemands describeDemands(array $options = [])
* @method DescribeDeploymentSets describeDeploymentSets(array $options = [])
* @method DescribeDeploymentSetSupportedInstanceTypeFamily describeDeploymentSetSupportedInstanceTypeFamily(array $options = [])
* @method DescribeDiskMonitorData describeDiskMonitorData(array $options = [])
* @method DescribeDisks describeDisks(array $options = [])
* @method DescribeDisksFullStatus describeDisksFullStatus(array $options = [])
Expand Down Expand Up @@ -141,6 +142,7 @@
* @method DescribeLaunchTemplateVersions describeLaunchTemplateVersions(array $options = [])
* @method DescribeLimitation describeLimitation(array $options = [])
* @method DescribeNatGateways describeNatGateways(array $options = [])
* @method DescribeNetworkInterfaceAttribute describeNetworkInterfaceAttribute(array $options = [])
* @method DescribeNetworkInterfacePermissions describeNetworkInterfacePermissions(array $options = [])
* @method DescribeNetworkInterfaces describeNetworkInterfaces(array $options = [])
* @method DescribeNewProjectEipMonitorData describeNewProjectEipMonitorData(array $options = [])
Expand Down Expand Up @@ -609,6 +611,8 @@ public function withIpv6Address(array $ipv6Address)
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getClientToken()
* @method $this withClientToken($value)
* @method string getSecondaryPrivateIpAddressCount()
* @method $this withSecondaryPrivateIpAddressCount($value)
* @method string getResourceOwnerAccount()
Expand Down Expand Up @@ -759,6 +763,8 @@ class AttachKeyPair extends Rpc
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getTrunkNetworkInstanceId()
* @method $this withTrunkNetworkInstanceId($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
Expand Down Expand Up @@ -1179,15 +1185,21 @@ public function withLaunchTemplateConfig(array $launchTemplateConfig)
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getCopiedSnapshotsRetentionDays()
* @method $this withCopiedSnapshotsRetentionDays($value)
* @method string getTimePoints()
* @method string getRepeatWeekdays()
* @method array getTag()
* @method string getEnableCrossRegionCopy()
* @method $this withEnableCrossRegionCopy($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
* @method string getAutoSnapshotPolicyName()
* @method string getRetentionDays()
* @method string getTargetCopyRegions()
* @method $this withTargetCopyRegions($value)
*/
class CreateAutoSnapshotPolicy extends Rpc
{
Expand Down Expand Up @@ -1336,6 +1348,8 @@ class CreateDemand extends Rpc
* @method $this withClientToken($value)
* @method string getDescription()
* @method $this withDescription($value)
* @method string getGroupCount()
* @method $this withGroupCount($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
Expand Down Expand Up @@ -1619,6 +1633,8 @@ public function withTag(array $tag)
* @method $this withHostName($value)
* @method string getPassword()
* @method $this withPassword($value)
* @method string getDeploymentSetGroupNo()
* @method $this withDeploymentSetGroupNo($value)
* @method string getStorageSetPartitionNumber()
* @method $this withStorageSetPartitionNumber($value)
* @method array getTag()
Expand Down Expand Up @@ -2468,6 +2484,8 @@ public function withBandwidthPackage(array $bandwidthPackage)
* @method $this withBusinessType($value)
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
* @method array getTag()
* @method string getNetworkInterfaceName()
* @method $this withNetworkInterfaceName($value)
Expand Down Expand Up @@ -4094,6 +4112,20 @@ class DescribeDeploymentSets extends Rpc
{
}

/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
* @method $this withOwnerAccount($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
*/
class DescribeDeploymentSetSupportedInstanceTypeFamily extends Rpc
{
}

/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
Expand Down Expand Up @@ -4783,6 +4815,8 @@ class DescribeInstanceAutoRenewAttribute extends Rpc
* @method $this withEventCycleStatus($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getImpactLevel()
* @method $this withImpactLevel($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method array getInstanceEventCycleStatus()
Expand Down Expand Up @@ -5455,6 +5489,8 @@ class DescribeInstanceVncUrl extends Rpc
* @method $this withCommandId($value)
* @method string getPageNumber()
* @method $this withPageNumber($value)
* @method string getContentEncoding()
* @method $this withContentEncoding($value)
* @method string getPageSize()
* @method $this withPageSize($value)
* @method string getInvokeId()
Expand Down Expand Up @@ -5712,6 +5748,45 @@ class DescribeNatGateways extends Rpc
{
}

/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method array getTag()
* @method string getAttribute()
* @method $this withAttribute($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
* @method $this withOwnerAccount($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
* @method string getNetworkInterfaceId()
* @method $this withNetworkInterfaceId($value)
*/
class DescribeNetworkInterfaceAttribute extends Rpc
{

/**
* @param array $tag
*
* @return $this
*/
public function withTag(array $tag)
{
$this->data['Tag'] = $tag;
foreach ($tag as $depth1 => $depth1Value) {
if(isset($depth1Value['Key'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
}
if(isset($depth1Value['Value'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
}
}

return $this;
}
}

/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
Expand Down Expand Up @@ -6546,6 +6621,8 @@ public function withSecurityGroupId(array $securityGroupId)
* @method $this withOwnerId($value)
* @method string getSecurityGroupIds()
* @method $this withSecurityGroupIds($value)
* @method string getSecurityGroupType()
* @method $this withSecurityGroupType($value)
* @method string getVpcId()
* @method $this withVpcId($value)
*/
Expand Down Expand Up @@ -6679,6 +6756,8 @@ class DescribeSnapshotPackage extends Rpc
* @method $this withSnapshotType($value)
* @method string getKMSKeyId()
* @method $this withKMSKeyId($value)
* @method string getCategory()
* @method $this withCategory($value)
* @method string getStatus()
* @method $this withStatus($value)
*/
Expand Down Expand Up @@ -7274,6 +7353,8 @@ class DetachKeyPair extends Rpc
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getTrunkNetworkInstanceId()
* @method $this withTrunkNetworkInstanceId($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
Expand Down Expand Up @@ -7489,8 +7570,11 @@ class GetInstanceScreenshot extends Rpc
* @method $this withDescription($value)
* @method string getPlatform()
* @method $this withPlatform($value)
* @method string getResourceGroupId()
* @method $this withResourceGroupId($value)
* @method string getImageName()
* @method $this withImageName($value)
* @method array getTag()
* @method string getArchitecture()
* @method $this withArchitecture($value)
* @method string getLicenseType()
Expand Down Expand Up @@ -7538,6 +7622,26 @@ public function withDiskDeviceMapping(array $diskDeviceMapping)

return $this;
}

/**
* @param array $tag
*
* @return $this
*/
public function withTag(array $tag)
{
$this->data['Tag'] = $tag;
foreach ($tag as $depth1 => $depth1Value) {
if(isset($depth1Value['Value'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
}
if(isset($depth1Value['Key'])){
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
}
}

return $this;
}
}

/**
Expand Down Expand Up @@ -7865,14 +7969,20 @@ class ModifyAutoSnapshotPolicy extends Rpc
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getAutoSnapshotPolicyId()
* @method string getCopiedSnapshotsRetentionDays()
* @method $this withCopiedSnapshotsRetentionDays($value)
* @method string getTimePoints()
* @method string getRepeatWeekdays()
* @method string getEnableCrossRegionCopy()
* @method $this withEnableCrossRegionCopy($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerId()
* @method $this withOwnerId($value)
* @method string getAutoSnapshotPolicyName()
* @method string getRetentionDays()
* @method string getTargetCopyRegions()
* @method $this withTargetCopyRegions($value)
*/
class ModifyAutoSnapshotPolicyEx extends Rpc
{
Expand Down Expand Up @@ -8238,8 +8348,12 @@ class ModifyDiskChargeType extends Rpc
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getDiskCategory()
* @method $this withDiskCategory($value)
* @method string getDiskId()
* @method $this withDiskId($value)
* @method string getDryRun()
* @method $this withDryRun($value)
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getPerformanceLevel()
Expand Down Expand Up @@ -8348,6 +8462,8 @@ class ModifyHpcClusterAttribute extends Rpc
* @method $this withImageId($value)
* @method string getDescription()
* @method $this withDescription($value)
* @method string getBootMode()
* @method $this withBootMode($value)
* @method string getImageName()
* @method $this withImageName($value)
* @method string getResourceOwnerAccount()
Expand Down Expand Up @@ -8582,6 +8698,8 @@ class ModifyInstanceChargeType extends Rpc
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method string getDeploymentSetGroupNo()
* @method $this withDeploymentSetGroupNo($value)
* @method string getInstanceType()
* @method $this withInstanceType($value)
* @method string getDeploymentSetId()
Expand Down Expand Up @@ -8819,6 +8937,7 @@ class ModifyInstanceVncPasswd extends Rpc
/**
* @method string getResourceOwnerId()
* @method $this withResourceOwnerId($value)
* @method array getSecurityGroupId()
* @method string getResourceOwnerAccount()
* @method $this withResourceOwnerAccount($value)
* @method string getOwnerAccount()
Expand All @@ -8831,9 +8950,26 @@ class ModifyInstanceVncPasswd extends Rpc
* @method $this withPrivateIpAddress($value)
* @method string getInstanceId()
* @method $this withInstanceId($value)
* @method string getVpcId()
* @method $this withVpcId($value)
*/
class ModifyInstanceVpcAttribute extends Rpc
{

/**
* @param array $securityGroupId
*
* @return $this
*/
public function withSecurityGroupId(array $securityGroupId)
{
$this->data['SecurityGroupId'] = $securityGroupId;
foreach ($securityGroupId as $i => $iValue) {
$this->options['query']['SecurityGroupId.' . ($i + 1)] = $iValue;
}

return $this;
}
}

/**
Expand Down Expand Up @@ -10172,6 +10308,8 @@ public function withInstanceId(array $instanceId)
* @method $this withHostName($value)
* @method string getPassword()
* @method $this withPassword($value)
* @method string getDeploymentSetGroupNo()
* @method $this withDeploymentSetGroupNo($value)
* @method string getStorageSetPartitionNumber()
* @method $this withStorageSetPartitionNumber($value)
* @method array getTag()
Expand Down
2 changes: 1 addition & 1 deletion src/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Release
/**
* Version of the SDK
*/
const VERSION = '1.8.330';
const VERSION = '1.8.331';

/**
* @param Event $event
Expand Down

0 comments on commit 8cbad06

Please sign in to comment.