Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.private_zone.getResolverRules
Explore with Pulumi AI
Use this data source to query detailed information of private zone resolver rules
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.private_zone.getResolverRules({});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.private_zone.get_resolver_rules()
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/private_zone"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := private_zone.GetResolverRules(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Private_zone.GetResolverRules.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.private_zone.Private_zoneFunctions;
import com.pulumi.volcengine.private_zone.inputs.GetResolverRulesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var foo = Private_zoneFunctions.getResolverRules();
}
}
variables:
foo:
fn::invoke:
Function: volcengine:private_zone:getResolverRules
Arguments: {}
Using getResolverRules
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 getResolverRules(args: GetResolverRulesArgs, opts?: InvokeOptions): Promise<GetResolverRulesResult>
function getResolverRulesOutput(args: GetResolverRulesOutputArgs, opts?: InvokeOptions): Output<GetResolverRulesResult>
def get_resolver_rules(endpoint_id: Optional[int] = None,
name: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
zone_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResolverRulesResult
def get_resolver_rules_output(endpoint_id: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
zone_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResolverRulesResult]
func GetResolverRules(ctx *Context, args *GetResolverRulesArgs, opts ...InvokeOption) (*GetResolverRulesResult, error)
func GetResolverRulesOutput(ctx *Context, args *GetResolverRulesOutputArgs, opts ...InvokeOption) GetResolverRulesResultOutput
> Note: This function is named GetResolverRules
in the Go SDK.
public static class GetResolverRules
{
public static Task<GetResolverRulesResult> InvokeAsync(GetResolverRulesArgs args, InvokeOptions? opts = null)
public static Output<GetResolverRulesResult> Invoke(GetResolverRulesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResolverRulesResult> getResolverRules(GetResolverRulesArgs args, InvokeOptions options)
public static Output<GetResolverRulesResult> getResolverRules(GetResolverRulesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:private_zone/getResolverRules:getResolverRules
arguments:
# arguments dictionary
The following arguments are supported:
- Endpoint
Id int - ID of the exit terminal node.
- Name string
- The name of the rule.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Zone
Name string - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- Endpoint
Id int - ID of the exit terminal node.
- Name string
- The name of the rule.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Zone
Name string - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- endpoint
Id Integer - ID of the exit terminal node.
- name String
- The name of the rule.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- zone
Name String - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- endpoint
Id number - ID of the exit terminal node.
- name string
- The name of the rule.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- zone
Name string - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- endpoint_
id int - ID of the exit terminal node.
- name str
- The name of the rule.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- zone_
name str - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- endpoint
Id Number - ID of the exit terminal node.
- name String
- The name of the rule.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- zone
Name String - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
getResolverRules Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules
List<Get
Resolver Rules Rule> - The collection of query.
- Total
Count int - The total count of query.
- Endpoint
Id int - The endpoint ID of the rule.
- Name string
- The name of the rule.
- Name
Regex string - Output
File string - Zone
Name string - The zone name of the rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Rules
[]Get
Resolver Rules Rule - The collection of query.
- Total
Count int - The total count of query.
- Endpoint
Id int - The endpoint ID of the rule.
- Name string
- The name of the rule.
- Name
Regex string - Output
File string - Zone
Name string - The zone name of the rule.
- id String
- The provider-assigned unique ID for this managed resource.
- rules
List<Get
Resolver Rules Rule> - The collection of query.
- total
Count Integer - The total count of query.
- endpoint
Id Integer - The endpoint ID of the rule.
- name String
- The name of the rule.
- name
Regex String - output
File String - zone
Name String - The zone name of the rule.
- id string
- The provider-assigned unique ID for this managed resource.
- rules
Get
Resolver Rules Rule[] - The collection of query.
- total
Count number - The total count of query.
- endpoint
Id number - The endpoint ID of the rule.
- name string
- The name of the rule.
- name
Regex string - output
File string - zone
Name string - The zone name of the rule.
- id str
- The provider-assigned unique ID for this managed resource.
- rules
Sequence[Get
Resolver Rules Rule] - The collection of query.
- total_
count int - The total count of query.
- endpoint_
id int - The endpoint ID of the rule.
- name str
- The name of the rule.
- name_
regex str - output_
file str - zone_
name str - The zone name of the rule.
- id String
- The provider-assigned unique ID for this managed resource.
- rules List<Property Map>
- The collection of query.
- total
Count Number - The total count of query.
- endpoint
Id Number - The endpoint ID of the rule.
- name String
- The name of the rule.
- name
Regex String - output
File String - zone
Name String - The zone name of the rule.
Supporting Types
GetResolverRulesRule
- Bind
Vpcs List<GetResolver Rules Rule Bind Vpc> - Created
At string - The created time of the rule.
- Endpoint
Id int - ID of the exit terminal node.
- Forward
Ips List<GetResolver Rules Rule Forward Ip> - The IP address and port of the DNS server outside of the VPC.
- Id string
- The id of the rule.
- Line int
- The ISP of the exit IP address of the recursive DNS server.
- Name string
- The name of the rule.
- Rule
Id int - The id of the rule.
- Type string
- The type of the rule.
- Updated
At string - The updated time of the rule.
- Zone
Names List<string> - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- Bind
Vpcs []GetResolver Rules Rule Bind Vpc - Created
At string - The created time of the rule.
- Endpoint
Id int - ID of the exit terminal node.
- Forward
Ips []GetResolver Rules Rule Forward Ip - The IP address and port of the DNS server outside of the VPC.
- Id string
- The id of the rule.
- Line int
- The ISP of the exit IP address of the recursive DNS server.
- Name string
- The name of the rule.
- Rule
Id int - The id of the rule.
- Type string
- The type of the rule.
- Updated
At string - The updated time of the rule.
- Zone
Names []string - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- bind
Vpcs List<GetResolver Rules Rule Bind Vpc> - created
At String - The created time of the rule.
- endpoint
Id Integer - ID of the exit terminal node.
- forward
Ips List<GetResolver Rules Rule Forward Ip> - The IP address and port of the DNS server outside of the VPC.
- id String
- The id of the rule.
- line Integer
- The ISP of the exit IP address of the recursive DNS server.
- name String
- The name of the rule.
- rule
Id Integer - The id of the rule.
- type String
- The type of the rule.
- updated
At String - The updated time of the rule.
- zone
Names List<String> - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- bind
Vpcs GetResolver Rules Rule Bind Vpc[] - created
At string - The created time of the rule.
- endpoint
Id number - ID of the exit terminal node.
- forward
Ips GetResolver Rules Rule Forward Ip[] - The IP address and port of the DNS server outside of the VPC.
- id string
- The id of the rule.
- line number
- The ISP of the exit IP address of the recursive DNS server.
- name string
- The name of the rule.
- rule
Id number - The id of the rule.
- type string
- The type of the rule.
- updated
At string - The updated time of the rule.
- zone
Names string[] - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- bind_
vpcs Sequence[GetResolver Rules Rule Bind Vpc] - created_
at str - The created time of the rule.
- endpoint_
id int - ID of the exit terminal node.
- forward_
ips Sequence[GetResolver Rules Rule Forward Ip] - The IP address and port of the DNS server outside of the VPC.
- id str
- The id of the rule.
- line int
- The ISP of the exit IP address of the recursive DNS server.
- name str
- The name of the rule.
- rule_
id int - The id of the rule.
- type str
- The type of the rule.
- updated_
at str - The updated time of the rule.
- zone_
names Sequence[str] - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
- bind
Vpcs List<Property Map> - created
At String - The created time of the rule.
- endpoint
Id Number - ID of the exit terminal node.
- forward
Ips List<Property Map> - The IP address and port of the DNS server outside of the VPC.
- id String
- The id of the rule.
- line Number
- The ISP of the exit IP address of the recursive DNS server.
- name String
- The name of the rule.
- rule
Id Number - The id of the rule.
- type String
- The type of the rule.
- updated
At String - The updated time of the rule.
- zone
Names List<String> - The main domain associated with the forwarding rule. For example, if you set this parameter to example.com, DNS requests for example.com and all subdomains of example.com will be forwarded.
GetResolverRulesRuleBindVpc
- Account
Id string - The account id of the bind vpc.
- Id string
- The id of the rule.
- Region string
- The region of the bind vpc.
- Region
Name string - The region name of the bind vpc.
- Account
Id string - The account id of the bind vpc.
- Id string
- The id of the rule.
- Region string
- The region of the bind vpc.
- Region
Name string - The region name of the bind vpc.
- account
Id String - The account id of the bind vpc.
- id String
- The id of the rule.
- region String
- The region of the bind vpc.
- region
Name String - The region name of the bind vpc.
- account
Id string - The account id of the bind vpc.
- id string
- The id of the rule.
- region string
- The region of the bind vpc.
- region
Name string - The region name of the bind vpc.
- account_
id str - The account id of the bind vpc.
- id str
- The id of the rule.
- region str
- The region of the bind vpc.
- region_
name str - The region name of the bind vpc.
- account
Id String - The account id of the bind vpc.
- id String
- The id of the rule.
- region String
- The region of the bind vpc.
- region
Name String - The region name of the bind vpc.
GetResolverRulesRuleForwardIp
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.