1. Packages
  2. Volcengine
  3. API Docs
  4. alb
  5. Acls
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.alb.Acls

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    Use this data source to query detailed information of alb acls

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Alb.Acls.Invoke(new()
        {
            Ids = new[]
            {
                "acl-1g72w6z11ighs2zbhq4v3rvh4",
            },
            ProjectName = "default",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/alb"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := alb.Acls(ctx, &alb.AclsArgs{
    			Ids: []string{
    				"acl-1g72w6z11ighs2zbhq4v3rvh4",
    			},
    			ProjectName: pulumi.StringRef("default"),
    		}, 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.alb.AlbFunctions;
    import com.pulumi.volcengine.alb.inputs.AclsArgs;
    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 = AlbFunctions.Acls(AclsArgs.builder()
                .ids("acl-1g72w6z11ighs2zbhq4v3rvh4")
                .projectName("default")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.alb.acls(ids=["acl-1g72w6z11ighs2zbhq4v3rvh4"],
        project_name="default")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.alb.Acls({
        ids: ["acl-1g72w6z11ighs2zbhq4v3rvh4"],
        projectName: "default",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:alb:Acls
          Arguments:
            ids:
              - acl-1g72w6z11ighs2zbhq4v3rvh4
            projectName: default
    

    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,
             output_file: Optional[str] = None,
             project_name: Optional[str] = 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,
             output_file: Optional[pulumi.Input[str]] = None,
             project_name: Optional[pulumi.Input[str]] = 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:alb:Acls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AclName string
    The name of acl.
    Ids List<string>
    A list of Acl IDs.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The name of project.
    AclName string
    The name of acl.
    Ids []string
    A list of Acl IDs.
    OutputFile string
    File name where to save data source results.
    ProjectName string
    The name of project.
    aclName String
    The name of acl.
    ids List<String>
    A list of Acl IDs.
    outputFile String
    File name where to save data source results.
    projectName String
    The name of project.
    aclName string
    The name of acl.
    ids string[]
    A list of Acl IDs.
    outputFile string
    File name where to save data source results.
    projectName string
    The name of project.
    acl_name str
    The name of acl.
    ids Sequence[str]
    A list of Acl IDs.
    output_file str
    File name where to save data source results.
    project_name str
    The name of project.
    aclName String
    The name of acl.
    ids List<String>
    A list of Acl IDs.
    outputFile String
    File name where to save data source results.
    projectName String
    The name of project.

    Acls Result

    The following output properties are available:

    Acls List<Volcengine.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>
    OutputFile string
    ProjectName string
    The project name of Acl.
    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
    OutputFile string
    ProjectName string
    The project name of Acl.
    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>
    outputFile String
    projectName String
    The project name of Acl.
    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[]
    outputFile string
    projectName string
    The project name of Acl.
    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]
    output_file str
    project_name str
    The project name of Acl.
    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>
    outputFile String
    projectName String
    The project name of Acl.

    Supporting Types

    AclsAcl

    AclEntries List<Volcengine.AclsAclAclEntry>
    The entries info of 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.
    Listeners List<Volcengine.AclsAclListener>
    The listeners of acl.
    ProjectName string
    The name of project.
    UpdateTime string
    Update time of Acl.
    AclEntries []AclsAclAclEntry
    The entries info of 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.
    Listeners []AclsAclListener
    The listeners of acl.
    ProjectName string
    The name of project.
    UpdateTime string
    Update time of Acl.
    aclEntries List<AclsAclAclEntry>
    The entries info of 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.
    listeners List<AclsAclListener>
    The listeners of acl.
    projectName String
    The name of project.
    updateTime String
    Update time of Acl.
    aclEntries AclsAclAclEntry[]
    The entries info of 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.
    listeners AclsAclListener[]
    The listeners of acl.
    projectName string
    The name of project.
    updateTime string
    Update time of Acl.
    acl_entries Sequence[AclsAclAclEntry]
    The entries info of 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.
    listeners Sequence[AclsAclListener]
    The listeners of acl.
    project_name str
    The name of project.
    update_time str
    Update time of Acl.
    aclEntries List<Property Map>
    The entries info of 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.
    listeners List<Property Map>
    The listeners of acl.
    projectName String
    The name of project.
    updateTime String
    Update time of Acl.

    AclsAclAclEntry

    Description string
    The description of Acl.
    Entry string
    The info of entry.
    Description string
    The description of Acl.
    Entry string
    The info of entry.
    description String
    The description of Acl.
    entry String
    The info of entry.
    description string
    The description of Acl.
    entry string
    The info of entry.
    description str
    The description of Acl.
    entry str
    The info of entry.
    description String
    The description of Acl.
    entry String
    The info of entry.

    AclsAclListener

    AclType string
    The type of acl.
    ListenerId string
    The ID of Listener.
    ListenerName string
    The Name of Listener.
    Port int
    The port info of listener.
    Protocol string
    The protocol info of listener.
    AclType string
    The type of acl.
    ListenerId string
    The ID of Listener.
    ListenerName string
    The Name of Listener.
    Port int
    The port info of listener.
    Protocol string
    The protocol info of listener.
    aclType String
    The type of acl.
    listenerId String
    The ID of Listener.
    listenerName String
    The Name of Listener.
    port Integer
    The port info of listener.
    protocol String
    The protocol info of listener.
    aclType string
    The type of acl.
    listenerId string
    The ID of Listener.
    listenerName string
    The Name of Listener.
    port number
    The port info of listener.
    protocol string
    The protocol info of listener.
    acl_type str
    The type of acl.
    listener_id str
    The ID of Listener.
    listener_name str
    The Name of Listener.
    port int
    The port info of listener.
    protocol str
    The protocol info of listener.
    aclType String
    The type of acl.
    listenerId String
    The ID of Listener.
    listenerName String
    The Name of Listener.
    port Number
    The port info of listener.
    protocol String
    The protocol info of listener.

    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.23 published on Wednesday, Jan 3, 2024 by Volcengine