Creates an elastic IP address (EIP) and associates it with an ECS instance.
Description
Creates an elastic IP address (EIP) and associates the EIP with an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::AllocateAndAssociateEipAddress
Properties:
regionId: String
instanceId: String
instanceType: 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 |
||
|
instanceType |
The instance type of the ECS instance. |
String |
No |
NetworkInterface |
|
|
internetChargeType |
The billing method of the EIP. |
String |
No |
PayByBandwidth |
|
|
bandwidth |
The maximum bandwidth of the EIP. |
Number |
No |
5 |
Output
None
References
For more information, see ACS::ECS::AllocateAndAssociateEipAddress.yml at GitHub.
该文章对您有帮助吗?