published on Thursday, Jul 16, 2026 by Byteplus
published on Thursday, Jul 16, 2026 by Byteplus
The network ACL controls inbound and outbound traffic for subnets. It is designed based on the allowlist principle: traffic entering or leaving a subnet must be permitted by a network ACL rule to pass through.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const networkAclDemo = new bytepluscc.vpc.NetworkAcl("NetworkAclDemo", {
vpcId: "vpc-rrco37ovjq4gv0x58xxxxxx",
networkAclName: "NetworkAclDemo",
description: "NetworkAclDemo-Description",
projectName: "default",
ingressAclEntries: [{
cidr_ip: "10.0.1.0/24",
description: "test-rule",
network_acl_entry_name: "test-entries",
policy: "drop",
port: "80/80",
protocol: "tcp",
}],
egressAclEntries: [{
cidr_ip: "0.0.0.0/0",
description: "test-rule",
network_acl_entry_name: "test-entries",
policy: "accept",
port: "-1/-1",
protocol: "all",
}],
resources: [{
resource_id: "subnet-3nrjlvvxo4gsg931ebxxxxxx",
}],
tags: [{
key: "env",
value: "test",
}],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
network_acl_demo = bytepluscc.vpc.NetworkAcl("NetworkAclDemo",
vpc_id="vpc-rrco37ovjq4gv0x58xxxxxx",
network_acl_name="NetworkAclDemo",
description="NetworkAclDemo-Description",
project_name="default",
ingress_acl_entries=[{
"cidr_ip": "10.0.1.0/24",
"description": "test-rule",
"network_acl_entry_name": "test-entries",
"policy": "drop",
"port": "80/80",
"protocol": "tcp",
}],
egress_acl_entries=[{
"cidr_ip": "0.0.0.0/0",
"description": "test-rule",
"network_acl_entry_name": "test-entries",
"policy": "accept",
"port": "-1/-1",
"protocol": "all",
}],
resources=[{
"resource_id": "subnet-3nrjlvvxo4gsg931ebxxxxxx",
}],
tags=[{
"key": "env",
"value": "test",
}])
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewNetworkAcl(ctx, "NetworkAclDemo", &vpc.NetworkAclArgs{
VpcId: pulumi.String("vpc-rrco37ovjq4gv0x58xxxxxx"),
NetworkAclName: pulumi.String("NetworkAclDemo"),
Description: pulumi.String("NetworkAclDemo-Description"),
ProjectName: pulumi.String("default"),
IngressAclEntries: vpc.NetworkAclIngressAclEntryArray{
&vpc.NetworkAclIngressAclEntryArgs{
Cidr_ip: "10.0.1.0/24",
Description: pulumi.String("test-rule"),
Network_acl_entry_name: "test-entries",
Policy: pulumi.String("drop"),
Port: pulumi.String("80/80"),
Protocol: pulumi.String("tcp"),
},
},
EgressAclEntries: vpc.NetworkAclEgressAclEntryArray{
&vpc.NetworkAclEgressAclEntryArgs{
Cidr_ip: "0.0.0.0/0",
Description: pulumi.String("test-rule"),
Network_acl_entry_name: "test-entries",
Policy: pulumi.String("accept"),
Port: pulumi.String("-1/-1"),
Protocol: pulumi.String("all"),
},
},
Resources: vpc.NetworkAclResourceArray{
&vpc.NetworkAclResourceArgs{
Resource_id: "subnet-3nrjlvvxo4gsg931ebxxxxxx",
},
},
Tags: vpc.NetworkAclTagArray{
&vpc.NetworkAclTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var networkAclDemo = new Bytepluscc.Vpc.NetworkAcl("NetworkAclDemo", new()
{
VpcId = "vpc-rrco37ovjq4gv0x58xxxxxx",
NetworkAclName = "NetworkAclDemo",
Description = "NetworkAclDemo-Description",
ProjectName = "default",
IngressAclEntries = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclIngressAclEntryArgs
{
Cidr_ip = "10.0.1.0/24",
Description = "test-rule",
Network_acl_entry_name = "test-entries",
Policy = "drop",
Port = "80/80",
Protocol = "tcp",
},
},
EgressAclEntries = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclEgressAclEntryArgs
{
Cidr_ip = "0.0.0.0/0",
Description = "test-rule",
Network_acl_entry_name = "test-entries",
Policy = "accept",
Port = "-1/-1",
Protocol = "all",
},
},
Resources = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclResourceArgs
{
Resource_id = "subnet-3nrjlvvxo4gsg931ebxxxxxx",
},
},
Tags = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclTagArgs
{
Key = "env",
Value = "test",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.vpc.NetworkAcl;
import com.byteplus.bytepluscc.vpc.NetworkAclArgs;
import com.pulumi.bytepluscc.vpc.inputs.NetworkAclIngressAclEntryArgs;
import com.pulumi.bytepluscc.vpc.inputs.NetworkAclEgressAclEntryArgs;
import com.pulumi.bytepluscc.vpc.inputs.NetworkAclResourceArgs;
import com.pulumi.bytepluscc.vpc.inputs.NetworkAclTagArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var networkAclDemo = new NetworkAcl("networkAclDemo", NetworkAclArgs.builder()
.vpcId("vpc-rrco37ovjq4gv0x58xxxxxx")
.networkAclName("NetworkAclDemo")
.description("NetworkAclDemo-Description")
.projectName("default")
.ingressAclEntries(NetworkAclIngressAclEntryArgs.builder()
.cidr_ip("10.0.1.0/24")
.description("test-rule")
.network_acl_entry_name("test-entries")
.policy("drop")
.port("80/80")
.protocol("tcp")
.build())
.egressAclEntries(NetworkAclEgressAclEntryArgs.builder()
.cidr_ip("0.0.0.0/0")
.description("test-rule")
.network_acl_entry_name("test-entries")
.policy("accept")
.port("-1/-1")
.protocol("all")
.build())
.resources(NetworkAclResourceArgs.builder()
.resource_id("subnet-3nrjlvvxo4gsg931ebxxxxxx")
.build())
.tags(NetworkAclTagArgs.builder()
.key("env")
.value("test")
.build())
.build());
}
}
resources:
networkAclDemo:
type: bytepluscc:vpc:NetworkAcl
name: NetworkAclDemo
properties:
vpcId: vpc-rrco37ovjq4gv0x58xxxxxx
networkAclName: NetworkAclDemo
description: NetworkAclDemo-Description
projectName: default
ingressAclEntries:
- cidr_ip: 10.0.1.0/24
description: test-rule
network_acl_entry_name: test-entries
policy: drop
port: 80/80
protocol: tcp
egressAclEntries:
- cidr_ip: 0.0.0.0/0
description: test-rule
network_acl_entry_name: test-entries
policy: accept
port: -1/-1
protocol: all
resources:
- resource_id: subnet-3nrjlvvxo4gsg931ebxxxxxx
tags:
- key: env
value: test
pulumi {
required_providers {
bytepluscc = {
source = "pulumi/bytepluscc"
}
}
}
resource "bytepluscc_vpc_networkacl" "NetworkAclDemo" {
vpc_id = "vpc-rrco37ovjq4gv0x58xxxxxx"
network_acl_name = "NetworkAclDemo"
description = "NetworkAclDemo-Description"
project_name = "default"
ingress_acl_entries {
cidr_ip = "10.0.1.0/24"
description = "test-rule"
network_acl_entry_name = "test-entries"
policy = "drop"
port = "80/80"
protocol = "tcp"
}
egress_acl_entries {
cidr_ip = "0.0.0.0/0"
description = "test-rule"
network_acl_entry_name = "test-entries"
policy = "accept"
port = "-1/-1"
protocol = "all"
}
resources {
resource_id = "subnet-3nrjlvvxo4gsg931ebxxxxxx"
}
tags {
key = "env"
value = "test"
}
}
Create NetworkAcl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkAcl(name: string, args: NetworkAclArgs, opts?: CustomResourceOptions);@overload
def NetworkAcl(resource_name: str,
args: NetworkAclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
vpc_id: Optional[str] = None,
description: Optional[str] = None,
egress_acl_entries: Optional[Sequence[NetworkAclEgressAclEntryArgs]] = None,
ingress_acl_entries: Optional[Sequence[NetworkAclIngressAclEntryArgs]] = None,
network_acl_name: Optional[str] = None,
project_name: Optional[str] = None,
resources: Optional[Sequence[NetworkAclResourceArgs]] = None,
tags: Optional[Sequence[NetworkAclTagArgs]] = None)func NewNetworkAcl(ctx *Context, name string, args NetworkAclArgs, opts ...ResourceOption) (*NetworkAcl, error)public NetworkAcl(string name, NetworkAclArgs args, CustomResourceOptions? opts = null)
public NetworkAcl(String name, NetworkAclArgs args)
public NetworkAcl(String name, NetworkAclArgs args, CustomResourceOptions options)
type: bytepluscc:vpc:NetworkAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_vpc_networkacl" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NetworkAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkAclArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkAclArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkAclResource = new Bytepluscc.Vpc.NetworkAcl("networkAclResource", new()
{
VpcId = "string",
Description = "string",
EgressAclEntries = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclEgressAclEntryArgs
{
CidrIp = "string",
Description = "string",
NetworkAclEntryName = "string",
Policy = "string",
Port = "string",
Protocol = "string",
},
},
IngressAclEntries = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclIngressAclEntryArgs
{
CidrIp = "string",
Description = "string",
NetworkAclEntryName = "string",
Policy = "string",
Port = "string",
Protocol = "string",
},
},
NetworkAclName = "string",
ProjectName = "string",
Resources = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclResourceArgs
{
ResourceId = "string",
},
},
Tags = new[]
{
new Bytepluscc.Vpc.Inputs.NetworkAclTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vpc.NewNetworkAcl(ctx, "networkAclResource", &vpc.NetworkAclArgs{
VpcId: pulumi.String("string"),
Description: pulumi.String("string"),
EgressAclEntries: vpc.NetworkAclEgressAclEntryArray{
&vpc.NetworkAclEgressAclEntryArgs{
CidrIp: pulumi.String("string"),
Description: pulumi.String("string"),
NetworkAclEntryName: pulumi.String("string"),
Policy: pulumi.String("string"),
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
IngressAclEntries: vpc.NetworkAclIngressAclEntryArray{
&vpc.NetworkAclIngressAclEntryArgs{
CidrIp: pulumi.String("string"),
Description: pulumi.String("string"),
NetworkAclEntryName: pulumi.String("string"),
Policy: pulumi.String("string"),
Port: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
NetworkAclName: pulumi.String("string"),
ProjectName: pulumi.String("string"),
Resources: vpc.NetworkAclResourceArray{
&vpc.NetworkAclResourceArgs{
ResourceId: pulumi.String("string"),
},
},
Tags: vpc.NetworkAclTagArray{
&vpc.NetworkAclTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "bytepluscc_vpc_networkacl" "networkAclResource" {
vpc_id = "string"
description = "string"
egress_acl_entries {
cidr_ip = "string"
description = "string"
network_acl_entry_name = "string"
policy = "string"
port = "string"
protocol = "string"
}
ingress_acl_entries {
cidr_ip = "string"
description = "string"
network_acl_entry_name = "string"
policy = "string"
port = "string"
protocol = "string"
}
network_acl_name = "string"
project_name = "string"
resources {
resource_id = "string"
}
tags {
key = "string"
value = "string"
}
}
var networkAclResource = new NetworkAcl("networkAclResource", NetworkAclArgs.builder()
.vpcId("string")
.description("string")
.egressAclEntries(NetworkAclEgressAclEntryArgs.builder()
.cidrIp("string")
.description("string")
.networkAclEntryName("string")
.policy("string")
.port("string")
.protocol("string")
.build())
.ingressAclEntries(NetworkAclIngressAclEntryArgs.builder()
.cidrIp("string")
.description("string")
.networkAclEntryName("string")
.policy("string")
.port("string")
.protocol("string")
.build())
.networkAclName("string")
.projectName("string")
.resources(NetworkAclResourceArgs.builder()
.resourceId("string")
.build())
.tags(NetworkAclTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
network_acl_resource = bytepluscc.vpc.NetworkAcl("networkAclResource",
vpc_id="string",
description="string",
egress_acl_entries=[{
"cidr_ip": "string",
"description": "string",
"network_acl_entry_name": "string",
"policy": "string",
"port": "string",
"protocol": "string",
}],
ingress_acl_entries=[{
"cidr_ip": "string",
"description": "string",
"network_acl_entry_name": "string",
"policy": "string",
"port": "string",
"protocol": "string",
}],
network_acl_name="string",
project_name="string",
resources=[{
"resource_id": "string",
}],
tags=[{
"key": "string",
"value": "string",
}])
const networkAclResource = new bytepluscc.vpc.NetworkAcl("networkAclResource", {
vpcId: "string",
description: "string",
egressAclEntries: [{
cidrIp: "string",
description: "string",
networkAclEntryName: "string",
policy: "string",
port: "string",
protocol: "string",
}],
ingressAclEntries: [{
cidrIp: "string",
description: "string",
networkAclEntryName: "string",
policy: "string",
port: "string",
protocol: "string",
}],
networkAclName: "string",
projectName: "string",
resources: [{
resourceId: "string",
}],
tags: [{
key: "string",
value: "string",
}],
});
type: bytepluscc:vpc:NetworkAcl
properties:
description: string
egressAclEntries:
- cidrIp: string
description: string
networkAclEntryName: string
policy: string
port: string
protocol: string
ingressAclEntries:
- cidrIp: string
description: string
networkAclEntryName: string
policy: string
port: string
protocol: string
networkAclName: string
projectName: string
resources:
- resourceId: string
tags:
- key: string
value: string
vpcId: string
NetworkAcl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkAcl resource accepts the following input properties:
- Vpc
Id string - ID of the VPC associated with the network ACL.
- Description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Egress
Acl List<Byteplus.Entries Network Acl Egress Acl Entry> - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Ingress
Acl List<Byteplus.Entries Network Acl Ingress Acl Entry> - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- Project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- Resources
List<Byteplus.
Network Acl Resource> - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
-
List<Byteplus.
Network Acl Tag> - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vpc
Id string - ID of the VPC associated with the network ACL.
- Description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Egress
Acl []NetworkEntries Acl Egress Acl Entry Args - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Ingress
Acl []NetworkEntries Acl Ingress Acl Entry Args - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- Project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- Resources
[]Network
Acl Resource Args - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
-
[]Network
Acl Tag Args - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
id string - ID of the VPC associated with the network ACL.
- description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress_
acl_ list(object)entries - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress_
acl_ list(object)entries - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network_
acl_ stringname - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project_
name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources list(object)
- Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- list(object)
- Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Id String - ID of the VPC associated with the network ACL.
- description String
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl List<NetworkEntries Acl Egress Acl Entry> - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl List<NetworkEntries Acl Ingress Acl Entry> - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl StringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name String - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
List<Network
Acl Resource> - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
-
List<Network
Acl Tag> - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Id string - ID of the VPC associated with the network ACL.
- description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl NetworkEntries Acl Egress Acl Entry[] - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl NetworkEntries Acl Ingress Acl Entry[] - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
Network
Acl Resource[] - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
-
Network
Acl Tag[] - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
id str - ID of the VPC associated with the network ACL.
- description str
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress_
acl_ Sequence[Networkentries Acl Egress Acl Entry Args] - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress_
acl_ Sequence[Networkentries Acl Ingress Acl Entry Args] - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network_
acl_ strname - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project_
name str - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
Sequence[Network
Acl Resource Args] - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
-
Sequence[Network
Acl Tag Args] - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Id String - ID of the VPC associated with the network ACL.
- description String
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl List<Property Map>Entries - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl List<Property Map>Entries - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl StringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name String - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources List<Property Map>
- Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- List<Property Map>
- Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkAcl resource produces the following output properties:
- Created
Time string - Creation time of the network ACL.
- Default
Egress List<Byteplus.Acl Entries Network Acl Default Egress Acl Entry> - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Default
Ingress List<Byteplus.Acl Entries Network Acl Default Ingress Acl Entry> - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Acl stringId - Network ACL ID.
- Status string
- Status of the network ACL. Available: Available. Creating: Creating.
- Updated
Time string - Last updated time of the network ACL.
- Created
Time string - Creation time of the network ACL.
- Default
Egress []NetworkAcl Entries Acl Default Egress Acl Entry - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Default
Ingress []NetworkAcl Entries Acl Default Ingress Acl Entry - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Acl stringId - Network ACL ID.
- Status string
- Status of the network ACL. Available: Available. Creating: Creating.
- Updated
Time string - Last updated time of the network ACL.
- created_
time string - Creation time of the network ACL.
- default_
egress_ list(object)acl_ entries - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default_
ingress_ list(object)acl_ entries - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- id string
- The provider-assigned unique ID for this managed resource.
- network_
acl_ stringid - Network ACL ID.
- status string
- Status of the network ACL. Available: Available. Creating: Creating.
- updated_
time string - Last updated time of the network ACL.
- created
Time String - Creation time of the network ACL.
- default
Egress List<NetworkAcl Entries Acl Default Egress Acl Entry> - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress List<NetworkAcl Entries Acl Default Ingress Acl Entry> - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Acl StringId - Network ACL ID.
- status String
- Status of the network ACL. Available: Available. Creating: Creating.
- updated
Time String - Last updated time of the network ACL.
- created
Time string - Creation time of the network ACL.
- default
Egress NetworkAcl Entries Acl Default Egress Acl Entry[] - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress NetworkAcl Entries Acl Default Ingress Acl Entry[] - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Acl stringId - Network ACL ID.
- status string
- Status of the network ACL. Available: Available. Creating: Creating.
- updated
Time string - Last updated time of the network ACL.
- created_
time str - Creation time of the network ACL.
- default_
egress_ Sequence[Networkacl_ entries Acl Default Egress Acl Entry] - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default_
ingress_ Sequence[Networkacl_ entries Acl Default Ingress Acl Entry] - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
acl_ strid - Network ACL ID.
- status str
- Status of the network ACL. Available: Available. Creating: Creating.
- updated_
time str - Last updated time of the network ACL.
- created
Time String - Creation time of the network ACL.
- default
Egress List<Property Map>Acl Entries - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress List<Property Map>Acl Entries - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Acl StringId - Network ACL ID.
- status String
- Status of the network ACL. Available: Available. Creating: Creating.
- updated
Time String - Last updated time of the network ACL.
Look up Existing NetworkAcl Resource
Get an existing NetworkAcl resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkAclState, opts?: CustomResourceOptions): NetworkAcl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_time: Optional[str] = None,
default_egress_acl_entries: Optional[Sequence[NetworkAclDefaultEgressAclEntryArgs]] = None,
default_ingress_acl_entries: Optional[Sequence[NetworkAclDefaultIngressAclEntryArgs]] = None,
description: Optional[str] = None,
egress_acl_entries: Optional[Sequence[NetworkAclEgressAclEntryArgs]] = None,
ingress_acl_entries: Optional[Sequence[NetworkAclIngressAclEntryArgs]] = None,
network_acl_id: Optional[str] = None,
network_acl_name: Optional[str] = None,
project_name: Optional[str] = None,
resources: Optional[Sequence[NetworkAclResourceArgs]] = None,
status: Optional[str] = None,
tags: Optional[Sequence[NetworkAclTagArgs]] = None,
updated_time: Optional[str] = None,
vpc_id: Optional[str] = None) -> NetworkAclfunc GetNetworkAcl(ctx *Context, name string, id IDInput, state *NetworkAclState, opts ...ResourceOption) (*NetworkAcl, error)public static NetworkAcl Get(string name, Input<string> id, NetworkAclState? state, CustomResourceOptions? opts = null)public static NetworkAcl get(String name, Output<String> id, NetworkAclState state, CustomResourceOptions options)resources: _: type: bytepluscc:vpc:NetworkAcl get: id: ${id}import {
to = bytepluscc_vpc_networkacl.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
Time string - Creation time of the network ACL.
- Default
Egress List<Byteplus.Acl Entries Network Acl Default Egress Acl Entry> - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Default
Ingress List<Byteplus.Acl Entries Network Acl Default Ingress Acl Entry> - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Egress
Acl List<Byteplus.Entries Network Acl Egress Acl Entry> - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Ingress
Acl List<Byteplus.Entries Network Acl Ingress Acl Entry> - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Network
Acl stringId - Network ACL ID.
- Network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- Project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- Resources
List<Byteplus.
Network Acl Resource> - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Status string
- Status of the network ACL. Available: Available. Creating: Creating.
-
List<Byteplus.
Network Acl Tag> - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Last updated time of the network ACL.
- Vpc
Id string - ID of the VPC associated with the network ACL.
- Created
Time string - Creation time of the network ACL.
- Default
Egress []NetworkAcl Entries Acl Default Egress Acl Entry Args - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Default
Ingress []NetworkAcl Entries Acl Default Ingress Acl Entry Args - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- Egress
Acl []NetworkEntries Acl Egress Acl Entry Args - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Ingress
Acl []NetworkEntries Acl Ingress Acl Entry Args - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Network
Acl stringId - Network ACL ID.
- Network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- Project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- Resources
[]Network
Acl Resource Args - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Status string
- Status of the network ACL. Available: Available. Creating: Creating.
-
[]Network
Acl Tag Args - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Updated
Time string - Last updated time of the network ACL.
- Vpc
Id string - ID of the VPC associated with the network ACL.
- created_
time string - Creation time of the network ACL.
- default_
egress_ list(object)acl_ entries - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default_
ingress_ list(object)acl_ entries - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress_
acl_ list(object)entries - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress_
acl_ list(object)entries - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network_
acl_ stringid - Network ACL ID.
- network_
acl_ stringname - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project_
name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources list(object)
- Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- status string
- Status of the network ACL. Available: Available. Creating: Creating.
- list(object)
- Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time string - Last updated time of the network ACL.
- vpc_
id string - ID of the VPC associated with the network ACL.
- created
Time String - Creation time of the network ACL.
- default
Egress List<NetworkAcl Entries Acl Default Egress Acl Entry> - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress List<NetworkAcl Entries Acl Default Ingress Acl Entry> - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description String
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl List<NetworkEntries Acl Egress Acl Entry> - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl List<NetworkEntries Acl Ingress Acl Entry> - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl StringId - Network ACL ID.
- network
Acl StringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name String - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
List<Network
Acl Resource> - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- status String
- Status of the network ACL. Available: Available. Creating: Creating.
-
List<Network
Acl Tag> - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Last updated time of the network ACL.
- vpc
Id String - ID of the VPC associated with the network ACL.
- created
Time string - Creation time of the network ACL.
- default
Egress NetworkAcl Entries Acl Default Egress Acl Entry[] - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress NetworkAcl Entries Acl Default Ingress Acl Entry[] - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description string
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl NetworkEntries Acl Egress Acl Entry[] - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl NetworkEntries Acl Ingress Acl Entry[] - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl stringId - Network ACL ID.
- network
Acl stringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name string - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
Network
Acl Resource[] - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- status string
- Status of the network ACL. Available: Available. Creating: Creating.
-
Network
Acl Tag[] - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time string - Last updated time of the network ACL.
- vpc
Id string - ID of the VPC associated with the network ACL.
- created_
time str - Creation time of the network ACL.
- default_
egress_ Sequence[Networkacl_ entries Acl Default Egress Acl Entry Args] - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default_
ingress_ Sequence[Networkacl_ entries Acl Default Ingress Acl Entry Args] - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description str
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress_
acl_ Sequence[Networkentries Acl Egress Acl Entry Args] - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress_
acl_ Sequence[Networkentries Acl Ingress Acl Entry Args] - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network_
acl_ strid - Network ACL ID.
- network_
acl_ strname - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project_
name str - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources
Sequence[Network
Acl Resource Args] - Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- status str
- Status of the network ACL. Available: Available. Creating: Creating.
-
Sequence[Network
Acl Tag Args] - Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated_
time str - Last updated time of the network ACL.
- vpc_
id str - ID of the VPC associated with the network ACL.
- created
Time String - Creation time of the network ACL.
- default
Egress List<Property Map>Acl Entries - Default outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- default
Ingress List<Property Map>Acl Entries - Default inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- description String
- Network ACL description. Length must be 0–255 characters. Must start with a letter, Chinese character, or number. Can include English commas (,), periods (.), underscores (_), spaces ( ), equals signs (=), hyphens (-), Chinese commas (,), and Chinese periods (。).
- egress
Acl List<Property Map>Entries - Outbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ingress
Acl List<Property Map>Entries - Inbound ACL rule list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- network
Acl StringId - Network ACL ID.
- network
Acl StringName - Network ACL name. Length must be 1–128 characters. Must start with a letter, Chinese character, or number, and can include periods (.), underscores (_), and hyphens (-).
- project
Name String - Name of the project associated with the network ACL. If not specified, added to the default project.
- resources List<Property Map>
- Associated resource list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- status String
- Status of the network ACL. Available: Available. Creating: Creating.
- List<Property Map>
- Tag list. Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- updated
Time String - Last updated time of the network ACL.
- vpc
Id String - ID of the VPC associated with the network ACL.
Supporting Types
NetworkAclDefaultEgressAclEntry, NetworkAclDefaultEgressAclEntryArgs
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Id - Rule ID.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Id - Rule ID.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network_
acl_ stringentry_ id - Rule ID.
- network_
acl_ stringentry_ name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Id - Rule ID.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority Integer
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network
Acl stringEntry Id - Rule ID.
- network
Acl stringEntry Name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip str - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description str
- Rule description.
- network_
acl_ strentry_ id - Rule ID.
- network_
acl_ strentry_ name - Rule name.
- policy str
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port str
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol str
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Id - Rule ID.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority Number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
NetworkAclDefaultIngressAclEntry, NetworkAclDefaultIngressAclEntryArgs
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Id - Rule ID.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Id - Rule ID.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network_
acl_ stringentry_ id - Rule ID.
- network_
acl_ stringentry_ name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Id - Rule ID.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority Integer
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network
Acl stringEntry Id - Rule ID.
- network
Acl stringEntry Name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip str - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description str
- Rule description.
- network_
acl_ strentry_ id - Rule ID.
- network_
acl_ strentry_ name - Rule name.
- policy str
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port str
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority int
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol str
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Id - Rule ID.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- priority Number
- Priority of direction rules. Lower numbers indicate higher priority. Default value if not specified: 1.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
NetworkAclEgressAclEntry, NetworkAclEgressAclEntryArgs
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network_
acl_ stringentry_ name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network
Acl stringEntry Name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip str - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description str
- Rule description.
- network_
acl_ strentry_ name - Rule name.
- policy str
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port str
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol str
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
NetworkAclIngressAclEntry, NetworkAclIngressAclEntryArgs
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- Cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- Description string
- Rule description.
- Network
Acl stringEntry Name - Rule name.
- Policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- Port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- Protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network_
acl_ stringentry_ name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip string - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description string
- Rule description.
- network
Acl stringEntry Name - Rule name.
- policy string
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port string
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol string
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr_
ip str - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description str
- Rule description.
- network_
acl_ strentry_ name - Rule name.
- policy str
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port str
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol str
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
- cidr
Ip String - For inbound rules, specifies the source address range. For outbound rules, specifies the destination address range. Supports CIDR and IPv4 address ranges. Default value: none.
- description String
- Rule description.
- network
Acl StringEntry Name - Rule name.
- policy String
- Authorization policy. accept: Allow access. drop: Deny access. No denial message is returned; the requester only experiences a timeout or similar connection failure.
- port String
- Destination port range for the rule. If the direction rule protocol is all, icmp, or gre, the port range is -1/-1, meaning no port restriction. If the protocol is tcp or udp, the port range is 1–65535, formatted as 1/200, 80/80, indicating ports 1 to 200, or port 80.
- protocol String
- Protocol type. tcp: TCP protocol. udp: UDP protocol. icmp: ICMP protocol. icmpv6: ICMPV6 protocol. gre: GRE protocol. all: Supports all protocols.
NetworkAclResource, NetworkAclResourceArgs
- Resource
Id string - Associated resource ID.
- Resource
Id string - Associated resource ID.
- resource_
id string - Associated resource ID.
- resource
Id String - Associated resource ID.
- resource
Id string - Associated resource ID.
- resource_
id str - Associated resource ID.
- resource
Id String - Associated resource ID.
NetworkAclTag, NetworkAclTagArgs
Import
$ pulumi import bytepluscc:vpc/networkAcl:NetworkAcl example "network_acl_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Jul 16, 2026 by Byteplus