published on Tuesday, Jun 30, 2026 by tencentcloudstack
published on Tuesday, Jun 30, 2026 by tencentcloudstack
Provides a resource to create a TEO Edge KV namespace
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.TeoEdgeKvNamespace("example", {
zoneId: "zone-2o3h21ed2t68",
namespace: "example-namespace",
remark: "This is an example namespace",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.TeoEdgeKvNamespace("example",
zone_id="zone-2o3h21ed2t68",
namespace="example-namespace",
remark="This is an example namespace")
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.NewTeoEdgeKvNamespace(ctx, "example", &tencentcloud.TeoEdgeKvNamespaceArgs{
ZoneId: pulumi.String("zone-2o3h21ed2t68"),
Namespace: pulumi.String("example-namespace"),
Remark: pulumi.String("This is an example namespace"),
})
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 = new Tencentcloud.TeoEdgeKvNamespace("example", new()
{
ZoneId = "zone-2o3h21ed2t68",
Namespace = "example-namespace",
Remark = "This is an example namespace",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TeoEdgeKvNamespace;
import com.pulumi.tencentcloud.TeoEdgeKvNamespaceArgs;
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) {
var example = new TeoEdgeKvNamespace("example", TeoEdgeKvNamespaceArgs.builder()
.zoneId("zone-2o3h21ed2t68")
.namespace("example-namespace")
.remark("This is an example namespace")
.build());
}
}
resources:
example:
type: tencentcloud:TeoEdgeKvNamespace
properties:
zoneId: zone-2o3h21ed2t68
namespace: example-namespace
remark: This is an example namespace
Example coming soon!
Create TeoEdgeKvNamespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeoEdgeKvNamespace(name: string, args: TeoEdgeKvNamespaceArgs, opts?: CustomResourceOptions);@overload
def TeoEdgeKvNamespace(resource_name: str,
args: TeoEdgeKvNamespaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeoEdgeKvNamespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace: Optional[str] = None,
zone_id: Optional[str] = None,
remark: Optional[str] = None,
teo_edge_kv_namespace_id: Optional[str] = None)func NewTeoEdgeKvNamespace(ctx *Context, name string, args TeoEdgeKvNamespaceArgs, opts ...ResourceOption) (*TeoEdgeKvNamespace, error)public TeoEdgeKvNamespace(string name, TeoEdgeKvNamespaceArgs args, CustomResourceOptions? opts = null)
public TeoEdgeKvNamespace(String name, TeoEdgeKvNamespaceArgs args)
public TeoEdgeKvNamespace(String name, TeoEdgeKvNamespaceArgs args, CustomResourceOptions options)
type: tencentcloud:TeoEdgeKvNamespace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "tencentcloud_teoedgekvnamespace" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TeoEdgeKvNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeoEdgeKvNamespaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeoEdgeKvNamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeoEdgeKvNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeoEdgeKvNamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TeoEdgeKvNamespace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeoEdgeKvNamespace resource accepts the following input properties:
- Namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- Zone
Id string - Site ID.
- Remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- Teo
Edge stringKv Namespace Id - ID of the resource.
- Namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- Zone
Id string - Site ID.
- Remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- Teo
Edge stringKv Namespace Id - ID of the resource.
- namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- zone_
id string - Site ID.
- remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo_
edge_ stringkv_ namespace_ id - ID of the resource.
- namespace String
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- zone
Id String - Site ID.
- remark String
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge StringKv Namespace Id - ID of the resource.
- namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- zone
Id string - Site ID.
- remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge stringKv Namespace Id - ID of the resource.
- namespace str
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- zone_
id str - Site ID.
- remark str
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo_
edge_ strkv_ namespace_ id - ID of the resource.
- namespace String
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- zone
Id String - Site ID.
- remark String
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge StringKv Namespace Id - ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeoEdgeKvNamespace resource produces the following output properties:
- Capacity double
- KV storage available capacity in bytes.
- Capacity
Used double - KV storage used capacity in bytes.
- Created
On string - Creation time in ISO 8601 format (UTC).
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - Last modification time in ISO 8601 format (UTC).
- Capacity float64
- KV storage available capacity in bytes.
- Capacity
Used float64 - KV storage used capacity in bytes.
- Created
On string - Creation time in ISO 8601 format (UTC).
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - Last modification time in ISO 8601 format (UTC).
- capacity number
- KV storage available capacity in bytes.
- capacity_
used number - KV storage used capacity in bytes.
- created_
on string - Creation time in ISO 8601 format (UTC).
- id string
- The provider-assigned unique ID for this managed resource.
- modified_
on string - Last modification time in ISO 8601 format (UTC).
- capacity Double
- KV storage available capacity in bytes.
- capacity
Used Double - KV storage used capacity in bytes.
- created
On String - Creation time in ISO 8601 format (UTC).
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - Last modification time in ISO 8601 format (UTC).
- capacity number
- KV storage available capacity in bytes.
- capacity
Used number - KV storage used capacity in bytes.
- created
On string - Creation time in ISO 8601 format (UTC).
- id string
- The provider-assigned unique ID for this managed resource.
- modified
On string - Last modification time in ISO 8601 format (UTC).
- capacity float
- KV storage available capacity in bytes.
- capacity_
used float - KV storage used capacity in bytes.
- created_
on str - Creation time in ISO 8601 format (UTC).
- id str
- The provider-assigned unique ID for this managed resource.
- modified_
on str - Last modification time in ISO 8601 format (UTC).
- capacity Number
- KV storage available capacity in bytes.
- capacity
Used Number - KV storage used capacity in bytes.
- created
On String - Creation time in ISO 8601 format (UTC).
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - Last modification time in ISO 8601 format (UTC).
Look up Existing TeoEdgeKvNamespace Resource
Get an existing TeoEdgeKvNamespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeoEdgeKvNamespaceState, opts?: CustomResourceOptions): TeoEdgeKvNamespace@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity: Optional[float] = None,
capacity_used: Optional[float] = None,
created_on: Optional[str] = None,
modified_on: Optional[str] = None,
namespace: Optional[str] = None,
remark: Optional[str] = None,
teo_edge_kv_namespace_id: Optional[str] = None,
zone_id: Optional[str] = None) -> TeoEdgeKvNamespacefunc GetTeoEdgeKvNamespace(ctx *Context, name string, id IDInput, state *TeoEdgeKvNamespaceState, opts ...ResourceOption) (*TeoEdgeKvNamespace, error)public static TeoEdgeKvNamespace Get(string name, Input<string> id, TeoEdgeKvNamespaceState? state, CustomResourceOptions? opts = null)public static TeoEdgeKvNamespace get(String name, Output<String> id, TeoEdgeKvNamespaceState state, CustomResourceOptions options)resources: _: type: tencentcloud:TeoEdgeKvNamespace get: id: ${id}import {
to = tencentcloud_teoedgekvnamespace.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capacity double
- KV storage available capacity in bytes.
- Capacity
Used double - KV storage used capacity in bytes.
- Created
On string - Creation time in ISO 8601 format (UTC).
- Modified
On string - Last modification time in ISO 8601 format (UTC).
- Namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- Remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- Teo
Edge stringKv Namespace Id - ID of the resource.
- Zone
Id string - Site ID.
- Capacity float64
- KV storage available capacity in bytes.
- Capacity
Used float64 - KV storage used capacity in bytes.
- Created
On string - Creation time in ISO 8601 format (UTC).
- Modified
On string - Last modification time in ISO 8601 format (UTC).
- Namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- Remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- Teo
Edge stringKv Namespace Id - ID of the resource.
- Zone
Id string - Site ID.
- capacity number
- KV storage available capacity in bytes.
- capacity_
used number - KV storage used capacity in bytes.
- created_
on string - Creation time in ISO 8601 format (UTC).
- modified_
on string - Last modification time in ISO 8601 format (UTC).
- namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo_
edge_ stringkv_ namespace_ id - ID of the resource.
- zone_
id string - Site ID.
- capacity Double
- KV storage available capacity in bytes.
- capacity
Used Double - KV storage used capacity in bytes.
- created
On String - Creation time in ISO 8601 format (UTC).
- modified
On String - Last modification time in ISO 8601 format (UTC).
- namespace String
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- remark String
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge StringKv Namespace Id - ID of the resource.
- zone
Id String - Site ID.
- capacity number
- KV storage available capacity in bytes.
- capacity
Used number - KV storage used capacity in bytes.
- created
On string - Creation time in ISO 8601 format (UTC).
- modified
On string - Last modification time in ISO 8601 format (UTC).
- namespace string
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- remark string
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge stringKv Namespace Id - ID of the resource.
- zone
Id string - Site ID.
- capacity float
- KV storage available capacity in bytes.
- capacity_
used float - KV storage used capacity in bytes.
- created_
on str - Creation time in ISO 8601 format (UTC).
- modified_
on str - Last modification time in ISO 8601 format (UTC).
- namespace str
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- remark str
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo_
edge_ strkv_ namespace_ id - ID of the resource.
- zone_
id str - Site ID.
- capacity Number
- KV storage available capacity in bytes.
- capacity
Used Number - KV storage used capacity in bytes.
- created
On String - Creation time in ISO 8601 format (UTC).
- modified
On String - Last modification time in ISO 8601 format (UTC).
- namespace String
- Namespace name. Supports 1-50 characters, allowed characters are a-z, A-Z, 0-9, -, and - cannot be used alone or consecutively, cannot be placed at the beginning or end. The name must be unique within the same site.
- remark String
- Namespace description. Used to describe the purpose or business meaning of the namespace. Maximum 256 characters.
- teo
Edge StringKv Namespace Id - ID of the resource.
- zone
Id String - Site ID.
Import
TEO Edge KV namespace can be imported using the zone_id#namespace, e.g.
$ pulumi import tencentcloud:index/teoEdgeKvNamespace:TeoEdgeKvNamespace example zone-2o3h21ed2t68#example-namespace
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
published on Tuesday, Jun 30, 2026 by tencentcloudstack