1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getLighthouseScene
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack

tencentcloud.getLighthouseScene

Explore with Pulumi AI

Use this data source to query detailed information of lighthouse scene with region

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";

const scene = tencentcloud.getLighthouseScene({
    limit: 20,
    offset: 0,
});
Copy
import pulumi
import pulumi_tencentcloud as tencentcloud

scene = tencentcloud.get_lighthouse_scene(limit=20,
    offset=0)
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.GetLighthouseScene(ctx, &tencentcloud.GetLighthouseSceneArgs{
			Limit:  pulumi.Float64Ref(20),
			Offset: pulumi.Float64Ref(0),
		}, 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 scene = Tencentcloud.GetLighthouseScene.Invoke(new()
    {
        Limit = 20,
        Offset = 0,
    });

});
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.GetLighthouseSceneArgs;
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 scene = TencentcloudFunctions.getLighthouseScene(GetLighthouseSceneArgs.builder()
            .limit(20)
            .offset(0)
            .build());

    }
}
Copy
variables:
  scene:
    fn::invoke:
      function: tencentcloud:getLighthouseScene
      arguments:
        limit: 20
        offset: 0
Copy

Using getLighthouseScene

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 getLighthouseScene(args: GetLighthouseSceneArgs, opts?: InvokeOptions): Promise<GetLighthouseSceneResult>
function getLighthouseSceneOutput(args: GetLighthouseSceneOutputArgs, opts?: InvokeOptions): Output<GetLighthouseSceneResult>
Copy
def get_lighthouse_scene(id: Optional[str] = None,
                         limit: Optional[float] = None,
                         offset: Optional[float] = None,
                         result_output_file: Optional[str] = None,
                         scene_ids: Optional[Sequence[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetLighthouseSceneResult
def get_lighthouse_scene_output(id: Optional[pulumi.Input[str]] = None,
                         limit: Optional[pulumi.Input[float]] = None,
                         offset: Optional[pulumi.Input[float]] = None,
                         result_output_file: Optional[pulumi.Input[str]] = None,
                         scene_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetLighthouseSceneResult]
Copy
func GetLighthouseScene(ctx *Context, args *GetLighthouseSceneArgs, opts ...InvokeOption) (*GetLighthouseSceneResult, error)
func GetLighthouseSceneOutput(ctx *Context, args *GetLighthouseSceneOutputArgs, opts ...InvokeOption) GetLighthouseSceneResultOutput
Copy

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

public static class GetLighthouseScene 
{
    public static Task<GetLighthouseSceneResult> InvokeAsync(GetLighthouseSceneArgs args, InvokeOptions? opts = null)
    public static Output<GetLighthouseSceneResult> Invoke(GetLighthouseSceneInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLighthouseSceneResult> getLighthouseScene(GetLighthouseSceneArgs args, InvokeOptions options)
public static Output<GetLighthouseSceneResult> getLighthouseScene(GetLighthouseSceneArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: tencentcloud:index/getLighthouseScene:getLighthouseScene
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Limit double
Number of returned results. Default value is 20. Maximum value is 100.
Offset double
Offset. Default value is 0.
ResultOutputFile string
Used to save results.
SceneIds List<string>
List of scene IDs.
Id string
Limit float64
Number of returned results. Default value is 20. Maximum value is 100.
Offset float64
Offset. Default value is 0.
ResultOutputFile string
Used to save results.
SceneIds []string
List of scene IDs.
id String
limit Double
Number of returned results. Default value is 20. Maximum value is 100.
offset Double
Offset. Default value is 0.
resultOutputFile String
Used to save results.
sceneIds List<String>
List of scene IDs.
id string
limit number
Number of returned results. Default value is 20. Maximum value is 100.
offset number
Offset. Default value is 0.
resultOutputFile string
Used to save results.
sceneIds string[]
List of scene IDs.
id str
limit float
Number of returned results. Default value is 20. Maximum value is 100.
offset float
Offset. Default value is 0.
result_output_file str
Used to save results.
scene_ids Sequence[str]
List of scene IDs.
id String
limit Number
Number of returned results. Default value is 20. Maximum value is 100.
offset Number
Offset. Default value is 0.
resultOutputFile String
Used to save results.
sceneIds List<String>
List of scene IDs.

getLighthouseScene Result

The following output properties are available:

Id string
SceneSets List<GetLighthouseSceneSceneSet>
List of scene info.
Limit double
Offset double
ResultOutputFile string
SceneIds List<string>
Id string
SceneSets []GetLighthouseSceneSceneSet
List of scene info.
Limit float64
Offset float64
ResultOutputFile string
SceneIds []string
id String
sceneSets List<GetLighthouseSceneSceneSet>
List of scene info.
limit Double
offset Double
resultOutputFile String
sceneIds List<String>
id string
sceneSets GetLighthouseSceneSceneSet[]
List of scene info.
limit number
offset number
resultOutputFile string
sceneIds string[]
id String
sceneSets List<Property Map>
List of scene info.
limit Number
offset Number
resultOutputFile String
sceneIds List<String>

Supporting Types

GetLighthouseSceneSceneSet

Description This property is required. string
Use scene description.
DisplayName This property is required. string
Use the scene presentation name.
SceneId This property is required. string
Use scene Id.
Description This property is required. string
Use scene description.
DisplayName This property is required. string
Use the scene presentation name.
SceneId This property is required. string
Use scene Id.
description This property is required. String
Use scene description.
displayName This property is required. String
Use the scene presentation name.
sceneId This property is required. String
Use scene Id.
description This property is required. string
Use scene description.
displayName This property is required. string
Use the scene presentation name.
sceneId This property is required. string
Use scene Id.
description This property is required. str
Use scene description.
display_name This property is required. str
Use the scene presentation name.
scene_id This property is required. str
Use scene Id.
description This property is required. String
Use scene description.
displayName This property is required. String
Use the scene presentation name.
sceneId This property is required. String
Use scene Id.

Package Details

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