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

tencentcloud.getLighthouseAllScene

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const scene = tencentcloud.getLighthouseAllScene({
        limit: 20,
        offset: 0,
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    scene = tencentcloud.get_lighthouse_all_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.GetLighthouseAllScene(ctx, &tencentcloud.GetLighthouseAllSceneArgs{
    			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.GetLighthouseAllScene.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.GetLighthouseAllSceneArgs;
    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.getLighthouseAllScene(GetLighthouseAllSceneArgs.builder()
                .limit(20)
                .offset(0)
                .build());
    
        }
    }
    
    variables:
      scene:
        fn::invoke:
          function: tencentcloud:getLighthouseAllScene
          arguments:
            limit: 20
            offset: 0
    

    Using getLighthouseAllScene

    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 getLighthouseAllScene(args: GetLighthouseAllSceneArgs, opts?: InvokeOptions): Promise<GetLighthouseAllSceneResult>
    function getLighthouseAllSceneOutput(args: GetLighthouseAllSceneOutputArgs, opts?: InvokeOptions): Output<GetLighthouseAllSceneResult>
    def get_lighthouse_all_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) -> GetLighthouseAllSceneResult
    def get_lighthouse_all_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[GetLighthouseAllSceneResult]
    func GetLighthouseAllScene(ctx *Context, args *GetLighthouseAllSceneArgs, opts ...InvokeOption) (*GetLighthouseAllSceneResult, error)
    func GetLighthouseAllSceneOutput(ctx *Context, args *GetLighthouseAllSceneOutputArgs, opts ...InvokeOption) GetLighthouseAllSceneResultOutput

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

    public static class GetLighthouseAllScene 
    {
        public static Task<GetLighthouseAllSceneResult> InvokeAsync(GetLighthouseAllSceneArgs args, InvokeOptions? opts = null)
        public static Output<GetLighthouseAllSceneResult> Invoke(GetLighthouseAllSceneInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLighthouseAllSceneResult> getLighthouseAllScene(GetLighthouseAllSceneArgs args, InvokeOptions options)
    public static Output<GetLighthouseAllSceneResult> getLighthouseAllScene(GetLighthouseAllSceneArgs args, InvokeOptions options)
    
    fn::invoke:
      function: tencentcloud:index/getLighthouseAllScene:getLighthouseAllScene
      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.

    getLighthouseAllScene Result

    The following output properties are available:

    Id string
    SceneSets List<GetLighthouseAllSceneSceneSet>
    List of scene info.
    Limit double
    Offset double
    ResultOutputFile string
    SceneIds List<string>
    Id string
    SceneSets []GetLighthouseAllSceneSceneSet
    List of scene info.
    Limit float64
    Offset float64
    ResultOutputFile string
    SceneIds []string
    id String
    sceneSets List<GetLighthouseAllSceneSceneSet>
    List of scene info.
    limit Double
    offset Double
    resultOutputFile String
    sceneIds List<String>
    id string
    sceneSets GetLighthouseAllSceneSceneSet[]
    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

    GetLighthouseAllSceneSceneSet

    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.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack