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

oci.Dns.Resolver

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

Updates the specified resolver with your new information.

Note: Resolvers are associated with VCNs and created when a VCN is created. Wait until created VCN’s state shows as Available in OCI console before updating DNS resolver properties. Also a VCN cannot be deleted while its resolver has resolver endpoints. Additionally a resolver endpoint cannot be deleted if it is referenced in the resolver’s rules. To remove the rules from a resolver user needs to update the resolver resource. Since DNS Resolver gets deleted when VCN is deleted there is no support for Delete for DNS Resolver.

Create Resolver Resource

new Resolver(name: string, args: ResolverArgs, opts?: CustomResourceOptions);
@overload
def Resolver(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             attached_views: Optional[Sequence[_dns.ResolverAttachedViewArgs]] = None,
             compartment_id: Optional[str] = None,
             defined_tags: Optional[Mapping[str, Any]] = None,
             display_name: Optional[str] = None,
             freeform_tags: Optional[Mapping[str, Any]] = None,
             resolver_id: Optional[str] = None,
             rules: Optional[Sequence[_dns.ResolverRuleArgs]] = None,
             scope: Optional[str] = None)
@overload
def Resolver(resource_name: str,
             args: ResolverArgs,
             opts: Optional[ResourceOptions] = None)
func NewResolver(ctx *Context, name string, args ResolverArgs, opts ...ResourceOption) (*Resolver, error)
public Resolver(string name, ResolverArgs args, CustomResourceOptions? opts = null)
public Resolver(String name, ResolverArgs args)
public Resolver(String name, ResolverArgs args, CustomResourceOptions options)
type: oci:Dns:Resolver
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ResolverArgs
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 ResolverArgs
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 ResolverArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResolverArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ResolverArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Resolver 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 Resolver resource accepts the following input properties:

ResolverId string

The OCID of the target resolver.

AttachedViews List<ResolverAttachedViewArgs>

(Updatable) The attached views. Views are evaluated in order.

CompartmentId string

(Updatable) The OCID of the owning compartment.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The display name of the resolver.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Rules List<ResolverRuleArgs>

(Updatable) Rules for the resolver. Rules are evaluated in order.

Scope string

If specified, must be PRIVATE when creating private name resolvers.

ResolverId string

The OCID of the target resolver.

AttachedViews []ResolverAttachedViewArgs

(Updatable) The attached views. Views are evaluated in order.

CompartmentId string

(Updatable) The OCID of the owning compartment.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The display name of the resolver.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Rules []ResolverRuleArgs

(Updatable) Rules for the resolver. Rules are evaluated in order.

Scope string

If specified, must be PRIVATE when creating private name resolvers.

resolverId String

The OCID of the target resolver.

attachedViews List<ResolverAttachedViewArgs>

(Updatable) The attached views. Views are evaluated in order.

compartmentId String

(Updatable) The OCID of the owning compartment.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The display name of the resolver.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

rules List<ResolverRuleArgs>

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope String

If specified, must be PRIVATE when creating private name resolvers.

resolverId string

The OCID of the target resolver.

attachedViews ResolverAttachedViewArgs[]

(Updatable) The attached views. Views are evaluated in order.

compartmentId string

(Updatable) The OCID of the owning compartment.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName string

(Updatable) The display name of the resolver.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

rules ResolverRuleArgs[]

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope string

If specified, must be PRIVATE when creating private name resolvers.

resolver_id str

The OCID of the target resolver.

attached_views ResolverAttachedViewArgs]

(Updatable) The attached views. Views are evaluated in order.

compartment_id str

(Updatable) The OCID of the owning compartment.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

display_name str

(Updatable) The display name of the resolver.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

rules ResolverRuleArgs]

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope str

If specified, must be PRIVATE when creating private name resolvers.

resolverId String

The OCID of the target resolver.

attachedViews List<Property Map>

(Updatable) The attached views. Views are evaluated in order.

compartmentId String

(Updatable) The OCID of the owning compartment.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The display name of the resolver.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

rules List<Property Map>

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope String

If specified, must be PRIVATE when creating private name resolvers.

Outputs

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

AttachedVcnId string

The OCID of the attached VCN.

DefaultViewId string

The OCID of the default view.

Endpoints List<ResolverEndpoint>

Read-only array of endpoints for the resolver.

Id string

The provider-assigned unique ID for this managed resource.

IsProtected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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.

AttachedVcnId string

