tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbZoneConfig
Explore with Pulumi AI
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
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getCynosdbZoneConfig Result
The following output properties are available:
- Id string
- Lists
List<Get
Cynosdb Zone Config List> - A list of zone. Each element contains the following attributes:
- Result
Output stringFile
- Id string
- Lists
[]Get
Cynosdb Zone Config List - A list of zone. Each element contains the following attributes:
- Result
Output stringFile
- id String
- lists
List<Get
Cynosdb Zone Config List> - A list of zone. Each element contains the following attributes:
- result
Output StringFile
- id string
- lists
Get
Cynosdb Zone Config List[] - A list of zone. Each element contains the following attributes:
- result
Output stringFile
- id str
- lists
Sequence[Get
Cynosdb Zone Config List] - A list of zone. Each element contains the following attributes:
- result_
output_ strfile
- id String
- lists List<Property Map>
- A list of zone. Each element contains the following attributes:
- result
Output StringFile
Supporting Types
GetCynosdbZoneConfigList
- Cpu double
- Instance CPU, unit: core.
- Machine
Type string - Machine type.
- Max
Io doubleBandwidth - Max io bandwidth.
- Max
Storage doubleSize - The maximum available storage for the instance, unit GB.
- Memory double
- Instance memory, unit: GB.
- Min
Storage doubleSize - Minimum available storage of the instance, unit: GB.
- Zone
Stock List<GetInfos Cynosdb Zone Config List Zone Stock Info> - Regional inventory information.
- Cpu float64
- Instance CPU, unit: core.
- Machine
Type string - Machine type.
- Max
Io float64Bandwidth - Max io bandwidth.
- Max
Storage float64Size - The maximum available storage for the instance, unit GB.
- Memory float64
- Instance memory, unit: GB.
- Min
Storage float64Size - Minimum available storage of the instance, unit: GB.
- Zone
Stock []GetInfos Cynosdb Zone Config List Zone Stock Info - Regional inventory information.
- cpu Double
- Instance CPU, unit: core.
- machine
Type String - Machine type.
- max
Io DoubleBandwidth - Max io bandwidth.
- max
Storage DoubleSize - The maximum available storage for the instance, unit GB.
- memory Double
- Instance memory, unit: GB.
- min
Storage DoubleSize - Minimum available storage of the instance, unit: GB.
- zone
Stock List<GetInfos Cynosdb Zone Config List Zone Stock Info> - Regional inventory information.
- cpu number
- Instance CPU, unit: core.
- machine
Type string - Machine type.
- max
Io numberBandwidth - Max io bandwidth.
- max
Storage numberSize - The maximum available storage for the instance, unit GB.
- memory number
- Instance memory, unit: GB.
- min
Storage numberSize - Minimum available storage of the instance, unit: GB.
- zone
Stock GetInfos Cynosdb Zone Config List Zone Stock Info[] - Regional inventory information.
- cpu float
- Instance CPU, unit: core.
- machine_
type str - Machine type.
- max_
io_ floatbandwidth - Max io bandwidth.
- max_
storage_ floatsize - The maximum available storage for the instance, unit GB.
- memory float
- Instance memory, unit: GB.
- min_
storage_ floatsize - Minimum available storage of the instance, unit: GB.
- zone_
stock_ Sequence[Getinfos Cynosdb Zone Config List Zone Stock Info] - Regional inventory information.
- cpu Number
- Instance CPU, unit: core.
- machine
Type String - Machine type.
- max
Io NumberBandwidth - Max io bandwidth.
- max
Storage NumberSize - The maximum available storage for the instance, unit GB.
- memory Number
- Instance memory, unit: GB.
- min
Storage NumberSize - Minimum available storage of the instance, unit: GB.
- zone
Stock List<Property Map>Infos - Regional inventory information.
GetCynosdbZoneConfigListZoneStockInfo
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack