tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
tencentcloud.getDayuL7RulesV2
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
Use this data source to query new dayu layer 7 rules
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const test = tencentcloud.getDayuL7RulesV2({
business: "bgpip",
domain: "qq.com",
protocol: "https",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
test = tencentcloud.get_dayu_l7_rules_v2(business="bgpip",
domain="qq.com",
protocol="https")
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.GetDayuL7RulesV2(ctx, &tencentcloud.GetDayuL7RulesV2Args{
Business: "bgpip",
Domain: pulumi.StringRef("qq.com"),
Protocol: pulumi.StringRef("https"),
}, 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 test = Tencentcloud.GetDayuL7RulesV2.Invoke(new()
{
Business = "bgpip",
Domain = "qq.com",
Protocol = "https",
});
});
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.GetDayuL7RulesV2Args;
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 test = TencentcloudFunctions.getDayuL7RulesV2(GetDayuL7RulesV2Args.builder()
.business("bgpip")
.domain("qq.com")
.protocol("https")
.build());
}
}
variables:
test:
fn::invoke:
function: tencentcloud:getDayuL7RulesV2
arguments:
business: bgpip
domain: qq.com
protocol: https
Using getDayuL7RulesV2
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 getDayuL7RulesV2(args: GetDayuL7RulesV2Args, opts?: InvokeOptions): Promise<GetDayuL7RulesV2Result>
function getDayuL7RulesV2Output(args: GetDayuL7RulesV2OutputArgs, opts?: InvokeOptions): Output<GetDayuL7RulesV2Result>def get_dayu_l7_rules_v2(business: Optional[str] = None,
domain: Optional[str] = None,
id: Optional[str] = None,
ip: Optional[str] = None,
limit: Optional[float] = None,
offset: Optional[float] = None,
protocol: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDayuL7RulesV2Result
def get_dayu_l7_rules_v2_output(business: Optional[pulumi.Input[str]] = None,
domain: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
ip: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
offset: Optional[pulumi.Input[float]] = None,
protocol: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDayuL7RulesV2Result]func GetDayuL7RulesV2(ctx *Context, args *GetDayuL7RulesV2Args, opts ...InvokeOption) (*GetDayuL7RulesV2Result, error)
func GetDayuL7RulesV2Output(ctx *Context, args *GetDayuL7RulesV2OutputArgs, opts ...InvokeOption) GetDayuL7RulesV2ResultOutput> Note: This function is named GetDayuL7RulesV2 in the Go SDK.
public static class GetDayuL7RulesV2
{
public static Task<GetDayuL7RulesV2Result> InvokeAsync(GetDayuL7RulesV2Args args, InvokeOptions? opts = null)
public static Output<GetDayuL7RulesV2Result> Invoke(GetDayuL7RulesV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDayuL7RulesV2Result> getDayuL7RulesV2(GetDayuL7RulesV2Args args, InvokeOptions options)
public static Output<GetDayuL7RulesV2Result> getDayuL7RulesV2(GetDayuL7RulesV2Args args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getDayuL7RulesV2:getDayuL7RulesV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Business string
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - Domain string
- Domain of resource.
- Id string
- Id of the resource.
- Ip string
- Ip of the resource.
- Limit double
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - Offset double
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - Protocol string
- Protocol of resource, value range [
http,https]. - Result
Output stringFile - Used to save results.
- Business string
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - Domain string
- Domain of resource.
- Id string
- Id of the resource.
- Ip string
- Ip of the resource.
- Limit float64
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - Offset float64
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - Protocol string
- Protocol of resource, value range [
http,https]. - Result
Output stringFile - Used to save results.
- business String
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - domain String
- Domain of resource.
- id String
- Id of the resource.
- ip String
- Ip of the resource.
- limit Double
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - offset Double
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - protocol String
- Protocol of resource, value range [
http,https]. - result
Output StringFile - Used to save results.
- business string
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - domain string
- Domain of resource.
- id string
- Id of the resource.
- ip string
- Ip of the resource.
- limit number
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - offset number
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - protocol string
- Protocol of resource, value range [
http,https]. - result
Output stringFile - Used to save results.
- business str
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - domain str
- Domain of resource.
- id str
- Id of the resource.
- ip str
- Ip of the resource.
- limit float
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - offset float
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - protocol str
- Protocol of resource, value range [
http,https]. - result_
output_ strfile - Used to save results.
- business String
- Type of the resource that the layer 4 rule works for, valid values are
bgpip,bgp,bgp-multipandnet. - domain String
- Domain of resource.
- id String
- Id of the resource.
- ip String
- Ip of the resource.
- limit Number
- It has been deprecated from version 1.81.21. The number of pages, default is
10. - offset Number
- It has been deprecated from version 1.81.21. The page start offset, default is
0. - protocol String
- Protocol of resource, value range [
http,https]. - result
Output StringFile - Used to save results.
getDayuL7RulesV2 Result
The following output properties are available:
- Business string
- Id string
- Id of the resource.
- Lists
List<Get
Dayu L7Rules V2List> - A list of layer 4 rules. Each element contains the following attributes:
- Domain string
- Domain of resource.
- Ip string
- Ip of the resource.
- Limit double
- Offset double
- Protocol string
- Protocol of resource, value range [
http,https]. - Result
Output stringFile
- Business string
- Id string
- Id of the resource.
- Lists
[]Get
Dayu L7Rules V2List - A list of layer 4 rules. Each element contains the following attributes:
- Domain string
- Domain of resource.
- Ip string
- Ip of the resource.
- Limit float64
- Offset float64
- Protocol string
- Protocol of resource, value range [
http,https]. - Result
Output stringFile
- business String
- id String
- Id of the resource.
- lists
List<Get
Dayu L7Rules V2List> - A list of layer 4 rules. Each element contains the following attributes:
- domain String
- Domain of resource.
- ip String
- Ip of the resource.
- limit Double
- offset Double
- protocol String
- Protocol of resource, value range [
http,https]. - result
Output StringFile
- business string
- id string
- Id of the resource.
- lists
Get
Dayu L7Rules V2List[] - A list of layer 4 rules. Each element contains the following attributes:
- domain string
- Domain of resource.
- ip string
- Ip of the resource.
- limit number
- offset number
- protocol string
- Protocol of resource, value range [
http,https]. - result
Output stringFile
- business str
- id str
- Id of the resource.
- lists
Sequence[Get
Dayu L7Rules V2List] - A list of layer 4 rules. Each element contains the following attributes:
- domain str
- Domain of resource.
- ip str
- Ip of the resource.
- limit float
- offset float
- protocol str
- Protocol of resource, value range [
http,https]. - result_
output_ strfile
- business String
- id String
- Id of the resource.
- lists List<Property Map>
- A list of layer 4 rules. Each element contains the following attributes:
- domain String
- Domain of resource.
- ip String
- Ip of the resource.
- limit Number
- offset Number
- protocol String
- Protocol of resource, value range [
http,https]. - result
Output StringFile
Supporting Types
GetDayuL7RulesV2List
- Cc
Enable double - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- Cc
Level string - CC protection level of HTTPS protocol.
- Cc
Status double - CC protection status, value [0(off), 1(on)].
- Cc
Threshold double - CC protection threshold of HTTPS protocol.
- Cert
Type double - The source of the certificate.
- Domain string
- Domain of resource.
- Https
To doubleHttp Enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- Id string
- Id of the resource.
- Ip string
- Ip of the resource.
- Keep
Enable double - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- Keep
Time double - Session hold time, in seconds.
- Lb
Type double - Load balancing mode, the value is [1 (weighted round-robin)].
- Modify
Time string - Modify time of resource.
- Protocol string
- Protocol of resource, value range [
http,https]. - Region double
- The area code.
- Rule
Name string - Rule description.
- Source
Lists List<GetDayu L7Rules V2List Source List> - Source list of the rule.
- Source
Type double - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- Ssl
Id string - SSL id of the resource.
- Status double
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- Virtual
Port double - Virtual port of resource.
- Cc
Enable float64 - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- Cc
Level string - CC protection level of HTTPS protocol.
- Cc
Status float64 - CC protection status, value [0(off), 1(on)].
- Cc
Threshold float64 - CC protection threshold of HTTPS protocol.
- Cert
Type float64 - The source of the certificate.
- Domain string
- Domain of resource.
- Https
To float64Http Enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- Id string
- Id of the resource.
- Ip string
- Ip of the resource.
- Keep
Enable float64 - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- Keep
Time float64 - Session hold time, in seconds.
- Lb
Type float64 - Load balancing mode, the value is [1 (weighted round-robin)].
- Modify
Time string - Modify time of resource.
- Protocol string
- Protocol of resource, value range [
http,https]. - Region float64
- The area code.
- Rule
Name string - Rule description.
- Source
Lists []GetDayu L7Rules V2List Source List - Source list of the rule.
- Source
Type float64 - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- Ssl
Id string - SSL id of the resource.
- Status float64
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- Virtual
Port float64 - Virtual port of resource.
- cc
Enable Double - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- cc
Level String - CC protection level of HTTPS protocol.
- cc
Status Double - CC protection status, value [0(off), 1(on)].
- cc
Threshold Double - CC protection threshold of HTTPS protocol.
- cert
Type Double - The source of the certificate.
- domain String
- Domain of resource.
- https
To DoubleHttp Enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- id String
- Id of the resource.
- ip String
- Ip of the resource.
- keep
Enable Double - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- keep
Time Double - Session hold time, in seconds.
- lb
Type Double - Load balancing mode, the value is [1 (weighted round-robin)].
- modify
Time String - Modify time of resource.
- protocol String
- Protocol of resource, value range [
http,https]. - region Double
- The area code.
- rule
Name String - Rule description.
- source
Lists List<GetDayu L7Rules V2List Source List> - Source list of the rule.
- source
Type Double - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- ssl
Id String - SSL id of the resource.
- status Double
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- virtual
Port Double - Virtual port of resource.
- cc
Enable number - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- cc
Level string - CC protection level of HTTPS protocol.
- cc
Status number - CC protection status, value [0(off), 1(on)].
- cc
Threshold number - CC protection threshold of HTTPS protocol.
- cert
Type number - The source of the certificate.
- domain string
- Domain of resource.
- https
To numberHttp Enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- id string
- Id of the resource.
- ip string
- Ip of the resource.
- keep
Enable number - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- keep
Time number - Session hold time, in seconds.
- lb
Type number - Load balancing mode, the value is [1 (weighted round-robin)].
- modify
Time string - Modify time of resource.
- protocol string
- Protocol of resource, value range [
http,https]. - region number
- The area code.
- rule
Name string - Rule description.
- source
Lists GetDayu L7Rules V2List Source List[] - Source list of the rule.
- source
Type number - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- ssl
Id string - SSL id of the resource.
- status number
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- virtual
Port number - Virtual port of resource.
- cc_
enable float - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- cc_
level str - CC protection level of HTTPS protocol.
- cc_
status float - CC protection status, value [0(off), 1(on)].
- cc_
threshold float - CC protection threshold of HTTPS protocol.
- cert_
type float - The source of the certificate.
- domain str
- Domain of resource.
- https_
to_ floathttp_ enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- id str
- Id of the resource.
- ip str
- Ip of the resource.
- keep_
enable float - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- keep_
time float - Session hold time, in seconds.
- lb_
type float - Load balancing mode, the value is [1 (weighted round-robin)].
- modify_
time str - Modify time of resource.
- protocol str
- Protocol of resource, value range [
http,https]. - region float
- The area code.
- rule_
name str - Rule description.
- source_
lists Sequence[GetDayu L7Rules V2List Source List] - Source list of the rule.
- source_
type float - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- ssl_
id str - SSL id of the resource.
- status float
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- virtual_
port float - Virtual port of resource.
- cc
Enable Number - CC protection status of HTTPS protocol, the value is [0 (off), 1 (on)].
- cc
Level String - CC protection level of HTTPS protocol.
- cc
Status Number - CC protection status, value [0(off), 1(on)].
- cc
Threshold Number - CC protection threshold of HTTPS protocol.
- cert
Type Number - The source of the certificate.
- domain String
- Domain of resource.
- https
To NumberHttp Enable - Whether to enable the Https protocol to use Http back-to-source, take the value [0 (off), 1 (on)], default is off.
- id String
- Id of the resource.
- ip String
- Ip of the resource.
- keep
Enable Number - Session keep switch, value [0 (session keep closed), 1 (session keep open)].
- keep
Time Number - Session hold time, in seconds.
- lb
Type Number - Load balancing mode, the value is [1 (weighted round-robin)].
- modify
Time String - Modify time of resource.
- protocol String
- Protocol of resource, value range [
http,https]. - region Number
- The area code.
- rule
Name String - Rule description.
- source
Lists List<Property Map> - Source list of the rule.
- source
Type Number - Back-to-origin method, value [1 (domain name back-to-source), 2 (IP back-to-source)].
- ssl
Id String - SSL id of the resource.
- status Number
- Rule status, value [0 (rule configuration is successful), 1 (rule configuration is in effect), 2 (rule configuration fails), 3 (rule deletion is in effect), 5 (rule deletion fails), 6 (rule is waiting to be configured), 7 (rule pending deletion), 8 (rule pending configuration certificate)].
- virtual
Port Number - Virtual port of resource.
GetDayuL7RulesV2ListSourceList
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack
