oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.Dns.ResolverEndpoint

This resource provides the Resolver Endpoint resource in Oracle Cloud Infrastructure DNS service.

Creates a new resolver endpoint. Requires a PRIVATE scope query parameter.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testResolverEndpoint = new Oci.Dns.ResolverEndpoint("testResolverEndpoint", new()
    {
        IsForwarding = @var.Resolver_endpoint_is_forwarding,
        IsListening = @var.Resolver_endpoint_is_listening,
        ResolverId = oci_dns_resolver.Test_resolver.Id,
        SubnetId = oci_core_subnet.Test_subnet.Id,
        Scope = "PRIVATE",
        EndpointType = @var.Resolver_endpoint_endpoint_type,
        ForwardingAddress = @var.Resolver_endpoint_forwarding_address,
        ListeningAddress = @var.Resolver_endpoint_listening_address,
        NsgIds = @var.Resolver_endpoint_nsg_ids,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Dns"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Dns.NewResolverEndpoint(ctx, "testResolverEndpoint", &Dns.ResolverEndpointArgs{
			IsForwarding:      pulumi.Any(_var.Resolver_endpoint_is_forwarding),
			IsListening:       pulumi.Any(_var.Resolver_endpoint_is_listening),
			ResolverId:        pulumi.Any(oci_dns_resolver.Test_resolver.Id),
			SubnetId:          pulumi.Any(oci_core_subnet.Test_subnet.Id),
			Scope:             pulumi.String("PRIVATE"),
			EndpointType:      pulumi.Any(_var.Resolver_endpoint_endpoint_type),
			ForwardingAddress: pulumi.Any(_var.Resolver_endpoint_forwarding_address),
			ListeningAddress:  pulumi.Any(_var.Resolver_endpoint_listening_address),
			NsgIds:            pulumi.Any(_var.Resolver_endpoint_nsg_ids),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Dns.ResolverEndpoint;
import com.pulumi.oci.Dns.ResolverEndpointArgs;
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) {
        var testResolverEndpoint = new ResolverEndpoint("testResolverEndpoint", ResolverEndpointArgs.builder()        
            .isForwarding(var_.resolver_endpoint_is_forwarding())
            .isListening(var_.resolver_endpoint_is_listening())
            .resolverId(oci_dns_resolver.test_resolver().id())
            .subnetId(oci_core_subnet.test_subnet().id())
            .scope("PRIVATE")
            .endpointType(var_.resolver_endpoint_endpoint_type())
            .forwardingAddress(var_.resolver_endpoint_forwarding_address())
            .listeningAddress(var_.resolver_endpoint_listening_address())
            .nsgIds(var_.resolver_endpoint_nsg_ids())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_resolver_endpoint = oci.dns.ResolverEndpoint("testResolverEndpoint",
    is_forwarding=var["resolver_endpoint_is_forwarding"],
    is_listening=var["resolver_endpoint_is_listening"],
    resolver_id=oci_dns_resolver["test_resolver"]["id"],
    subnet_id=oci_core_subnet["test_subnet"]["id"],
    scope="PRIVATE",
    endpoint_type=var["resolver_endpoint_endpoint_type"],
    forwarding_address=var["resolver_endpoint_forwarding_address"],
    listening_address=var["resolver_endpoint_listening_address"],
    nsg_ids=var["resolver_endpoint_nsg_ids"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testResolverEndpoint = new oci.dns.ResolverEndpoint("testResolverEndpoint", {
    isForwarding: _var.resolver_endpoint_is_forwarding,
    isListening: _var.resolver_endpoint_is_listening,
    resolverId: oci_dns_resolver.test_resolver.id,
    subnetId: oci_core_subnet.test_subnet.id,
    scope: "PRIVATE",
    endpointType: _var.resolver_endpoint_endpoint_type,
    forwardingAddress: _var.resolver_endpoint_forwarding_address,
    listeningAddress: _var.resolver_endpoint_listening_address,
    nsgIds: _var.resolver_endpoint_nsg_ids,
});
resources:
  testResolverEndpoint:
    type: oci:Dns:ResolverEndpoint
    properties:
      #Required
      isForwarding: ${var.resolver_endpoint_is_forwarding}
      isListening: ${var.resolver_endpoint_is_listening}
      resolverId: ${oci_dns_resolver.test_resolver.id}
      subnetId: ${oci_core_subnet.test_subnet.id}
      scope: PRIVATE
      #Optional
      endpointType: ${var.resolver_endpoint_endpoint_type}
      forwardingAddress: ${var.resolver_endpoint_forwarding_address}
      listeningAddress: ${var.resolver_endpoint_listening_address}
      nsgIds: ${var.resolver_endpoint_nsg_ids}

Create ResolverEndpoint Resource

new ResolverEndpoint(name: string, args: ResolverEndpointArgs, opts?: CustomResourceOptions);
@overload
def ResolverEndpoint(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     endpoint_type: Optional[str] = None,
                     forwarding_address: Optional[str] = None,
                     is_forwarding: Optional[bool] = None,
                     is_listening: Optional[bool] = None,
                     listening_address: Optional[str] = None,
                     name: Optional[str] = None,
                     nsg_ids: Optional[Sequence[str]] = None,
                     resolver_id: Optional[str] = None,
                     scope: Optional[str] = None,
                     subnet_id: Optional[str] = None)
@overload
def ResolverEndpoint(resource_name: str,
                     args: ResolverEndpointInitArgs,
                     opts: Optional[ResourceOptions] = None)
func NewResolverEndpoint(ctx *Context, name string, args ResolverEndpointArgs, opts ...ResourceOption) (*ResolverEndpoint, error)
public ResolverEndpoint(string name, ResolverEndpointArgs args, CustomResourceOptions? opts = null)
public ResolverEndpoint(String name, ResolverEndpointArgs args)
public ResolverEndpoint(String name, ResolverEndpointArgs args, CustomResourceOptions options)
type: oci:Dns:ResolverEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ResolverEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ResolverEndpointInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ResolverEndpointArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResolverEndpointArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResolverEndpointArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ResolverEndpoint Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ResolverEndpoint resource accepts the following input properties:

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.

ResolverId string

The OCID of the target resolver.

SubnetId string

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

EndpointType string

(Updatable) 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.

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.

NsgIds List<string>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

Scope string

Value must be PRIVATE when creating private name resolver endpoints.

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.

ResolverId string

The OCID of the target resolver.

SubnetId string

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

EndpointType string

(Updatable) 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.

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.

NsgIds []string

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

Scope string

Value must be PRIVATE when creating private name resolver endpoints.

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.

resolverId String

The OCID of the target resolver.

subnetId String

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

endpointType String

(Updatable) 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.

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.

nsgIds List<String>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

scope String

Value must be PRIVATE when creating private name resolver endpoints.

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.

resolverId string

The OCID of the target resolver.

subnetId string

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

endpointType string

(Updatable) 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.

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.

nsgIds string[]

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

scope string

Value must be PRIVATE when creating private name resolver endpoints.

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.

resolver_id str

The OCID of the target resolver.

subnet_id str

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

endpoint_type str

(Updatable) 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.

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.

nsg_ids Sequence[str]

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

scope str

Value must be PRIVATE when creating private name resolver endpoints.

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.

resolverId String

The OCID of the target resolver.

subnetId String

The OCID of a subnet. Must be part of the VCN that the resolver is attached to.

endpointType String

(Updatable) 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.

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.

nsgIds List<String>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

scope String

Value must be PRIVATE when creating private name resolver endpoints.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResolverEndpoint resource produces the following output properties:

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.

Id string

The provider-assigned unique ID for this managed resource.

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.

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.

Id string

The provider-assigned unique ID for this managed resource.

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.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

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.

id string

The provider-assigned unique ID for this managed resource.

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.

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.

id str

The provider-assigned unique ID for this managed resource.

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.

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.

id String

The provider-assigned unique ID for this managed resource.

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.

Look up Existing ResolverEndpoint Resource

Get an existing ResolverEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ResolverEndpointState, opts?: CustomResourceOptions): ResolverEndpoint
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        endpoint_type: Optional[str] = None,
        forwarding_address: Optional[str] = None,
        is_forwarding: Optional[bool] = None,
        is_listening: Optional[bool] = None,
        listening_address: Optional[str] = None,
        name: Optional[str] = None,
        nsg_ids: Optional[Sequence[str]] = None,
        resolver_id: Optional[str] = None,
        scope: Optional[str] = None,
        self: Optional[str] = None,
        state: Optional[str] = None,
        subnet_id: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> ResolverEndpoint
func GetResolverEndpoint(ctx *Context, name string, id IDInput, state *ResolverEndpointState, opts ...ResourceOption) (*ResolverEndpoint, error)
public static ResolverEndpoint Get(string name, Input<string> id, ResolverEndpointState? state, CustomResourceOptions? opts = null)
public static ResolverEndpoint get(String name, Output<String> id, ResolverEndpointState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
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

(Updatable) 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.

NsgIds List<string>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

ResolverId string

The OCID of the target resolver.

Scope string

Value must be PRIVATE when creating private name resolver endpoints.

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

(Updatable) 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.

NsgIds []string

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

ResolverId string

The OCID of the target resolver.

Scope string

Value must be PRIVATE when creating private name resolver endpoints.

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

(Updatable) 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.

nsgIds List<String>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

resolverId String

The OCID of the target resolver.

scope String

Value must be PRIVATE when creating private name resolver endpoints.

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

(Updatable) 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.

nsgIds string[]

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

resolverId string

The OCID of the target resolver.

scope string

Value must be PRIVATE when creating private name resolver endpoints.

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

(Updatable) 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.

nsg_ids Sequence[str]

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

resolver_id str

The OCID of the target resolver.

scope str

Value must be PRIVATE when creating private name resolver endpoints.

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

(Updatable) 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.

nsgIds List<String>

An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.

resolverId String

The OCID of the target resolver.

scope String

Value must be PRIVATE when creating private name resolver endpoints.

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.

Import

For legacy ResolverEndpoints created without scope, these ResolverEndpoints can be imported using the id, e.g.

 $ pulumi import oci:Dns/resolverEndpoint:ResolverEndpoint test_resolver_endpoint "resolverId/{resolverId}/name/{resolverEndpointName}"

For ResolverEndpoints created using scope, these ResolverEndpoints can be imported using the id, e.g.

 $ pulumi import oci:Dns/resolverEndpoint:ResolverEndpoint test_resolver_endpoint "resolverId/{resolverId}/name/{name}/scope/{scope}"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.