EcsNetworkInterfacePermissionArgs

data class EcsNetworkInterfacePermissionArgs(val accountId: Output<String>? = null, val force: Output<Boolean>? = null, val networkInterfaceId: Output<String>? = null, val permission: Output<String>? = null) : ConvertibleToJava<EcsNetworkInterfacePermissionArgs>

Provides a ECS Network Interface Permission resource. For information about ECS Network Interface Permission and how to use it, see What is Network Interface Permission.

NOTE: Available since v1.166.0.

Import

ECS Network Interface Permission can be imported using the id, e.g.

$ pulumi import alicloud:ecs/ecsNetworkInterfacePermission:EcsNetworkInterfacePermission example <id>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, force: Output<Boolean>? = null, networkInterfaceId: Output<String>? = null, permission: Output<String>? = null)

Properties

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

Alibaba Cloud Partner (Certified ISV) account ID or individual user ID.

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

Whether to force deletion of Network Interface Permission. Default value: true.

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

The ID of the network interface.

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

The permissions of the Network Interface. Valid values: InstanceAttach. InstanceAttach: Allows authorized users to mount your ENI to the other ECS instance. The ECS instance must be in the same zone as the ENI.

Functions

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