published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Forwarding rule details
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
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****
vpcTrns:
- trn:vpc:cn-beijing:********:vpc/vpc-3nqt4kq87xn2893xxxxx
- trn:vpc:cn-beijing:********:vpc/vpc-1a10aeq5vr2tc8nvepxxxxx
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,
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,
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.
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,
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",
},
},
ZoneName = "string",
});
example, err := privatezone.NewResolverRule(ctx, "resolverRuleResource", &privatezone.ResolverRuleArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
EndpointId: pulumi.Int(0),
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"),
},
},
ZoneName: pulumi.String("string"),
})
var resolverRuleResource = new ResolverRule("resolverRuleResource", ResolverRuleArgs.builder()
.name("string")
.type("string")
.endpointId(0)
.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())
.zoneName("string")
.build());
resolver_rule_resource = bytepluscc.privatezone.ResolverRule("resolverRuleResource",
name="string",
type="string",
endpoint_id=0,
forward_ips=[{
"ip": "string",
"port": 0,
}],
line="string",
project_name="string",
tags=[{
"key": "string",
"value": "string",
}],
vp_cs=[{
"region": "string",
"vpc_id": "string",
}],
zone_name="string")
const resolverRuleResource = new bytepluscc.privatezone.ResolverRule("resolverRuleResource", {
name: "string",
type: "string",
endpointId: 0,
forwardIPs: [{
ip: "string",
port: 0,
}],
line: "string",
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
vpCs: [{
region: "string",
vpcId: "string",
}],
zoneName: "string",
});
type: bytepluscc:privatezone:ResolverRule
properties:
endpointId: 0
forwardIPs:
- ip: string
port: 0
line: string
name: string
projectName: string
tags:
- key: string
value: string
type: string
vpCs:
- region: string
vpcId: 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
- Forward
IPs List<Byteplus.Resolver Rule Forward IP> - 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> - Vp
Cs List<Byteplus.Resolver Rule Vp C> - 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
- Forward
IPs []ResolverRule Forward IPArgs - 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 - Vp
Cs []ResolverRule Vp CArgs - 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
- forward
IPs List<ResolverRule Forward IP> - 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> - vp
Cs List<ResolverRule Vp C> - 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
- forward
IPs ResolverRule Forward IP[] - 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[] - vp
Cs ResolverRule Vp C[] - 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
- forward_
ips Sequence[ResolverRule Forward IPArgs] - 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] - vp_
cs Sequence[ResolverRule Vp CArgs] - 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
- forward
IPs List<Property Map> - 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>
- vp
Cs List<Property Map> - 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 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,
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,
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}- 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
- Forward
IPs List<Byteplus.Resolver Rule Forward IP> - 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> - 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> - 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
- Forward
IPs []ResolverRule Forward IPArgs - 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 - 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 - 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
- forward
IPs List<ResolverRule Forward IP> - 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> - 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> - 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
- forward
IPs ResolverRule Forward IP[] - 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[] - 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[] - 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
- forward_
ips Sequence[ResolverRule Forward IPArgs] - 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] - 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] - 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
- forward
IPs List<Property Map> - 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>
- 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> - 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, Apr 2, 2026 by Byteplus
