tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
tencentcloud.getCynosdbZone
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
Use this data source to query detailed information of cynosdb zone
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const zone = tencentcloud.getCynosdbZone({
    includeVirtualZones: true,
    showPermission: true,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
zone = tencentcloud.get_cynosdb_zone(include_virtual_zones=True,
    show_permission=True)
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.GetCynosdbZone(ctx, &tencentcloud.GetCynosdbZoneArgs{
			IncludeVirtualZones: pulumi.BoolRef(true),
			ShowPermission:      pulumi.BoolRef(true),
		}, 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 zone = Tencentcloud.GetCynosdbZone.Invoke(new()
    {
        IncludeVirtualZones = true,
        ShowPermission = true,
    });
});
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.GetCynosdbZoneArgs;
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 zone = TencentcloudFunctions.getCynosdbZone(GetCynosdbZoneArgs.builder()
            .includeVirtualZones(true)
            .showPermission(true)
            .build());
    }
}
variables:
  zone:
    fn::invoke:
      function: tencentcloud:getCynosdbZone
      arguments:
        includeVirtualZones: true
        showPermission: true
Using getCynosdbZone
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 getCynosdbZone(args: GetCynosdbZoneArgs, opts?: InvokeOptions): Promise<GetCynosdbZoneResult>
function getCynosdbZoneOutput(args: GetCynosdbZoneOutputArgs, opts?: InvokeOptions): Output<GetCynosdbZoneResult>def get_cynosdb_zone(id: Optional[str] = None,
                     include_virtual_zones: Optional[bool] = None,
                     result_output_file: Optional[str] = None,
                     show_permission: Optional[bool] = None,
                     opts: Optional[InvokeOptions] = None) -> GetCynosdbZoneResult
