tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCynosdbResourcePackageSaleSpecs
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of cynosdb resource_package_sale_specs
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const resourcePackageSaleSpecs = tencentcloud.getCynosdbResourcePackageSaleSpecs({
    instanceType: "cynosdb-serverless",
    packageRegion: "china",
    packageType: "CCU",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
resource_package_sale_specs = tencentcloud.get_cynosdb_resource_package_sale_specs(instance_type="cynosdb-serverless",
    package_region="china",
    package_type="CCU")
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.GetCynosdbResourcePackageSaleSpecs(ctx, &tencentcloud.GetCynosdbResourcePackageSaleSpecsArgs{
			InstanceType:  "cynosdb-serverless",
			PackageRegion: "china",
			PackageType:   "CCU",
		}, 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 resourcePackageSaleSpecs = Tencentcloud.GetCynosdbResourcePackageSaleSpecs.Invoke(new()
    {
        InstanceType = "cynosdb-serverless",
        PackageRegion = "china",
        PackageType = "CCU",
    });
});
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.GetCynosdbResourcePackageSaleSpecsArgs;
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 resourcePackageSaleSpecs = TencentcloudFunctions.getCynosdbResourcePackageSaleSpecs(GetCynosdbResourcePackageSaleSpecsArgs.builder()
            .instanceType("cynosdb-serverless")
            .packageRegion("china")
            .packageType("CCU")
            .build());
    }
}
variables:
  resourcePackageSaleSpecs:
    fn::invoke:
      function: tencentcloud:getCynosdbResourcePackageSaleSpecs
      arguments:
        instanceType: cynosdb-serverless
        packageRegion: china
        packageType: CCU
