tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCynosdbResourcePackageSaleSpecs
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 dictionary
The following arguments are supported:
- Instance
Type string - Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- Package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- Package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Type string - Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- Package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- Package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Type String - Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- package
Region String - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type String - Resource package type CCU - Computing resource package DISK - Storage resource package.
- id String
- result
Output StringFile - Used to save results.
- instance
Type string - Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- id string
- result
Output 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.
- instance
Type String - Instance Type. Value range: cynosdb-serverless, cynosdb, cdb.
- package
Region String - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type String - Resource package type CCU - Computing resource package DISK - Storage resource package.
- id String
- result
Output StringFile - Used to save results.
getCynosdbResourcePackageSaleSpecs Result
The following output properties are available:
- Details
List<Get
Cynosdb Resource Package Sale Specs Detail> - Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Instance
Type string - Package
Region string - Note: This field may return null, indicating that a valid value cannot be obtained.
- Package
Type 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.
- Result
Output stringFile
- Details
[]Get
Cynosdb Resource Package Sale Specs Detail - Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- Id string
- Instance
Type string - Package
Region string - Note: This field may return null, indicating that a valid value cannot be obtained.
- Package
Type 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.
- Result
Output stringFile
- details
List<Get
Cynosdb Resource Package Sale Specs Detail> - Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id String
- instance
Type String - package
Region String - Note: This field may return null, indicating that a valid value cannot be obtained.
- package
Type 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.
- result
Output StringFile
- details
Get
Cynosdb Resource Package Sale Specs Detail[] - Resource package details note: This field may return null, indicating that a valid value cannot be obtained.
- id string
- instance
Type string - package
Region string - Note: This field may return null, indicating that a valid value cannot be obtained.
- package
Type 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.
- result
Output stringFile
- details
Sequence[Get
Cynosdb 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
- instance
Type String - package
Region String - Note: This field may return null, indicating that a valid value cannot be obtained.
- package
Type 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.
- result
Output StringFile
Supporting Types
GetCynosdbResourcePackageSaleSpecsDetail
- Expire
Day double - Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- Max
Package 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.
- Min
Package 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.
- Package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- Package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- Package
Version 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 float64 - Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- Max
Package 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.
- Min
Package 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.
- Package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- Package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- Package
Version 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 Double - Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- max
Package 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.
- min
Package 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.
- package
Region String - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type String - Resource package type CCU - Computing resource package DISK - Storage resource package.
- package
Version 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 number - Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- max
Package 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.
- min
Package 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.
- package
Region string - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type string - Resource package type CCU - Computing resource package DISK - Storage resource package.
- package
Version 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.
- expire
Day Number - Resource package validity period, in days. Note: This field may return null, indicating that a valid value cannot be obtained.
- max
Package 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.
- min
Package 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.
- package
Region String - Resource package usage region China - common in mainland China, overseas - common in Hong Kong, Macao, Taiwan, and overseas.
- package
Type String - Resource package type CCU - Computing resource package DISK - Storage resource package.
- package
Version 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack