1. Packages
  2. Volcengine
  3. API Docs
  4. clb
  5. Acls
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.clb.Acls has been deprecated in favor of volcengine.clb.getAcls

    Use this data source to query detailed information of acls

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.clb.getAcls({
        ids: ["acl-3ti8n0rurx4bwbh9jzdy"],
        tags: [{
            key: "k1",
            value: "v1",
        }],
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.clb.get_acls(ids=["acl-3ti8n0rurx4bwbh9jzdy"],
        tags=[volcengine.clb.GetAclsTagArgs(
            key="k1",
            value="v1",
        )])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/clb"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := clb.GetAcls(ctx, &clb.GetAclsArgs{
    			Ids: []string{
    				"acl-3ti8n0rurx4bwbh9jzdy",
    			},
    			Tags: []clb.GetAclsTag{
    				{
    					Key:   "k1",
    					Value: "v1",
    				},
    			},
    		}, 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.Clb.GetAcls.Invoke(new()
        {
            Ids = new[]
            {
                "acl-3ti8n0rurx4bwbh9jzdy",
            },
            Tags = new[]
            {
                new Volcengine.Clb.Inputs.GetAclsTagInputArgs
                {
                    Key = "k1",
                    Value = "v1",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.clb.ClbFunctions;
    import com.pulumi.volcengine.clb.inputs.GetAclsArgs;
    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 = ClbFunctions.getAcls(GetAclsArgs.builder()
                .ids("acl-3ti8n0rurx4bwbh9jzdy")
                .tags(GetAclsTagArgs.builder()
                    .key("k1")
                    .value("v1")
                    .build())
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:clb:getAcls
          Arguments:
            ids:
              - acl-3ti8n0rurx4bwbh9jzdy
            tags:
              - key: k1
                value: v1
    

    Using Acls

    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 acls(args: AclsArgs, opts?: InvokeOptions): Promise<AclsResult>
    function aclsOutput(args: AclsOutputArgs, opts?: InvokeOptions): Output<AclsResult>
    def acls(acl_name: Optional[str] = None,
             ids: Optional[Sequence[str]] = None,
             name_regex: Optional[str] = None,
             output_file: Optional[str] = None,
             project_name: Optional[str] = None,
             tags: Optional[Sequence[AclsTag]] = None,
             opts: Optional[InvokeOptions] = None) -> AclsResult
    def acls_output(acl_name: Optional[pulumi.Input[str]] = None,
             ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
             name_regex: Optional[pulumi.Input[str]] = None,
             output_file: Optional[pulumi.Input[str]] = None,
             project_name: Optional[pulumi.Input[str]] = None,
             tags: Optional[pulumi.Input[Sequence[pulumi.Input[AclsTagArgs]]]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[AclsResult]
    func Acls(ctx *Context, args *AclsArgs, opts ...InvokeOption) (*AclsResult, error)
    func AclsOutput(ctx *Context, args *AclsOutputArgs, opts ...InvokeOption) AclsResultOutput
    public static class Acls 
    {
        public static Task<AclsResult> InvokeAsync(AclsArgs args, InvokeOptions? opts = null)
        public static Output<AclsResult> Invoke(AclsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AclsResult> acls(AclsArgs args, InvokeOptions options)
    public static Output<AclsResult> acls(AclsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:clb:Acls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AclName string
    The name of acl.
    Ids List<string>
    A list of Acl IDs.
    NameRegex string
    A Name Regex of Acl.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The ProjectName of Acl.
    Tags List<AclsTag>
    Tags.
    AclName string
    The name of acl.
    Ids []string
    A list of Acl IDs.
    NameRegex string
    A Name Regex of Acl.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The ProjectName of Acl.
    Tags []AclsTag
    Tags.
    aclName String
    The name of acl.
    ids List<String>
    A list of Acl IDs.
    nameRegex String
    A Name Regex of Acl.
    outputFile String
    File name where to save data source results.
    projectName String
    The ProjectName of Acl.
    tags List<AclsTag>
    Tags.
    aclName string
    The name of acl.
    ids string[]
    A list of Acl IDs.
    nameRegex string
    A Name Regex of Acl.
    outputFile string
    File name where to save data source results.
    projectName string
    The ProjectName of Acl.
    tags AclsTag[]
    Tags.
    acl_name str
    The name of acl.
    ids Sequence[str]
    A list of Acl IDs.
    name_regex str
    A Name Regex of Acl.
    output_file str
    File name where to save data source results.
    project_name str
    The ProjectName of Acl.
    tags Sequence[AclsTag]
    Tags.
    aclName String
    The name of acl.
    ids List<String>
    A list of Acl IDs.
    nameRegex String
    A Name Regex of Acl.
    outputFile String
    File name where to save data source results.
    projectName String
    The ProjectName of Acl.
    tags List<Property Map>
    Tags.

    Acls Result

    The following output properties are available:

    Acls List<AclsAcl>
    The collection of Acl query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of Acl query.
    AclName string
    The Name of Acl.
    Ids List<string>
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of Acl.
    Tags List<AclsTag>
    Tags.
    Acls []AclsAcl
    The collection of Acl query.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of Acl query.
    AclName string
    The Name of Acl.
    Ids []string
    NameRegex string
    OutputFile string
    ProjectName string
    The ProjectName of Acl.
    Tags []AclsTag
    Tags.
    acls List<AclsAcl>
    The collection of Acl query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of Acl query.
    aclName String
    The Name of Acl.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of Acl.
    tags List<AclsTag>
    Tags.
    acls AclsAcl[]
    The collection of Acl query.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of Acl query.
    aclName string
    The Name of Acl.
    ids string[]
    nameRegex string
    outputFile string
    projectName string
    The ProjectName of Acl.
    tags AclsTag[]
    Tags.
    acls Sequence[AclsAcl]
    The collection of Acl query.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of Acl query.
    acl_name str
    The Name of Acl.
    ids Sequence[str]
    name_regex str
    output_file str
    project_name str
    The ProjectName of Acl.
    tags Sequence[AclsTag]
    Tags.
    acls List<Property Map>
    The collection of Acl query.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of Acl query.
    aclName String
    The Name of Acl.
    ids List<String>
    nameRegex String
    outputFile String
    projectName String
    The ProjectName of Acl.
    tags List<Property Map>
    Tags.

    Supporting Types

    AclsAcl

    AclEntries List<AclsAclAclEntry>
    The acl entry list of the Acl.
    AclEntryCount int
    The count of acl entry.
    AclId string
    The ID of Acl.
    AclName string
    The name of acl.
    CreateTime string
    Creation time of Acl.
    Description string
    The description of Acl.
    Id string
    The ID of Acl.
    ListenerDetails List<AclsAclListenerDetail>
    The listener details of the Acl.
    Listeners List<string>
    The listeners of Acl.
    ProjectName string
    The ProjectName of Acl.
    ServiceManaged bool
    Whether the Acl is managed by service.
    Status string
    The status of the Acl.
    Tags List<AclsAclTag>
    Tags.
    UpdateTime string
    Update time of Acl.
    AclEntries []AclsAclAclEntry
    The acl entry list of the Acl.
    AclEntryCount int
    The count of acl entry.
    AclId string
    The ID of Acl.
    AclName string
    The name of acl.
    CreateTime string
    Creation time of Acl.
    Description string
    The description of Acl.
    Id string
    The ID of Acl.
    ListenerDetails []AclsAclListenerDetail
    The listener details of the Acl.
    Listeners []string
    The listeners of Acl.
    ProjectName string
    The ProjectName of Acl.
    ServiceManaged bool
    Whether the Acl is managed by service.
    Status string
    The status of the Acl.
    Tags []AclsAclTag
    Tags.
    UpdateTime string
    Update time of Acl.
    aclEntries List<AclsAclAclEntry>
    The acl entry list of the Acl.
    aclEntryCount Integer
    The count of acl entry.
    aclId String
    The ID of Acl.
    aclName String
    The name of acl.
    createTime String
    Creation time of Acl.
    description String
    The description of Acl.
    id String
    The ID of Acl.
    listenerDetails List<AclsAclListenerDetail>
    The listener details of the Acl.
    listeners List<String>
    The listeners of Acl.
    projectName String
    The ProjectName of Acl.
    serviceManaged Boolean
    Whether the Acl is managed by service.
    status String
    The status of the Acl.
    tags List<AclsAclTag>
    Tags.
    updateTime String
    Update time of Acl.
    aclEntries AclsAclAclEntry[]
    The acl entry list of the Acl.
    aclEntryCount number
    The count of acl entry.
    aclId string
    The ID of Acl.
    aclName string
    The name of acl.
    createTime string
    Creation time of Acl.
    description string
    The description of Acl.
    id string
    The ID of Acl.
    listenerDetails AclsAclListenerDetail[]
    The listener details of the Acl.
    listeners string[]
    The listeners of Acl.
    projectName string
    The ProjectName of Acl.
    serviceManaged boolean
    Whether the Acl is managed by service.
    status string
    The status of the Acl.
    tags AclsAclTag[]
    Tags.
    updateTime string
    Update time of Acl.
    acl_entries Sequence[AclsAclAclEntry]
    The acl entry list of the Acl.
    acl_entry_count int
    The count of acl entry.
    acl_id str
    The ID of Acl.
    acl_name str
    The name of acl.
    create_time str
    Creation time of Acl.
    description str
    The description of Acl.
    id str
    The ID of Acl.
    listener_details Sequence[AclsAclListenerDetail]
    The listener details of the Acl.
    listeners Sequence[str]
    The listeners of Acl.
    project_name str
    The ProjectName of Acl.
    service_managed bool
    Whether the Acl is managed by service.
    status str
    The status of the Acl.
    tags Sequence[AclsAclTag]
    Tags.
    update_time str
    Update time of Acl.
    aclEntries List<Property Map>
    The acl entry list of the Acl.
    aclEntryCount Number
    The count of acl entry.
    aclId String
    The ID of Acl.
    aclName String
    The name of acl.
    createTime String
    Creation time of Acl.
    description String
    The description of Acl.
    id String
    The ID of Acl.
    listenerDetails List<Property Map>
    The listener details of the Acl.
    listeners List<String>
    The listeners of Acl.
    projectName String
    The ProjectName of Acl.
    serviceManaged Boolean
    Whether the Acl is managed by service.
    status String
    The status of the Acl.
    tags List<Property Map>
    Tags.
    updateTime String
    Update time of Acl.

    AclsAclAclEntry

    Description string
    The description of Acl.
    Entry string
    The address range of the IP entry.
    Description string
    The description of Acl.
    Entry string
    The address range of the IP entry.
    description String
    The description of Acl.
    entry String
    The address range of the IP entry.
    description string
    The description of Acl.
    entry string
    The address range of the IP entry.
    description str
    The description of Acl.
    entry str
    The address range of the IP entry.
    description String
    The description of Acl.
    entry String
    The address range of the IP entry.

    AclsAclListenerDetail

    AclType string
    The control method of the listener for this Acl. Valid values: black, white.
    ListenerId string
    The ID of the listener.
    ListenerName string
    The name of the listener.
    Port int
    The port receiving request of the listener.
    Protocol string
    The protocol of the listener.
    AclType string
    The control method of the listener for this Acl. Valid values: black, white.
    ListenerId string
    The ID of the listener.
    ListenerName string
    The name of the listener.
    Port int
    The port receiving request of the listener.
    Protocol string
    The protocol of the listener.
    aclType String
    The control method of the listener for this Acl. Valid values: black, white.
    listenerId String
    The ID of the listener.
    listenerName String
    The name of the listener.
    port Integer
    The port receiving request of the listener.
    protocol String
    The protocol of the listener.
    aclType string
    The control method of the listener for this Acl. Valid values: black, white.
    listenerId string
    The ID of the listener.
    listenerName string
    The name of the listener.
    port number
    The port receiving request of the listener.
    protocol string
    The protocol of the listener.
    acl_type str
    The control method of the listener for this Acl. Valid values: black, white.
    listener_id str
    The ID of the listener.
    listener_name str
    The name of the listener.
    port int
    The port receiving request of the listener.
    protocol str
    The protocol of the listener.
    aclType String
    The control method of the listener for this Acl. Valid values: black, white.
    listenerId String
    The ID of the listener.
    listenerName String
    The name of the listener.
    port Number
    The port receiving request of the listener.
    protocol String
    The protocol of the listener.

    AclsAclTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    AclsTag

    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    Key string
    The Key of Tags.
    Value string
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.
    key string
    The Key of Tags.
    value string
    The Value of Tags.
    key str
    The Key of Tags.
    value str
    The Value of Tags.
    key String
    The Key of Tags.
    value String
    The Value of Tags.

    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.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate