1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. getTeoEdgeKvList
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.33
published on Monday, Sep 21, 2026 by tencentcloudstack

    Use this data source to query the list of key names under a specified TEO EdgeKV namespace.

    Example Usage

    Query all keys in a namespace

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getTeoEdgeKvList({
        zoneId: "zone-2qtuhspy7cr6",
        namespace: "default",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_teo_edge_kv_list(zone_id="zone-2qtuhspy7cr6",
        namespace="default")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetTeoEdgeKvList(ctx, &tencentcloud.GetTeoEdgeKvListArgs{
    			ZoneId:    "zone-2qtuhspy7cr6",
    			Namespace: "default",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetTeoEdgeKvList.Invoke(new()
        {
            ZoneId = "zone-2qtuhspy7cr6",
            Namespace = "default",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTeoEdgeKvListArgs;
    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 example = TencentcloudFunctions.getTeoEdgeKvList(GetTeoEdgeKvListArgs.builder()
                .zoneId("zone-2qtuhspy7cr6")
                .namespace("default")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getTeoEdgeKvList
          arguments:
            zoneId: zone-2qtuhspy7cr6
            namespace: default
    
    Example coming soon!
    

    Query keys with a prefix filter

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getTeoEdgeKvList({
        zoneId: "zone-2qtuhspy7cr6",
        namespace: "default",
        prefix: "user_",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_teo_edge_kv_list(zone_id="zone-2qtuhspy7cr6",
        namespace="default",
        prefix="user_")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetTeoEdgeKvList(ctx, &tencentcloud.GetTeoEdgeKvListArgs{
    			ZoneId:    "zone-2qtuhspy7cr6",
    			Namespace: "default",
    			Prefix:    pulumi.StringRef("user_"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetTeoEdgeKvList.Invoke(new()
        {
            ZoneId = "zone-2qtuhspy7cr6",
            Namespace = "default",
            Prefix = "user_",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTeoEdgeKvListArgs;
    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 example = TencentcloudFunctions.getTeoEdgeKvList(GetTeoEdgeKvListArgs.builder()
                .zoneId("zone-2qtuhspy7cr6")
                .namespace("default")
                .prefix("user_")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getTeoEdgeKvList
          arguments:
            zoneId: zone-2qtuhspy7cr6
            namespace: default
            prefix: user_
    
    Example coming soon!
    

    Continue traversal with a cursor

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = tencentcloud.getTeoEdgeKvList({
        zoneId: "zone-2qtuhspy7cr6",
        namespace: "default",
        cursor: "next-page-cursor-from-previous-query",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.get_teo_edge_kv_list(zone_id="zone-2qtuhspy7cr6",
        namespace="default",
        cursor="next-page-cursor-from-previous-query")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.GetTeoEdgeKvList(ctx, &tencentcloud.GetTeoEdgeKvListArgs{
    			ZoneId:    "zone-2qtuhspy7cr6",
    			Namespace: "default",
    			Cursor:    pulumi.StringRef("next-page-cursor-from-previous-query"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Tencentcloud.GetTeoEdgeKvList.Invoke(new()
        {
            ZoneId = "zone-2qtuhspy7cr6",
            Namespace = "default",
            Cursor = "next-page-cursor-from-previous-query",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.TencentcloudFunctions;
    import com.pulumi.tencentcloud.inputs.GetTeoEdgeKvListArgs;
    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 example = TencentcloudFunctions.getTeoEdgeKvList(GetTeoEdgeKvListArgs.builder()
                .zoneId("zone-2qtuhspy7cr6")
                .namespace("default")
                .cursor("next-page-cursor-from-previous-query")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: tencentcloud:getTeoEdgeKvList
          arguments:
            zoneId: zone-2qtuhspy7cr6
            namespace: default
            cursor: next-page-cursor-from-previous-query
    
    Example coming soon!
    

    Using getTeoEdgeKvList

    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 getTeoEdgeKvList(args: GetTeoEdgeKvListArgs, opts?: InvokeOptions): Promise<GetTeoEdgeKvListResult>
    function getTeoEdgeKvListOutput(args: GetTeoEdgeKvListOutputArgs, opts?: InvokeOutputOptions): Output<GetTeoEdgeKvListResult>
    def get_teo_edge_kv_list(cursor: Optional[str] = None,
                             id: Optional[str] = None,
                             namespace: Optional[str] = None,
                             prefix: Optional[str] = None,
                             result_output_file: Optional[str] = None,
                             zone_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetTeoEdgeKvListResult
    def get_teo_edge_kv_list_output(cursor: pulumi.Input[Optional[str]] = None,
                             id: pulumi.Input[Optional[str]] = None,
                             namespace: pulumi.Input[Optional[str]] = None,
                             prefix: pulumi.Input[Optional[str]] = None,
                             result_output_file: pulumi.Input[Optional[str]] = None,
                             zone_id: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetTeoEdgeKvListResult]
    func GetTeoEdgeKvList(ctx *Context, args *GetTeoEdgeKvListArgs, opts ...InvokeOption) (*GetTeoEdgeKvListResult, error)
    func GetTeoEdgeKvListOutput(ctx *Context, args *GetTeoEdgeKvListOutputArgs, opts ...InvokeOption) GetTeoEdgeKvListResultOutput

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

    public static class GetTeoEdgeKvList 
    {
        public static Task<GetTeoEdgeKvListResult> InvokeAsync(GetTeoEdgeKvListArgs args, InvokeOptions? opts = null)
        public static Output<GetTeoEdgeKvListResult> Invoke(GetTeoEdgeKvListInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetTeoEdgeKvListResult> Invoke(GetTeoEdgeKvListInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetTeoEdgeKvListResult> getTeoEdgeKvList(GetTeoEdgeKvListArgs args, InvokeOptions options)
    public static Output<GetTeoEdgeKvListResult> getTeoEdgeKvList(GetTeoEdgeKvListArgs args, InvokeOptions options)
    public static Output<GetTeoEdgeKvListResult> getTeoEdgeKvList(GetTeoEdgeKvListArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getTeoEdgeKvList:getTeoEdgeKvList
      arguments:
        # arguments dictionary
    data "tencentcloud_get_teo_edge_kv_list" "name" {
        # arguments
    }

    The following arguments are supported:

    Namespace string
    EdgeKV namespace name.
    ZoneId string
    Site ID.
    Cursor string
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    Id string
    Prefix string
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    ResultOutputFile string
    Used to save results.
    Namespace string
    EdgeKV namespace name.
    ZoneId string
    Site ID.
    Cursor string
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    Id string
    Prefix string
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    ResultOutputFile string
    Used to save results.
    namespace string
    EdgeKV namespace name.
    zone_id string
    Site ID.
    cursor string
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    id string
    prefix string
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    result_output_file string
    Used to save results.
    namespace String
    EdgeKV namespace name.
    zoneId String
    Site ID.
    cursor String
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    id String
    prefix String
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    resultOutputFile String
    Used to save results.
    namespace string
    EdgeKV namespace name.
    zoneId string
    Site ID.
    cursor string
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    id string
    prefix string
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    resultOutputFile string
    Used to save results.
    namespace str
    EdgeKV namespace name.
    zone_id str
    Site ID.
    cursor str
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    id str
    prefix str
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    result_output_file str
    Used to save results.
    namespace String
    EdgeKV namespace name.
    zoneId String
    Site ID.
    cursor String
    Cursor position for traversal. Do not set this field for the first query; for subsequent queries, set it to the cursor returned by the previous query. After Read completes, this field is populated with the cursor from the last API response.
    id String
    prefix String
    Key name prefix filter. Only keys starting with the specified prefix are returned. If not set, all keys are returned.
    resultOutputFile String
    Used to save results.

    getTeoEdgeKvList Result

    The following output properties are available:

    Cursor string
    Id string
    Keys List<string>
    List of key names in the specified namespace.
    Namespace string
    ZoneId string
    Prefix string
    ResultOutputFile string
    Cursor string
    Id string
    Keys []string
    List of key names in the specified namespace.
    Namespace string
    ZoneId string
    Prefix string
    ResultOutputFile string
    cursor string
    id string
    keys list(string)
    List of key names in the specified namespace.
    namespace string
    zone_id string
    prefix string
    result_output_file string
    cursor String
    id String
    keys List<String>
    List of key names in the specified namespace.
    namespace String
    zoneId String
    prefix String
    resultOutputFile String
    cursor string
    id string
    keys string[]
    List of key names in the specified namespace.
    namespace string
    zoneId string
    prefix string
    resultOutputFile string
    cursor str
    id str
    keys Sequence[str]
    List of key names in the specified namespace.
    namespace str
    zone_id str
    prefix str
    result_output_file str
    cursor String
    id String
    keys List<String>
    List of key names in the specified namespace.
    namespace String
    zoneId String
    prefix String
    resultOutputFile String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.33
    published on Monday, Sep 21, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial