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

tencentcloud.getLighthouseRegion

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 lighthouse region

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const region = tencentcloud.getLighthouseRegion({});
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    region = tencentcloud.get_lighthouse_region()
    
    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.GetLighthouseRegion(ctx, &tencentcloud.GetLighthouseRegionArgs{}, 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 region = Tencentcloud.GetLighthouseRegion.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.GetLighthouseRegionArgs;
    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 region = TencentcloudFunctions.getLighthouseRegion();
    
        }
    }
    
    variables:
      region:
        fn::invoke:
          function: tencentcloud:getLighthouseRegion
          arguments: {}
    

    Using getLighthouseRegion

    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 getLighthouseRegion(args: GetLighthouseRegionArgs, opts?: InvokeOptions): Promise<GetLighthouseRegionResult>
    function getLighthouseRegionOutput(args: GetLighthouseRegionOutputArgs, opts?: InvokeOptions): Output<GetLighthouseRegionResult>
    def get_lighthouse_region(id: Optional[str] = None,
                              result_output_file: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetLighthouseRegionResult
    def get_lighthouse_region_output(id: Optional[pulumi.Input[str]] = None,
                              result_output_file: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetLighthouseRegionResult]
    func GetLighthouseRegion(ctx *Context, args *GetLighthouseRegionArgs, opts ...InvokeOption) (*GetLighthouseRegionResult, error)
    func GetLighthouseRegionOutput(ctx *Context, args *GetLighthouseRegionOutputArgs, opts ...InvokeOption) GetLighthouseRegionResultOutput

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

    public static class GetLighthouseRegion 
    {
        public static Task<GetLighthouseRegionResult> InvokeAsync(GetLighthouseRegionArgs args, InvokeOptions? opts = null)
        public static Output<GetLighthouseRegionResult> Invoke(GetLighthouseRegionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLighthouseRegionResult> getLighthouseRegion(GetLighthouseRegionArgs args, InvokeOptions options)
    public static Output<GetLighthouseRegionResult> getLighthouseRegion(GetLighthouseRegionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getLighthouseRegion:getLighthouseRegion
      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.

    getLighthouseRegion Result

    The following output properties are available:

    Id string
    RegionSets []GetLighthouseRegionRegionSet
    Region information list.
    ResultOutputFile string
    id string
    regionSets GetLighthouseRegionRegionSet[]
    Region information list.
    resultOutputFile string
    id String
    regionSets List<Property Map>
    Region information list.
    resultOutputFile String

    Supporting Types

    GetLighthouseRegionRegionSet

    IsChinaMainland bool
    Whether the region is in the Chinese mainland.
    Region string
    Region name.
    RegionName string
    Region description.
    RegionState string
    Region availability status.
    IsChinaMainland bool
    Whether the region is in the Chinese mainland.
    Region string
    Region name.
    RegionName string
    Region description.
    RegionState string
    Region availability status.
    isChinaMainland Boolean
    Whether the region is in the Chinese mainland.
    region String
    Region name.
    regionName String
    Region description.
    regionState String
    Region availability status.
    isChinaMainland boolean
    Whether the region is in the Chinese mainland.
    region string
    Region name.
    regionName string
    Region description.
    regionState string
    Region availability status.
    is_china_mainland bool
    Whether the region is in the Chinese mainland.
    region str
    Region name.
    region_name str
    Region description.
    region_state str
    Region availability status.
    isChinaMainland Boolean
    Whether the region is in the Chinese mainland.
    region String
    Region name.
    regionName String
    Region description.
    regionState String
    Region availability status.

    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