ACS::ECS::AllocateEipAddressAndAttachToInstance

更新时间:
复制 MD 格式

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.