tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getMariadbSaleInfo
Start a Neo task
Explain and create a tencentcloud.getMariadbSaleInfo resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of mariadb sale_info
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const saleInfo = tencentcloud.getMariadbSaleInfo({});
import pulumi
import pulumi_tencentcloud as tencentcloud
sale_info = tencentcloud.get_mariadb_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.GetMariadbSaleInfo(ctx, &tencentcloud.GetMariadbSaleInfoArgs{}, 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.GetMariadbSaleInfo.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.GetMariadbSaleInfoArgs;
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.getMariadbSaleInfo(GetMariadbSaleInfoArgs.builder()
.build());
}
}
variables:
saleInfo:
fn::invoke:
function: tencentcloud:getMariadbSaleInfo
arguments: {}
Using getMariadbSaleInfo
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 getMariadbSaleInfo(args: GetMariadbSaleInfoArgs, opts?: InvokeOptions): Promise<GetMariadbSaleInfoResult>
function getMariadbSaleInfoOutput(args: GetMariadbSaleInfoOutputArgs, opts?: InvokeOptions): Output<GetMariadbSaleInfoResult>def get_mariadb_sale_info(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMariadbSaleInfoResult
def get_mariadb_sale_info_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMariadbSaleInfoResult]func GetMariadbSaleInfo(ctx *Context, args *GetMariadbSaleInfoArgs, opts ...InvokeOption) (*GetMariadbSaleInfoResult, error)
func GetMariadbSaleInfoOutput(ctx *Context, args *GetMariadbSaleInfoOutputArgs, opts ...InvokeOption) GetMariadbSaleInfoResultOutput> Note: This function is named GetMariadbSaleInfo in the Go SDK.
public static class GetMariadbSaleInfo
{
public static Task<GetMariadbSaleInfoResult> InvokeAsync(GetMariadbSaleInfoArgs args, InvokeOptions? opts = null)
public static Output<GetMariadbSaleInfoResult> Invoke(GetMariadbSaleInfoInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMariadbSaleInfoResult> getMariadbSaleInfo(GetMariadbSaleInfoArgs args, InvokeOptions options)
public static Output<GetMariadbSaleInfoResult> getMariadbSaleInfo(GetMariadbSaleInfoArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getMariadbSaleInfo:getMariadbSaleInfo
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.
getMariadbSaleInfo Result
The following output properties are available:
- Id string
- Region
Lists List<GetMariadb Sale Info Region List> - list of sale region info.
- Result
Output stringFile
- Id string
- Region
Lists []GetMariadb Sale Info Region List - list of sale region info.
- Result
Output stringFile
- id String
- region
Lists List<GetMariadb Sale Info Region List> - list of sale region info.
- result
Output StringFile
- id string
- region
Lists GetMariadb Sale Info Region List[] - list of sale region info.
- result
Output stringFile
- id str
- region_
lists Sequence[GetMariadb 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
GetMariadbSaleInfoRegionList
- Available
Choices List<GetMariadb 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<GetMariadb Sale Info Region List Zone List> - list of az zone.
- Available
Choices []GetMariadb 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 []GetMariadb Sale Info Region List Zone List - list of az zone.
- available
Choices List<GetMariadb 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<GetMariadb Sale Info Region List Zone List> - list of az zone.
- available
Choices GetMariadb 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 GetMariadb Sale Info Region List Zone List[] - list of az zone.
- available_
choices Sequence[GetMariadb 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[GetMariadb 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.
GetMariadbSaleInfoRegionListAvailableChoice
- master
Zones List<Property Map> - master zone.
- slave
Zones List<Property Map> - slave zones.
GetMariadbSaleInfoRegionListAvailableChoiceMasterZone
GetMariadbSaleInfoRegionListAvailableChoiceSlaveZone
GetMariadbSaleInfoRegionListZoneList
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
