Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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 GetResolver(ctx *Context, args *GetResolverArgs, opts ...InvokeOption) (*GetResolverResult, error)
func GetResolverOutput(ctx *Context, args *GetResolverOutputArgs, opts ...InvokeOption) GetResolverResultOutput
> Note: This function is named GetResolver
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Dns/getResolver:getResolver
arguments:
# arguments dictionary
The following arguments are supported:
- Resolver
Id string - The OCID of the target resolver.
- Scope string
- Value must be
PRIVATE
when listing private name resolvers.
- Resolver
Id string - The OCID of the target resolver.
- Scope string
- Value must be
PRIVATE
when listing private name resolvers.
- resolver
Id String - The OCID of the target resolver.
- scope String
- Value must be
PRIVATE
when listing private name resolvers.
- resolver
Id string - The OCID of the target resolver.
- scope string
- Value must be
PRIVATE
when listing private name resolvers.
- resolver_
id str - The OCID of the target resolver.
- scope str
- Value must be
PRIVATE
when listing private name resolvers.
- resolver
Id String - The OCID of the target resolver.
- scope String
- Value must be
PRIVATE
when listing private name resolvers.
getResolver Result
The following output properties are available:
- Attached
Vcn stringId - The OCID of the attached VCN.
- Attached
Views List<GetResolver Attached View> - The attached views. Views are evaluated in order.
- Compartment
Id 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.
- Default
View 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.
- Display
Name string - The display name of the resolver.
- Endpoints
List<Get
Resolver 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.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Resolver
Id string - Rules
List<Get
Resolver 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.
- Time
Created 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.
- Time
Updated 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 stringId - The OCID of the attached VCN.
- Attached
Views []GetResolver Attached View - The attached views. Views are evaluated in order.
- Compartment
Id 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.
- Default
View 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.
- Display
Name string - The display name of the resolver.
- Endpoints
[]Get
Resolver 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.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Resolver
Id string - Rules
[]Get
Resolver 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.
- Time
Created 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.
- Time
Updated 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 StringId - The OCID of the attached VCN.
- attached
Views List<GetResolver Attached View> - The attached views. Views are evaluated in order.
- compartment
Id 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.
- default
View 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.
- display
Name String - The display name of the resolver.
- endpoints
List<Get
Resolver 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.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id String - rules
List<Get
Resolver 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.
- time
Created 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.
- time
Updated 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 stringId - The OCID of the attached VCN.
- attached
Views GetResolver Attached View[] - The attached views. Views are evaluated in order.
- compartment
Id 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.
- default
View 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.
- display
Name string - The display name of the resolver.
- endpoints
Get
Resolver 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.
- is
Protected boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id string - rules
Get
Resolver 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.
- time
Created 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.
- time
Updated 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[dns.Get Resolver 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[dns.
Get Resolver 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[dns.
Get Resolver 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
- attached
Vcn StringId - The OCID of the attached VCN.
- attached
Views List<Property Map> - The attached views. Views are evaluated in order.
- compartment
Id 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.
- default
View 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.
- display
Name 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.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id 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.
- time
Created 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.
- time
Updated 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
- View
Id string - The OCID of the view.
- View
Id string - The OCID of the view.
- view
Id String - The OCID of the view.
- view
Id string - The OCID of the view.
- view_
id str - The OCID of the view.
- view
Id String - The OCID of the view.
GetResolverEndpoint
- Compartment
Id 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.
- Endpoint
Type string - The type of resolver endpoint. VNIC is currently the only supported type.
- Forwarding
Address 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.
- 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 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.
- Subnet
Id string - The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- Time
Created 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.
- Time
Updated 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 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.
- Endpoint
Type string - The type of resolver endpoint. VNIC is currently the only supported type.
- Forwarding
Address 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.
- 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 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.
- Subnet
Id string - The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- Time
Created 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.
- Time
Updated 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 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.
- endpoint
Type String - The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address 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.
- is
Forwarding Boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening Boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address 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.
- subnet
Id String - The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- time
Created 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.
- time
Updated 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 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.
- endpoint
Type string - The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address 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.
- is
Forwarding boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address 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.
- subnet
Id string - The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- time
Created 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.
- time
Updated 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.
- compartment
Id 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.
- endpoint
Type String - The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address 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.
- is
Forwarding Boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening Boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address 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.
- subnet
Id String - The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
- time
Created 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.
- time
Updated 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.
- Client
Address 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.
- Destination
Addresses List<string> - IP addresses to which queries should be forwarded. Currently limited to a single address.
- Qname
Cover 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.
- Source
Endpoint 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.
- Client
Address []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.
- Destination
Addresses []string - IP addresses to which queries should be forwarded. Currently limited to a single address.
- Qname
Cover []stringConditions - 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 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.
- client
Address 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.
- destination
Addresses List<String> - IP addresses to which queries should be forwarded. Currently limited to a single address.
- qname
Cover 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.
- source
Endpoint 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.
- client
Address 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.
- destination
Addresses string[] - IP addresses to which queries should be forwarded. Currently limited to a single address.
- qname
Cover 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.
- source
Endpoint 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.
- client
Address 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.
- destination
Addresses List<String> - IP addresses to which queries should be forwarded. Currently limited to a single address.
- qname
Cover 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.
- source
Endpoint 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
oci
Terraform Provider.