Action
ACS::ECS::AllocateEipAddressAndAttachToInstance
Description
Creates an elastic IP address (EIP) and associates it with an ECS instance.
Syntax
Action: ACS::ECS::AllocateEipAddressAndAttachToInstance
Properties:
regionId: String
instanceId: String
internetChargeType: String
bandwidth: Number
tags: Json
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ID of the ECS instance. |
String |
Yes |
||
|
internetChargeType |
The billing method of the EIP. |
String |
No |
PayByBandwidth |
|
|
bandwidth |
The maximum bandwidth of the EIP. Unit: Mbit/s. |
Number |
No |
5 |
|
|
tags |
The tags to add to the EIP. |
Json |
No |
[{'Key': 'oos_generate', 'Value': '{{ACS::ExecutionId}}'}] |
Output
|
Output item |
Description |
Type |
|
instanceAndAllocationId |
String |
References
For more information, see ACS::ECS::AllocateEipAddressAndAttachToInstance.yml at GitHub.
该文章对您有帮助吗?