tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getMariadbOrders
Start a Neo task
Explain and create a tencentcloud.getMariadbOrders resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of mariadb orders
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const orders = tencentcloud.getMariadbOrders({
dealName: "20230607164033835942781",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
orders = tencentcloud.get_mariadb_orders(deal_name="20230607164033835942781")
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.GetMariadbOrders(ctx, &tencentcloud.GetMariadbOrdersArgs{
DealName: "20230607164033835942781",
}, 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.GetMariadbOrders.Invoke(new()
{
DealName = "20230607164033835942781",
});
});
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.GetMariadbOrdersArgs;
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.getMariadbOrders(GetMariadbOrdersArgs.builder()
.dealName("20230607164033835942781")
.build());
}
}
variables:
orders:
fn::invoke:
function: tencentcloud:getMariadbOrders
arguments:
dealName: '20230607164033835942781'
Using getMariadbOrders
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 getMariadbOrders(args: GetMariadbOrdersArgs, opts?: InvokeOptions): Promise<GetMariadbOrdersResult>
function getMariadbOrdersOutput(args: GetMariadbOrdersOutputArgs, opts?: InvokeOptions): Output<GetMariadbOrdersResult>def get_mariadb_orders(deal_name: Optional[str] = None,
id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMariadbOrdersResult
def get_mariadb_orders_output(deal_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMariadbOrdersResult]func GetMariadbOrders(ctx *Context, args *GetMariadbOrdersArgs, opts ...InvokeOption) (*GetMariadbOrdersResult, error)
func GetMariadbOrdersOutput(ctx *Context, args *GetMariadbOrdersOutputArgs, opts ...InvokeOption) GetMariadbOrdersResultOutput> Note: This function is named GetMariadbOrders in the Go SDK.
public static class GetMariadbOrders
{
public static Task<GetMariadbOrdersResult> InvokeAsync(GetMariadbOrdersArgs args, InvokeOptions? opts = null)
public static Output<GetMariadbOrdersResult> Invoke(GetMariadbOrdersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMariadbOrdersResult> getMariadbOrders(GetMariadbOrdersArgs args, InvokeOptions options)
public static Output<GetMariadbOrdersResult> getMariadbOrders(GetMariadbOrdersArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMariadbOrders:getMariadbOrders
arguments:
# arguments dictionaryThe following arguments are supported:
- Deal
Name 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
Name 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
Name 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
Name 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_
name 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
Name 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.
getMariadbOrders Result
The following output properties are available:
- Deal
Name string - Order number.
- Deals
List<Get
Mariadb Orders Deal> - Order information list.
- Id string
- Result
Output stringFile
- Deal
Name string - Order number.
- Deals
[]Get
Mariadb Orders Deal - Order information list.
- Id string
- Result
Output stringFile
- deal
Name String - Order number.
- deals
List<Get
Mariadb Orders Deal> - Order information list.
- id String
- result
Output StringFile
- deal
Name string - Order number.
- deals
Get
Mariadb Orders Deal[] - Order information list.
- id string
- result
Output stringFile
- deal_
name str - Order number.
- deals
Sequence[Get
Mariadb Orders Deal] - Order information list.
- id str
- result_
output_ strfile
- deal
Name String - Order number.
- deals List<Property Map>
- Order information list.
- id String
- result
Output StringFile
Supporting Types
GetMariadbOrdersDeal
- Count double
- Number of items.
- Deal
Name string - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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 - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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 - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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 - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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 - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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 - List of long order numbers to be queried, which are returned for the APIs for creating, renewing, or scaling instances.
- 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
