Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.vpc.NetworkAcls
Explore with Pulumi AI
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.
- 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.
- Subnet
Id string - The subnet id of Network Acl.
- 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.
- Subnet
Id string - The subnet id of Network Acl.
- 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.
- subnet
Id String - The subnet id of Network Acl.
- 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.
- subnet
Id string - The subnet id of Network Acl.
- 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.
- 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.
- 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.
- subnet
Id String - The subnet id of Network Acl.
- vpc
Id 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.
- Network
Acls List<NetworkAcls 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 - Subnet
Id string - Vpc
Id string - The vpc id of Network Acl.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Acls []NetworkAcls 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 - Subnet
Id string - Vpc
Id string - The vpc id of Network Acl.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Acls List<NetworkAcls 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 - subnet
Id String - vpc
Id String - The vpc id of Network Acl.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Acls NetworkAcls 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 - subnet
Id string - vpc
Id 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 - subnet_
id str - 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 - subnet
Id String - vpc
Id String - The vpc id of Network Acl.
Supporting Types
NetworkAclsNetworkAcl
- 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<NetworkEntries Acls Network Acl Egress Acl Entry> - The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- Ingress
Acl List<NetworkEntries 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.
- Resources
List<Network
Acls Network Acl Resource> - The resources info of Network Acl.
- Status string
- The Status of Network Acl.
- 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 []NetworkEntries Acls Network Acl Egress Acl Entry - The egress entries info of Network Acl.
- Id string
- The ID of Network Acl.
- Ingress
Acl []NetworkEntries 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.
- Resources
[]Network
Acls Network Acl Resource - The resources info of Network Acl.
- Status string
- The Status of Network Acl.
- 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<NetworkEntries Acls Network Acl Egress Acl Entry> - The egress entries info of Network Acl.
- id String
- The ID of Network Acl.
- ingress
Acl List<NetworkEntries 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.
- resources
List<Network
Acls Network Acl Resource> - The resources info of Network Acl.
- status String
- The Status of Network Acl.
- 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 NetworkEntries Acls Network Acl Egress Acl Entry[] - The egress entries info of Network Acl.
- id string
- The ID of Network Acl.
- ingress
Acl NetworkEntries 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.
- resources
Network
Acls Network Acl Resource[] - The resources info of Network Acl.
- status string
- The Status of Network Acl.
- 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[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.
- resources
Sequence[Network
Acls Network Acl Resource] - 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.
- 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.
- resources List<Property Map>
- The resources info of Network Acl.
- status String
- The Status of Network Acl.
- update
Time String - Update time of Network Acl.
- vpc
Id String - The vpc id of Network Acl.
NetworkAclsNetworkAclEgressAclEntry
- 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.
NetworkAclsNetworkAclIngressAclEntry
- 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.
NetworkAclsNetworkAclResource
- 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.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.