Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Dns.getResolver
Explore with Pulumi AI
This data source provides details about a specific Resolver resource in Oracle Cloud Infrastructure DNS service.
Gets information about a specific resolver.
Note that attempting to get a resolver in the DELETED lifecycleState will result in a 404
response to be consistent with other operations of the API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testResolver = oci.Dns.getResolver({
    resolverId: testResolverOciDnsResolver.id,
    scope: "PRIVATE",
});
import pulumi
import pulumi_oci as oci
test_resolver = oci.Dns.get_resolver(resolver_id=test_resolver_oci_dns_resolver["id"],
    scope="PRIVATE")
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/dns"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dns.GetResolver(ctx, &dns.GetResolverArgs{
			ResolverId: testResolverOciDnsResolver.Id,
			Scope:      pulumi.StringRef("PRIVATE"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testResolver = Oci.Dns.GetResolver.Invoke(new()
    {
        ResolverId = testResolverOciDnsResolver.Id,
        Scope = "PRIVATE",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dns.DnsFunctions;
import com.pulumi.oci.Dns.inputs.GetResolverArgs;
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 testResolver = DnsFunctions.getResolver(GetResolverArgs.builder()
            .resolverId(testResolverOciDnsResolver.id())
            .scope("PRIVATE")
            .build());
    }
}
variables:
  testResolver:
    fn::invoke:
      function: oci:Dns:getResolver
      arguments:
        resolverId: ${testResolverOciDnsResolver.id}
        scope: PRIVATE
Using getResolver
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 getResolver(args: GetResolverArgs, opts?: InvokeOptions): Promise<GetResolverResult>
function getResolverOutput(args: GetResolverOutputArgs, opts?: InvokeOptions): Output<GetResolverResult>def get_resolver(resolver_id: Optional[str] = None,
                 scope: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetResolverResult
def get_resolver_output(resolver_id: Optional[pulumi.Input[str]] = None,
                 scope: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetResolverResult]func LookupResolver(ctx *Context, args *LookupResolverArgs, opts ...InvokeOption) (*LookupResolverResult, error)
func LookupResolverOutput(ctx *Context, args *LookupResolverOutputArgs, opts ...InvokeOption) LookupResolverResultOutput> Note: This function is named LookupResolver in the Go SDK.
public static class GetResolver 
{
    public static Task<GetResolverResult> InvokeAsync(GetResolverArgs args, InvokeOptions? opts = null)
    public static Output<GetResolverResult> Invoke(GetResolverInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResolverResult> getResolver(GetResolverArgs args, InvokeOptions options)
public static Output<GetResolverResult> getResolver(GetResolverArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Dns/getResolver:getResolver
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResolverId string
- The OCID of the target resolver.
- Scope string
- Value must be PRIVATEwhen listing private name resolvers.
- ResolverId string
- The OCID of the target resolver.
- Scope string
- Value must be PRIVATEwhen listing private name resolvers.
- resolverId String
- The OCID of the target resolver.
- scope String
- Value must be PRIVATEwhen listing private name resolvers.
- resolverId string
- The OCID of the target resolver.
- scope string
- Value must be PRIVATEwhen listing private name resolvers.
- resolver_id str
- The OCID of the target resolver.
- scope str
- Value must be PRIVATEwhen listing private name resolvers.
- resolverId String
- The OCID of the target resolver.
- scope String
- Value must be PRIVATEwhen listing private name resolvers.
getResolver Result
The following output properties are available:
- AttachedVcn stringId 
- The OCID of the attached VCN.
- AttachedViews List<GetResolver Attached View> 
- The attached views. Views are evaluated in order.
- CompartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- DefaultView stringId 
- The OCID of the default view.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- The display name of the resolver.
- Endpoints
List<GetResolver Endpoint> 
- Read-only array of endpoints for the resolver.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- Id string
- The OCID of the resolver.
- IsProtected bool
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- ResolverId string
- Rules
List<GetResolver Rule> 
- Rules for the resolver. Rules are evaluated in order.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- TimeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- TimeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Scope string
- AttachedVcn stringId 
- The OCID of the attached VCN.
- AttachedViews []GetResolver Attached View 
- The attached views. Views are evaluated in order.
- CompartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- DefaultView stringId 
- The OCID of the default view.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- The display name of the resolver.
- Endpoints
[]GetResolver Endpoint Type 
- Read-only array of endpoints for the resolver.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- Id string
- The OCID of the resolver.
- IsProtected bool
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- ResolverId string
- Rules
[]GetResolver Rule 
- Rules for the resolver. Rules are evaluated in order.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- TimeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- TimeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Scope string
- attachedVcn StringId 
- The OCID of the attached VCN.
- attachedViews List<GetResolver Attached View> 
- The attached views. Views are evaluated in order.
- compartmentId String
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- defaultView StringId 
- The OCID of the default view.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- The display name of the resolver.
- endpoints
List<GetResolver Endpoint> 
- Read-only array of endpoints for the resolver.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id String
- The OCID of the resolver.
- isProtected Boolean
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolverId String
- rules
List<GetResolver Rule> 
- Rules for the resolver. Rules are evaluated in order.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- timeCreated String
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated String
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- scope String
- attachedVcn stringId 
- The OCID of the attached VCN.
- attachedViews GetResolver Attached View[] 
- The attached views. Views are evaluated in order.
- compartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- defaultView stringId 
- The OCID of the default view.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- The display name of the resolver.
- endpoints
GetResolver Endpoint[] 
- Read-only array of endpoints for the resolver.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id string
- The OCID of the resolver.
- isProtected boolean
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolverId string
- rules
GetResolver Rule[] 
- Rules for the resolver. Rules are evaluated in order.
- self string
- The canonical absolute URL of the resource.
- state string
- The current state of the resource.
- timeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- scope string
- attached_vcn_ strid 
- The OCID of the attached VCN.
- attached_views Sequence[GetResolver Attached View] 
- The attached views. Views are evaluated in order.
- compartment_id str
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- default_view_ strid 
- The OCID of the default view.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- display_name str
- The display name of the resolver.
- endpoints
Sequence[GetResolver Endpoint] 
- Read-only array of endpoints for the resolver.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id str
- The OCID of the resolver.
- is_protected bool
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver_id str
- rules
Sequence[GetResolver Rule] 
- Rules for the resolver. Rules are evaluated in order.
- self str
- The canonical absolute URL of the resource.
- state str
- The current state of the resource.
- time_created str
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time_updated str
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- scope str
- attachedVcn StringId 
- The OCID of the attached VCN.
- attachedViews List<Property Map>
- The attached views. Views are evaluated in order.
- compartmentId String
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- defaultView StringId 
- The OCID of the default view.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- The display name of the resolver.
- endpoints List<Property Map>
- Read-only array of endpoints for the resolver.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
- id String
- The OCID of the resolver.
- isProtected Boolean
- A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolverId String
- rules List<Property Map>
- Rules for the resolver. Rules are evaluated in order.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- timeCreated String
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated String
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- scope String
Supporting Types
GetResolverAttachedView   
- ViewId string
- The OCID of the view.
- ViewId string
- The OCID of the view.
- viewId String
- The OCID of the view.
- viewId string
- The OCID of the view.
- view_id str
- The OCID of the view.
- viewId String
- The OCID of the view.
GetResolverEndpoint  
- CompartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- EndpointType string
- The type of resolver endpoint. VNIC is currently the only supported type.
- ForwardingAddress string
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- IsForwarding bool
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- IsListening bool
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- ListeningAddress string
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- Name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- SubnetId string
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- TimeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- TimeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- CompartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- EndpointType string
- The type of resolver endpoint. VNIC is currently the only supported type.
- ForwardingAddress string
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- IsForwarding bool
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- IsListening bool
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- ListeningAddress string
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- Name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- Self string
- The canonical absolute URL of the resource.
- State string
- The current state of the resource.
- SubnetId string
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- TimeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- TimeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartmentId String
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpointType String
- The type of resolver endpoint. VNIC is currently the only supported type.
- forwardingAddress String
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- isForwarding Boolean
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- isListening Boolean
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listeningAddress String
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name String
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- subnetId String
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- timeCreated String
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated String
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartmentId string
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpointType string
- The type of resolver endpoint. VNIC is currently the only supported type.
- forwardingAddress string
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- isForwarding boolean
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- isListening boolean
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listeningAddress string
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- self string
- The canonical absolute URL of the resource.
- state string
- The current state of the resource.
- subnetId string
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- timeCreated string
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated string
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment_id str
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpoint_type str
- The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding_address str
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- is_forwarding bool
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is_listening bool
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening_address str
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name str
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- self str
- The canonical absolute URL of the resource.
- state str
- The current state of the resource.
- subnet_id str
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- time_created str
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time_updated str
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartmentId String
- The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpointType String
- The type of resolver endpoint. VNIC is currently the only supported type.
- forwardingAddress String
- An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- isForwarding Boolean
- A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- isListening Boolean
- A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listeningAddress String
- An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name String
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- self String
- The canonical absolute URL of the resource.
- state String
- The current state of the resource.
- subnetId String
- The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- timeCreated String
- The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- timeUpdated String
- The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
GetResolverRule  
- Action string
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- ClientAddress List<string>Conditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- DestinationAddresses List<string>
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- QnameCover List<string>Conditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- SourceEndpoint stringName 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
- Action string
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- ClientAddress []stringConditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- DestinationAddresses []string
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- QnameCover []stringConditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- SourceEndpoint stringName 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
- action String
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- clientAddress List<String>Conditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- destinationAddresses List<String>
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- qnameCover List<String>Conditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- sourceEndpoint StringName 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
- action string
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- clientAddress string[]Conditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- destinationAddresses string[]
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- qnameCover string[]Conditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- sourceEndpoint stringName 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
- action str
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- client_address_ Sequence[str]conditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- destination_addresses Sequence[str]
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- qname_cover_ Sequence[str]conditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- source_endpoint_ strname 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
- action String
- The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.- FORWARD- Matching requests will be forwarded from the source interface to the destination address.
 
- clientAddress List<String>Conditions 
- A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.
- destinationAddresses List<String>
- IP addresses to which queries should be forwarded. Currently limited to a single address.
- qnameCover List<String>Conditions 
- A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
- sourceEndpoint StringName 
- Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.