import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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. * * ## Import * * ```sh * $ pulumi import volcenginecc:vpc/networkAcl:NetworkAcl example "network_acl_id" * ``` */ export declare class NetworkAcl extends pulumi.CustomResource { /** * Get an existing NetworkAcl resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkAclState, opts?: pulumi.CustomResourceOptions): NetworkAcl; /** * Returns true if the given object is an instance of NetworkAcl. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkAcl; /** * Creation time of the network ACL. */ readonly createdTime: pulumi.Output; readonly defaultEgressAclEntries: pulumi.Output; readonly defaultIngressAclEntries: pulumi.Output; /** * 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 (。). */ readonly description: pulumi.Output; readonly egressAclEntries: pulumi.Output; readonly ingressAclEntries: pulumi.Output; /** * Network ACL ID. */ readonly networkAclId: pulumi.Output; /** * 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 (-). */ readonly networkAclName: pulumi.Output; /** * Name of the project associated with the network ACL. If not specified, added to the default project. */ readonly projectName: pulumi.Output; readonly resources: pulumi.Output; /** * Status of the network ACL. Available: Available. Creating: Creating. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Last updated time of the network ACL. */ readonly updatedTime: pulumi.Output; /** * ID of the VPC associated with the network ACL. */ readonly vpcId: pulumi.Output; /** * Create a NetworkAcl resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkAclArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkAcl resources. */ export interface NetworkAclState { /** * Creation time of the network ACL. */ createdTime?: pulumi.Input; defaultEgressAclEntries?: pulumi.Input[]>; defaultIngressAclEntries?: pulumi.Input[]>; /** * 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 (。). */ description?: pulumi.Input; egressAclEntries?: pulumi.Input[]>; ingressAclEntries?: pulumi.Input[]>; /** * Network ACL ID. */ networkAclId?: pulumi.Input; /** * 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 (-). */ networkAclName?: pulumi.Input; /** * Name of the project associated with the network ACL. If not specified, added to the default project. */ projectName?: pulumi.Input; resources?: pulumi.Input[]>; /** * Status of the network ACL. Available: Available. Creating: Creating. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Last updated time of the network ACL. */ updatedTime?: pulumi.Input; /** * ID of the VPC associated with the network ACL. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a NetworkAcl resource. */ export interface NetworkAclArgs { /** * 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 (。). */ description?: pulumi.Input; egressAclEntries?: pulumi.Input[]>; ingressAclEntries?: pulumi.Input[]>; /** * 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 (-). */ networkAclName?: pulumi.Input; /** * Name of the project associated with the network ACL. If not specified, added to the default project. */ projectName?: pulumi.Input; resources?: pulumi.Input[]>; tags?: pulumi.Input[]>; /** * ID of the VPC associated with the network ACL. */ vpcId: pulumi.Input; }