Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Data Source schema for Byteplus::PrivateZone::ResolverRule
Using getResolverRule
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 getResolverRule(args: GetResolverRuleArgs, opts?: InvokeOptions): Promise<GetResolverRuleResult>
function getResolverRuleOutput(args: GetResolverRuleOutputArgs, opts?: InvokeOptions): Output<GetResolverRuleResult>def get_resolver_rule(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResolverRuleResult
def get_resolver_rule_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResolverRuleResult]func LookupResolverRule(ctx *Context, args *LookupResolverRuleArgs, opts ...InvokeOption) (*LookupResolverRuleResult, error)
func LookupResolverRuleOutput(ctx *Context, args *LookupResolverRuleOutputArgs, opts ...InvokeOption) LookupResolverRuleResultOutput> Note: This function is named LookupResolverRule in the Go SDK.
public static class GetResolverRule
{
public static Task<GetResolverRuleResult> InvokeAsync(GetResolverRuleArgs args, InvokeOptions? opts = null)
public static Output<GetResolverRuleResult> Invoke(GetResolverRuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResolverRuleResult> getResolverRule(GetResolverRuleArgs args, InvokeOptions options)
public static Output<GetResolverRuleResult> getResolverRule(GetResolverRuleArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:privatezone/getResolverRule:getResolverRule
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getResolverRule Result
The following output properties are available:
- 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.Get 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
- Id string
- Uniquely identifies the resource.
- 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.
Get Resolver Rule Tag> - One or more tags associated with the forwarding rule
- 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.Get 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
- 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 []GetResolver 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
- Id string
- Uniquely identifies the resource.
- 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
-
[]Get
Resolver Rule Tag - One or more tags associated with the forwarding rule
- 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 []GetResolver 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
- 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<GetResolver 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
- id String
- Uniquely identifies the resource.
- 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<Get
Resolver Rule Tag> - One or more tags associated with the forwarding rule
- 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<GetResolver 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
- 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 GetResolver 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
- id string
- Uniquely identifies the resource.
- 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
-
Get
Resolver Rule Tag[] - One or more tags associated with the forwarding rule
- 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 GetResolver 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
- 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[GetResolver 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
- id str
- Uniquely identifies the resource.
- 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[Get
Resolver Rule Tag] - One or more tags associated with the forwarding rule
- 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[GetResolver 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
- 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> - 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
- id String
- Uniquely identifies the resource.
- 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
- 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
- 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
GetResolverRuleForwardIP
GetResolverRuleTag
GetResolverRuleVpC
- Account
Id string - Account ID that created the VPC
- Region string
- Region of the VPC
- Region
Name string - Name of the VPC region
- Vpc
Id string - VPC ID
- Account
Id string - Account ID that created the VPC
- Region string
- Region of the VPC
- Region
Name string - Name of the VPC region
- Vpc
Id string - VPC ID
- account
Id String - Account ID that created the VPC
- region String
- Region of the VPC
- region
Name String - Name of the VPC region
- vpc
Id String - VPC ID
- account
Id string - Account ID that created the VPC
- region string
- Region of the VPC
- region
Name string - Name of the VPC region
- vpc
Id string - VPC ID
- account_
id str - Account ID that created the VPC
- region str
- Region of the VPC
- region_
name str - Name of the VPC region
- vpc_
id str - VPC ID
- account
Id String - Account ID that created the VPC
- region String
- Region of the VPC
- region
Name String - Name of the VPC region
- vpc
Id String - VPC ID
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
