1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getCynosdbZoneConfig
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getCynosdbZoneConfig

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query which instance types of Redis are available in a specific region.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const foo = tencentcloud.getCynosdbZoneConfig({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    foo = tencentcloud.get_cynosdb_zone_config()
    
    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.GetCynosdbZoneConfig(ctx, &tencentcloud.GetCynosdbZoneConfigArgs{}, 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 foo = Tencentcloud.GetCynosdbZoneConfig.Invoke();
    
    });
    
    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.GetCynosdbZoneConfigArgs;
    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 foo = TencentcloudFunctions.getCynosdbZoneConfig();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          function: tencentcloud:getCynosdbZoneConfig
          arguments: {}
    

    Using getCynosdbZoneConfig

    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 getCynosdbZoneConfig(args: GetCynosdbZoneConfigArgs, opts?: InvokeOptions): Promise<GetCynosdbZoneConfigResult>
    function getCynosdbZoneConfigOutput(args: GetCynosdbZoneConfigOutputArgs, opts?: InvokeOptions): Output<GetCynosdbZoneConfigResult>
    def get_cynosdb_zone_config(id: Optional[str] = None,
                                result_output_file: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetCynosdbZoneConfigResult
    def get_cynosdb_zone_config_output(id: Optional[pulumi.Input[str]] = None,
                                result_output_file: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbZoneConfigResult]
    func GetCynosdbZoneConfig(ctx *Context, args *GetCynosdbZoneConfigArgs, opts ...InvokeOption) (*GetCynosdbZoneConfigResult, error)
    func GetCynosdbZoneConfigOutput(ctx *Context, args *GetCynosdbZoneConfigOutputArgs, opts ...InvokeOption) GetCynosdbZoneConfigResultOutput

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

    public static class GetCynosdbZoneConfig 
    {
        public static Task<GetCynosdbZoneConfigResult> InvokeAsync(GetCynosdbZoneConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetCynosdbZoneConfigResult> Invoke(GetCynosdbZoneConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCynosdbZoneConfigResult> getCynosdbZoneConfig(GetCynosdbZoneConfigArgs args, InvokeOptions options)
    public static Output<GetCynosdbZoneConfigResult> getCynosdbZoneConfig(GetCynosdbZoneConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getCynosdbZoneConfig:getCynosdbZoneConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getCynosdbZoneConfig Result

    The following output properties are available:

    Id string
    Lists List<GetCynosdbZoneConfigList>
    A list of zone. Each element contains the following attributes:
    ResultOutputFile string
    Id string
    Lists []GetCynosdbZoneConfigList
    A list of zone. Each element contains the following attributes:
    ResultOutputFile string
    id String
    lists List<GetCynosdbZoneConfigList>
    A list of zone. Each element contains the following attributes:
    resultOutputFile String
    id string
    lists GetCynosdbZoneConfigList[]
    A list of zone. Each element contains the following attributes:
    resultOutputFile string
    id str
    lists Sequence[GetCynosdbZoneConfigList]
    A list of zone. Each element contains the following attributes:
    result_output_file str
    id String
    lists List<Property Map>
    A list of zone. Each element contains the following attributes:
    resultOutputFile String

    Supporting Types

    GetCynosdbZoneConfigList

    Cpu double
    Instance CPU, unit: core.
    MachineType string
    Machine type.
    MaxIoBandwidth double
    Max io bandwidth.
    MaxStorageSize double
    The maximum available storage for the instance, unit GB.
    Memory double
    Instance memory, unit: GB.
    MinStorageSize double
    Minimum available storage of the instance, unit: GB.
    ZoneStockInfos List<GetCynosdbZoneConfigListZoneStockInfo>
    Regional inventory information.
    Cpu float64
    Instance CPU, unit: core.
    MachineType string
    Machine type.
    MaxIoBandwidth float64
    Max io bandwidth.
    MaxStorageSize float64
    The maximum available storage for the instance, unit GB.
    Memory float64
    Instance memory, unit: GB.
    MinStorageSize float64
    Minimum available storage of the instance, unit: GB.
    ZoneStockInfos []GetCynosdbZoneConfigListZoneStockInfo
    Regional inventory information.
    cpu Double
    Instance CPU, unit: core.
    machineType String
    Machine type.
    maxIoBandwidth Double
    Max io bandwidth.
    maxStorageSize Double
    The maximum available storage for the instance, unit GB.
    memory Double
    Instance memory, unit: GB.
    minStorageSize Double
    Minimum available storage of the instance, unit: GB.
    zoneStockInfos List<GetCynosdbZoneConfigListZoneStockInfo>
    Regional inventory information.
    cpu number
    Instance CPU, unit: core.
    machineType string
    Machine type.
    maxIoBandwidth number
    Max io bandwidth.
    maxStorageSize number
    The maximum available storage for the instance, unit GB.
    memory number
    Instance memory, unit: GB.
    minStorageSize number
    Minimum available storage of the instance, unit: GB.
    zoneStockInfos GetCynosdbZoneConfigListZoneStockInfo[]
    Regional inventory information.
    cpu float
    Instance CPU, unit: core.
    machine_type str
    Machine type.
    max_io_bandwidth float
    Max io bandwidth.
    max_storage_size float
    The maximum available storage for the instance, unit GB.
    memory float
    Instance memory, unit: GB.
    min_storage_size float
    Minimum available storage of the instance, unit: GB.
    zone_stock_infos Sequence[GetCynosdbZoneConfigListZoneStockInfo]
    Regional inventory information.
    cpu Number
    Instance CPU, unit: core.
    machineType String
    Machine type.
    maxIoBandwidth Number
    Max io bandwidth.
    maxStorageSize Number
    The maximum available storage for the instance, unit GB.
    memory Number
    Instance memory, unit: GB.
    minStorageSize Number
    Minimum available storage of the instance, unit: GB.
    zoneStockInfos List<Property Map>
    Regional inventory information.

    GetCynosdbZoneConfigListZoneStockInfo

    HasStock bool
    Has stock.
    Zone string
    Availability zone.
    HasStock bool
    Has stock.
    Zone string
    Availability zone.
    hasStock Boolean
    Has stock.
    zone String
    Availability zone.
    hasStock boolean
    Has stock.
    zone string
    Availability zone.
    has_stock bool
    Has stock.
    zone str
    Availability zone.
    hasStock Boolean
    Has stock.
    zone String
    Availability zone.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack