1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. getLighthouseScene
tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack

tencentcloud.getLighthouseScene

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack

    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,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    scene = tencentcloud.get_lighthouse_scene(limit=20,
        offset=0)
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      scene:
        fn::invoke:
          function: tencentcloud:getLighthouseScene
          arguments:
            limit: 20
            offset: 0
    

    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>
    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]
    func GetLighthouseScene(ctx *Context, args *GetLighthouseSceneArgs, opts ...InvokeOption) (*GetLighthouseSceneResult, error)
    func GetLighthouseSceneOutput(ctx *Context, args *GetLighthouseSceneOutputArgs, opts ...InvokeOption) GetLighthouseSceneResultOutput

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

    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 string
    Use scene description.
    DisplayName string
    Use the scene presentation name.
    SceneId string
    Use scene Id.
    Description string
    Use scene description.
    DisplayName string
    Use the scene presentation name.
    SceneId string
    Use scene Id.
    description String
    Use scene description.
    displayName String
    Use the scene presentation name.
    sceneId String
    Use scene Id.
    description string
    Use scene description.
    displayName string
    Use the scene presentation name.
    sceneId string
    Use scene Id.
    description str
    Use scene description.
    display_name str
    Use the scene presentation name.
    scene_id str
    Use scene Id.
    description String
    Use scene description.
    displayName String
    Use the scene presentation name.
    sceneId String
    Use scene Id.

    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.191 published on Friday, May 9, 2025 by tencentcloudstack