Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vpc.NetworkAcls
Explore with Pulumi AI
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.NetworkAcls({
    networkAclName: "ms-tf-acl",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.vpc.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.NetworkAcls(ctx, &vpc.NetworkAclsArgs{
			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.NetworkAcls.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.NetworkAclsArgs;
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.NetworkAcls(NetworkAclsArgs.builder()
            .networkAclName("ms-tf-acl")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:vpc:NetworkAcls
      Arguments:
        networkAclName: ms-tf-acl
Using NetworkAcls
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 networkAcls(args: NetworkAclsArgs, opts?: InvokeOptions): Promise<NetworkAclsResult>
function networkAclsOutput(args: NetworkAclsOutputArgs, opts?: InvokeOptions): Output<NetworkAclsResult>def 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[NetworkAclsTag]] = None,
                 vpc_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> NetworkAclsResult
def 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[NetworkAclsTagArgs]]]] = None,
                 vpc_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[NetworkAclsResult]func NetworkAcls(ctx *Context, args *NetworkAclsArgs, opts ...InvokeOption) (*NetworkAclsResult, error)
func NetworkAclsOutput(ctx *Context, args *NetworkAclsOutputArgs, opts ...InvokeOption) NetworkAclsResultOutputpublic static class NetworkAcls 
{
    public static Task<NetworkAclsResult> InvokeAsync(NetworkAclsArgs args, InvokeOptions? opts = null)
    public static Output<NetworkAclsResult> Invoke(NetworkAclsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<NetworkAclsResult> networkAcls(NetworkAclsArgs args, InvokeOptions options)
public static Output<NetworkAclsResult> networkAcls(NetworkAclsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vpc:NetworkAcls
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Network Acl IDs.
- NameRegex string
- A Name Regex of Network Acl.
- NetworkAcl stringName 
- The name of Network Acl.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the network acl.
- SubnetId string
- The subnet id of Network Acl.
- 
List<NetworkAcls Tag> 
- Tags.
- VpcId string
- The vpc id of Network Acl.
- Ids []string
- A list of Network Acl IDs.
- NameRegex string
- A Name Regex of Network Acl.
- NetworkAcl stringName 
- The name of Network Acl.
- OutputFile string
- File name where to save data source results.
- ProjectName string
- The project name of the network acl.
- SubnetId string
- The subnet id of Network Acl.
- 
[]NetworkAcls Tag 
- Tags.
- VpcId string
- The vpc id of Network Acl.
- ids List<String>
- A list of Network Acl IDs.
- nameRegex String
- A Name Regex of Network Acl.
- networkAcl StringName 
- The name of Network Acl.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the network acl.
- subnetId String
- The subnet id of Network Acl.
- 
List<NetworkAcls Tag> 
- Tags.
- vpcId String
- The vpc id of Network Acl.
- ids string[]
- A list of Network Acl IDs.
- nameRegex string
- A Name Regex of Network Acl.
- networkAcl stringName 
- The name of Network Acl.
- outputFile string
- File name where to save data source results.
- projectName string
- The project name of the network acl.
- subnetId string
- The subnet id of Network Acl.
- 
NetworkAcls Tag[] 
- Tags.
- vpcId 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[NetworkAcls Tag] 
- Tags.
- vpc_id str
- The vpc id of Network Acl.
- ids List<String>
- A list of Network Acl IDs.
- nameRegex String
- A Name Regex of Network Acl.
- networkAcl StringName 
- The name of Network Acl.
- outputFile String
- File name where to save data source results.
- projectName String
- The project name of the network acl.
- subnetId String
- The subnet id of Network Acl.
- List<Property Map>
- Tags.
- vpcId String
- The vpc id of Network Acl.
NetworkAcls Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkAcls List<NetworkAcls Network Acl> 
- The collection of Network Acl query.
- TotalCount int
- The total count of Network Acl query.
- Ids List<string>
- NameRegex string
- NetworkAcl stringName 
- The Name of Network Acl.
- OutputFile string
- ProjectName string
- The project name of the network acl.
- SubnetId string
- 
List<NetworkAcls Tag> 
- Tags.
- VpcId string
- The vpc id of Network Acl.
- Id string
- The provider-assigned unique ID for this managed resource.
- NetworkAcls []NetworkAcls Network Acl 
- The collection of Network Acl query.
- TotalCount int
- The total count of Network Acl query.
- Ids []string
- NameRegex string
- NetworkAcl stringName 
- The Name of Network Acl.
- OutputFile string
- ProjectName string
- The project name of the network acl.
- SubnetId string
- 
[]NetworkAcls Tag 
- Tags.
- VpcId string
- The vpc id of Network Acl.
- id String
- The provider-assigned unique ID for this managed resource.
- networkAcls List<NetworkAcls Network Acl> 
- The collection of Network Acl query.
- totalCount Integer
- The total count of Network Acl query.
- ids List<String>
- nameRegex String
- networkAcl StringName 
- The Name of Network Acl.
- outputFile String
- projectName String
- The project name of the network acl.
- subnetId String
- 
List<NetworkAcls Tag> 
- Tags.
- vpcId String
- The vpc id of Network Acl.
- id string
- The provider-assigned unique ID for this managed resource.
- networkAcls NetworkAcls Network Acl[] 
- The collection of Network Acl query.
- totalCount number
- The total count of Network Acl query.
- ids string[]
- nameRegex string
- networkAcl stringName 
- The Name of Network Acl.
- outputFile string
- projectName string
- The project name of the network acl.
- subnetId string
- 
NetworkAcls Tag[] 
- Tags.
- vpcId string
- The vpc id of Network Acl.
- id str
- The provider-assigned unique ID for this managed resource.
- network_acls Sequence[NetworkAcls 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[NetworkAcls Tag] 
- Tags.
- vpc_id str
- The vpc id of Network Acl.
- id String
- The provider-assigned unique ID for this managed resource.
- networkAcls List<Property Map>
- The collection of Network Acl query.
- totalCount Number
- The total count of Network Acl query.
- ids List<String>
- nameRegex String
- networkAcl StringName 
- The Name of Network Acl.
- outputFile String
- projectName String
- The project name of the network acl.
- subnetId String
- List<Property Map>
- Tags.
- vpcId String
- The vpc id of Network Acl.
Supporting Types
NetworkAclsNetworkAcl   
- AclEntry intCount 
- The count of Network acl entry.
- CreationTime string
- Creation time of Network Acl.
- Description string
- The description of entry.
- EgressAcl List<NetworkEntries Acls Network Acl Egress Acl Entry> 
- The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- IngressAcl List<NetworkEntries Acls Network Acl Ingress Acl Entry> 
- The ingress entries info of Network Acl.
- NetworkAcl stringId 
- The ID of Network Acl.
- NetworkAcl stringName 
- The name of Network Acl.
- ProjectName string
- The project name of the network acl.
- Resources
List<NetworkAcls Network Acl Resource> 
- The resources info of Network Acl.
- Status string
- The Status of Network Acl.
- 
List<NetworkAcls Network Acl Tag> 
- Tags.
- UpdateTime string
- Update time of Network Acl.
- VpcId string
- The vpc id of Network Acl.
- AclEntry intCount 
- The count of Network acl entry.
- CreationTime string
- Creation time of Network Acl.
- Description string
- The description of entry.
- EgressAcl []NetworkEntries Acls Network Acl Egress Acl Entry 
- The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- IngressAcl []NetworkEntries Acls Network Acl Ingress Acl Entry 
- The ingress entries info of Network Acl.
- NetworkAcl stringId 
- The ID of Network Acl.
- NetworkAcl stringName 
- The name of Network Acl.
- ProjectName string
- The project name of the network acl.
- Resources
[]NetworkAcls Network Acl Resource 
- The resources info of Network Acl.
- Status string
- The Status of Network Acl.
- 
[]NetworkAcls Network Acl Tag 
- Tags.
- UpdateTime string
- Update time of Network Acl.
- VpcId string
- The vpc id of Network Acl.
- aclEntry IntegerCount 
- The count of Network acl entry.
- creationTime String
- Creation time of Network Acl.
- description String
- The description of entry.
- egressAcl List<NetworkEntries Acls Network Acl Egress Acl Entry> 
- The egress entries info of Network Acl.
- id String
- The ID of Network Acl.
- ingressAcl List<NetworkEntries Acls Network Acl Ingress Acl Entry> 
- The ingress entries info of Network Acl.
- networkAcl StringId 
- The ID of Network Acl.
- networkAcl StringName 
- The name of Network Acl.
- projectName String
- The project name of the network acl.
- resources
List<NetworkAcls Network Acl Resource> 
- The resources info of Network Acl.
- status String
- The Status of Network Acl.
- 
List<NetworkAcls Network Acl Tag> 
- Tags.
- updateTime String
- Update time of Network Acl.
- vpcId String
- The vpc id of Network Acl.
- aclEntry numberCount 
- The count of Network acl entry.
- creationTime string
- Creation time of Network Acl.
- description string
- The description of entry.
- egressAcl NetworkEntries Acls Network Acl Egress Acl Entry[] 
- The egress entries info of Network Acl.
- id string
- The ID of Network Acl.
- ingressAcl NetworkEntries Acls Network Acl Ingress Acl Entry[] 
- The ingress entries info of Network Acl.
- networkAcl stringId 
- The ID of Network Acl.
- networkAcl stringName 
- The name of Network Acl.
- projectName string
- The project name of the network acl.
- resources
NetworkAcls Network Acl Resource[] 
- The resources info of Network Acl.
- status string
- The Status of Network Acl.
- 
NetworkAcls Network Acl Tag[] 
- Tags.
- updateTime string
- Update time of Network Acl.
- vpcId 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[Networkentries Acls Network Acl Egress Acl Entry] 
- The egress entries info of Network Acl.
- id str
- The ID of Network Acl.
- ingress_acl_ Sequence[Networkentries 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[NetworkAcls Network Acl Resource] 
- The resources info of Network Acl.
- status str
- The Status of Network Acl.
- 
Sequence[NetworkAcls Network Acl Tag] 
- Tags.
- update_time str
- Update time of Network Acl.
- vpc_id str
- The vpc id of Network Acl.
- aclEntry NumberCount 
- The count of Network acl entry.
- creationTime String
- Creation time of Network Acl.
- description String
- The description of entry.
- egressAcl List<Property Map>Entries 
- The egress entries info of Network Acl.
- id String
- The ID of Network Acl.
- ingressAcl List<Property Map>Entries 
- The ingress entries info of Network Acl.
- networkAcl StringId 
- The ID of Network Acl.
- networkAcl StringName 
- The name of Network Acl.
- projectName 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.
- updateTime String
- Update time of Network Acl.
- vpcId String
- The vpc id of Network Acl.
NetworkAclsNetworkAclEgressAclEntry      
- Description string
- The description of entry.
- DestinationCidr stringIp 
- The DestinationCidrIp of entry.
- NetworkAcl stringEntry Id 
- The id of entry.
- NetworkAcl 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.
- DestinationCidr stringIp 
- The DestinationCidrIp of entry.
- NetworkAcl stringEntry Id 
- The id of entry.
- NetworkAcl 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.
- destinationCidr StringIp 
- The DestinationCidrIp of entry.
- networkAcl StringEntry Id 
- The id of entry.
- networkAcl 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.
- destinationCidr stringIp 
- The DestinationCidrIp of entry.
- networkAcl stringEntry Id 
- The id of entry.
- networkAcl 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.
- destinationCidr StringIp 
- The DestinationCidrIp of entry.
- networkAcl StringEntry Id 
- The id of entry.
- networkAcl 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.
NetworkAclsNetworkAclIngressAclEntry      
- Description string
- The description of entry.
- NetworkAcl stringEntry Id 
- The id of entry.
- NetworkAcl 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.
- SourceCidr stringIp 
- The SourceCidrIp of entry.
- Description string
- The description of entry.
- NetworkAcl stringEntry Id 
- The id of entry.
- NetworkAcl 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.
- SourceCidr stringIp 
- The SourceCidrIp of entry.
- description String
- The description of entry.
- networkAcl StringEntry Id 
- The id of entry.
- networkAcl 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.
- sourceCidr StringIp 
- The SourceCidrIp of entry.
- description string
- The description of entry.
- networkAcl stringEntry Id 
- The id of entry.
- networkAcl 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.
- sourceCidr 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.
- networkAcl StringEntry Id 
- The id of entry.
- networkAcl 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.
- sourceCidr StringIp 
- The SourceCidrIp of entry.
NetworkAclsNetworkAclResource    
- ResourceId string
- The resource id of Network Acl.
- Status string
- The Status of Network Acl.
- ResourceId string
- The resource id of Network Acl.
- Status string
- The Status of Network Acl.
- resourceId String
- The resource id of Network Acl.
- status String
- The Status of Network Acl.
- resourceId 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.
- resourceId String
- The resource id of Network Acl.
- status String
- The Status of Network Acl.
NetworkAclsNetworkAclTag    
NetworkAclsTag  
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.