tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getLighthouseInstanceTrafficPackage
Start a Neo task
Explain and create a tencentcloud.getLighthouseInstanceTrafficPackage resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of lighthouse instance_traffic_package
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const instanceTrafficPackage = tencentcloud.getLighthouseInstanceTrafficPackage({});
import pulumi
import pulumi_tencentcloud as tencentcloud
instance_traffic_package = tencentcloud.get_lighthouse_instance_traffic_package()
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.GetLighthouseInstanceTrafficPackage(ctx, &tencentcloud.GetLighthouseInstanceTrafficPackageArgs{}, 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 instanceTrafficPackage = Tencentcloud.GetLighthouseInstanceTrafficPackage.Invoke();
});
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.GetLighthouseInstanceTrafficPackageArgs;
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 instanceTrafficPackage = TencentcloudFunctions.getLighthouseInstanceTrafficPackage(GetLighthouseInstanceTrafficPackageArgs.builder()
.build());
}
}
variables:
instanceTrafficPackage:
fn::invoke:
function: tencentcloud:getLighthouseInstanceTrafficPackage
arguments: {}
Using getLighthouseInstanceTrafficPackage
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 getLighthouseInstanceTrafficPackage(args: GetLighthouseInstanceTrafficPackageArgs, opts?: InvokeOptions): Promise<GetLighthouseInstanceTrafficPackageResult>
function getLighthouseInstanceTrafficPackageOutput(args: GetLighthouseInstanceTrafficPackageOutputArgs, opts?: InvokeOptions): Output<GetLighthouseInstanceTrafficPackageResult>def get_lighthouse_instance_traffic_package(id: Optional[str] = None,
instance_ids: Optional[Sequence[str]] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLighthouseInstanceTrafficPackageResult
def get_lighthouse_instance_traffic_package_output(id: Optional[pulumi.Input[str]] = None,
instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLighthouseInstanceTrafficPackageResult]func GetLighthouseInstanceTrafficPackage(ctx *Context, args *GetLighthouseInstanceTrafficPackageArgs, opts ...InvokeOption) (*GetLighthouseInstanceTrafficPackageResult, error)
func GetLighthouseInstanceTrafficPackageOutput(ctx *Context, args *GetLighthouseInstanceTrafficPackageOutputArgs, opts ...InvokeOption) GetLighthouseInstanceTrafficPackageResultOutput> Note: This function is named GetLighthouseInstanceTrafficPackage in the Go SDK.
public static class GetLighthouseInstanceTrafficPackage
{
public static Task<GetLighthouseInstanceTrafficPackageResult> InvokeAsync(GetLighthouseInstanceTrafficPackageArgs args, InvokeOptions? opts = null)
public static Output<GetLighthouseInstanceTrafficPackageResult> Invoke(GetLighthouseInstanceTrafficPackageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetLighthouseInstanceTrafficPackageResult> getLighthouseInstanceTrafficPackage(GetLighthouseInstanceTrafficPackageArgs args, InvokeOptions options)
public static Output<GetLighthouseInstanceTrafficPackageResult> getLighthouseInstanceTrafficPackage(GetLighthouseInstanceTrafficPackageArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getLighthouseInstanceTrafficPackage:getLighthouseInstanceTrafficPackage
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Instance
Ids List<string> - Instance ID list.
- Limit double
- Number of returned results. Default value is 20. Maximum value is 100.
- Offset double
- Offset. Default value is 0.
- Result
Output stringFile - Used to save results.
- Id string
- Instance
Ids []string - Instance ID list.
- Limit float64
- Number of returned results. Default value is 20. Maximum value is 100.
- Offset float64
- Offset. Default value is 0.
- Result
Output stringFile - Used to save results.
- id String
- instance
Ids List<String> - Instance ID list.
- limit Double
- Number of returned results. Default value is 20. Maximum value is 100.
- offset Double
- Offset. Default value is 0.
- result
Output StringFile - Used to save results.
- id string
- instance
Ids string[] - Instance ID list.
- limit number
- Number of returned results. Default value is 20. Maximum value is 100.
- offset number
- Offset. Default value is 0.
- result
Output stringFile - Used to save results.
- id str
- instance_
ids Sequence[str] - Instance ID list.
- limit float
- Number of returned results. Default value is 20. Maximum value is 100.
- offset float
- Offset. Default value is 0.
- result_
output_ strfile - Used to save results.
- id String
- instance
Ids List<String> - Instance ID list.
- limit Number
- Number of returned results. Default value is 20. Maximum value is 100.
- offset Number
- Offset. Default value is 0.
- result
Output StringFile - Used to save results.
getLighthouseInstanceTrafficPackage Result
The following output properties are available:
- Id string
- Instance
Traffic List<GetPackage Sets Lighthouse Instance Traffic Package Instance Traffic Package Set> - List of details of instance traffic packages.
- Instance
Ids List<string> - Limit double
- Offset double
- Result
Output stringFile
- Id string
- Instance
Traffic []GetPackage Sets Lighthouse Instance Traffic Package Instance Traffic Package Set - List of details of instance traffic packages.
- Instance
Ids []string - Limit float64
- Offset float64
- Result
Output stringFile
- id String
- instance
Traffic List<GetPackage Sets Lighthouse Instance Traffic Package Instance Traffic Package Set> - List of details of instance traffic packages.
- instance
Ids List<String> - limit Double
- offset Double
- result
Output StringFile
- id string
- instance
Traffic GetPackage Sets Lighthouse Instance Traffic Package Instance Traffic Package Set[] - List of details of instance traffic packages.
- instance
Ids string[] - limit number
- offset number
- result
Output stringFile
- id str
- instance_
traffic_ Sequence[Getpackage_ sets Lighthouse Instance Traffic Package Instance Traffic Package Set] - List of details of instance traffic packages.
- instance_
ids Sequence[str] - limit float
- offset float
- result_
output_ strfile
- id String
- instance
Traffic List<Property Map>Package Sets - List of details of instance traffic packages.
- instance
Ids List<String> - limit Number
- offset Number
- result
Output StringFile
Supporting Types
GetLighthouseInstanceTrafficPackageInstanceTrafficPackageSet
- Instance
Id string - Instance ID.
- Traffic
Package List<GetSets Lighthouse Instance Traffic Package Instance Traffic Package Set Traffic Package Set> - List of traffic package details.
- Instance
Id string - Instance ID.
- Traffic
Package []GetSets Lighthouse Instance Traffic Package Instance Traffic Package Set Traffic Package Set - List of traffic package details.
- instance
Id String - Instance ID.
- traffic
Package List<GetSets Lighthouse Instance Traffic Package Instance Traffic Package Set Traffic Package Set> - List of traffic package details.
- instance
Id string - Instance ID.
- traffic
Package GetSets Lighthouse Instance Traffic Package Instance Traffic Package Set Traffic Package Set[] - List of traffic package details.
- instance_
id str - Instance ID.
- traffic_
package_ Sequence[Getsets Lighthouse Instance Traffic Package Instance Traffic Package Set Traffic Package Set] - List of traffic package details.
- instance
Id String - Instance ID.
- traffic
Package List<Property Map>Sets - List of traffic package details.
GetLighthouseInstanceTrafficPackageInstanceTrafficPackageSetTrafficPackageSet
- Deadline string
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- End
Time string - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- Start
Time string - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- Status string
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - Traffic
Overflow double - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- Traffic
Package stringId - Traffic packet ID.
- Traffic
Package doubleRemaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- Traffic
Package doubleTotal - The total traffic in bytes during the effective period of the traffic packet.
- Traffic
Used double - Traffic has been used during the effective period of the traffic packet, in bytes.
- Deadline string
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- End
Time string - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- Start
Time string - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- Status string
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - Traffic
Overflow float64 - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- Traffic
Package stringId - Traffic packet ID.
- Traffic
Package float64Remaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- Traffic
Package float64Total - The total traffic in bytes during the effective period of the traffic packet.
- Traffic
Used float64 - Traffic has been used during the effective period of the traffic packet, in bytes.
- deadline String
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- end
Time String - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- start
Time String - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- status String
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - traffic
Overflow Double - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- traffic
Package StringId - Traffic packet ID.
- traffic
Package DoubleRemaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- traffic
Package DoubleTotal - The total traffic in bytes during the effective period of the traffic packet.
- traffic
Used Double - Traffic has been used during the effective period of the traffic packet, in bytes.
- deadline string
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- end
Time string - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- start
Time string - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- status string
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - traffic
Overflow number - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- traffic
Package stringId - Traffic packet ID.
- traffic
Package numberRemaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- traffic
Package numberTotal - The total traffic in bytes during the effective period of the traffic packet.
- traffic
Used number - Traffic has been used during the effective period of the traffic packet, in bytes.
- deadline str
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- end_
time str - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- start_
time str - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- status str
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - traffic_
overflow float - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- traffic_
package_ strid - Traffic packet ID.
- traffic_
package_ floatremaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- traffic_
package_ floattotal - The total traffic in bytes during the effective period of the traffic packet.
- traffic_
used float - Traffic has been used during the effective period of the traffic packet, in bytes.
- deadline String
- The expiration time of the traffic package. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ..
- end
Time String - The end time of the effective period of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- start
Time String - The start time of the effective cycle of the traffic packet. Expressed according to the ISO8601 standard, and using UTC time. The format is YYYY-MM-DDThh:mm:ssZ.
- status String
- Traffic packet status:-
NETWORK_NORMAL: normal.-OVERDUE_NETWORK_DISABLED: network disconnection due to arrears. - traffic
Overflow Number - The amount of traffic that exceeds the quota of the traffic packet during the effective period of the traffic packet, in bytes.
- traffic
Package StringId - Traffic packet ID.
- traffic
Package NumberRemaining - The remaining traffic during the effective period of the traffic packet, in bytes.
- traffic
Package NumberTotal - The total traffic in bytes during the effective period of the traffic packet.
- traffic
Used Number - Traffic has been used during the effective period of the traffic packet, in bytes.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
