tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
tencentcloud.getLighthouseZone
Start a Neo task
Explain and create a tencentcloud.getLighthouseZone resource
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
Use this data source to query detailed information of lighthouse zone
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const zone = tencentcloud.getLighthouseZone({
orderField: "ZONE",
order: "ASC",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
zone = tencentcloud.get_lighthouse_zone(order_field="ZONE",
order="ASC")
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.GetLighthouseZone(ctx, &tencentcloud.GetLighthouseZoneArgs{
OrderField: pulumi.StringRef("ZONE"),
Order: pulumi.StringRef("ASC"),
}, 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 zone = Tencentcloud.GetLighthouseZone.Invoke(new()
{
OrderField = "ZONE",
Order = "ASC",
});
});
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.GetLighthouseZoneArgs;
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 zone = TencentcloudFunctions.getLighthouseZone(GetLighthouseZoneArgs.builder()
.orderField("ZONE")
.order("ASC")
.build());
}
}
variables:
zone:
fn::invoke:
function: tencentcloud:getLighthouseZone
arguments:
orderField: ZONE
order: ASC
Using getLighthouseZone
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 getLighthouseZone(args: GetLighthouseZoneArgs, opts?: InvokeOptions): Promise<GetLighthouseZoneResult>
function getLighthouseZoneOutput(args: GetLighthouseZoneOutputArgs, opts?: InvokeOptions): Output<GetLighthouseZoneResult>def get_lighthouse_zone(id: Optional[str] = None,
order: Optional[str] = None,
order_field: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLighthouseZoneResult
def get_lighthouse_zone_output(id: Optional[pulumi.Input[str]] = None,
order: Optional[pulumi.Input[str]] = None,
order_field: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLighthouseZoneResult]func GetLighthouseZone(ctx *Context, args *GetLighthouseZoneArgs, opts ...InvokeOption) (*GetLighthouseZoneResult, error)
func GetLighthouseZoneOutput(ctx *Context, args *GetLighthouseZoneOutputArgs, opts ...InvokeOption) GetLighthouseZoneResultOutput> Note: This function is named GetLighthouseZone in the Go SDK.
public static class GetLighthouseZone
{
public static Task<GetLighthouseZoneResult> InvokeAsync(GetLighthouseZoneArgs args, InvokeOptions? opts = null)
public static Output<GetLighthouseZoneResult> Invoke(GetLighthouseZoneInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLighthouseZoneResult> getLighthouseZone(GetLighthouseZoneArgs args, InvokeOptions options)
public static Output<GetLighthouseZoneResult> getLighthouseZone(GetLighthouseZoneArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getLighthouseZone:getLighthouseZone
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Order string
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- Order
Field string - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- Result
Output stringFile - Used to save results.
- Id string
- Order string
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- Order
Field string - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- Result
Output stringFile - Used to save results.
- id String
- order String
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- order
Field String - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- result
Output StringFile - Used to save results.
- id string
- order string
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- order
Field string - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- result
Output stringFile - Used to save results.
- id str
- order str
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- order_
field str - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- result_
output_ strfile - Used to save results.
- id String
- order String
- Specifies how availability zones are listed. Valid values:
- ASC: Ascending sort.
- DESC: Descending sort. The default value is ASC.
- order
Field String - Sorting field. Valid values:
- ZONE: Sort by the availability zone.
- INSTANCE_DISPLAY_LABEL: Sort by visibility labels (HIDDEN, NORMAL and SELECTED). Default: [HIDDEN, NORMAL, SELECTED]. Sort by availability zone by default.
- result
Output StringFile - Used to save results.
getLighthouseZone Result
The following output properties are available:
- Id string
- Zone
Info List<GetSets Lighthouse Zone Zone Info Set> - List of zone info.
- Order string
- Order
Field string - Result
Output stringFile
- Id string
- Zone
Info []GetSets Lighthouse Zone Zone Info Set - List of zone info.
- Order string
- Order
Field string - Result
Output stringFile
- id String
- zone
Info List<GetSets Lighthouse Zone Zone Info Set> - List of zone info.
- order String
- order
Field String - result
Output StringFile
- id string
- zone
Info GetSets Lighthouse Zone Zone Info Set[] - List of zone info.
- order string
- order
Field string - result
Output stringFile
- id str
- zone_
info_ Sequence[Getsets Lighthouse Zone Zone Info Set] - List of zone info.
- order str
- order_
field str - result_
output_ strfile
- id String
- zone
Info List<Property Map>Sets - List of zone info.
- order String
- order
Field String - result
Output StringFile
Supporting Types
GetLighthouseZoneZoneInfoSet
- Instance
Display stringLabel - Instance purchase page availability zone display label.
- Zone string
- Availability zone.
- Zone
Name string - Chinese name of availability zone.
- Instance
Display stringLabel - Instance purchase page availability zone display label.
- Zone string
- Availability zone.
- Zone
Name string - Chinese name of availability zone.
- instance
Display StringLabel - Instance purchase page availability zone display label.
- zone String
- Availability zone.
- zone
Name String - Chinese name of availability zone.
- instance
Display stringLabel - Instance purchase page availability zone display label.
- zone string
- Availability zone.
- zone
Name string - Chinese name of availability zone.
- instance_
display_ strlabel - Instance purchase page availability zone display label.
- zone str
- Availability zone.
- zone_
name str - Chinese name of availability zone.
- instance
Display StringLabel - Instance purchase page availability zone display label.
- zone String
- Availability zone.
- zone
Name String - Chinese name of availability zone.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.34 published on Wednesday, Nov 5, 2025 by tencentcloudstack