The OCID of the attached VCN.

DefaultViewId string

The OCID of the default view.

Endpoints []ResolverEndpointType

Read-only array of endpoints for the resolver.

Id string

The provider-assigned unique ID for this managed resource.

IsProtected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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.

attachedVcnId String

The OCID of the attached VCN.

defaultViewId String

The OCID of the default view.

endpoints List<ResolverEndpoint>

Read-only array of endpoints for the resolver.

id String

The provider-assigned unique ID for this managed resource.

isProtected Boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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.

attachedVcnId string

The OCID of the attached VCN.

defaultViewId string

The OCID of the default view.

endpoints ResolverEndpoint[]

Read-only array of endpoints for the resolver.

id string

The provider-assigned unique ID for this managed resource.

isProtected boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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.

attached_vcn_id str

The OCID of the attached VCN.

default_view_id str

The OCID of the default view.

endpoints ResolverEndpoint]

Read-only array of endpoints for the resolver.

id str

The provider-assigned unique ID for this managed resource.

is_protected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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.

attachedVcnId String

The OCID of the attached VCN.

defaultViewId String

The OCID of the default view.

endpoints List<Property Map>

Read-only array of endpoints for the resolver.

id String

The provider-assigned unique ID for this managed resource.

isProtected Boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

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 Resolver Resource

Get an existing Resolver 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?: ResolverState, opts?: CustomResourceOptions): Resolver
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attached_vcn_id: Optional[str] = None,
        attached_views: Optional[Sequence[_dns.ResolverAttachedViewArgs]] = None,
        compartment_id: Optional[str] = None,
        default_view_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        endpoints: Optional[Sequence[_dns.ResolverEndpointArgs]] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        is_protected: Optional[bool] = None,
        resolver_id: Optional[str] = None,
        rules: Optional[Sequence[_dns.ResolverRuleArgs]] = None,
        scope: Optional[str] = None,
        self: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> Resolver
func GetResolver(ctx *Context, name string, id IDInput, state *ResolverState, opts ...ResourceOption) (*Resolver, error)
public static Resolver Get(string name, Input<string> id, ResolverState? state, CustomResourceOptions? opts = null)
public static Resolver get(String name, Output<String> id, ResolverState 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:
AttachedVcnId string

The OCID of the attached VCN.

AttachedViews List<ResolverAttachedViewArgs>

(Updatable) The attached views. Views are evaluated in order.

CompartmentId string

(Updatable) The OCID of the owning compartment.

DefaultViewId string

The OCID of the default view.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The display name of the resolver.

Endpoints List<ResolverEndpointArgs>

Read-only array of endpoints for the resolver.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

IsProtected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

ResolverId string

The OCID of the target resolver.

Rules List<ResolverRuleArgs>

(Updatable) Rules for the resolver. Rules are evaluated in order.

Scope string

If specified, must be PRIVATE when creating private name resolvers.

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.

AttachedVcnId string

The OCID of the attached VCN.

AttachedViews []ResolverAttachedViewArgs

(Updatable) The attached views. Views are evaluated in order.

CompartmentId string

(Updatable) The OCID of the owning compartment.

DefaultViewId string

The OCID of the default view.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The display name of the resolver.

Endpoints []ResolverEndpointTypeArgs

Read-only array of endpoints for the resolver.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

IsProtected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

ResolverId string

The OCID of the target resolver.

Rules []ResolverRuleArgs

(Updatable) Rules for the resolver. Rules are evaluated in order.

Scope string

If specified, must be PRIVATE when creating private name resolvers.

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.

attachedVcnId String

The OCID of the attached VCN.

attachedViews List<ResolverAttachedViewArgs>

(Updatable) The attached views. Views are evaluated in order.

compartmentId String

(Updatable) The OCID of the owning compartment.

defaultViewId String

The OCID of the default view.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The display name of the resolver.

endpoints List<ResolverEndpointArgs>

Read-only array of endpoints for the resolver.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

isProtected Boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

resolverId String

The OCID of the target resolver.

rules List<ResolverRuleArgs>

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope String

If specified, must be PRIVATE when creating private name resolvers.

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.

attachedVcnId string

The OCID of the attached VCN.

attachedViews ResolverAttachedViewArgs[]

(Updatable) The attached views. Views are evaluated in order.

compartmentId string

(Updatable) The OCID of the owning compartment.

defaultViewId string

The OCID of the default view.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName string

(Updatable) The display name of the resolver.

endpoints ResolverEndpointArgs[]

Read-only array of endpoints for the resolver.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

isProtected boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

resolverId string

The OCID of the target resolver.

rules ResolverRuleArgs[]

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope string

If specified, must be PRIVATE when creating private name resolvers.

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.

attached_vcn_id str

The OCID of the attached VCN.

attached_views ResolverAttachedViewArgs]

(Updatable) The attached views. Views are evaluated in order.

compartment_id str

(Updatable) The OCID of the owning compartment.

default_view_id str

The OCID of the default view.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

display_name str

(Updatable) The display name of the resolver.

endpoints ResolverEndpointArgs]

Read-only array of endpoints for the resolver.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

is_protected bool

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

resolver_id str

The OCID of the target resolver.

rules ResolverRuleArgs]

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope str

If specified, must be PRIVATE when creating private name resolvers.

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.

attachedVcnId String

The OCID of the attached VCN.

attachedViews List<Property Map>

(Updatable) The attached views. Views are evaluated in order.

compartmentId String

(Updatable) The OCID of the owning compartment.

defaultViewId String

The OCID of the default view.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The display name of the resolver.

endpoints List<Property Map>

Read-only array of endpoints for the resolver.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

isProtected Boolean

A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.

resolverId String

The OCID of the target resolver.

rules List<Property Map>

(Updatable) Rules for the resolver. Rules are evaluated in order.

scope String

If specified, must be PRIVATE when creating private name resolvers.

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.

Supporting Types

ResolverAttachedView

ViewId string

(Updatable) The OCID of the view.

ViewId string

(Updatable) The OCID of the view.

viewId String

(Updatable) The OCID of the view.

viewId string

(Updatable) The OCID of the view.

view_id str

(Updatable) The OCID of the view.

viewId String

(Updatable) The OCID of the view.

ResolverEndpoint

CompartmentId string

(Updatable) The OCID of the owning compartment.

EndpointType string

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.

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

(Updatable) The OCID of the owning compartment.

EndpointType string

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.

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

(Updatable) The OCID of the owning compartment.

endpointType String

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.

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

(Updatable) The OCID of the owning compartment.

endpointType string

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.

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

(Updatable) The OCID of the owning compartment.

endpoint_type str

The type of resolver endpoint. VNIC is currently the only supported type.

forwarding_address str

An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part of the subnet and will be assigned by the system if unspecified when isForwarding is true.

is_forwarding bool

A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

is_listening bool

A Boolean flag indicating whether or not the resolver endpoint is for listening.

listening_address str

An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the subnet and will be assigned by the system if unspecified when isListening is true.

name str

The name of the resolver endpoint. Must be unique, case-insensitive, within the resolver.

self str

The canonical absolute URL of the resource.

state str

The current state of the resource.

subnet_id str

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

time_created str

The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

time_updated str

The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339.

compartmentId String

(Updatable) The OCID of the owning compartment.

endpointType String

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.

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.

ResolverRule

Action string

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

DestinationAddresses List<string>

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

SourceEndpointName string

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

ClientAddressConditions List<string>

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

QnameCoverConditions List<string>

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

Action string

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

DestinationAddresses []string

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

SourceEndpointName string

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

ClientAddressConditions []string

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

QnameCoverConditions []string

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

action String

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

destinationAddresses List<String>

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

sourceEndpointName String

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

clientAddressConditions List<String>

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

qnameCoverConditions List<String>

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

action string

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

destinationAddresses string[]

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

sourceEndpointName string

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

clientAddressConditions string[]

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

qnameCoverConditions string[]

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

action str

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

destination_addresses Sequence[str]

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

source_endpoint_name str

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

client_address_conditions Sequence[str]

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

qname_cover_conditions Sequence[str]

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

action String

(Updatable) The action determines the behavior of the rule. If a query matches a supplied condition, the action will apply. If there are no conditions on the rule, all queries are subject to the specified action.

destinationAddresses List<String>

(Updatable) IP addresses to which queries should be forwarded. Currently limited to a single address.

sourceEndpointName String

(Updatable) Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true.

clientAddressConditions List<String>

(Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply.

qnameCoverConditions List<String>

(Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.

Import

Resolvers can be imported using their OCID, e.g.

 $ pulumi import oci:Dns/resolver:Resolver test_resolver "id"

Package Details

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

This Pulumi package is based on the oci Terraform Provider.