oci.Dns.ResolverEndpoint
Explore with Pulumi AI
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
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
The ResolverEndpoint resource accepts the following input properties:
- 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 string - The OCID of the target resolver.
- Subnet
Id 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
- Endpoint
Type string - (Updatable) 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.
- 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.
- Nsg
Ids 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.
- 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 string - The OCID of the target resolver.
- Subnet
Id 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
- Endpoint
Type string - (Updatable) 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.
- 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.
- Nsg
Ids []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 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.
- resolver
Id String - The OCID of the target resolver.
- subnet
Id 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
- endpoint
Type String - (Updatable) 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.
- 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.
- nsg
Ids 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.
- 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.
- resolver
Id string - The OCID of the target resolver.
- subnet
Id 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
- endpoint
Type string - (Updatable) 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.
- 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.
- nsg
Ids 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.
- 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.
- resolver
Id String - The OCID of the target resolver.
- subnet
Id 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
- endpoint
Type String - (Updatable) 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.
- 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.
- nsg
Ids 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:
- 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.
- 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.
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Compartment
Id string - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- 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.
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment
Id String - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- 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.
- time
Created String - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time
Updated String - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment
Id string - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- 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.
- time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment_
id str - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- 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.
- 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.
- 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.
- 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.
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.
- Compartment
Id string - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- Endpoint
Type string - (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
- Forwarding
Address string - An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- Is
Forwarding bool - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- Is
Listening bool - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- Listening
Address string - An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- Name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- Nsg
Ids 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.
- Resolver
Id 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.
- Subnet
Id 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
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Compartment
Id string - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- Endpoint
Type string - (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
- Forwarding
Address string - An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- Is
Forwarding bool - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- Is
Listening bool - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- Listening
Address string - An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- Name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- Nsg
Ids []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.
- Resolver
Id 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.
- Subnet
Id 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
- Time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- Time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment
Id String - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpoint
Type String - (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address String - An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- is
Forwarding Boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening Boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address String - An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name String
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- nsg
Ids 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.
- resolver
Id 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.
- subnet
Id 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
- time
Created String - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time
Updated String - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment
Id string - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpoint
Type string - (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address string - An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- is
Forwarding boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address string - An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name string
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- nsg
Ids 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.
- resolver
Id 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.
- subnet
Id 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
- time
Created string - The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- time
Updated string - The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.
- compartment_
id str - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpoint_
type str - (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.
- compartment
Id String - The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under and will be updated if the resolver's compartment is changed.
- endpoint
Type String - (Updatable) The type of resolver endpoint. VNIC is currently the only supported type.
- forwarding
Address String - An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.
- is
Forwarding Boolean - A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
- is
Listening Boolean - A Boolean flag indicating whether or not the resolver endpoint is for listening.
- listening
Address String - An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.
- name String
- The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.
- nsg
Ids 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.
- resolver
Id 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.
- subnet
Id 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
- 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.
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.