Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
published on Friday, Oct 23, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
published on Friday, Oct 23, 2026 by tencentcloudstack
Use this data source to query detailed information of TEO environments, including the environment list and the source version (source_version) of each effective config group version.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const teoEnvironments = tencentcloud.getTeoEnvironments({
zoneId: "zone-2qtuhspy7cr6",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
teo_environments = tencentcloud.get_teo_environments(zone_id="zone-2qtuhspy7cr6")
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.GetTeoEnvironments(ctx, &tencentcloud.GetTeoEnvironmentsArgs{
ZoneId: "zone-2qtuhspy7cr6",
}, 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 teoEnvironments = Tencentcloud.GetTeoEnvironments.Invoke(new()
{
ZoneId = "zone-2qtuhspy7cr6",
});
});
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.GetTeoEnvironmentsArgs;
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 teoEnvironments = TencentcloudFunctions.getTeoEnvironments(GetTeoEnvironmentsArgs.builder()
.zoneId("zone-2qtuhspy7cr6")
.build());
}
}
variables:
teoEnvironments:
fn::invoke:
function: tencentcloud:getTeoEnvironments
arguments:
zoneId: zone-2qtuhspy7cr6
Example coming soon!
API Reference
This data source queries the following TencentCloud APIs:
- Read: DescribeEnvironments
Using getTeoEnvironments
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 getTeoEnvironments(args: GetTeoEnvironmentsArgs, opts?: InvokeOptions): Promise<GetTeoEnvironmentsResult>
function getTeoEnvironmentsOutput(args: GetTeoEnvironmentsOutputArgs, opts?: InvokeOutputOptions): Output<GetTeoEnvironmentsResult>def get_teo_environments(id: Optional[str] = None,
result_output_file: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTeoEnvironmentsResult
def get_teo_environments_output(id: 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[GetTeoEnvironmentsResult]func GetTeoEnvironments(ctx *Context, args *GetTeoEnvironmentsArgs, opts ...InvokeOption) (*GetTeoEnvironmentsResult, error)
func GetTeoEnvironmentsOutput(ctx *Context, args *GetTeoEnvironmentsOutputArgs, opts ...InvokeOption) GetTeoEnvironmentsResultOutput> Note: This function is named GetTeoEnvironments in the Go SDK.
public static class GetTeoEnvironments
{
public static Task<GetTeoEnvironmentsResult> InvokeAsync(GetTeoEnvironmentsArgs args, InvokeOptions? opts = null)
public static Output<GetTeoEnvironmentsResult> Invoke(GetTeoEnvironmentsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTeoEnvironmentsResult> Invoke(GetTeoEnvironmentsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTeoEnvironmentsResult> getTeoEnvironments(GetTeoEnvironmentsArgs args, InvokeOptions options)
public static Output<GetTeoEnvironmentsResult> getTeoEnvironments(GetTeoEnvironmentsArgs args, InvokeOptions options)
public static Output<GetTeoEnvironmentsResult> getTeoEnvironments(GetTeoEnvironmentsArgs args, InvokeOutputOptions options)
fn::invoke:
function: tencentcloud:index/getTeoEnvironments:getTeoEnvironments
arguments:
# arguments dictionarydata "tencentcloud_get_teo_environments" "name" {
# arguments
}The following arguments are supported:
- Zone
Id string - Zone ID.
- Id string
- Result
Output stringFile - Used to save results.
- Zone
Id string - Zone ID.
- Id string
- Result
Output stringFile - Used to save results.
- zone_
id string - Zone ID.
- id string
- result_
output_ stringfile - Used to save results.
- zone
Id String - Zone ID.
- id String
- result
Output StringFile - Used to save results.
- zone
Id string - Zone ID.
- id string
- result
Output stringFile - Used to save results.
- zone_
id str - Zone ID.
- id str
- result_
output_ strfile - Used to save results.
- zone
Id String - Zone ID.
- id String
- result
Output StringFile - Used to save results.
getTeoEnvironments Result
The following output properties are available:
- Env
Infos List<GetTeo Environments Env Info> - Environment list.
- Id string
- Zone
Id string - Result
Output stringFile
- Env
Infos []GetTeo Environments Env Info - Environment list.
- Id string
- Zone
Id string - Result
Output stringFile
- env_
infos list(object) - Environment list.
- id string
- zone_
id string - result_
output_ stringfile
- env
Infos List<GetTeo Environments Env Info> - Environment list.
- id String
- zone
Id String - result
Output StringFile
- env
Infos GetTeo Environments Env Info[] - Environment list.
- id string
- zone
Id string - result
Output stringFile
- env_
infos Sequence[GetTeo Environments Env Info] - Environment list.
- id str
- zone_
id str - result_
output_ strfile
- env
Infos List<Property Map> - Environment list.
- id String
- zone
Id String - result
Output StringFile
Supporting Types
GetTeoEnvironmentsEnvInfo
- Create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- Current
Config List<GetGroup Version Infos Teo Environments Env Info Current Config Group Version Info> - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- Env
Id string - Environment ID.
- Env
Type string - Environment type. Valid values: production (Production environment), staging (Test environment).
- Scopes List<string>
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- Status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- Update
Time string
- Create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- Current
Config []GetGroup Version Infos Teo Environments Env Info Current Config Group Version Info - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- Env
Id string - Environment ID.
- Env
Type string - Environment type. Valid values: production (Production environment), staging (Test environment).
- Scopes []string
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- Status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- Update
Time string
- create_
time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- current_
config_ list(object)group_ version_ infos - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- env_
id string - Environment ID.
- env_
type string - Environment type. Valid values: production (Production environment), staging (Test environment).
- scopes list(string)
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- update_
time string
- create
Time String - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- current
Config List<GetGroup Version Infos Teo Environments Env Info Current Config Group Version Info> - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- env
Id String - Environment ID.
- env
Type String - Environment type. Valid values: production (Production environment), staging (Test environment).
- scopes List<String>
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- status String
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- update
Time String
- create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- current
Config GetGroup Version Infos Teo Environments Env Info Current Config Group Version Info[] - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- env
Id string - Environment ID.
- env
Type string - Environment type. Valid values: production (Production environment), staging (Test environment).
- scopes string[]
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- update
Time string
- create_
time str - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- current_
config_ Sequence[Getgroup_ version_ infos Teo Environments Env Info Current Config Group Version Info] - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- env_
id str - Environment ID.
- env_
type str - Environment type. Valid values: production (Production environment), staging (Test environment).
- scopes Sequence[str]
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- status str
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- update_
time str
- create
Time String - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- current
Config List<Property Map>Group Version Infos - For the effective versions of each configuration group in the current environment, there are two possible scenarios based on the value of Status: When Status is set to version_deploying, the returned value of this field represents the previously effective version. In other words, during the deployment of the new version, the effective version is the one that was in effect before any changes were made. When Status is set to running, the value returned by this field is the currently effective version.
- env
Id String - Environment ID.
- env
Type String - Environment type. Valid values: production (Production environment), staging (Test environment).
- scopes List<String>
- Effective scope of the configuration in the current environment. Valid values: ALL (It takes effect on the entire network when EnvType is set to production), It returns the IP address of the test node for host binding during testing when EnvType is set to staging.
- status String
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- update
Time String
GetTeoEnvironmentsEnvInfoCurrentConfigGroupVersionInfo
- Create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- Description string
- Version description.
- Group
Id string - Configuraration group ID.
- Group
Type string - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- Source
Version string - The source version ID that the config group version was derived from.
- Status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- Version
Id string - Version ID.
- Version
Number string - Version No.
- Create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- Description string
- Version description.
- Group
Id string - Configuraration group ID.
- Group
Type string - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- Source
Version string - The source version ID that the config group version was derived from.
- Status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- Version
Id string - Version ID.
- Version
Number string - Version No.
- create_
time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- description string
- Version description.
- group_
id string - Configuraration group ID.
- group_
type string - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- source_
version string - The source version ID that the config group version was derived from.
- status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- version_
id string - Version ID.
- version_
number string - Version No.
- create
Time String - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- description String
- Version description.
- group
Id String - Configuraration group ID.
- group
Type String - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- source
Version String - The source version ID that the config group version was derived from.
- status String
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- version
Id String - Version ID.
- version
Number String - Version No.
- create
Time string - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- description string
- Version description.
- group
Id string - Configuraration group ID.
- group
Type string - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- source
Version string - The source version ID that the config group version was derived from.
- status string
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- version
Id string - Version ID.
- version
Number string - Version No.
- create_
time str - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- description str
- Version description.
- group_
id str - Configuraration group ID.
- group_
type str - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- source_
version str - The source version ID that the config group version was derived from.
- status str
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- version_
id str - Version ID.
- version_
number str - Version No.
- create
Time String - Version creation time. The time format follows the ISO 8601 standard and is represented in Coordinated Universal Time (UTC).
- description String
- Version description.
- group
Id String - Configuraration group ID.
- group
Type String - Configuration group type. Valid values: l7_acceleration (L7 acceleration configuration group), edge_functions (Edge function configuration group).
- source
Version String - The source version ID that the config group version was derived from.
- status String
- Environment status. Valid values: creating (Being created), running (The environment is stable, with version changes allowed), version_deploying (The version is currently being deployed, with no more changes allowed).
- version
Id String - Version ID.
- version
Number String - Version No.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
published on Friday, Oct 23, 2026 by tencentcloudstack