1. Packages
  2. Volcengine
  3. API Docs
  4. vpc
  5. NetworkAcls
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.vpc.NetworkAcls

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of network acls

    Example Usage

    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 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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.vpc.network_acls(network_acl_name="ms-tf-acl")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.vpc.NetworkAcls({
        networkAclName: "ms-tf-acl",
    });
    
    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,
                     subnet_id: Optional[str] = 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,
                     subnet_id: Optional[pulumi.Input[str]] = 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) NetworkAclsResultOutput
    public 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:vpc:NetworkAcls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    A list of Network Acl IDs.
    NameRegex string
    A Name Regex of Network Acl.
    NetworkAclName string
    The name of Network Acl.
    OutputFile string
    File name where to save data source results.
    SubnetId string
    The subnet id of Network Acl.
    VpcId string
    The vpc id of Network Acl.
    Ids []string
    A list of Network Acl IDs.
    NameRegex string
    A Name Regex of Network Acl.
    NetworkAclName string
    The name of Network Acl.
    OutputFile string
    File name where to save data source results.
    SubnetId string
    The subnet id of Network Acl.
    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.
    networkAclName String
    The name of Network Acl.
    outputFile String
    File name where to save data source results.
    subnetId String
    The subnet id of Network Acl.
    vpcId String
    The vpc id of Network Acl.
    ids string[]
    A list of Network Acl IDs.
    nameRegex string
    A Name Regex of Network Acl.
    networkAclName string
    The name of Network Acl.
    outputFile string
    File name where to save data source results.
    subnetId string
    The subnet id of Network Acl.
    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_name str
    The name of Network Acl.
    output_file str
    File name where to save data source results.
    subnet_id str
    The subnet id of Network Acl.
    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.
    networkAclName String
    The name of Network Acl.
    outputFile String
    File name where to save data source results.
    subnetId String
    The subnet id of Network Acl.
    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<NetworkAclsNetworkAcl>
    The collection of Network Acl query.
    TotalCount int
    The total count of Network Acl query.
    Ids List<string>
    NameRegex string
    NetworkAclName string
    The Name of Network Acl.
    OutputFile string
    SubnetId string
    VpcId string
    The vpc id of Network Acl.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkAcls []NetworkAclsNetworkAcl
    The collection of Network Acl query.
    TotalCount int
    The total count of Network Acl query.
    Ids []string
    NameRegex string
    NetworkAclName string
    The Name of Network Acl.
    OutputFile string
    SubnetId string
    VpcId string
    The vpc id of Network Acl.
    id String
    The provider-assigned unique ID for this managed resource.
    networkAcls List<NetworkAclsNetworkAcl>
    The collection of Network Acl query.
    totalCount Integer
    The total count of Network Acl query.
    ids List<String>
    nameRegex String
    networkAclName String
    The Name of Network Acl.
    outputFile String
    subnetId String
    vpcId String
    The vpc id of Network Acl.
    id string
    The provider-assigned unique ID for this managed resource.
    networkAcls NetworkAclsNetworkAcl[]
    The collection of Network Acl query.
    totalCount number
    The total count of Network Acl query.
    ids string[]
    nameRegex string
    networkAclName string
    The Name of Network Acl.
    outputFile string
    subnetId string
    vpcId string
    The vpc id of Network Acl.
    id str
    The provider-assigned unique ID for this managed resource.
    network_acls Sequence[NetworkAclsNetworkAcl]
    The collection of Network Acl query.
    total_count int
    The total count of Network Acl query.
    ids Sequence[str]
    name_regex str
    network_acl_name str
    The Name of Network Acl.
    output_file str
    subnet_id str
    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
    networkAclName String
    The Name of Network Acl.
    outputFile String
    subnetId String
    vpcId String
    The vpc id of Network Acl.

    Supporting Types

    NetworkAclsNetworkAcl

    AclEntryCount int
    The count of Network acl entry.
    CreationTime string
    Creation time of Network Acl.
    Description string
    The description of entry.
    EgressAclEntries List<NetworkAclsNetworkAclEgressAclEntry>
    The egress entries info of Network Acl.
    Id string
    The ID of Network Acl.
    IngressAclEntries List<NetworkAclsNetworkAclIngressAclEntry>
    The ingress entries info of Network Acl.
    NetworkAclId string
    The ID of Network Acl.
    NetworkAclName string
    The name of Network Acl.
    Resources List<NetworkAclsNetworkAclResource>
    The resources info of Network Acl.
    Status string
    The Status of Network Acl.
    UpdateTime string
    Update time of Network Acl.
    VpcId string
    The vpc id of Network Acl.
    AclEntryCount int
    The count of Network acl entry.
    CreationTime string
    Creation time of Network Acl.
    Description string
    The description of entry.
    EgressAclEntries []NetworkAclsNetworkAclEgressAclEntry
    The egress entries info of Network Acl.
    Id string
    The ID of Network Acl.
    IngressAclEntries []NetworkAclsNetworkAclIngressAclEntry
    The ingress entries info of Network Acl.
    NetworkAclId string
    The ID of Network Acl.
    NetworkAclName string
    The name of Network Acl.
    Resources []NetworkAclsNetworkAclResource
    The resources info of Network Acl.
    Status string
    The Status of Network Acl.
    UpdateTime string
    Update time of Network Acl.
    VpcId string
    The vpc id of Network Acl.
    aclEntryCount Integer
    The count of Network acl entry.
    creationTime String
    Creation time of Network Acl.
    description String
    The description of entry.
    egressAclEntries List<NetworkAclsNetworkAclEgressAclEntry>
    The egress entries info of Network Acl.
    id String
    The ID of Network Acl.
    ingressAclEntries List<NetworkAclsNetworkAclIngressAclEntry>
    The ingress entries info of Network Acl.
    networkAclId String
    The ID of Network Acl.
    networkAclName String
    The name of Network Acl.
    resources List<NetworkAclsNetworkAclResource>
    The resources info of Network Acl.
    status String
    The Status of Network Acl.
    updateTime String
    Update time of Network Acl.
    vpcId String
    The vpc id of Network Acl.
    aclEntryCount number
    The count of Network acl entry.
    creationTime string
    Creation time of Network Acl.
    description string
    The description of entry.
    egressAclEntries NetworkAclsNetworkAclEgressAclEntry[]
    The egress entries info of Network Acl.
    id string
    The ID of Network Acl.
    ingressAclEntries NetworkAclsNetworkAclIngressAclEntry[]
    The ingress entries info of Network Acl.
    networkAclId string
    The ID of Network Acl.
    networkAclName string
    The name of Network Acl.
    resources NetworkAclsNetworkAclResource[]
    The resources info of Network Acl.
    status string
    The Status of Network Acl.
    updateTime string
    Update time of Network Acl.
    vpcId string
    The vpc id of Network Acl.
    acl_entry_count int
    The count of Network acl entry.
    creation_time str
    Creation time of Network Acl.
    description str
    The description of entry.
    egress_acl_entries Sequence[NetworkAclsNetworkAclEgressAclEntry]
    The egress entries info of Network Acl.
    id str
    The ID of Network Acl.
    ingress_acl_entries Sequence[NetworkAclsNetworkAclIngressAclEntry]
    The ingress entries info of Network Acl.
    network_acl_id str
    The ID of Network Acl.
    network_acl_name str
    The name of Network Acl.
    resources Sequence[NetworkAclsNetworkAclResource]
    The resources info of Network Acl.
    status str
    The Status of Network Acl.
    update_time str
    Update time of Network Acl.
    vpc_id str
    The vpc id of Network Acl.
    aclEntryCount Number
    The count of Network acl entry.
    creationTime String
    Creation time of Network Acl.
    description String
    The description of entry.
    egressAclEntries List<Property Map>
    The egress entries info of Network Acl.
    id String
    The ID of Network Acl.
    ingressAclEntries List<Property Map>
    The ingress entries info of Network Acl.
    networkAclId String
    The ID of Network Acl.
    networkAclName String
    The name of Network Acl.
    resources List<Property Map>
    The resources info of Network Acl.
    status String
    The Status of Network Acl.
    updateTime String
    Update time of Network Acl.
    vpcId String
    The vpc id of Network Acl.

    NetworkAclsNetworkAclEgressAclEntry

    Description string
    The description of entry.
    DestinationCidrIp string
    The DestinationCidrIp of entry.
    NetworkAclEntryId string
    The id of entry.
    NetworkAclEntryName string
    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.
    DestinationCidrIp string
    The DestinationCidrIp of entry.
    NetworkAclEntryId string
    The id of entry.
    NetworkAclEntryName string
    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.
    destinationCidrIp String
    The DestinationCidrIp of entry.
    networkAclEntryId String
    The id of entry.
    networkAclEntryName String
    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.
    destinationCidrIp string
    The DestinationCidrIp of entry.
    networkAclEntryId string
    The id of entry.
    networkAclEntryName string
    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_ip str
    The DestinationCidrIp of entry.
    network_acl_entry_id str
    The id of entry.
    network_acl_entry_name str
    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.
    destinationCidrIp String
    The DestinationCidrIp of entry.
    networkAclEntryId String
    The id of entry.
    networkAclEntryName String
    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.
    NetworkAclEntryId string
    The id of entry.
    NetworkAclEntryName string
    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.
    SourceCidrIp string
    The SourceCidrIp of entry.
    Description string
    The description of entry.
    NetworkAclEntryId string
    The id of entry.
    NetworkAclEntryName string
    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.
    SourceCidrIp string
    The SourceCidrIp of entry.
    description String
    The description of entry.
    networkAclEntryId String
    The id of entry.
    networkAclEntryName String
    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.
    sourceCidrIp String
    The SourceCidrIp of entry.
    description string
    The description of entry.
    networkAclEntryId string
    The id of entry.
    networkAclEntryName string
    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.
    sourceCidrIp string
    The SourceCidrIp of entry.
    description str
    The description of entry.
    network_acl_entry_id str
    The id of entry.
    network_acl_entry_name str
    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_ip str
    The SourceCidrIp of entry.
    description String
    The description of entry.
    networkAclEntryId String
    The id of entry.
    networkAclEntryName String
    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.
    sourceCidrIp String
    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.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine