All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::AllocateEipAddressAndAttachToInstance

Last Updated:Jul 31, 2024

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.

Number

No

5

tags

The tags.

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.