1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getWafDedicatedReferenceTablesV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getWafDedicatedReferenceTablesV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for WAF reference table you can get at documentation portal

    Use this data source to get a list of OpenTelekomCloud WAF reference tables.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const table = opentelekomcloud.getWafDedicatedReferenceTablesV1({
        name: "reference_table_1",
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    table = opentelekomcloud.get_waf_dedicated_reference_tables_v1(name="reference_table_1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetWafDedicatedReferenceTablesV1(ctx, &opentelekomcloud.GetWafDedicatedReferenceTablesV1Args{
    			Name: pulumi.StringRef("reference_table_1"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var table = Opentelekomcloud.GetWafDedicatedReferenceTablesV1.Invoke(new()
        {
            Name = "reference_table_1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetWafDedicatedReferenceTablesV1Args;
    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 table = OpentelekomcloudFunctions.getWafDedicatedReferenceTablesV1(GetWafDedicatedReferenceTablesV1Args.builder()
                .name("reference_table_1")
                .build());
    
        }
    }
    
    variables:
      table:
        fn::invoke:
          function: opentelekomcloud:getWafDedicatedReferenceTablesV1
          arguments:
            name: reference_table_1
    

    Using getWafDedicatedReferenceTablesV1

    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 getWafDedicatedReferenceTablesV1(args: GetWafDedicatedReferenceTablesV1Args, opts?: InvokeOptions): Promise<GetWafDedicatedReferenceTablesV1Result>
    function getWafDedicatedReferenceTablesV1Output(args: GetWafDedicatedReferenceTablesV1OutputArgs, opts?: InvokeOptions): Output<GetWafDedicatedReferenceTablesV1Result>
    def get_waf_dedicated_reference_tables_v1(id: Optional[str] = None,
                                              name: Optional[str] = None,
                                              region: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetWafDedicatedReferenceTablesV1Result
    def get_waf_dedicated_reference_tables_v1_output(id: Optional[pulumi.Input[str]] = None,
                                              name: Optional[pulumi.Input[str]] = None,
                                              region: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetWafDedicatedReferenceTablesV1Result]
    func GetWafDedicatedReferenceTablesV1(ctx *Context, args *GetWafDedicatedReferenceTablesV1Args, opts ...InvokeOption) (*GetWafDedicatedReferenceTablesV1Result, error)
    func GetWafDedicatedReferenceTablesV1Output(ctx *Context, args *GetWafDedicatedReferenceTablesV1OutputArgs, opts ...InvokeOption) GetWafDedicatedReferenceTablesV1ResultOutput

    > Note: This function is named GetWafDedicatedReferenceTablesV1 in the Go SDK.

    public static class GetWafDedicatedReferenceTablesV1 
    {
        public static Task<GetWafDedicatedReferenceTablesV1Result> InvokeAsync(GetWafDedicatedReferenceTablesV1Args args, InvokeOptions? opts = null)
        public static Output<GetWafDedicatedReferenceTablesV1Result> Invoke(GetWafDedicatedReferenceTablesV1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWafDedicatedReferenceTablesV1Result> getWafDedicatedReferenceTablesV1(GetWafDedicatedReferenceTablesV1Args args, InvokeOptions options)
    public static Output<GetWafDedicatedReferenceTablesV1Result> getWafDedicatedReferenceTablesV1(GetWafDedicatedReferenceTablesV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getWafDedicatedReferenceTablesV1:getWafDedicatedReferenceTablesV1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the reference table.
    Name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    Region string
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.
    Id string
    The id of the reference table.
    Name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    Region string
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.
    id String
    The id of the reference table.
    name String
    The name of the reference table. The value is case-sensitive and matches exactly.
    region String
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.
    id string
    The id of the reference table.
    name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    region string
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.
    id str
    The id of the reference table.
    name str
    The name of the reference table. The value is case-sensitive and matches exactly.
    region str
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.
    id String
    The id of the reference table.
    name String
    The name of the reference table. The value is case-sensitive and matches exactly.
    region String
    The region in which to create the WAF reference table resource. If omitted, the provider-level region will be used.

    getWafDedicatedReferenceTablesV1 Result

    The following output properties are available:

    Id string
    The id of the reference table.
    Region string
    Tables List<GetWafDedicatedReferenceTablesV1Table>
    A list of WAF reference tables.
    Name string
    The name of the reference table. The maximum length is 64 characters.
    Id string
    The id of the reference table.
    Region string
    Tables []GetWafDedicatedReferenceTablesV1Table
    A list of WAF reference tables.
    Name string
    The name of the reference table. The maximum length is 64 characters.
    id String
    The id of the reference table.
    region String
    tables List<GetWafDedicatedReferenceTablesV1Table>
    A list of WAF reference tables.
    name String
    The name of the reference table. The maximum length is 64 characters.
    id string
    The id of the reference table.
    region string
    tables GetWafDedicatedReferenceTablesV1Table[]
    A list of WAF reference tables.
    name string
    The name of the reference table. The maximum length is 64 characters.
    id str
    The id of the reference table.
    region str
    tables Sequence[GetWafDedicatedReferenceTablesV1Table]
    A list of WAF reference tables.
    name str
    The name of the reference table. The maximum length is 64 characters.
    id String
    The id of the reference table.
    region String
    tables List<Property Map>
    A list of WAF reference tables.
    name String
    The name of the reference table. The maximum length is 64 characters.

    Supporting Types

    GetWafDedicatedReferenceTablesV1Table

    Conditions List<string>
    The conditions of the reference table.
    CreatedAt string
    The time when reference table was created.
    Description string
    The description of the reference table.
    Id string
    The id of the reference table.
    Name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    Type string
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.
    Conditions []string
    The conditions of the reference table.
    CreatedAt string
    The time when reference table was created.
    Description string
    The description of the reference table.
    Id string
    The id of the reference table.
    Name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    Type string
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.
    conditions List<String>
    The conditions of the reference table.
    createdAt String
    The time when reference table was created.
    description String
    The description of the reference table.
    id String
    The id of the reference table.
    name String
    The name of the reference table. The value is case-sensitive and matches exactly.
    type String
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.
    conditions string[]
    The conditions of the reference table.
    createdAt string
    The time when reference table was created.
    description string
    The description of the reference table.
    id string
    The id of the reference table.
    name string
    The name of the reference table. The value is case-sensitive and matches exactly.
    type string
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.
    conditions Sequence[str]
    The conditions of the reference table.
    created_at str
    The time when reference table was created.
    description str
    The description of the reference table.
    id str
    The id of the reference table.
    name str
    The name of the reference table. The value is case-sensitive and matches exactly.
    type str
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.
    conditions List<String>
    The conditions of the reference table.
    createdAt String
    The time when reference table was created.
    description String
    The description of the reference table.
    id String
    The id of the reference table.
    name String
    The name of the reference table. The value is case-sensitive and matches exactly.
    type String
    The type of the reference table, The options are: url, user-agent, ip, params, cookie, referer and header.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud