published on Thursday, Jul 9, 2026 by Byteplus
published on Thursday, Jul 9, 2026 by Byteplus
Forwarding rule details
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
const privateZoneResolverRuleDemo = new bytepluscc.privatezone.ResolverRule("PrivateZoneResolverRuleDemo", {
line: "电信",
name: "PrivateZoneResolverRuleDemo",
tags: [{
key: "env",
value: "test",
}],
type: "LINE",
vpCs: [
{
region: "cn-beijing",
vpc_id: "vpc-3nqt4kq87xn28931eclihh90****",
},
{
region: "cn-beijing",
vpc_id: "vpc-1a10aeq5vr2tc8nvepkauwljx****",
},
],
});
import pulumi
import pulumi_bytepluscc as bytepluscc
private_zone_resolver_rule_demo = bytepluscc.privatezone.ResolverRule("PrivateZoneResolverRuleDemo",
line="电信",
name="PrivateZoneResolverRuleDemo",
tags=[{
"key": "env",
"value": "test",
}],
type="LINE",
vp_cs=[
{
"region": "cn-beijing",
"vpc_id": "vpc-3nqt4kq87xn28931eclihh90****",
},
{
"region": "cn-beijing",
"vpc_id": "vpc-1a10aeq5vr2tc8nvepkauwljx****",
},
])
package main
import (
"github.com/byteplus-sdk/pulumi-bytepluscc/sdk/go/bytepluscc/privatezone"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := privatezone.NewResolverRule(ctx, "PrivateZoneResolverRuleDemo", &privatezone.ResolverRuleArgs{
Line: pulumi.String("电信"),
Name: pulumi.String("PrivateZoneResolverRuleDemo"),
Tags: privatezone.ResolverRuleTagArray{
&privatezone.ResolverRuleTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("test"),
},
},
Type: pulumi.String("LINE"),
VpCs: privatezone.ResolverRuleVpCArray{
&privatezone.ResolverRuleVpCArgs{
Region: pulumi.String("cn-beijing"),
Vpc_id: "vpc-3nqt4kq87xn28931eclihh90****",
},
&privatezone.ResolverRuleVpCArgs{
Region: pulumi.String("cn-beijing"),
Vpc_id: "vpc-1a10aeq5vr2tc8nvepkauwljx****",
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bytepluscc = Byteplus.Pulumi.Bytepluscc;
return await Deployment.RunAsync(() =>
{
var privateZoneResolverRuleDemo = new Bytepluscc.Privatezone.ResolverRule("PrivateZoneResolverRuleDemo", new()
{
Line = "电信",
Name = "PrivateZoneResolverRuleDemo",
Tags = new[]
{
new Bytepluscc.Privatezone.Inputs.ResolverRuleTagArgs
{
Key = "env",
Value = "test",
},
},
Type = "LINE",
VpCs = new[]
{
new Bytepluscc.Privatezone.Inputs.ResolverRuleVpCArgs
{
Region = "cn-beijing",
Vpc_id = "vpc-3nqt4kq87xn28931eclihh90****",
},
new Bytepluscc.Privatezone.Inputs.ResolverRuleVpCArgs
{
Region = "cn-beijing",
Vpc_id = "vpc-1a10aeq5vr2tc8nvepkauwljx****",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.byteplus.bytepluscc.privatezone.ResolverRule;
import com.byteplus.bytepluscc.privatezone.ResolverRuleArgs;
import com.pulumi.bytepluscc.privatezone.inputs.ResolverRuleTagArgs;
import com.pulumi.bytepluscc.privatezone.inputs.ResolverRuleVpCArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
var privateZoneResolverRuleDemo = new ResolverRule("privateZoneResolverRuleDemo", ResolverRuleArgs.builder()
.line("电信")
.name("PrivateZoneResolverRuleDemo")
.tags(ResolverRuleTagArgs.builder()
.key("env")
.value("test")
.build())
.type("LINE")
.vpCs(
ResolverRuleVpCArgs.builder()
.region("cn-beijing")
.vpc_id("vpc-3nqt4kq87xn28931eclihh90****")
.build(),
ResolverRuleVpCArgs.builder()
.region("cn-beijing")
.vpc_id("vpc-1a10aeq5vr2tc8nvepkauwljx****")
.build())
.build());
}
}
resources:
privateZoneResolverRuleDemo:
type: bytepluscc:privatezone:ResolverRule
name: PrivateZoneResolverRuleDemo
properties:
line: 电信
name: PrivateZoneResolverRuleDemo
tags:
- key: env
value: test
type: LINE
vpCs:
- region: cn-beijing
vpc_id: vpc-3nqt4kq87xn28931eclihh90****
- region: cn-beijing
vpc_id: vpc-1a10aeq5vr2tc8nvepkauwljx****
pulumi {
required_providers {
bytepluscc = {
source = "pulumi/bytepluscc"
}
}
}
resource "bytepluscc_privatezone_resolverrule" "PrivateZoneResolverRuleDemo" {
line = "电信"
name = "PrivateZoneResolverRuleDemo"
tags {
key = "env"
value = "test"
}
type = "LINE"
vp_cs {
region = "cn-beijing"
vpc_id = "vpc-3nqt4kq87xn28931eclihh90****"
}
vp_cs {
region = "cn-beijing"
vpc_id = "vpc-1a10aeq5vr2tc8nvepkauwljx****"
}
}
Create ResolverRule Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResolverRule(name: string, args: ResolverRuleArgs, opts?: CustomResourceOptions);@overload
def ResolverRule(resource_name: str,
args: ResolverRuleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResolverRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
type: Optional[str] = None,
endpoint_id: Optional[int] = None,
endpoint_trn: Optional[str] = None,
forward_ips: Optional[Sequence[ResolverRuleForwardIPArgs]] = None,
line: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[ResolverRuleTagArgs]] = None,
vp_cs: Optional[Sequence[ResolverRuleVpCArgs]] = None,
vpc_trns: Optional[Sequence[str]] = None,
zone_name: Optional[str] = None)func NewResolverRule(ctx *Context, name string, args ResolverRuleArgs, opts ...ResourceOption) (*ResolverRule, error)public ResolverRule(string name, ResolverRuleArgs args, CustomResourceOptions? opts = null)
public ResolverRule(String name, ResolverRuleArgs args)
public ResolverRule(String name, ResolverRuleArgs args, CustomResourceOptions options)
type: bytepluscc:privatezone:ResolverRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "bytepluscc_privatezone_resolverrule" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResolverRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var resolverRuleResource = new Bytepluscc.Privatezone.ResolverRule("resolverRuleResource", new()
{
Name = "string",
Type = "string",
EndpointId = 0,
EndpointTrn = "string",
ForwardIPs = new[]
{
new Bytepluscc.Privatezone.Inputs.ResolverRuleForwardIPArgs
{
Ip = "string",
Port = 0,
},
},
Line = "string",
ProjectName = "string",
Tags = new[]
{
new Bytepluscc.Privatezone.Inputs.ResolverRuleTagArgs
{
Key = "string",
Value = "string",
},
},
VpCs = new[]
{
new Bytepluscc.Privatezone.Inputs.ResolverRuleVpCArgs
{
Region = "string",
VpcId = "string",
},
},
VpcTrns = new[]
{
"string",
},
ZoneName = "string",
});
example, err := privatezone.NewResolverRule(ctx, "resolverRuleResource", &privatezone.ResolverRuleArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
EndpointId: pulumi.Int(0),
EndpointTrn: pulumi.String("string"),
ForwardIPs: privatezone.ResolverRuleForwardIPArray{
&privatezone.ResolverRuleForwardIPArgs{
Ip: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
Line: pulumi.String("string"),
ProjectName: pulumi.String("string"),
Tags: privatezone.ResolverRuleTagArray{
&privatezone.ResolverRuleTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VpCs: privatezone.ResolverRuleVpCArray{
&privatezone.ResolverRuleVpCArgs{
Region: pulumi.String("string"),
VpcId: pulumi.String("string"),
},
},
VpcTrns: pulumi.StringArray{
pulumi.String("string"),
},
ZoneName: pulumi.String("string"),
})
resource "bytepluscc_privatezone_resolverrule" "resolverRuleResource" {
name = "string"
type = "string"
endpoint_id = 0
endpoint_trn = "string"
forward_i_ps {
ip = "string"
port = 0
}
line = "string"
project_name = "string"
tags {
key = "string"
value = "string"
}
vp_cs {
region = "string"
vpc_id = "string"
}
vpc_trns = ["string"]
zone_name = "string"
}
var resolverRuleResource = new ResolverRule("resolverRuleResource", ResolverRuleArgs.builder()
.name("string")
.type("string")
.endpointId(0)
.endpointTrn("string")
.forwardIPs(ResolverRuleForwardIPArgs.builder()
.ip("string")
.port(0)
.build())
.line("string")
.projectName("string")
.tags(ResolverRuleTagArgs.builder()
.key("string")
.value("string")
.build())
.vpCs(ResolverRuleVpCArgs.builder()
.region("string")
.vpcId("string")
.build())
.vpcTrns("string")
.zoneName("string")
.build());
resolver_rule_resource = bytepluscc.privatezone.ResolverRule("resolverRuleResource",
name="string",
type="string",
endpoint_id=0,
endpoint_trn="string",
forward_ips=[{
"ip": "string",
"port": 0,
}],
line="string",
project_name="string",
tags=[{
"key": "string",
"value": "string",
}],
vp_cs=[{
"region": "string",
"vpc_id": "string",
}],
vpc_trns=["string"],
zone_name="string")
const resolverRuleResource = new bytepluscc.privatezone.ResolverRule("resolverRuleResource", {
name: "string",
type: "string",
endpointId: 0,
endpointTrn: "string",
forwardIPs: [{
ip: "string",
port: 0,
}],
line: "string",
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
vpCs: [{
region: "string",
vpcId: "string",
}],
vpcTrns: ["string"],
zoneName: "string",
});
type: bytepluscc:privatezone:ResolverRule
properties:
endpointId: 0
endpointTrn: string
forwardIPs:
- ip: string
port: 0
line: string
name: string
projectName: string
tags:
- key: string
value: string
type: string
vpCs:
- region: string
vpcId: string
vpcTrns:
- string
zoneName: string
ResolverRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ResolverRule resource accepts the following input properties:
- Name string
- Name of the forwarding rule. Supports UTF-8 format
- Type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- Endpoint
Id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- Endpoint
Trn string - TRN of the endpoint
- Forward
IPs List<Byteplus.Resolver Rule Forward IP> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- Project
Name string - Project name associated with the forwarding rule. Default is default
-
List<Byteplus.
Resolver Rule Tag> - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vp
Cs List<Byteplus.Resolver Rule Vp C> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vpc
Trns List<string> - TRN of one or more VPCs associated with the domain name
- Zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- Name string
- Name of the forwarding rule. Supports UTF-8 format
- Type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- Endpoint
Id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- Endpoint
Trn string - TRN of the endpoint
- Forward
IPs []ResolverRule Forward IPArgs - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- Project
Name string - Project name associated with the forwarding rule. Default is default
-
[]Resolver
Rule Tag Args - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vp
Cs []ResolverRule Vp CArgs - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vpc
Trns []string - TRN of one or more VPCs associated with the domain name
- Zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- name string
- Name of the forwarding rule. Supports UTF-8 format
- type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- endpoint_
id number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint_
trn string - TRN of the endpoint
- forward_
i_ list(object)ps - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- project_
name string - Project name associated with the forwarding rule. Default is default
- list(object)
- One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vp_
cs list(object) - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
trns list(string) - TRN of one or more VPCs associated with the domain name
- zone_
name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- name String
- Name of the forwarding rule. Supports UTF-8 format
- type String
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- endpoint
Id Integer - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn String - TRN of the endpoint
- forward
IPs List<ResolverRule Forward IP> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- line String
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- project
Name String - Project name associated with the forwarding rule. Default is default
-
List<Resolver
Rule Tag> - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vp
Cs List<ResolverRule Vp C> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns List<String> - TRN of one or more VPCs associated with the domain name
- zone
Name String - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- name string
- Name of the forwarding rule. Supports UTF-8 format
- type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- endpoint
Id number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn string - TRN of the endpoint
- forward
IPs ResolverRule Forward IP[] - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- project
Name string - Project name associated with the forwarding rule. Default is default
-
Resolver
Rule Tag[] - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vp
Cs ResolverRule Vp C[] - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns string[] - TRN of one or more VPCs associated with the domain name
- zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- name str
- Name of the forwarding rule. Supports UTF-8 format
- type str
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- endpoint_
id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint_
trn str - TRN of the endpoint
- forward_
ips Sequence[ResolverRule Forward IPArgs] - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- line str
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- project_
name str - Project name associated with the forwarding rule. Default is default
-
Sequence[Resolver
Rule Tag Args] - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vp_
cs Sequence[ResolverRule Vp CArgs] - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
trns Sequence[str] - TRN of one or more VPCs associated with the domain name
- zone_
name str - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- name String
- Name of the forwarding rule. Supports UTF-8 format
- type String
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- endpoint
Id Number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn String - TRN of the endpoint
- forward
IPs List<Property Map> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- line String
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- project
Name String - Project name associated with the forwarding rule. Default is default
- List<Property Map>
- One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vp
Cs List<Property Map> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns List<String> - TRN of one or more VPCs associated with the domain name
- zone
Name String - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
Outputs
All input properties are implicitly available as output properties. Additionally, the ResolverRule resource produces the following output properties:
- Created
Time string - Creation time of the forwarding rule
- Enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operator string - Account ID of the last update to the forwarding rule
- Rule
Id string - Forwarding rule ID
- Updated
Time string - Update time of the forwarding rule
- Created
Time string - Creation time of the forwarding rule
- Enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Operator string - Account ID of the last update to the forwarding rule
- Rule
Id string - Forwarding rule ID
- Updated
Time string - Update time of the forwarding rule
- created_
time string - Creation time of the forwarding rule
- enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- id string
- The provider-assigned unique ID for this managed resource.
- last_
operator string - Account ID of the last update to the forwarding rule
- rule_
id string - Forwarding rule ID
- updated_
time string - Update time of the forwarding rule
- created
Time String - Creation time of the forwarding rule
- enable Boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- id String
- The provider-assigned unique ID for this managed resource.
- last
Operator String - Account ID of the last update to the forwarding rule
- rule
Id String - Forwarding rule ID
- updated
Time String - Update time of the forwarding rule
- created
Time string - Creation time of the forwarding rule
- enable boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- id string
- The provider-assigned unique ID for this managed resource.
- last
Operator string - Account ID of the last update to the forwarding rule
- rule
Id string - Forwarding rule ID
- updated
Time string - Update time of the forwarding rule
- created_
time str - Creation time of the forwarding rule
- enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- id str
- The provider-assigned unique ID for this managed resource.
- last_
operator str - Account ID of the last update to the forwarding rule
- rule_
id str - Forwarding rule ID
- updated_
time str - Update time of the forwarding rule
- created
Time String - Creation time of the forwarding rule
- enable Boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- id String
- The provider-assigned unique ID for this managed resource.
- last
Operator String - Account ID of the last update to the forwarding rule
- rule
Id String - Forwarding rule ID
- updated
Time String - Update time of the forwarding rule
Look up Existing ResolverRule Resource
Get an existing ResolverRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ResolverRuleState, opts?: CustomResourceOptions): ResolverRule@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_time: Optional[str] = None,
enable: Optional[bool] = None,
endpoint_id: Optional[int] = None,
endpoint_trn: Optional[str] = None,
forward_ips: Optional[Sequence[ResolverRuleForwardIPArgs]] = None,
last_operator: Optional[str] = None,
line: Optional[str] = None,
name: Optional[str] = None,
project_name: Optional[str] = None,
rule_id: Optional[str] = None,
tags: Optional[Sequence[ResolverRuleTagArgs]] = None,
type: Optional[str] = None,
updated_time: Optional[str] = None,
vp_cs: Optional[Sequence[ResolverRuleVpCArgs]] = None,
vpc_trns: Optional[Sequence[str]] = None,
zone_name: Optional[str] = None) -> ResolverRulefunc GetResolverRule(ctx *Context, name string, id IDInput, state *ResolverRuleState, opts ...ResourceOption) (*ResolverRule, error)public static ResolverRule Get(string name, Input<string> id, ResolverRuleState? state, CustomResourceOptions? opts = null)public static ResolverRule get(String name, Output<String> id, ResolverRuleState state, CustomResourceOptions options)resources: _: type: bytepluscc:privatezone:ResolverRule get: id: ${id}import {
to = bytepluscc_privatezone_resolverrule.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Created
Time string - Creation time of the forwarding rule
- Enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- Endpoint
Id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- Endpoint
Trn string - TRN of the endpoint
- Forward
IPs List<Byteplus.Resolver Rule Forward IP> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Last
Operator string - Account ID of the last update to the forwarding rule
- Line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- Name string
- Name of the forwarding rule. Supports UTF-8 format
- Project
Name string - Project name associated with the forwarding rule. Default is default
- Rule
Id string - Forwarding rule ID
-
List<Byteplus.
Resolver Rule Tag> - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- Updated
Time string - Update time of the forwarding rule
- Vp
Cs List<Byteplus.Resolver Rule Vp C> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vpc
Trns List<string> - TRN of one or more VPCs associated with the domain name
- Zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- Created
Time string - Creation time of the forwarding rule
- Enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- Endpoint
Id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- Endpoint
Trn string - TRN of the endpoint
- Forward
IPs []ResolverRule Forward IPArgs - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Last
Operator string - Account ID of the last update to the forwarding rule
- Line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- Name string
- Name of the forwarding rule. Supports UTF-8 format
- Project
Name string - Project name associated with the forwarding rule. Default is default
- Rule
Id string - Forwarding rule ID
-
[]Resolver
Rule Tag Args - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- Updated
Time string - Update time of the forwarding rule
- Vp
Cs []ResolverRule Vp CArgs - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Vpc
Trns []string - TRN of one or more VPCs associated with the domain name
- Zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- created_
time string - Creation time of the forwarding rule
- enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- endpoint_
id number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint_
trn string - TRN of the endpoint
- forward_
i_ list(object)ps - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- last_
operator string - Account ID of the last update to the forwarding rule
- line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- name string
- Name of the forwarding rule. Supports UTF-8 format
- project_
name string - Project name associated with the forwarding rule. Default is default
- rule_
id string - Forwarding rule ID
- list(object)
- One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- updated_
time string - Update time of the forwarding rule
- vp_
cs list(object) - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
trns list(string) - TRN of one or more VPCs associated with the domain name
- zone_
name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- created
Time String - Creation time of the forwarding rule
- enable Boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- endpoint
Id Integer - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn String - TRN of the endpoint
- forward
IPs List<ResolverRule Forward IP> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- last
Operator String - Account ID of the last update to the forwarding rule
- line String
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- name String
- Name of the forwarding rule. Supports UTF-8 format
- project
Name String - Project name associated with the forwarding rule. Default is default
- rule
Id String - Forwarding rule ID
-
List<Resolver
Rule Tag> - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type String
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- updated
Time String - Update time of the forwarding rule
- vp
Cs List<ResolverRule Vp C> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns List<String> - TRN of one or more VPCs associated with the domain name
- zone
Name String - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- created
Time string - Creation time of the forwarding rule
- enable boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- endpoint
Id number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn string - TRN of the endpoint
- forward
IPs ResolverRule Forward IP[] - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- last
Operator string - Account ID of the last update to the forwarding rule
- line string
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- name string
- Name of the forwarding rule. Supports UTF-8 format
- project
Name string - Project name associated with the forwarding rule. Default is default
- rule
Id string - Forwarding rule ID
-
Resolver
Rule Tag[] - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type string
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- updated
Time string - Update time of the forwarding rule
- vp
Cs ResolverRule Vp C[] - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns string[] - TRN of one or more VPCs associated with the domain name
- zone
Name string - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- created_
time str - Creation time of the forwarding rule
- enable bool
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- endpoint_
id int - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint_
trn str - TRN of the endpoint
- forward_
ips Sequence[ResolverRule Forward IPArgs] - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- last_
operator str - Account ID of the last update to the forwarding rule
- line str
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- name str
- Name of the forwarding rule. Supports UTF-8 format
- project_
name str - Project name associated with the forwarding rule. Default is default
- rule_
id str - Forwarding rule ID
-
Sequence[Resolver
Rule Tag Args] - One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type str
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- updated_
time str - Update time of the forwarding rule
- vp_
cs Sequence[ResolverRule Vp CArgs] - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc_
trns Sequence[str] - TRN of one or more VPCs associated with the domain name
- zone_
name str - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
- created
Time String - Creation time of the forwarding rule
- enable Boolean
- Whether the forwarding rule is enabled. true: enabled. false: disabled
- endpoint
Id Number - Endpoint ID. This parameter is only valid and required when the Type parameter is OUTBOUND
- endpoint
Trn String - TRN of the endpoint
- forward
IPs List<Property Map> - IP address and port of the external DNS server. You can add up to 10 IP addresses. This parameter is only valid and required when the Type parameter is OUTBOUND Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- last
Operator String - Account ID of the last update to the forwarding rule
- line String
- Carrier for the outbound IP address of the recursive DNS server. This parameter is only valid when the Type parameter is LINE. Supported values: Mobile: China Mobile, Telecom: China Telecom, Unicom: China Unicom
- name String
- Name of the forwarding rule. Supports UTF-8 format
- project
Name String - Project name associated with the forwarding rule. Default is default
- rule
Id String - Forwarding rule ID
- List<Property Map>
- One or more tags associated with the forwarding rule Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- type String
- Forwarding rule type. OUTBOUND: Forward to external DNS server. LINE: Carrier for the outbound IP address of the custom public recursive DNS server
- updated
Time String - Update time of the forwarding rule
- vp
Cs List<Property Map> - VPC associated with the forwarding rule. The forwarding rule takes effect in the associated VPC. When the Type parameter is OUTBOUND, the VPC region must match the region of the endpoint Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- vpc
Trns List<String> - TRN of one or more VPCs associated with the domain name
- zone
Name String - Domain name(s) associated with the forwarding rule. You can enter one or more domain names. Separate multiple domain names with English commas. Up to 500 domain names are supported. This parameter is only valid and required when the Type parameter is OUTBOUND. If you set this parameter to *, the forwarding rule applies to all domain names associated with the VPC
Supporting Types
ResolverRuleForwardIP, ResolverRuleForwardIPArgs
ResolverRuleTag, ResolverRuleTagArgs
ResolverRuleVpC, ResolverRuleVpCArgs
Import
$ pulumi import bytepluscc:privatezone/resolverRule:ResolverRule example "rule_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
published on Thursday, Jul 9, 2026 by Byteplus