1. Packages
  2. Volcengine
  3. API Docs
  4. private_zone
  5. ResolverRules
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.private_zone.ResolverRules

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

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.ResolverRules({});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.private_zone.resolver_rules()
Copy
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.ResolverRules(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Private_zone.ResolverRules.Invoke();

});
Copy
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.ResolverRulesArgs;
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.ResolverRules();

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:private_zone:ResolverRules
      Arguments: {}
Copy

Using ResolverRules

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 resolverRules(args: ResolverRulesArgs, opts?: InvokeOptions): Promise<ResolverRulesResult>
function resolverRulesOutput(args: ResolverRulesOutputArgs, opts?: InvokeOptions): Output<ResolverRulesResult>
Copy
def 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) -> ResolverRulesResult
def 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[ResolverRulesResult]
Copy
func ResolverRules(ctx *Context, args *ResolverRulesArgs, opts ...InvokeOption) (*ResolverRulesResult, error)
func ResolverRulesOutput(ctx *Context, args *ResolverRulesOutputArgs, opts ...InvokeOption) ResolverRulesResultOutput
Copy
public static class ResolverRules 
{
    public static Task<ResolverRulesResult> InvokeAsync(ResolverRulesArgs args, InvokeOptions? opts = null)
    public static Output<ResolverRulesResult> Invoke(ResolverRulesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ResolverRulesResult> resolverRules(ResolverRulesArgs args, InvokeOptions options)
public static Output<ResolverRulesResult> resolverRules(ResolverRulesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:private_zone:ResolverRules
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EndpointId int
ID of the exit terminal node.
Name string
The name of the rule.
NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
ZoneName 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.
EndpointId int
ID of the exit terminal node.
Name string
The name of the rule.
NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
ZoneName 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.
endpointId Integer
ID of the exit terminal node.
name String
The name of the rule.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.
zoneName 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.
endpointId number
ID of the exit terminal node.
name string
The name of the rule.
nameRegex string
A Name Regex of Resource.
outputFile string
File name where to save data source results.
zoneName 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.
endpointId Number
ID of the exit terminal node.
name String
The name of the rule.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.
zoneName 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.

ResolverRules Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Rules List<ResolverRulesRule>
The collection of query.
TotalCount int
The total count of query.
EndpointId int
The endpoint ID of the rule.
Name string
The name of the rule.
NameRegex string
OutputFile string
ZoneName string
The zone name of the rule.
Id string
The provider-assigned unique ID for this managed resource.
Rules []ResolverRulesRule
The collection of query.
TotalCount int
The total count of query.
EndpointId int
The endpoint ID of the rule.
Name string
The name of the rule.
NameRegex string
OutputFile string
ZoneName string
The zone name of the rule.
id String
The provider-assigned unique ID for this managed resource.
rules List<ResolverRulesRule>
The collection of query.
totalCount Integer
The total count of query.
endpointId Integer
The endpoint ID of the rule.
name String
The name of the rule.
nameRegex String
outputFile String
zoneName String
The zone name of the rule.
id string
The provider-assigned unique ID for this managed resource.
rules ResolverRulesRule[]
The collection of query.
totalCount number
The total count of query.
endpointId number
The endpoint ID of the rule.
name string
The name of the rule.
nameRegex string
outputFile string
zoneName string
The zone name of the rule.
id str
The provider-assigned unique ID for this managed resource.
rules Sequence[ResolverRulesRule]
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.
totalCount Number
The total count of query.
endpointId Number
The endpoint ID of the rule.
name String
The name of the rule.
nameRegex String
outputFile String
zoneName String
The zone name of the rule.

Supporting Types

ResolverRulesRule

BindVpcs This property is required. List<ResolverRulesRuleBindVpc>
CreatedAt This property is required. string
The created time of the rule.
EndpointId This property is required. int
ID of the exit terminal node.
ForwardIps This property is required. List<ResolverRulesRuleForwardIp>
The IP address and port of the DNS server outside of the VPC.
Id This property is required. string
The id of the rule.
Line This property is required. int
The ISP of the exit IP address of the recursive DNS server.
Name This property is required. string
The name of the rule.
RuleId This property is required. int
The id of the rule.
Type This property is required. string
The type of the rule.
UpdatedAt This property is required. string
The updated time of the rule.
ZoneNames This property is required. 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.
BindVpcs This property is required. []ResolverRulesRuleBindVpc
CreatedAt This property is required. string
The created time of the rule.
EndpointId This property is required. int
ID of the exit terminal node.
ForwardIps This property is required. []ResolverRulesRuleForwardIp
The IP address and port of the DNS server outside of the VPC.
Id This property is required. string
The id of the rule.
Line This property is required. int
The ISP of the exit IP address of the recursive DNS server.
Name This property is required. string
The name of the rule.
RuleId This property is required. int
The id of the rule.
Type This property is required. string
The type of the rule.
UpdatedAt This property is required. string
The updated time of the rule.
ZoneNames This property is required. []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.
bindVpcs This property is required. List<ResolverRulesRuleBindVpc>
createdAt This property is required. String
The created time of the rule.
endpointId This property is required. Integer
ID of the exit terminal node.
forwardIps This property is required. List<ResolverRulesRuleForwardIp>
The IP address and port of the DNS server outside of the VPC.
id This property is required. String
The id of the rule.
line This property is required. Integer
The ISP of the exit IP address of the recursive DNS server.
name This property is required. String
The name of the rule.
ruleId This property is required. Integer
The id of the rule.
type This property is required. String
The type of the rule.
updatedAt This property is required. String
The updated time of the rule.
zoneNames This property is required. 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.
bindVpcs This property is required. ResolverRulesRuleBindVpc[]
createdAt This property is required. string
The created time of the rule.
endpointId This property is required. number
ID of the exit terminal node.
forwardIps This property is required. ResolverRulesRuleForwardIp[]
The IP address and port of the DNS server outside of the VPC.
id This property is required. string
The id of the rule.
line This property is required. number
The ISP of the exit IP address of the recursive DNS server.
name This property is required. string
The name of the rule.
ruleId This property is required. number
The id of the rule.
type This property is required. string
The type of the rule.
updatedAt This property is required. string
The updated time of the rule.
zoneNames This property is required. 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 This property is required. Sequence[ResolverRulesRuleBindVpc]
created_at This property is required. str
The created time of the rule.
endpoint_id This property is required. int
ID of the exit terminal node.
forward_ips This property is required. Sequence[ResolverRulesRuleForwardIp]
The IP address and port of the DNS server outside of the VPC.
id This property is required. str
The id of the rule.
line This property is required. int
The ISP of the exit IP address of the recursive DNS server.
name This property is required. str
The name of the rule.
rule_id This property is required. int
The id of the rule.
type This property is required. str
The type of the rule.
updated_at This property is required. str
The updated time of the rule.
zone_names This property is required. 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.
bindVpcs This property is required. List<Property Map>
createdAt This property is required. String
The created time of the rule.
endpointId This property is required. Number
ID of the exit terminal node.
forwardIps This property is required. List<Property Map>
The IP address and port of the DNS server outside of the VPC.
id This property is required. String
The id of the rule.
line This property is required. Number
The ISP of the exit IP address of the recursive DNS server.
name This property is required. String
The name of the rule.
ruleId This property is required. Number
The id of the rule.
type This property is required. String
The type of the rule.
updatedAt This property is required. String
The updated time of the rule.
zoneNames This property is required. 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.

ResolverRulesRuleBindVpc

AccountId This property is required. string
The account id of the bind vpc.
Id This property is required. string
The id of the rule.
Region This property is required. string
The region of the bind vpc.
RegionName This property is required. string
The region name of the bind vpc.
AccountId This property is required. string
The account id of the bind vpc.
Id This property is required. string
The id of the rule.
Region This property is required. string
The region of the bind vpc.
RegionName This property is required. string
The region name of the bind vpc.
accountId This property is required. String
The account id of the bind vpc.
id This property is required. String
The id of the rule.
region This property is required. String
The region of the bind vpc.
regionName This property is required. String
The region name of the bind vpc.
accountId This property is required. string
The account id of the bind vpc.
id This property is required. string
The id of the rule.
region This property is required. string
The region of the bind vpc.
regionName This property is required. string
The region name of the bind vpc.
account_id This property is required. str
The account id of the bind vpc.
id This property is required. str
The id of the rule.
region This property is required. str
The region of the bind vpc.
region_name This property is required. str
The region name of the bind vpc.
accountId This property is required. String
The account id of the bind vpc.
id This property is required. String
The id of the rule.
region This property is required. String
The region of the bind vpc.
regionName This property is required. String
The region name of the bind vpc.

ResolverRulesRuleForwardIp

Ip This property is required. string
The IP address of the DNS server outside of the VPC.
Port This property is required. int
The port of the DNS server outside of the VPC.
Ip This property is required. string
The IP address of the DNS server outside of the VPC.
Port This property is required. int
The port of the DNS server outside of the VPC.
ip This property is required. String
The IP address of the DNS server outside of the VPC.
port This property is required. Integer
The port of the DNS server outside of the VPC.
ip This property is required. string
The IP address of the DNS server outside of the VPC.
port This property is required. number
The port of the DNS server outside of the VPC.
ip This property is required. str
The IP address of the DNS server outside of the VPC.
port This property is required. int
The port of the DNS server outside of the VPC.
ip This property is required. String
The IP address of the DNS server outside of the VPC.
port This property is required. Number
The port of the DNS server outside of the VPC.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine