1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getGaapRegionAndPrice
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.getGaapRegionAndPrice

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Use this data source to query detailed information of gaap region and price

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const regionAndPrice = tencentcloud.getGaapRegionAndPrice({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    region_and_price = tencentcloud.get_gaap_region_and_price()
    
    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.GetGaapRegionAndPrice(ctx, &tencentcloud.GetGaapRegionAndPriceArgs{}, 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 regionAndPrice = Tencentcloud.GetGaapRegionAndPrice.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.GetGaapRegionAndPriceArgs;
    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 regionAndPrice = TencentcloudFunctions.getGaapRegionAndPrice();
    
        }
    }
    
    variables:
      regionAndPrice:
        fn::invoke:
          function: tencentcloud:getGaapRegionAndPrice
          arguments: {}
    

    Using getGaapRegionAndPrice

    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 getGaapRegionAndPrice(args: GetGaapRegionAndPriceArgs, opts?: InvokeOptions): Promise<GetGaapRegionAndPriceResult>
    function getGaapRegionAndPriceOutput(args: GetGaapRegionAndPriceOutputArgs, opts?: InvokeOptions): Output<GetGaapRegionAndPriceResult>
    def get_gaap_region_and_price(id: Optional[str] = None,
                                  ip_address_version: Optional[str] = None,
                                  package_type: Optional[str] = None,
                                  result_output_file: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetGaapRegionAndPriceResult
    def get_gaap_region_and_price_output(id: Optional[pulumi.Input[str]] = None,
                                  ip_address_version: 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[GetGaapRegionAndPriceResult]
    func GetGaapRegionAndPrice(ctx *Context, args *GetGaapRegionAndPriceArgs, opts ...InvokeOption) (*GetGaapRegionAndPriceResult, error)
    func GetGaapRegionAndPriceOutput(ctx *Context, args *GetGaapRegionAndPriceOutputArgs, opts ...InvokeOption) GetGaapRegionAndPriceResultOutput

    > Note: This function is named GetGaapRegionAndPrice in the Go SDK.

    public static class GetGaapRegionAndPrice 
    {
        public static Task<GetGaapRegionAndPriceResult> InvokeAsync(GetGaapRegionAndPriceArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapRegionAndPriceResult> Invoke(GetGaapRegionAndPriceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapRegionAndPriceResult> getGaapRegionAndPrice(GetGaapRegionAndPriceArgs args, InvokeOptions options)
    public static Output<GetGaapRegionAndPriceResult> getGaapRegionAndPrice(GetGaapRegionAndPriceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapRegionAndPrice:getGaapRegionAndPrice
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    IpAddressVersion string
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    PackageType string
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    ResultOutputFile string
    Used to save results.
    Id string
    IpAddressVersion string
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    PackageType string
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    ResultOutputFile string
    Used to save results.
    id String
    ipAddressVersion String
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    packageType String
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    resultOutputFile String
    Used to save results.
    id string
    ipAddressVersion string
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    packageType string
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    resultOutputFile string
    Used to save results.
    id str
    ip_address_version str
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    package_type str
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    result_output_file str
    Used to save results.
    id String
    ipAddressVersion String
    IP version. Available values: IPv4, IPv6. Default is IPv4.
    packageType String
    Type of channel package. Thunder represents standard channel group, Accelerator represents game accelerator channel, and CrossBorder represents cross-border channel.
    resultOutputFile String
    Used to save results.

    getGaapRegionAndPrice Result

    The following output properties are available:

    BandwidthUnitPrices List<GetGaapRegionAndPriceBandwidthUnitPrice>
    Band width Unit Price, Unit:yuan/Mbps/day.
    Currency string
    Bandwidth Price Currency Type:CNYUSD.
    DestRegionSets List<GetGaapRegionAndPriceDestRegionSet>
    Source Site Area Details List.
    Id string
    IpAddressVersion string
    PackageType string
    ResultOutputFile string
    BandwidthUnitPrices []GetGaapRegionAndPriceBandwidthUnitPrice
    Band width Unit Price, Unit:yuan/Mbps/day.
    Currency string
    Bandwidth Price Currency Type:CNYUSD.
    DestRegionSets []GetGaapRegionAndPriceDestRegionSet
    Source Site Area Details List.
    Id string
    IpAddressVersion string
    PackageType string
    ResultOutputFile string
    bandwidthUnitPrices List<GetGaapRegionAndPriceBandwidthUnitPrice>
    Band width Unit Price, Unit:yuan/Mbps/day.
    currency String
    Bandwidth Price Currency Type:CNYUSD.
    destRegionSets List<GetGaapRegionAndPriceDestRegionSet>
    Source Site Area Details List.
    id String
    ipAddressVersion String
    packageType String
    resultOutputFile String
    bandwidthUnitPrices GetGaapRegionAndPriceBandwidthUnitPrice[]
    Band width Unit Price, Unit:yuan/Mbps/day.
    currency string
    Bandwidth Price Currency Type:CNYUSD.
    destRegionSets GetGaapRegionAndPriceDestRegionSet[]
    Source Site Area Details List.
    id string
    ipAddressVersion string
    packageType string
    resultOutputFile string
    bandwidth_unit_prices Sequence[GetGaapRegionAndPriceBandwidthUnitPrice]
    Band width Unit Price, Unit:yuan/Mbps/day.
    currency str
    Bandwidth Price Currency Type:CNYUSD.
    dest_region_sets Sequence[GetGaapRegionAndPriceDestRegionSet]
    Source Site Area Details List.
    id str
    ip_address_version str
    package_type str
    result_output_file str
    bandwidthUnitPrices List<Property Map>
    Band width Unit Price, Unit:yuan/Mbps/day.
    currency String
    Bandwidth Price Currency Type:CNYUSD.
    destRegionSets List<Property Map>
    Source Site Area Details List.
    id String
    ipAddressVersion String
    packageType String
    resultOutputFile String

    Supporting Types

    GetGaapRegionAndPriceBandwidthUnitPrice

    BandwidthRanges List<double>
    Band width Range.
    BandwidthUnitPrice double
    Band width Unit Price, Unit:yuan/Mbps/day.
    DiscountBandwidthUnitPrice double
    Bandwidth discount price, unit:yuan/Mbps/day.
    BandwidthRanges []float64
    Band width Range.
    BandwidthUnitPrice float64
    Band width Unit Price, Unit:yuan/Mbps/day.
    DiscountBandwidthUnitPrice float64
    Bandwidth discount price, unit:yuan/Mbps/day.
    bandwidthRanges List<Double>
    Band width Range.
    bandwidthUnitPrice Double
    Band width Unit Price, Unit:yuan/Mbps/day.
    discountBandwidthUnitPrice Double
    Bandwidth discount price, unit:yuan/Mbps/day.
    bandwidthRanges number[]
    Band width Range.
    bandwidthUnitPrice number
    Band width Unit Price, Unit:yuan/Mbps/day.
    discountBandwidthUnitPrice number
    Bandwidth discount price, unit:yuan/Mbps/day.
    bandwidth_ranges Sequence[float]
    Band width Range.
    bandwidth_unit_price float
    Band width Unit Price, Unit:yuan/Mbps/day.
    discount_bandwidth_unit_price float
    Bandwidth discount price, unit:yuan/Mbps/day.
    bandwidthRanges List<Number>
    Band width Range.
    bandwidthUnitPrice Number
    Band width Unit Price, Unit:yuan/Mbps/day.
    discountBandwidthUnitPrice Number
    Bandwidth discount price, unit:yuan/Mbps/day.

    GetGaapRegionAndPriceDestRegionSet

    FeatureBitmap double
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    IdcType string
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    RegionArea string
    Region of the computer room.
    RegionAreaName string
    Region name of the computer room.
    RegionId string
    Region Id.
    RegionName string
    Region Name.
    SupportFeatures List<GetGaapRegionAndPriceDestRegionSetSupportFeature>
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.
    FeatureBitmap float64
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    IdcType string
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    RegionArea string
    Region of the computer room.
    RegionAreaName string
    Region name of the computer room.
    RegionId string
    Region Id.
    RegionName string
    Region Name.
    SupportFeatures []GetGaapRegionAndPriceDestRegionSetSupportFeature
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.
    featureBitmap Double
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    idcType String
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    regionArea String
    Region of the computer room.
    regionAreaName String
    Region name of the computer room.
    regionId String
    Region Id.
    regionName String
    Region Name.
    supportFeatures List<GetGaapRegionAndPriceDestRegionSetSupportFeature>
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.
    featureBitmap number
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    idcType string
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    regionArea string
    Region of the computer room.
    regionAreaName string
    Region name of the computer room.
    regionId string
    Region Id.
    regionName string
    Region Name.
    supportFeatures GetGaapRegionAndPriceDestRegionSetSupportFeature[]
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.
    feature_bitmap float
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    idc_type str
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    region_area str
    Region of the computer room.
    region_area_name str
    Region name of the computer room.
    region_id str
    Region Id.
    region_name str
    Region Name.
    support_features Sequence[GetGaapRegionAndPriceDestRegionSetSupportFeature]
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.
    featureBitmap Number
    Property bitmap, where each bit represents a property, where:0, indicates that the feature is not supported;1, indicates support for this feature.The meaning of the feature bitmap is as follows (from right to left):The first bit supports 4-layer acceleration;The second bit supports 7-layer acceleration;The third bit supports Http3 access;The fourth bit supports IPv6;The fifth bit supports high-quality BGP access;The 6th bit supports three network access;The 7th bit supports QoS acceleration in the access segment.Note: This field may return null, indicating that a valid value cannot be obtained.
    idcType String
    Type of computer room, dc represents DataCenter data center, ec represents EdgeComputing edge node.
    regionArea String
    Region of the computer room.
    regionAreaName String
    Region name of the computer room.
    regionId String
    Region Id.
    regionName String
    Region Name.
    supportFeatures List<Property Map>
    Ability to access regional supportNote: This field may return null, indicating that a valid value cannot be obtained.

    GetGaapRegionAndPriceDestRegionSetSupportFeature

    NetworkTypes List<string>
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.
    NetworkTypes []string
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.
    networkTypes List<String>
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.
    networkTypes string[]
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.
    network_types Sequence[str]
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.
    networkTypes List<String>
    A list of network types supported by the access area, with normal indicating support for regular BGP, cn2 indicating premium BGP, triple indicating three networks, and secure_eip represents a custom secure EIP.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack