tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getDcdbSaleInfo
Start a Neo task
Explain and create a tencentcloud.getDcdbSaleInfo resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of dcdb sale_info
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const saleInfo = tencentcloud.getDcdbSaleInfo({});
import pulumi
import pulumi_tencentcloud as tencentcloud
sale_info = tencentcloud.get_dcdb_sale_info()
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.GetDcdbSaleInfo(ctx, &tencentcloud.GetDcdbSaleInfoArgs{}, 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 saleInfo = Tencentcloud.GetDcdbSaleInfo.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.GetDcdbSaleInfoArgs;
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 saleInfo = TencentcloudFunctions.getDcdbSaleInfo(GetDcdbSaleInfoArgs.builder()
.build());
}
}
variables:
saleInfo:
fn::invoke:
function: tencentcloud:getDcdbSaleInfo
arguments: {}
Using getDcdbSaleInfo
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 getDcdbSaleInfo(args: GetDcdbSaleInfoArgs, opts?: InvokeOptions): Promise<GetDcdbSaleInfoResult>
function getDcdbSaleInfoOutput(args: GetDcdbSaleInfoOutputArgs, opts?: InvokeOptions): Output<GetDcdbSaleInfoResult>def get_dcdb_sale_info(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDcdbSaleInfoResult
def get_dcdb_sale_info_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDcdbSaleInfoResult]func GetDcdbSaleInfo(ctx *Context, args *GetDcdbSaleInfoArgs, opts ...InvokeOption) (*GetDcdbSaleInfoResult, error)
func GetDcdbSaleInfoOutput(ctx *Context, args *GetDcdbSaleInfoOutputArgs, opts ...InvokeOption) GetDcdbSaleInfoResultOutput> Note: This function is named GetDcdbSaleInfo in the Go SDK.
public static class GetDcdbSaleInfo
{
public static Task<GetDcdbSaleInfoResult> InvokeAsync(GetDcdbSaleInfoArgs args, InvokeOptions? opts = null)
public static Output<GetDcdbSaleInfoResult> Invoke(GetDcdbSaleInfoInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDcdbSaleInfoResult> getDcdbSaleInfo(GetDcdbSaleInfoArgs args, InvokeOptions options)
public static Output<GetDcdbSaleInfoResult> getDcdbSaleInfo(GetDcdbSaleInfoArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDcdbSaleInfo:getDcdbSaleInfo
arguments:
# arguments dictionaryThe 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.
getDcdbSaleInfo Result
The following output properties are available:
- Id string
- Region
Lists List<GetDcdb Sale Info Region List> - list of sale region info.
- Result
Output stringFile
- Id string
- Region
Lists []GetDcdb Sale Info Region List - list of sale region info.
- Result
Output stringFile
- id String
- region
Lists List<GetDcdb Sale Info Region List> - list of sale region info.
- result
Output StringFile
- id string
- region
Lists GetDcdb Sale Info Region List[] - list of sale region info.
- result
Output stringFile
- id str
- region_
lists Sequence[GetDcdb Sale Info Region List] - list of sale region info.
- result_
output_ strfile
- id String
- region
Lists List<Property Map> - list of sale region info.
- result
Output StringFile
Supporting Types
GetDcdbSaleInfoRegionList
- Available
Choices List<GetDcdb Sale Info Region List Available Choice> - available zone choice.
- Region string
- region name(en).
- Region
Id double - region id.
- Region
Name string - region name(zh).
- Zone
Lists List<GetDcdb Sale Info Region List Zone List> - list of az zone.
- Available
Choices []GetDcdb Sale Info Region List Available Choice - available zone choice.
- Region string
- region name(en).
- Region
Id float64 - region id.
- Region
Name string - region name(zh).
- Zone
Lists []GetDcdb Sale Info Region List Zone List - list of az zone.
- available
Choices List<GetDcdb Sale Info Region List Available Choice> - available zone choice.
- region String
- region name(en).
- region
Id Double - region id.
- region
Name String - region name(zh).
- zone
Lists List<GetDcdb Sale Info Region List Zone List> - list of az zone.
- available
Choices GetDcdb Sale Info Region List Available Choice[] - available zone choice.
- region string
- region name(en).
- region
Id number - region id.
- region
Name string - region name(zh).
- zone
Lists GetDcdb Sale Info Region List Zone List[] - list of az zone.
- available_
choices Sequence[GetDcdb Sale Info Region List Available Choice] - available zone choice.
- region str
- region name(en).
- region_
id float - region id.
- region_
name str - region name(zh).
- zone_
lists Sequence[GetDcdb Sale Info Region List Zone List] - list of az zone.
- available
Choices List<Property Map> - available zone choice.
- region String
- region name(en).
- region
Id Number - region id.
- region
Name String - region name(zh).
- zone
Lists List<Property Map> - list of az zone.
GetDcdbSaleInfoRegionListAvailableChoice
- master
Zones List<Property Map> - master zone.
- slave
Zones List<Property Map> - slave zones.
GetDcdbSaleInfoRegionListAvailableChoiceMasterZone
GetDcdbSaleInfoRegionListAvailableChoiceSlaveZone
GetDcdbSaleInfoRegionListZoneList
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