def get_cynosdb_zone_output(id: Optional[pulumi.Input[str]] = None,
                     include_virtual_zones: Optional[pulumi.Input[bool]] = None,
                     result_output_file: Optional[pulumi.Input[str]] = None,
                     show_permission: Optional[pulumi.Input[bool]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbZoneResult]func GetCynosdbZone(ctx *Context, args *GetCynosdbZoneArgs, opts ...InvokeOption) (*GetCynosdbZoneResult, error)
func GetCynosdbZoneOutput(ctx *Context, args *GetCynosdbZoneOutputArgs, opts ...InvokeOption) GetCynosdbZoneResultOutput> Note: This function is named GetCynosdbZone in the Go SDK.
public static class GetCynosdbZone 
{
    public static Task<GetCynosdbZoneResult> InvokeAsync(GetCynosdbZoneArgs args, InvokeOptions? opts = null)
    public static Output<GetCynosdbZoneResult> Invoke(GetCynosdbZoneInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCynosdbZoneResult> getCynosdbZone(GetCynosdbZoneArgs args, InvokeOptions options)
public static Output<GetCynosdbZoneResult> getCynosdbZone(GetCynosdbZoneArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getCynosdbZone:getCynosdbZone
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- IncludeVirtual boolZones 
- Is virtual zone included.
- ResultOutput stringFile 
- Used to save results.
- ShowPermission bool
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
- Id string
- IncludeVirtual boolZones 
- Is virtual zone included.
- ResultOutput stringFile 
- Used to save results.
- ShowPermission bool
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
- id String
- includeVirtual BooleanZones 
- Is virtual zone included.
- resultOutput StringFile 
- Used to save results.
- showPermission Boolean
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
- id string
- includeVirtual booleanZones 
- Is virtual zone included.
- resultOutput stringFile 
- Used to save results.
- showPermission boolean
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
- id str
- include_virtual_ boolzones 
- Is virtual zone included.
- result_output_ strfile 
- Used to save results.
- show_permission bool
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
- id String
- includeVirtual BooleanZones 
- Is virtual zone included.
- resultOutput StringFile 
- Used to save results.
- showPermission Boolean
- Whether to display all available zones under the region and display the permissions of each available zone of the user.
getCynosdbZone Result
The following output properties are available:
- Id string
- RegionSets List<GetCynosdb Zone Region Set> 
- Information of region.
- IncludeVirtual boolZones 
- ResultOutput stringFile 
- ShowPermission bool
- Id string
- RegionSets []GetCynosdb Zone Region Set 
- Information of region.
- IncludeVirtual boolZones 
- ResultOutput stringFile 
- ShowPermission bool
- id String
- regionSets List<GetCynosdb Zone Region Set> 
- Information of region.
- includeVirtual BooleanZones 
- resultOutput StringFile 
- showPermission Boolean
- id string
- regionSets GetCynosdb Zone Region Set[] 
- Information of region.
- includeVirtual booleanZones 
- resultOutput stringFile 
- showPermission boolean
- id str
- region_sets Sequence[GetCynosdb Zone Region Set] 
- Information of region.
- include_virtual_ boolzones 
- result_output_ strfile 
- show_permission bool
- id String
- regionSets List<Property Map>
- Information of region.
- includeVirtual BooleanZones 
- resultOutput StringFile 
- showPermission Boolean
Supporting Types
GetCynosdbZoneRegionSet    
- DbType string
- Database type.
- Modules
List<GetCynosdb Zone Region Set Module> 
- Regional module support.
- Region string
- Region in English.
- RegionId double
- Region ID.
- RegionZh string
- Region name in Chinese.
- ZoneSets List<GetCynosdb Zone Region Set Zone Set> 
- List of available zones for sale.
- DbType string
- Database type.
- Modules
[]GetCynosdb Zone Region Set Module 
- Regional module support.
- Region string
- Region in English.
- RegionId float64
- Region ID.
- RegionZh string
- Region name in Chinese.
- ZoneSets []GetCynosdb Zone Region Set Zone Set 
- List of available zones for sale.
- dbType String
- Database type.
- modules
List<GetCynosdb Zone Region Set Module> 
- Regional module support.
- region String
- Region in English.
- regionId Double
- Region ID.
- regionZh String
- Region name in Chinese.
- zoneSets List<GetCynosdb Zone Region Set Zone Set> 
- List of available zones for sale.
- dbType string
- Database type.
- modules
GetCynosdb Zone Region Set Module[] 
- Regional module support.
- region string
- Region in English.
- regionId number
- Region ID.
- regionZh string
- Region name in Chinese.
- zoneSets GetCynosdb Zone Region Set Zone Set[] 
- List of available zones for sale.
- db_type str
- Database type.
- modules
Sequence[GetCynosdb Zone Region Set Module] 
- Regional module support.
- region str
- Region in English.
- region_id float
- Region ID.
- region_zh str
- Region name in Chinese.
- zone_sets Sequence[GetCynosdb Zone Region Set Zone Set] 
- List of available zones for sale.
- dbType String
- Database type.
- modules List<Property Map>
- Regional module support.
- region String
- Region in English.
- regionId Number
- Region ID.
- regionZh String
- Region name in Chinese.
- zoneSets List<Property Map>
- List of available zones for sale.
GetCynosdbZoneRegionSetModule     
- IsDisable string
- Is zone on sale, optional values: yes, no.
- ModuleName string
- Module name.
- IsDisable string
- Is zone on sale, optional values: yes, no.
- ModuleName string
- Module name.
- isDisable String
- Is zone on sale, optional values: yes, no.
- moduleName String
- Module name.
- isDisable string
- Is zone on sale, optional values: yes, no.
- moduleName string
- Module name.
- is_disable str
- Is zone on sale, optional values: yes, no.
- module_name str
- Module name.
- isDisable String
- Is zone on sale, optional values: yes, no.
- moduleName String
- Module name.
GetCynosdbZoneRegionSetZoneSet      
- HasPermission bool
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- IsSupport doubleNormal 
- Does it support normal clusters, 0:Not supported 1:Support.
- IsSupport doubleServerless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- IsWhole stringRdma Zone 
- Is zone Rdma.
- PhysicalZone string
- Physical zone.
- Zone string
- Zone name in English.
- ZoneId double
- ZoneId.
- ZoneZh string
- Zone name in Chinesee.
- HasPermission bool
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- IsSupport float64Normal 
- Does it support normal clusters, 0:Not supported 1:Support.
- IsSupport float64Serverless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- IsWhole stringRdma Zone 
- Is zone Rdma.
- PhysicalZone string
- Physical zone.
- Zone string
- Zone name in English.
- ZoneId float64
- ZoneId.
- ZoneZh string
- Zone name in Chinesee.
- hasPermission Boolean
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- isSupport DoubleNormal 
- Does it support normal clusters, 0:Not supported 1:Support.
- isSupport DoubleServerless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- isWhole StringRdma Zone 
- Is zone Rdma.
- physicalZone String
- Physical zone.
- zone String
- Zone name in English.
- zoneId Double
- ZoneId.
- zoneZh String
- Zone name in Chinesee.
- hasPermission boolean
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- isSupport numberNormal 
- Does it support normal clusters, 0:Not supported 1:Support.
- isSupport numberServerless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- isWhole stringRdma Zone 
- Is zone Rdma.
- physicalZone string
- Physical zone.
- zone string
- Zone name in English.
- zoneId number
- ZoneId.
- zoneZh string
- Zone name in Chinesee.
- has_permission bool
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- is_support_ floatnormal 
- Does it support normal clusters, 0:Not supported 1:Support.
- is_support_ floatserverless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- is_whole_ strrdma_ zone 
- Is zone Rdma.
- physical_zone str
- Physical zone.
- zone str
- Zone name in English.
- zone_id float
- ZoneId.
- zone_zh str
- Zone name in Chinesee.
- hasPermission Boolean
- Whether the user have zone permissionsNote: This field may return null, indicating that no valid value can be obtained.
- isSupport NumberNormal 
- Does it support normal clusters, 0:Not supported 1:Support.
- isSupport NumberServerless 
- Does it support serverless clusters, 0:Not supported 1:Support.
- isWhole StringRdma Zone 
- Is zone Rdma.
- physicalZone String
- Physical zone.
- zone String
- Zone name in English.
- zoneId Number
- ZoneId.
- zoneZh String
- Zone name in Chinesee.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
