Viewing docs for tencentcloud 1.83.31
published on Friday, Sep 11, 2026 by tencentcloudstack
published on Friday, Sep 11, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.31
published on Friday, Sep 11, 2026 by tencentcloudstack
published on Friday, Sep 11, 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 dictionarydata "tencentcloud_get_teo_edge_kv_list" "name" {
# arguments
}The following arguments are supported:
- 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 stringFile - 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 stringFile - 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_ stringfile - 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 StringFile - 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 stringFile - 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_ strfile - 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 StringFile - Used to save results.
getTeoEdgeKvList Result
The following output properties are available:
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.83.31
published on Friday, Sep 11, 2026 by tencentcloudstack
published on Friday, Sep 11, 2026 by tencentcloudstack