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

tencentcloud.getGaapCountryAreaMapping

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 country area mapping

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const countryAreaMapping = tencentcloud.getGaapCountryAreaMapping({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    country_area_mapping = tencentcloud.get_gaap_country_area_mapping()
    
    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.GetGaapCountryAreaMapping(ctx, &tencentcloud.GetGaapCountryAreaMappingArgs{}, 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 countryAreaMapping = Tencentcloud.GetGaapCountryAreaMapping.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.GetGaapCountryAreaMappingArgs;
    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 countryAreaMapping = TencentcloudFunctions.getGaapCountryAreaMapping();
    
        }
    }
    
    variables:
      countryAreaMapping:
        fn::invoke:
          function: tencentcloud:getGaapCountryAreaMapping
          arguments: {}
    

    Using getGaapCountryAreaMapping

    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 getGaapCountryAreaMapping(args: GetGaapCountryAreaMappingArgs, opts?: InvokeOptions): Promise<GetGaapCountryAreaMappingResult>
    function getGaapCountryAreaMappingOutput(args: GetGaapCountryAreaMappingOutputArgs, opts?: InvokeOptions): Output<GetGaapCountryAreaMappingResult>
    def get_gaap_country_area_mapping(id: Optional[str] = None,
                                      result_output_file: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetGaapCountryAreaMappingResult
    def get_gaap_country_area_mapping_output(id: Optional[pulumi.Input[str]] = None,
                                      result_output_file: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetGaapCountryAreaMappingResult]
    func GetGaapCountryAreaMapping(ctx *Context, args *GetGaapCountryAreaMappingArgs, opts ...InvokeOption) (*GetGaapCountryAreaMappingResult, error)
    func GetGaapCountryAreaMappingOutput(ctx *Context, args *GetGaapCountryAreaMappingOutputArgs, opts ...InvokeOption) GetGaapCountryAreaMappingResultOutput

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

    public static class GetGaapCountryAreaMapping 
    {
        public static Task<GetGaapCountryAreaMappingResult> InvokeAsync(GetGaapCountryAreaMappingArgs args, InvokeOptions? opts = null)
        public static Output<GetGaapCountryAreaMappingResult> Invoke(GetGaapCountryAreaMappingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetGaapCountryAreaMappingResult> getGaapCountryAreaMapping(GetGaapCountryAreaMappingArgs args, InvokeOptions options)
    public static Output<GetGaapCountryAreaMappingResult> getGaapCountryAreaMapping(GetGaapCountryAreaMappingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getGaapCountryAreaMapping:getGaapCountryAreaMapping
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    ResultOutputFile string
    Used to save results.
    Id string
    ResultOutputFile string
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.
    id string
    resultOutputFile string
    Used to save results.
    id str
    result_output_file str
    Used to save results.
    id String
    resultOutputFile String
    Used to save results.

    getGaapCountryAreaMapping Result

    The following output properties are available:

    countryAreaMappingLists List<Property Map>
    Country/region code mapping table.
    id String
    resultOutputFile String

    Supporting Types

    GetGaapCountryAreaMappingCountryAreaMappingList

    ContinentInnerCode string
    Continental Code.
    ContinentName string
    The name of the continent.
    GeographicalZoneInnerCode string
    Region code.
    GeographicalZoneName string
    Region name.
    NationCountryInnerCode string
    Country code.
    NationCountryName string
    Country name.
    Remark string
    Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained.
    ContinentInnerCode string
    Continental Code.
    ContinentName string
    The name of the continent.
    GeographicalZoneInnerCode string
    Region code.
    GeographicalZoneName string
    Region name.
    NationCountryInnerCode string
    Country code.
    NationCountryName string
    Country name.
    Remark string
    Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained.
    continentInnerCode String
    Continental Code.
    continentName String
    The name of the continent.
    geographicalZoneInnerCode String
    Region code.
    geographicalZoneName String
    Region name.
    nationCountryInnerCode String
    Country code.
    nationCountryName String
    Country name.
    remark String
    Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained.
    continentInnerCode string
    Continental Code.
    continentName string
    The name of the continent.
    geographicalZoneInnerCode string
    Region code.
    geographicalZoneName string
    Region name.
    nationCountryInnerCode string
    Country code.
    nationCountryName string
    Country name.
    remark string
    Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained.
    continent_inner_code str
    Continental Code.
    continent_name str
    The name of the continent.
    geographical_zone_inner_code str
    Region code.
    geographical_zone_name str
    Region name.
    nation_country_inner_code str
    Country code.
    nation_country_name str
    Country name.
    remark str
    Annotation InformationNote: This field may return null, indicating that a valid value cannot be obtained.
    continentInnerCode String
    Continental Code.
    continentName String
    The name of the continent.
    geographicalZoneInnerCode String
    Region code.
    geographicalZoneName String
    Region name.
    nationCountryInnerCode String
    Country code.
    nationCountryName String
    Country name.
    remark String
    Annotation InformationNote: 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 logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack