Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of network acls
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.vpc.getNetworkAcls({
networkAclName: "ms-tf-acl",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vpc.get_network_acls(network_acl_name="ms-tf-acl")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.GetNetworkAcls(ctx, &vpc.GetNetworkAclsArgs{
NetworkAclName: pulumi.StringRef("ms-tf-acl"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Vpc.GetNetworkAcls.Invoke(new()
{
NetworkAclName = "ms-tf-acl",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.VpcFunctions;
import com.pulumi.volcengine.vpc.inputs.GetNetworkAclsArgs;
import java.util.List;
import java.util.ArrayList;
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) {
final var default = VpcFunctions.getNetworkAcls(GetNetworkAclsArgs.builder()
.networkAclName("ms-tf-acl")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:vpc:getNetworkAcls
Arguments:
networkAclName: ms-tf-acl
Using getNetworkAcls
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkAcls(args: GetNetworkAclsArgs, opts?: InvokeOptions): Promise<GetNetworkAclsResult>
function getNetworkAclsOutput(args: GetNetworkAclsOutputArgs, opts?: InvokeOptions): Output<GetNetworkAclsResult>def get_network_acls(ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
network_acl_name: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
subnet_id: Optional[str] = None,
tags: Optional[Sequence[GetNetworkAclsTag]] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkAclsResult
def get_network_acls_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
network_acl_name: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
subnet_id: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[GetNetworkAclsTagArgs]]]] = None,
vpc_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkAclsResult]func GetNetworkAcls(ctx *Context, args *GetNetworkAclsArgs, opts ...InvokeOption) (*GetNetworkAclsResult, error)
func GetNetworkAclsOutput(ctx *Context, args *GetNetworkAclsOutputArgs, opts ...InvokeOption) GetNetworkAclsResultOutput> Note: This function is named GetNetworkAcls in the Go SDK.
public static class GetNetworkAcls
{
public static Task<GetNetworkAclsResult> InvokeAsync(GetNetworkAclsArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkAclsResult> Invoke(GetNetworkAclsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkAclsResult> getNetworkAcls(GetNetworkAclsArgs args, InvokeOptions options)
public static Output<GetNetworkAclsResult> getNetworkAcls(GetNetworkAclsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:vpc/getNetworkAcls:getNetworkAcls
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Network Acl IDs.
- Name
Regex string - A Name Regex of Network Acl.
- Network
Acl stringName - The name of Network Acl.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the network acl.
- Subnet
Id string - The subnet id of Network Acl.
-
List<Get
Network Acls Tag> - Tags.
- Vpc
Id string - The vpc id of Network Acl.
- Ids []string
- A list of Network Acl IDs.
- Name
Regex string - A Name Regex of Network Acl.
- Network
Acl stringName - The name of Network Acl.
- Output
File string - File name where to save data source results.
- Project
Name string - The project name of the network acl.
- Subnet
Id string - The subnet id of Network Acl.
-
[]Get
Network Acls Tag - Tags.
- Vpc
Id string - The vpc id of Network Acl.
- ids List<String>
- A list of Network Acl IDs.
- name
Regex String - A Name Regex of Network Acl.
- network
Acl StringName - The name of Network Acl.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the network acl.
- subnet
Id String - The subnet id of Network Acl.
-
List<Get
Network Acls Tag> - Tags.
- vpc
Id String - The vpc id of Network Acl.
- ids string[]
- A list of Network Acl IDs.
- name
Regex string - A Name Regex of Network Acl.
- network
Acl stringName - The name of Network Acl.
- output
File string - File name where to save data source results.
- project
Name string - The project name of the network acl.
- subnet
Id string - The subnet id of Network Acl.
-
Get
Network Acls Tag[] - Tags.
- vpc
Id string - The vpc id of Network Acl.
- ids Sequence[str]
- A list of Network Acl IDs.
- name_
regex str - A Name Regex of Network Acl.
- network_
acl_ strname - The name of Network Acl.
- output_
file str - File name where to save data source results.
- project_
name str - The project name of the network acl.
- subnet_
id str - The subnet id of Network Acl.
-
Sequence[Get
Network Acls Tag] - Tags.
- vpc_
id str - The vpc id of Network Acl.
- ids List<String>
- A list of Network Acl IDs.
- name
Regex String - A Name Regex of Network Acl.
- network
Acl StringName - The name of Network Acl.
- output
File String - File name where to save data source results.
- project
Name String - The project name of the network acl.
- subnet
Id String - The subnet id of Network Acl.
- List<Property Map>
- Tags.
- vpc
Id String - The vpc id of Network Acl.
getNetworkAcls Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Acls List<GetNetwork Acls Network Acl> - The collection of Network Acl query.
- Total
Count int - The total count of Network Acl query.
- Ids List<string>
- Name
Regex string - Network
Acl stringName - The Name of Network Acl.
- Output
File string - Project
Name string - The project name of the network acl.
- Subnet
Id string -
List<Get
Network Acls Tag> - Tags.
- Vpc
Id string - The vpc id of Network Acl.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Acls []GetNetwork Acls Network Acl - The collection of Network Acl query.
- Total
Count int - The total count of Network Acl query.
- Ids []string
- Name
Regex string - Network
Acl stringName - The Name of Network Acl.
- Output
File string - Project
Name string - The project name of the network acl.
- Subnet
Id string -
[]Get
Network Acls Tag - Tags.
- Vpc
Id string - The vpc id of Network Acl.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Acls List<GetNetwork Acls Network Acl> - The collection of Network Acl query.
- total
Count Integer - The total count of Network Acl query.
- ids List<String>
- name
Regex String - network
Acl StringName - The Name of Network Acl.
- output
File String - project
Name String - The project name of the network acl.
- subnet
Id String -
List<Get
Network Acls Tag> - Tags.
- vpc
Id String - The vpc id of Network Acl.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Acls GetNetwork Acls Network Acl[] - The collection of Network Acl query.
- total
Count number - The total count of Network Acl query.
- ids string[]
- name
Regex string - network
Acl stringName - The Name of Network Acl.
- output
File string - project
Name string - The project name of the network acl.
- subnet
Id string -
Get
Network Acls Tag[] - Tags.
- vpc
Id string - The vpc id of Network Acl.
- id str
- The provider-assigned unique ID for this managed resource.
- network_
acls Sequence[GetNetwork Acls Network Acl] - The collection of Network Acl query.
- total_
count int - The total count of Network Acl query.
- ids Sequence[str]
- name_
regex str - network_
acl_ strname - The Name of Network Acl.
- output_
file str - project_
name str - The project name of the network acl.
- subnet_
id str -
Sequence[Get
Network Acls Tag] - Tags.
- vpc_
id str - The vpc id of Network Acl.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Acls List<Property Map> - The collection of Network Acl query.
- total
Count Number - The total count of Network Acl query.
- ids List<String>
- name
Regex String - network
Acl StringName - The Name of Network Acl.
- output
File String - project
Name String - The project name of the network acl.
- subnet
Id String - List<Property Map>
- Tags.
- vpc
Id String - The vpc id of Network Acl.
Supporting Types
GetNetworkAclsNetworkAcl
- Acl
Entry intCount - The count of Network acl entry.
- Creation
Time string - Creation time of Network Acl.
- Description string
- The description of entry.
- Egress
Acl List<GetEntries Network Acls Network Acl Egress Acl Entry> - The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- Ingress
Acl List<GetEntries Network Acls Network Acl Ingress Acl Entry> - The ingress entries info of Network Acl.
- Network
Acl stringId - The ID of Network Acl.
- Network
Acl stringName - The name of Network Acl.
- Project
Name string - The project name of the network acl.
- Resources
List<Get
Network Acls Network Acl Resource> - The resources info of Network Acl.
- Status string
- The Status of Network Acl.
-
List<Get
Network Acls Network Acl Tag> - Tags.
- Update
Time string - Update time of Network Acl.
- Vpc
Id string - The vpc id of Network Acl.
- Acl
Entry intCount - The count of Network acl entry.
- Creation
Time string - Creation time of Network Acl.
- Description string
- The description of entry.
- Egress
Acl []GetEntries Network Acls Network Acl Egress Acl Entry - The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- Ingress
Acl []GetEntries Network Acls Network Acl Ingress Acl Entry - The ingress entries info of Network Acl.
- Network
Acl stringId - The ID of Network Acl.
- Network
Acl stringName - The name of Network Acl.
- Project
Name string - The project name of the network acl.
- Resources
[]Get
Network Acls Network Acl Resource - The resources info of Network Acl.
- Status string
- The Status of Network Acl.
-
[]Get
Network Acls Network Acl Tag - Tags.
- Update
Time string - Update time of Network Acl.
- Vpc
Id string - The vpc id of Network Acl.
- acl
Entry IntegerCount - The count of Network acl entry.
- creation
Time String - Creation time of Network Acl.
- description String
- The description of entry.
- egress
Acl List<GetEntries Network Acls Network Acl Egress Acl Entry> - The egress entries info of Network Acl.
- id String
- The ID of Network Acl.
- ingress
Acl List<GetEntries Network Acls Network Acl Ingress Acl Entry> - The ingress entries info of Network Acl.
- network
Acl StringId - The ID of Network Acl.
- network
Acl StringName - The name of Network Acl.
- project
Name String - The project name of the network acl.
- resources
List<Get
Network Acls Network Acl Resource> - The resources info of Network Acl.
- status String
- The Status of Network Acl.
-
List<Get
Network Acls Network Acl Tag> - Tags.
- update
Time String - Update time of Network Acl.
- vpc
Id String - The vpc id of Network Acl.
- acl
Entry numberCount - The count of Network acl entry.
- creation
Time string - Creation time of Network Acl.
- description string
- The description of entry.
- egress
Acl GetEntries Network Acls Network Acl Egress Acl Entry[] - The egress entries info of Network Acl.
- id string
- The ID of Network Acl.
- ingress
Acl GetEntries Network Acls Network Acl Ingress Acl Entry[] - The ingress entries info of Network Acl.
- network
Acl stringId - The ID of Network Acl.
- network
Acl stringName - The name of Network Acl.
- project
Name string - The project name of the network acl.
- resources
Get
Network Acls Network Acl Resource[] - The resources info of Network Acl.
- status string
- The Status of Network Acl.
-
Get
Network Acls Network Acl Tag[] - Tags.
- update
Time string - Update time of Network Acl.
- vpc
Id string - The vpc id of Network Acl.
- acl_
entry_ intcount - The count of Network acl entry.
- creation_
time str - Creation time of Network Acl.
- description str
- The description of entry.
- egress_
acl_ Sequence[Getentries Network Acls Network Acl Egress Acl Entry] - The egress entries info of Network Acl.
- id str
- The ID of Network Acl.
- ingress_
acl_ Sequence[Getentries Network Acls Network Acl Ingress Acl Entry] - The ingress entries info of Network Acl.
- network_
acl_ strid - The ID of Network Acl.
- network_
acl_ strname - The name of Network Acl.
- project_
name str - The project name of the network acl.
- resources
Sequence[Get
Network Acls Network Acl Resource] - The resources info of Network Acl.
- status str
- The Status of Network Acl.
-
Sequence[Get
Network Acls Network Acl Tag] - Tags.
- update_
time str - Update time of Network Acl.
- vpc_
id str - The vpc id of Network Acl.
- acl
Entry NumberCount - The count of Network acl entry.
- creation
Time String - Creation time of Network Acl.
- description String
- The description of entry.
- egress
Acl List<Property Map>Entries - The egress entries info of Network Acl.
- id String
- The ID of Network Acl.
- ingress
Acl List<Property Map>Entries - The ingress entries info of Network Acl.
- network
Acl StringId - The ID of Network Acl.
- network
Acl StringName - The name of Network Acl.
- project
Name String - The project name of the network acl.
- resources List<Property Map>
- The resources info of Network Acl.
- status String
- The Status of Network Acl.
- List<Property Map>
- Tags.
- update
Time String - Update time of Network Acl.
- vpc
Id String - The vpc id of Network Acl.
GetNetworkAclsNetworkAclEgressAclEntry
- Description string
- The description of entry.
- Destination
Cidr stringIp - The DestinationCidrIp of entry.
- Network
Acl stringEntry Id - The id of entry.
- Network
Acl stringEntry Name - The name of entry.
- Policy string
- The policy of entry.
- Port string
- The port of entry.
- Priority int
- The priority of entry.
- Protocol string
- The protocol of entry.
- Description string
- The description of entry.
- Destination
Cidr stringIp - The DestinationCidrIp of entry.
- Network
Acl stringEntry Id - The id of entry.
- Network
Acl stringEntry Name - The name of entry.
- Policy string
- The policy of entry.
- Port string
- The port of entry.
- Priority int
- The priority of entry.
- Protocol string
- The protocol of entry.
- description String
- The description of entry.
- destination
Cidr StringIp - The DestinationCidrIp of entry.
- network
Acl StringEntry Id - The id of entry.
- network
Acl StringEntry Name - The name of entry.
- policy String
- The policy of entry.
- port String
- The port of entry.
- priority Integer
- The priority of entry.
- protocol String
- The protocol of entry.
- description string
- The description of entry.
- destination
Cidr stringIp - The DestinationCidrIp of entry.
- network
Acl stringEntry Id - The id of entry.
- network
Acl stringEntry Name - The name of entry.
- policy string
- The policy of entry.
- port string
- The port of entry.
- priority number
- The priority of entry.
- protocol string
- The protocol of entry.
- description str
- The description of entry.
- destination_
cidr_ strip - The DestinationCidrIp of entry.
- network_
acl_ strentry_ id - The id of entry.
- network_
acl_ strentry_ name - The name of entry.
- policy str
- The policy of entry.
- port str
- The port of entry.
- priority int
- The priority of entry.
- protocol str
- The protocol of entry.
- description String
- The description of entry.
- destination
Cidr StringIp - The DestinationCidrIp of entry.
- network
Acl StringEntry Id - The id of entry.
- network
Acl StringEntry Name - The name of entry.
- policy String
- The policy of entry.
- port String
- The port of entry.
- priority Number
- The priority of entry.
- protocol String
- The protocol of entry.
GetNetworkAclsNetworkAclIngressAclEntry
- Description string
- The description of entry.
- Network
Acl stringEntry Id - The id of entry.
- Network
Acl stringEntry Name - The name of entry.
- Policy string
- The policy of entry.
- Port string
- The port of entry.
- Priority int
- The priority of entry.
- Protocol string
- The protocol of entry.
- Source
Cidr stringIp - The SourceCidrIp of entry.
- Description string
- The description of entry.
- Network
Acl stringEntry Id - The id of entry.
- Network
Acl stringEntry Name - The name of entry.
- Policy string
- The policy of entry.
- Port string
- The port of entry.
- Priority int
- The priority of entry.
- Protocol string
- The protocol of entry.
- Source
Cidr stringIp - The SourceCidrIp of entry.
- description String
- The description of entry.
- network
Acl StringEntry Id - The id of entry.
- network
Acl StringEntry Name - The name of entry.
- policy String
- The policy of entry.
- port String
- The port of entry.
- priority Integer
- The priority of entry.
- protocol String
- The protocol of entry.
- source
Cidr StringIp - The SourceCidrIp of entry.
- description string
- The description of entry.
- network
Acl stringEntry Id - The id of entry.
- network
Acl stringEntry Name - The name of entry.
- policy string
- The policy of entry.
- port string
- The port of entry.
- priority number
- The priority of entry.
- protocol string
- The protocol of entry.
- source
Cidr stringIp - The SourceCidrIp of entry.
- description str
- The description of entry.
- network_
acl_ strentry_ id - The id of entry.
- network_
acl_ strentry_ name - The name of entry.
- policy str
- The policy of entry.
- port str
- The port of entry.
- priority int
- The priority of entry.
- protocol str
- The protocol of entry.
- source_
cidr_ strip - The SourceCidrIp of entry.
- description String
- The description of entry.
- network
Acl StringEntry Id - The id of entry.
- network
Acl StringEntry Name - The name of entry.
- policy String
- The policy of entry.
- port String
- The port of entry.
- priority Number
- The priority of entry.
- protocol String
- The protocol of entry.
- source
Cidr StringIp - The SourceCidrIp of entry.
GetNetworkAclsNetworkAclResource
- Resource
Id string - The resource id of Network Acl.
- Status string
- The Status of Network Acl.
- Resource
Id string - The resource id of Network Acl.
- Status string
- The Status of Network Acl.
- resource
Id String - The resource id of Network Acl.
- status String
- The Status of Network Acl.
- resource
Id string - The resource id of Network Acl.
- status string
- The Status of Network Acl.
- resource_
id str - The resource id of Network Acl.
- status str
- The Status of Network Acl.
- resource
Id String - The resource id of Network Acl.
- status String
- The Status of Network Acl.
GetNetworkAclsNetworkAclTag
GetNetworkAclsTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
