EipAssociationArgs

data class EipAssociationArgs(val allocationId: Output<String>? = null, val force: Output<Boolean>? = null, val instanceId: Output<String>? = null, val instanceType: Output<String>? = null, val privateIpAddress: Output<String>? = null) : ConvertibleToJava<EipAssociationArgs>

Import

Elastic IP address association can be imported using the id, e.g.

$ pulumi import alicloud:ecs/eipAssociation:EipAssociation example eip-abc12345678:i-abc12355

Constructors

Link copied to clipboard
fun EipAssociationArgs(allocationId: Output<String>? = null, force: Output<Boolean>? = null, instanceId: Output<String>? = null, instanceType: Output<String>? = null, privateIpAddress: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): EipAssociationArgs

Properties

Link copied to clipboard
val allocationId: Output<String>? = null

The allocation EIP ID.

Link copied to clipboard
val force: Output<Boolean>? = null

When EIP is bound to a NAT gateway, and the NAT gateway adds a DNAT or SNAT entry, set it for true can unassociation any way. Default to false.

Link copied to clipboard
val instanceId: Output<String>? = null

The ID of the ECS or SLB instance or Nat Gateway or NetworkInterface or HaVip.

Link copied to clipboard
val instanceType: Output<String>? = null

The type of cloud product that the eip instance to bind. Valid values: EcsInstance, SlbInstance, Nat, NetworkInterface and HaVip.

Link copied to clipboard
val privateIpAddress: Output<String>? = null

The private IP address in the network segment of the vswitch which has been assigned.