NetworkAclArgs

data class NetworkAclArgs(val description: Output<String>? = null, val egressAclEntries: Output<List<NetworkAclEgressAclEntryArgs>>? = null, val ingressAclEntries: Output<List<NetworkAclIngressAclEntryArgs>>? = null, val name: Output<String>? = null, val networkAclName: Output<String>? = null, val resources: Output<List<NetworkAclResourceArgs>>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<NetworkAclArgs>

Provides a network acl resource to add network acls.

NOTE: Available in 1.43.0+. Currently, the resource are only available in Hongkong(cn-hongkong), India(ap-south-1), and Indonesia(ap-southeast-1) regions.

Import

The network acl can be imported using the id, e.g.

$ pulumi import alicloud:vpc/networkAcl:NetworkAcl default nacl-abc123456

Constructors

Link copied to clipboard
fun NetworkAclArgs(description: Output<String>? = null, egressAclEntries: Output<List<NetworkAclEgressAclEntryArgs>>? = null, ingressAclEntries: Output<List<NetworkAclIngressAclEntryArgs>>? = null, name: Output<String>? = null, networkAclName: Output<String>? = null, resources: Output<List<NetworkAclResourceArgs>>? = null, vpcId: Output<String>? = null)

Functions

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

Properties

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

The description of the network acl instance.

Link copied to clipboard

List of the egress entries of the network acl. The order of the egress entries determines the priority. The details see Block egress_acl_entries.

Link copied to clipboard

List of the ingress entries of the network acl. The order of the ingress entries determines the priority. The details see Block ingress_acl_entries.

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

Field name has been deprecated from provider version 1.122.0. New field network_acl_name instead.

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

The name of the network acl.

Link copied to clipboard
val resources: Output<List<NetworkAclResourceArgs>>? = null

The associated resources. See the following Block resources. NOTE: "Field resources has been deprecated from provider version 1.193.0 and it will be removed in the future version. Please use the new resource alicloud.vpc.VpcNetworkAclAttachment."

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

The vpc_id of the network acl, the field can't be changed.