1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Dns
  5. ResolverEndpoint
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Dns.ResolverEndpoint

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

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

    Creates a new resolver endpoint in the same compartment as the resolver.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testResolverEndpoint = new oci.dns.ResolverEndpoint("test_resolver_endpoint", {
        isForwarding: resolverEndpointIsForwarding,
        isListening: resolverEndpointIsListening,
        name: resolverEndpointName,
        resolverId: testResolver.id,
        subnetId: testSubnet.id,
        scope: "PRIVATE",
        endpointType: resolverEndpointEndpointType,
        forwardingAddress: resolverEndpointForwardingAddress,
        listeningAddress: resolverEndpointListeningAddress,
        nsgIds: resolverEndpointNsgIds,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_resolver_endpoint = oci.dns.ResolverEndpoint("test_resolver_endpoint",
        is_forwarding=resolver_endpoint_is_forwarding,
        is_listening=resolver_endpoint_is_listening,
        name=resolver_endpoint_name,
        resolver_id=test_resolver["id"],
        subnet_id=test_subnet["id"],
        scope="PRIVATE",
        endpoint_type=resolver_endpoint_endpoint_type,
        forwarding_address=resolver_endpoint_forwarding_address,
        listening_address=resolver_endpoint_listening_address,
        nsg_ids=resolver_endpoint_nsg_ids)
    
    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.NewResolverEndpoint(ctx, "test_resolver_endpoint", &Dns.ResolverEndpointArgs{
    			IsForwarding:      pulumi.Any(resolverEndpointIsForwarding),
    			IsListening:       pulumi.Any(resolverEndpointIsListening),
    			Name:              pulumi.Any(resolverEndpointName),
    			ResolverId:        pulumi.Any(testResolver.Id),
    			SubnetId:          pulumi.Any(testSubnet.Id),
    			Scope:             pulumi.String("PRIVATE"),
    			EndpointType:      pulumi.Any(resolverEndpointEndpointType),
    			ForwardingAddress: pulumi.Any(resolverEndpointForwardingAddress),
    			ListeningAddress:  pulumi.Any(resolverEndpointListeningAddress),
    			NsgIds:            pulumi.Any(resolverEndpointNsgIds),
    		})
    		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 testResolverEndpoint = new Oci.Dns.ResolverEndpoint("test_resolver_endpoint", new()
        {
            IsForwarding = resolverEndpointIsForwarding,
            IsListening = resolverEndpointIsListening,
            Name = resolverEndpointName,
            ResolverId = testResolver.Id,
            SubnetId = testSubnet.Id,
            Scope = "PRIVATE",
            EndpointType = resolverEndpointEndpointType,
            ForwardingAddress = resolverEndpointForwardingAddress,
            ListeningAddress = resolverEndpointListeningAddress,
            NsgIds = resolverEndpointNsgIds,
        });
    
    });
    
    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(resolverEndpointIsForwarding)
                .isListening(resolverEndpointIsListening)
                .name(resolverEndpointName)
                .resolverId(testResolver.id())
                .subnetId(testSubnet.id())
                .scope("PRIVATE")
                .endpointType(resolverEndpointEndpointType)
                .forwardingAddress(resolverEndpointForwardingAddress)
                .listeningAddress(resolverEndpointListeningAddress)
                .nsgIds(resolverEndpointNsgIds)
                .build());
    
        }
    }
    
    resources:
      testResolverEndpoint:
        type: oci:Dns:ResolverEndpoint
        name: test_resolver_endpoint
        properties:
          isForwarding: ${resolverEndpointIsForwarding}
          isListening: ${resolverEndpointIsListening}
          name: ${resolverEndpointName}
          resolverId: ${testResolver.id}
          subnetId: ${testSubnet.id}
          scope: PRIVATE
          endpointType: ${resolverEndpointEndpointType}
          forwardingAddress: ${resolverEndpointForwardingAddress}
          listeningAddress: ${resolverEndpointListeningAddress}
          nsgIds: ${resolverEndpointNsgIds}
    

    Create ResolverEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ResolverEndpoint(name: string, args: ResolverEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def ResolverEndpoint(resource_name: str,
                         args: ResolverEndpointInitArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResolverEndpoint(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         is_forwarding: Optional[bool] = None,
                         is_listening: Optional[bool] = None,
                         resolver_id: Optional[str] = None,
                         subnet_id: Optional[str] = None,
                         endpoint_type: Optional[str] = None,
                         forwarding_address: Optional[str] = None,
                         listening_address: Optional[str] = None,
                         name: Optional[str] = None,
                         nsg_ids: Optional[Sequence[str]] = None,
                         scope: Optional[str] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var resolverEndpointResource = new Oci.Dns.ResolverEndpoint("resolverEndpointResource", new()
    {
        IsForwarding = false,
        IsListening = false,
        ResolverId = "string",
        SubnetId = "string",
        EndpointType = "string",
        ForwardingAddress = "string",
        ListeningAddress = "string",
        Name = "string",
        NsgIds = new[]
        {
            "string",
        },
        Scope = "string",
    });
    
    example, err := Dns.NewResolverEndpoint(ctx, "resolverEndpointResource", &Dns.ResolverEndpointArgs{
    	IsForwarding:      pulumi.Bool(false),
    	IsListening:       pulumi.Bool(false),
    	ResolverId:        pulumi.String("string"),
    	SubnetId:          pulumi.String("string"),
    	EndpointType:      pulumi.String("string"),
    	ForwardingAddress: pulumi.String("string"),
    	ListeningAddress:  pulumi.String("string"),
    	Name:              pulumi.String("string"),
    	NsgIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Scope: pulumi.String("string"),
    })
    
    var resolverEndpointResource = new ResolverEndpoint("resolverEndpointResource", ResolverEndpointArgs.builder()
        .isForwarding(false)
        .isListening(false)
        .resolverId("string")
        .subnetId("string")
        .endpointType("string")
        .forwardingAddress("string")
        .listeningAddress("string")
        .name("string")
        .nsgIds("string")
        .scope("string")
        .build());
    
    resolver_endpoint_resource = oci.dns.ResolverEndpoint("resolverEndpointResource",
        is_forwarding=False,
        is_listening=False,
        resolver_id="string",
        subnet_id="string",
        endpoint_type="string",
        forwarding_address="string",
        listening_address="string",
        name="string",
        nsg_ids=["string"],
        scope="string")
    
    const resolverEndpointResource = new oci.dns.ResolverEndpoint("resolverEndpointResource", {
        isForwarding: false,
        isListening: false,
        resolverId: "string",
        subnetId: "string",
        endpointType: "string",
        forwardingAddress: "string",
        listeningAddress: "string",
        name: "string",
        nsgIds: ["string"],
        scope: "string",
    });
    
    type: oci:Dns:ResolverEndpoint
    properties:
        endpointType: string
        forwardingAddress: string
        isForwarding: false
        isListening: false
        listeningAddress: string
        name: string
        nsgIds:
            - string
        resolverId: string
        scope: string
        subnetId: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi