tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getDcdbOrders
Start a Neo task
Explain and create a tencentcloud.getDcdbOrders resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of dcdb orders
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const orders = tencentcloud.getDcdbOrders({
dealNames: ["2023061224903413767xxxx"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
orders = tencentcloud.get_dcdb_orders(deal_names=["2023061224903413767xxxx"])
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.GetDcdbOrders(ctx, &tencentcloud.GetDcdbOrdersArgs{
DealNames: []string{
"2023061224903413767xxxx",
},
}, 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 orders = Tencentcloud.GetDcdbOrders.Invoke(new()
{
DealNames = new[]
{
"2023061224903413767xxxx",
},
});
});
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.GetDcdbOrdersArgs;
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 orders = TencentcloudFunctions.getDcdbOrders(GetDcdbOrdersArgs.builder()
.dealNames("2023061224903413767xxxx")
.build());
}
}
variables:
orders:
fn::invoke:
function: tencentcloud:getDcdbOrders
arguments:
dealNames:
- 2023061224903413767xxxx
Using getDcdbOrders
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 getDcdbOrders(args: GetDcdbOrdersArgs, opts?: InvokeOptions): Promise<GetDcdbOrdersResult>
function getDcdbOrdersOutput(args: GetDcdbOrdersOutputArgs, opts?: InvokeOptions): Output<GetDcdbOrdersResult>def get_dcdb_orders(deal_names: Optional[Sequence[str]] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDcdbOrdersResult
def get_dcdb_orders_output(deal_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDcdbOrdersResult]func GetDcdbOrders(ctx *Context, args *GetDcdbOrdersArgs, opts ...InvokeOption) (*GetDcdbOrdersResult, error)
func GetDcdbOrdersOutput(ctx *Context, args *GetDcdbOrdersOutputArgs, opts ...InvokeOption) GetDcdbOrdersResultOutput> Note: This function is named GetDcdbOrders in the Go SDK.
public static class GetDcdbOrders
{
public static Task<GetDcdbOrdersResult> InvokeAsync(GetDcdbOrdersArgs args, InvokeOptions? opts = null)
public static Output<GetDcdbOrdersResult> Invoke(GetDcdbOrdersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDcdbOrdersResult> getDcdbOrders(GetDcdbOrdersArgs args, InvokeOptions options)
public static Output<GetDcdbOrdersResult> getDcdbOrders(GetDcdbOrdersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDcdbOrders:getDcdbOrders
arguments:
# arguments dictionaryThe following arguments are supported:
- Deal
Names List<string> - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- Id string
- Result
Output stringFile - Used to save results.
- Deal
Names []string - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- Id string
- Result
Output stringFile - Used to save results.
- deal
Names List<String> - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- id String
- result
Output StringFile - Used to save results.
- deal
Names string[] - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- id string
- result
Output stringFile - Used to save results.
- deal_
names Sequence[str] - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- id str
- result_
output_ strfile - Used to save results.
- deal
Names List<String> - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- id String
- result
Output StringFile - Used to save results.
getDcdbOrders Result
The following output properties are available:
- Deal
Names List<string> - Deals
List<Get
Dcdb Orders Deal> - Order information list.
- Id string
- Result
Output stringFile
- Deal
Names []string - Deals
[]Get
Dcdb Orders Deal - Order information list.
- Id string
- Result
Output stringFile
- deal
Names List<String> - deals
List<Get
Dcdb Orders Deal> - Order information list.
- id String
- result
Output StringFile
- deal
Names string[] - deals
Get
Dcdb Orders Deal[] - Order information list.
- id string
- result
Output stringFile
- deal_
names Sequence[str] - deals
Sequence[Get
Dcdb Orders Deal] - Order information list.
- id str
- result_
output_ strfile
- deal
Names List<String> - deals List<Property Map>
- Order information list.
- id String
- result
Output StringFile
Supporting Types
GetDcdbOrdersDeal
- Count double
- Number of items.
- Deal
Name string - Order number.
- Flow
Id double - ID of the associated process, which can be used to query the process execution status.
- Instance
Ids List<string> - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Account.
- Pay
Mode double - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
- Count float64
- Number of items.
- Deal
Name string - Order number.
- Flow
Id float64 - ID of the associated process, which can be used to query the process execution status.
- Instance
Ids []string - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- Owner
Uin string - Account.
- Pay
Mode float64 - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
- count Double
- Number of items.
- deal
Name String - Order number.
- flow
Id Double - ID of the associated process, which can be used to query the process execution status.
- instance
Ids List<String> - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Account.
- pay
Mode Double - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
- count number
- Number of items.
- deal
Name string - Order number.
- flow
Id number - ID of the associated process, which can be used to query the process execution status.
- instance
Ids string[] - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin string - Account.
- pay
Mode number - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
- count float
- Number of items.
- deal_
name str - Order number.
- flow_
id float - ID of the associated process, which can be used to query the process execution status.
- instance_
ids Sequence[str] - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- owner_
uin str - Account.
- pay_
mode float - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
- count Number
- Number of items.
- deal
Name String - Order number.
- flow
Id Number - ID of the associated process, which can be used to query the process execution status.
- instance
Ids List<String> - The ID of the created instance, which is required only for the order that creates an instance.Note: This field may return null, indicating that no valid values can be obtained.
- owner
Uin String - Account.
- pay
Mode Number - Payment mode. Valid values: 0 (postpaid), 1 (prepaid).
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
