ACS::ECS::CreateNetworkInterfaceAndEipAndAttachToInstance

Updated at:

Description

Creates an elastic network interface (ENI) and an elastic IP address (EIP), and associates the ENI and EIP with an Elastic Compute Service (ECS) instance.

Syntax

Action: ACS::ECS::CreateNetworkInterfaceAndEipAndAttachToInstance
Properties:
 regionId: String
 instanceId: String
 internetChargeType: String
 bandwidth: Number

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ECS instance ID.

String

Yes

internetChargeType

The billing method for the network usage of the EIP.

String

No

PayByBandwidth

bandwidth

The maximum bandwidth of the EIP.

Number

No

5

Output

Output item

Description

Type

networkInterfaceIdAndAllocationId

String

References

For more information, see ACS::ECS::CreateNetworkInterfaceAndEipAndAttachToInstance at GitHub.