Using getCynosdbResourcePackageSaleSpecs
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 getCynosdbResourcePackageSaleSpecs(args: GetCynosdbResourcePackageSaleSpecsArgs, opts?: InvokeOptions): Promise<GetCynosdbResourcePackageSaleSpecsResult>
function getCynosdbResourcePackageSaleSpecsOutput(args: GetCynosdbResourcePackageSaleSpecsOutputArgs, opts?: InvokeOptions): Output<GetCynosdbResourcePackageSaleSpecsResult>def get_cynosdb_resource_package_sale_specs(id: Optional[str] = None,
                                            instance_type: Optional[str] = None,
                                            package_region: Optional[str] = None,
                                            package_type: Optional[str] = None,
                                            result_output_file: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetCynosdbResourcePackageSaleSpecsResult
def get_cynosdb_resource_package_sale_specs_output(id: Optional[pulumi.Input[str]] = None,
                                            instance_type: Optional[pulumi.Input[str]] = None,
                                            package_region: Optional[pulumi.Input[str]] = None,
                                            package_type: Optional[pulumi.Input[str]] = None,
                                            result_output_file: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetCynosdbResourcePackageSaleSpecsResult]func GetCynosdbResourcePackageSaleSpecs(ctx *Context, args *GetCynosdbResourcePackageSaleSpecsArgs, opts ...InvokeOption) (*GetCynosdbResourcePackageSaleSpecsResult, error)
func GetCynosdbResourcePackageSaleSpecsOutput(ctx *Context, args *GetCynosdbResourcePackageSaleSpecsOutputArgs, opts ...InvokeOption) GetCynosdbResourcePackageSaleSpecsResultOutput> Note: This function is named GetCynosdbResourcePackageSaleSpecs in the Go SDK.
public static class GetCynosdbResourcePackageSaleSpecs 
{
    public static Task<GetCynosdbResourcePackageSaleSpecsResult> InvokeAsync(GetCynosdbResourcePackageSaleSpecsArgs args, InvokeOptions? opts = null)
    public static Output<GetCynosdbResourcePackageSaleSpecsResult> Invoke(GetCynosdbResourcePackageSaleSpecsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCynosdbResourcePackageSaleSpecsResult> getCynosdbResourcePackageSaleSpecs(GetCynosdbResourcePackageSaleSpecsArgs args, InvokeOptions options)
public static Output<GetCynosdbResourcePackageSaleSpecsResult> getCynosdbResourcePackageSaleSpecs(GetCynosdbResourcePackageSaleSpecsArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getCynosdbResourcePackageSaleSpecs:getCynosdbResourcePackageSaleSpecs
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceType string
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- PackageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- PackageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- Id string
- ResultOutput stringFile 
- Used to save results.
- InstanceType string
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- PackageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- PackageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- Id string
- ResultOutput stringFile 
- Used to save results.
- instanceType String
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- packageRegion String
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType String
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- id String
- resultOutput StringFile 
- Used to save results.
- instanceType string
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- packageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- id string
- resultOutput stringFile 
- Used to save results.
- instance_type str
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- package_region str
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package_type str
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- id str
- result_output_ strfile 
- Used to save results.
- instanceType String
- Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- packageRegion String
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType String
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- id String
- resultOutput StringFile 
- Used to save results.
getCynosdbResourcePackageSaleSpecs Result
The following output properties are available:
- Details
List<GetCynosdb Resource Package Sale Specs Detail> 
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- InstanceType string
- PackageRegion string
- Note: This field may return null, indicating that a valid value cannot be obtained.
- PackageType string
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- ResultOutput stringFile 
- Details
[]GetCynosdb Resource Package Sale Specs Detail 
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- InstanceType string
- PackageRegion string
- Note: This field may return null, indicating that a valid value cannot be obtained.
- PackageType string
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- ResultOutput stringFile 
- details
List<GetCynosdb Resource Package Sale Specs Detail> 
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- instanceType String
- packageRegion String
- Note: This field may return null, indicating that a valid value cannot be obtained.
- packageType String
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput StringFile 
- details
GetCynosdb Resource Package Sale Specs Detail[] 
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id string
- instanceType string
- packageRegion string
- Note: This field may return null, indicating that a valid value cannot be obtained.
- packageType string
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput stringFile 
- details
Sequence[GetCynosdb Resource Package Sale Specs Detail] 
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id str
- instance_type str
- package_region str
- Note: This field may return null, indicating that a valid value cannot be obtained.
- package_type str
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- result_output_ strfile 
- details List<Property Map>
- Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- instanceType String
- packageRegion String
- Note: This field may return null, indicating that a valid value cannot be obtained.
- packageType String
- Resource package type CCU - Compute resource package DISK - Store resource package Note: This field may return null, indicating that a valid value cannot be obtained.
- resultOutput StringFile 
Supporting Types
GetCynosdbResourcePackageSaleSpecsDetail      
- ExpireDay double
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- MaxPackage doubleSpec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- MinPackage doubleSpec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- PackageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- PackageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- PackageVersion string
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
- ExpireDay float64
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- MaxPackage float64Spec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- MinPackage float64Spec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- PackageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- PackageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- PackageVersion string
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
- expireDay Double
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- maxPackage DoubleSpec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- minPackage DoubleSpec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- packageRegion String
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType String
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- packageVersion String
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
- expireDay number
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- maxPackage numberSpec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- minPackage numberSpec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- packageRegion string
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType string
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- packageVersion string
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
- expire_day float
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- max_package_ floatspec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- min_package_ floatspec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- package_region str
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package_type str
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- package_version str
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
- expireDay Number
- Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- maxPackage NumberSpec 
- The maximum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- minPackage NumberSpec 
- The minimum number of resources in the current version of the resource package, calculated in units of resources; Storage resource: GB Note: This field may return null, indicating that a valid value cannot be obtained.
- packageRegion String
- Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- packageType String
- Resource package type CCU - Computing resource package DISK - Storage resource package.
- packageVersion String
- Resource package version base basic version, common general version, enterprise enterprise version Note: This field may return null, indicating that a valid value cannot be obtained.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack