tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getLighthouseFirewallRulesTemplate
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of lighthouse firewall_rules_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const firewallRulesTemplate = tencentcloud.getLighthouseFirewallRulesTemplate({});
import pulumi
import pulumi_tencentcloud as tencentcloud
firewall_rules_template = tencentcloud.get_lighthouse_firewall_rules_template()
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.GetLighthouseFirewallRulesTemplate(ctx, &tencentcloud.GetLighthouseFirewallRulesTemplateArgs{}, 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 firewallRulesTemplate = Tencentcloud.GetLighthouseFirewallRulesTemplate.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.GetLighthouseFirewallRulesTemplateArgs;
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 firewallRulesTemplate = TencentcloudFunctions.getLighthouseFirewallRulesTemplate();
}
}
variables:
firewallRulesTemplate:
fn::invoke:
function: tencentcloud:getLighthouseFirewallRulesTemplate
arguments: {}
Using getLighthouseFirewallRulesTemplate
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 getLighthouseFirewallRulesTemplate(args: GetLighthouseFirewallRulesTemplateArgs, opts?: InvokeOptions): Promise<GetLighthouseFirewallRulesTemplateResult>
function getLighthouseFirewallRulesTemplateOutput(args: GetLighthouseFirewallRulesTemplateOutputArgs, opts?: InvokeOptions): Output<GetLighthouseFirewallRulesTemplateResult>
def get_lighthouse_firewall_rules_template(id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLighthouseFirewallRulesTemplateResult
def get_lighthouse_firewall_rules_template_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLighthouseFirewallRulesTemplateResult]
func GetLighthouseFirewallRulesTemplate(ctx *Context, args *GetLighthouseFirewallRulesTemplateArgs, opts ...InvokeOption) (*GetLighthouseFirewallRulesTemplateResult, error)
func GetLighthouseFirewallRulesTemplateOutput(ctx *Context, args *GetLighthouseFirewallRulesTemplateOutputArgs, opts ...InvokeOption) GetLighthouseFirewallRulesTemplateResultOutput
> Note: This function is named GetLighthouseFirewallRulesTemplate
in the Go SDK.
public static class GetLighthouseFirewallRulesTemplate
{
public static Task<GetLighthouseFirewallRulesTemplateResult> InvokeAsync(GetLighthouseFirewallRulesTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetLighthouseFirewallRulesTemplateResult> Invoke(GetLighthouseFirewallRulesTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLighthouseFirewallRulesTemplateResult> getLighthouseFirewallRulesTemplate(GetLighthouseFirewallRulesTemplateArgs args, InvokeOptions options)
public static Output<GetLighthouseFirewallRulesTemplateResult> getLighthouseFirewallRulesTemplate(GetLighthouseFirewallRulesTemplateArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getLighthouseFirewallRulesTemplate:getLighthouseFirewallRulesTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Result
Output stringFile - Used to save results.
- Id string
- Result
Output stringFile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
- id string
- result
Output stringFile - Used to save results.
- id str
- result_
output_ strfile - Used to save results.
- id String
- result
Output StringFile - Used to save results.
getLighthouseFirewallRulesTemplate Result
The following output properties are available:
- Firewall
Rule List<GetSets Lighthouse Firewall Rules Template Firewall Rule Set> - Firewall rule details list.
- Id string
- Result
Output stringFile
- Firewall
Rule []GetSets Lighthouse Firewall Rules Template Firewall Rule Set - Firewall rule details list.
- Id string
- Result
Output stringFile
- firewall
Rule List<GetSets Lighthouse Firewall Rules Template Firewall Rule Set> - Firewall rule details list.
- id String
- result
Output StringFile
- firewall
Rule GetSets Lighthouse Firewall Rules Template Firewall Rule Set[] - Firewall rule details list.
- id string
- result
Output stringFile
- firewall_
rule_ Sequence[Getsets Lighthouse Firewall Rules Template Firewall Rule Set] - Firewall rule details list.
- id str
- result_
output_ strfile
- firewall
Rule List<Property Map>Sets - Firewall rule details list.
- id String
- result
Output StringFile
Supporting Types
GetLighthouseFirewallRulesTemplateFirewallRuleSet
- Action string
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- App
Type string - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- Cidr
Block string - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- Firewall
Rule stringDescription - Firewall rule description.
- Port string
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- Protocol string
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
- Action string
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- App
Type string - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- Cidr
Block string - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- Firewall
Rule stringDescription - Firewall rule description.
- Port string
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- Protocol string
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
- action String
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- app
Type String - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- cidr
Block String - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- firewall
Rule StringDescription - Firewall rule description.
- port String
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- protocol String
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
- action string
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- app
Type string - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- cidr
Block string - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- firewall
Rule stringDescription - Firewall rule description.
- port string
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- protocol string
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
- action str
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- app_
type str - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- cidr_
block str - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- firewall_
rule_ strdescription - Firewall rule description.
- port str
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- protocol str
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
- action String
- Valid values are (ACCEPT, DROP). Default value is ACCEPT.
- app
Type String - Application type. Valid values are custom, HTTP (80), HTTPS (443), Linux login (22), Windows login (3389), MySQL (3306), SQL Server (1433), all TCP ports, all UDP ports, Ping-ICMP, ALL.
- cidr
Block String - IP range or IP (mutually exclusive). Default value is 0.0.0.0/0, which indicates all sources.
- firewall
Rule StringDescription - Firewall rule description.
- port String
- Port. Valid values are ALL, one single port, multiple ports separated by commas, or port range indicated by a minus sign.
- protocol String
- Protocol. Valid values are TCP, UDP, ICMP, ALL.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack