published on Thursday, Jul 9, 2026 by Pulumi
published on Thursday, Jul 9, 2026 by Pulumi
This data source provides the list of Resolvers in Oracle Cloud Infrastructure DNS service.
Gets a list of all resolvers within a compartment.
The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, the collection does not include resolvers in the DELETED lifecycleState to be consistent with other operations of the API.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testResolvers = oci.dns.getResolvers({
compartmentId: compartmentId,
scope: "PRIVATE",
displayName: resolverDisplayName,
id: resolverId,
state: resolverState,
});
import pulumi
import pulumi_oci as oci
test_resolvers = oci.dns.get_resolvers(compartment_id=compartment_id,
scope="PRIVATE",
display_name=resolver_display_name,
id=resolver_id,
state=resolver_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/dns"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dns.GetResolvers(ctx, &dns.GetResolversArgs{
CompartmentId: compartmentId,
Scope: "PRIVATE",
DisplayName: pulumi.StringRef(resolverDisplayName),
Id: pulumi.StringRef(resolverId),
State: pulumi.StringRef(resolverState),
}, 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 testResolvers = Oci.Dns.GetResolvers.Invoke(new()
{
CompartmentId = compartmentId,
Scope = "PRIVATE",
DisplayName = resolverDisplayName,
Id = resolverId,
State = resolverState,
});
});
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.GetResolversArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testResolvers = DnsFunctions.getResolvers(GetResolversArgs.builder()
.compartmentId(compartmentId)
.scope("PRIVATE")
.displayName(resolverDisplayName)
.id(resolverId)
.state(resolverState)
.build());
}
}
variables:
testResolvers:
fn::invoke:
function: oci:Dns:getResolvers
arguments:
compartmentId: ${compartmentId}
scope: PRIVATE
displayName: ${resolverDisplayName}
id: ${resolverId}
state: ${resolverState}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_dns_getresolvers" "testResolvers" {
compartment_id = compartmentId
scope = "PRIVATE"
display_name = resolverDisplayName
id = resolverId
state = resolverState
}
Using getResolvers
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 getResolvers(args: GetResolversArgs, opts?: InvokeOptions): Promise<GetResolversResult>
function getResolversOutput(args: GetResolversOutputArgs, opts?: InvokeOptions): Output<GetResolversResult>def get_resolvers(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetResolversFilter]] = None,
id: Optional[str] = None,
scope: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResolversResult
def get_resolvers_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetResolversFilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
scope: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResolversResult]func GetResolvers(ctx *Context, args *GetResolversArgs, opts ...InvokeOption) (*GetResolversResult, error)
func GetResolversOutput(ctx *Context, args *GetResolversOutputArgs, opts ...InvokeOption) GetResolversResultOutput> Note: This function is named GetResolvers in the Go SDK.
public static class GetResolvers
{
public static Task<GetResolversResult> InvokeAsync(GetResolversArgs args, InvokeOptions? opts = null)
public static Output<GetResolversResult> Invoke(GetResolversInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetResolversResult> getResolvers(GetResolversArgs args, InvokeOptions options)
public static Output<GetResolversResult> getResolvers(GetResolversArgs args, InvokeOptions options)
fn::invoke:
function: oci:Dns/getResolvers:getResolvers
arguments:
# arguments dictionarydata "oci_dns_getresolvers" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Scope string
- Value must be
PRIVATEwhen listing private resolvers. - Display
Name string - The displayName of a resource.
- Filters
List<Get
Resolvers Filter> - Id string
- The OCID of a resource.
- State string
- The state of a resource.
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Scope string
- Value must be
PRIVATEwhen listing private resolvers. - Display
Name string - The displayName of a resource.
- Filters
[]Get
Resolvers Filter - Id string
- The OCID of a resource.
- State string
- The state of a resource.
- compartment_
id string - The OCID of the compartment the resource belongs to.
- scope string
- Value must be
PRIVATEwhen listing private resolvers. - display_
name string - The displayName of a resource.
- filters list(object)
- id string
- The OCID of a resource.
- state string
- The state of a resource.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- scope String
- Value must be
PRIVATEwhen listing private resolvers. - display
Name String - The displayName of a resource.
- filters
List<Get
Resolvers Filter> - id String
- The OCID of a resource.
- state String
- The state of a resource.
- compartment
Id string - The OCID of the compartment the resource belongs to.
- scope string
- Value must be
PRIVATEwhen listing private resolvers. - display
Name string - The displayName of a resource.
- filters
Get
Resolvers Filter[] - id string
- The OCID of a resource.
- state string
- The state of a resource.
- compartment_
id str - The OCID of the compartment the resource belongs to.
- scope str
- Value must be
PRIVATEwhen listing private resolvers. - display_
name str - The displayName of a resource.
- filters
Sequence[Get
Resolvers Filter] - id str
- The OCID of a resource.
- state str
- The state of a resource.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- scope String
- Value must be
PRIVATEwhen listing private resolvers. - display
Name String - The displayName of a resource.
- filters List<Property Map>
- id String
- The OCID of a resource.
- state String
- The state of a resource.
getResolvers Result
The following output properties are available:
- 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.
- Resolvers
List<Get
Resolvers Resolver> - The list of resolvers.
- Scope string
- Display
Name string - The display name of the resolver.
- Filters
List<Get
Resolvers Filter> - Id string
- The OCID of the resolver.
- State string
- The current state of the resource.
- 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.
- Resolvers
[]Get
Resolvers Resolver - The list of resolvers.
- Scope string
- Display
Name string - The display name of the resolver.
- Filters
[]Get
Resolvers Filter - Id string
- The OCID of the resolver.
- State string
- The current state of the resource.
- 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.
- resolvers list(object)
- The list of resolvers.
- scope string
- display_
name string - The display name of the resolver.
- filters list(object)
- id string
- The OCID of the resolver.
- state string
- The current state of the resource.
- 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.
- resolvers
List<Get
Resolvers Resolver> - The list of resolvers.
- scope String
- display
Name String - The display name of the resolver.
- filters
List<Get
Resolvers Filter> - id String
- The OCID of the resolver.
- state String
- The current state of the resource.
- 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.
- resolvers
Get
Resolvers Resolver[] - The list of resolvers.
- scope string
- display
Name string - The display name of the resolver.
- filters
Get
Resolvers Filter[] - id string
- The OCID of the resolver.
- state string
- The current state of the resource.
- 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.
- resolvers
Sequence[Get
Resolvers Resolver] - The list of resolvers.
- scope str
- display_
name str - The display name of the resolver.
- filters
Sequence[Get
Resolvers Filter] - id str
- The OCID of the resolver.
- state str
- The current state of the resource.
- 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.
- resolvers List<Property Map>
- The list of resolvers.
- scope String
- display
Name String - The display name of the resolver.
- filters List<Property Map>
- id String
- The OCID of the resolver.
- state String
- The current state of the resource.
Supporting Types
GetResolversFilter
GetResolversResolver
- Attached
Vcn stringId - The OCID of the attached VCN.
- Attached
Views List<GetResolvers Resolver Attached View> - Compartment
Id string - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- Endpoints
List<Get
Resolvers 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 a resource.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Resolver
Id string - The OCID of the resolver.
- Rules
List<Get
Resolvers Resolver Rule> - Scope string
- Value must be
PRIVATEwhen listing private resolvers. - Self string
- The canonical absolute URL of the resource.
- State string
- The state of a 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.
- Attached
Vcn stringId - The OCID of the attached VCN.
- Attached
Views []GetResolvers Resolver Attached View - Compartment
Id string - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- Endpoints
[]Get
Resolvers 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 a resource.
- Is
Protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- Resolver
Id string - The OCID of the resolver.
- Rules
[]Get
Resolvers Resolver Rule - Scope string
- Value must be
PRIVATEwhen listing private resolvers. - Self string
- The canonical absolute URL of the resource.
- State string
- The state of a 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.
- attached_
vcn_ stringid - The OCID of the attached VCN.
- attached_
views list(object) - compartment_
id string - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- endpoints list(object)
- 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 a resource.
- is_
protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver_
id string - The OCID of the resolver.
- rules list(object)
- scope string
- Value must be
PRIVATEwhen listing private resolvers. - self string
- The canonical absolute URL of the resource.
- state string
- The state of a 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.
- attached
Vcn StringId - The OCID of the attached VCN.
- attached
Views List<GetResolvers Resolver Attached View> - compartment
Id String - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- endpoints
List<Get
Resolvers 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 a resource.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id String - The OCID of the resolver.
- rules
List<Get
Resolvers Resolver Rule> - scope String
- Value must be
PRIVATEwhen listing private resolvers. - self String
- The canonical absolute URL of the resource.
- state String
- The state of a 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.
- attached
Vcn stringId - The OCID of the attached VCN.
- attached
Views GetResolvers Resolver Attached View[] - compartment
Id string - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- endpoints
Get
Resolvers 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 a resource.
- is
Protected boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id string - The OCID of the resolver.
- rules
Get
Resolvers Resolver Rule[] - scope string
- Value must be
PRIVATEwhen listing private resolvers. - self string
- The canonical absolute URL of the resource.
- state string
- The state of a 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.
- attached_
vcn_ strid - The OCID of the attached VCN.
- attached_
views Sequence[GetResolvers Resolver Attached View] - compartment_
id str - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- endpoints
Sequence[Get
Resolvers 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 a resource.
- is_
protected bool - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver_
id str - The OCID of the resolver.
- rules
Sequence[Get
Resolvers Resolver Rule] - scope str
- Value must be
PRIVATEwhen listing private resolvers. - self str
- The canonical absolute URL of the resource.
- state str
- The state of a 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.
- attached
Vcn StringId - The OCID of the attached VCN.
- attached
Views List<Property Map> - compartment
Id String - The OCID of the compartment the resource belongs to.
- 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 displayName of a resource.
- 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 a resource.
- is
Protected Boolean - A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
- resolver
Id String - The OCID of the resolver.
- rules List<Property Map>
- scope String
- Value must be
PRIVATEwhen listing private resolvers. - self String
- The canonical absolute URL of the resource.
- state String
- The state of a 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.
GetResolversResolverAttachedView
- View
Id string
- View
Id string
- view_
id string
- view
Id String
- view
Id string
- view_
id str
- view
Id String
GetResolversResolverEndpoint
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- Pe
Id string - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- Resolver
Id string - The OCID of the resolver.
- Security
Attributes Dictionary<string, string> - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - Self string
- The canonical absolute URL of the resource.
- State string
- The state of a 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.
- Vnic
Id string - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- Compartment
Id string - The OCID of the compartment the resource belongs to.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- Pe
Id string - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- Resolver
Id string - The OCID of the resolver.
- Security
Attributes map[string]string - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - Self string
- The canonical absolute URL of the resource.
- State string
- The state of a 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.
- Vnic
Id string - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- compartment_
id string - The OCID of the compartment the resource belongs to.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- pe_
id string - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- resolver_
id string - The OCID of the resolver.
- security_
attributes map(string) - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - self string
- The canonical absolute URL of the resource.
- state string
- The state of a 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.
- vnic_
id string - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- pe
Id String - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- resolver
Id String - The OCID of the resolver.
- security
Attributes Map<String,String> - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - self String
- The canonical absolute URL of the resource.
- state String
- The state of a 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.
- vnic
Id String - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- compartment
Id string - The OCID of the compartment the resource belongs to.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- {[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 a resource.
- 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.
- pe
Id string - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- resolver
Id string - The OCID of the resolver.
- security
Attributes {[key: string]: string} - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - self string
- The canonical absolute URL of the resource.
- state string
- The state of a 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.
- vnic
Id string - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- compartment_
id str - The OCID of the compartment the resource belongs to.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- pe_
id str - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- resolver_
id str - The OCID of the resolver.
- security_
attributes Mapping[str, str] - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - self str
- The canonical absolute URL of the resource.
- state str
- The state of a 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.
- vnic_
id str - The OCID of the VNIC resource that this resolver endpoint corresponds to.
- compartment
Id String - The OCID of the compartment the resource belongs to.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- 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.
- 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 a resource.
- 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.
- pe
Id String - The OCID of the private endpoint resource that this resolver endpoint corresponds to.
- resolver
Id String - The OCID of the resolver.
- security
Attributes Map<String> - Security attributes are labels for a resource that can be referenced in a Zero Trust Packet Routing (ZPR) policy to control access to ZPR-supported resources. Example:
{"Oracle-DataSecurity-ZPR": {"MaxEgressCount": {"value":"42","mode":"audit"}}} - self String
- The canonical absolute URL of the resource.
- state String
- The state of a 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.
- vnic
Id String - The OCID of the VNIC resource that this resolver endpoint corresponds to.
GetResolversResolverRule
- Action string
- Client
Address List<string>Conditions - Destination
Addresses List<string> - Qname
Cover List<string>Conditions - Source
Endpoint stringName
- Action string
- Client
Address []stringConditions - Destination
Addresses []string - Qname
Cover []stringConditions - Source
Endpoint stringName
- action string
- client_
address_ list(string)conditions - destination_
addresses list(string) - qname_
cover_ list(string)conditions - source_
endpoint_ stringname
- action String
- client
Address List<String>Conditions - destination
Addresses List<String> - qname
Cover List<String>Conditions - source
Endpoint StringName
- action string
- client
Address string[]Conditions - destination
Addresses string[] - qname
Cover string[]Conditions - source
Endpoint stringName
- action str
- client_
address_ Sequence[str]conditions - destination_
addresses Sequence[str] - qname_
cover_ Sequence[str]conditions - source_
endpoint_ strname
- action String
- client
Address List<String>Conditions - destination
Addresses List<String> - qname
Cover List<String>Conditions - source
Endpoint StringName
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, Jul 9, 2026 by Pulumi