1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getLighthouseRegion
tencentcloud 1.81.182 published on Monday, Apr 14, 2025 by tencentcloudstack

tencentcloud.getLighthouseRegion

Explore with Pulumi AI

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({});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

region = tencentcloud.get_lighthouse_region()
Copy
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
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;

return await Deployment.RunAsync(() => 
{
    var region = Tencentcloud.GetLighthouseRegion.Invoke();

});
Copy
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();

    }
}
Copy
variables:
  region:
    fn::invoke:
      function: tencentcloud:getLighthouseRegion
      arguments: {}
Copy

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>
Copy
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]
Copy
func GetLighthouseRegion(ctx *Context, args *GetLighthouseRegionArgs, opts ...InvokeOption) (*GetLighthouseRegionResult, error)
func GetLighthouseRegionOutput(ctx *Context, args *GetLighthouseRegionOutputArgs, opts ...InvokeOption) GetLighthouseRegionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetLighthouseRegionResult> getLighthouseRegion(GetLighthouseRegionArgs args, InvokeOptions options)
public static Output<GetLighthouseRegionResult> getLighthouseRegion(GetLighthouseRegionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getLighthouseRegion:getLighthouseRegion
  arguments:
    # arguments dictionary
Copy

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 This property is required. bool
Whether the region is in the Chinese mainland.
Region This property is required. string
Region name.
RegionName This property is required. string
Region description.
RegionState This property is required. string
Region availability status.
IsChinaMainland This property is required. bool
Whether the region is in the Chinese mainland.
Region This property is required. string
Region name.
RegionName This property is required. string
Region description.
RegionState This property is required. string
Region availability status.
isChinaMainland This property is required. Boolean
Whether the region is in the Chinese mainland.
region This property is required. String
Region name.
regionName This property is required. String
Region description.
regionState This property is required. String
Region availability status.
isChinaMainland This property is required. boolean
Whether the region is in the Chinese mainland.
region This property is required. string
Region name.
regionName This property is required. string
Region description.
regionState This property is required. string
Region availability status.
is_china_mainland This property is required. bool
Whether the region is in the Chinese mainland.
region This property is required. str
Region name.
region_name This property is required. str
Region description.
region_state This property is required. str
Region availability status.
isChinaMainland This property is required. Boolean
Whether the region is in the Chinese mainland.
region This property is required. String
Region name.
regionName This property is required. String
Region description.
regionState This property is required. String
Region availability status.

Package Details

Repository
tencentcloud tencentcloudstack/terraform-provider-tencentcloud
License
Notes
This Pulumi package is based on the tencentcloud Terraform Provider.