CreateResolverEndpointDetails

class oci.dns.models.CreateResolverEndpointDetails(**kwargs)

Bases: object

The body for defining a new resolver endpoint.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Attributes

ENDPOINT_TYPE_VNIC A constant which can be used with the endpoint_type property of a CreateResolverEndpointDetails.
endpoint_type Gets the endpoint_type of this CreateResolverEndpointDetails.
forwarding_address Gets the forwarding_address of this CreateResolverEndpointDetails.
is_forwarding [Required] Gets the is_forwarding of this CreateResolverEndpointDetails.
is_listening [Required] Gets the is_listening of this CreateResolverEndpointDetails.
listening_address Gets the listening_address of this CreateResolverEndpointDetails.
name [Required] Gets the name of this CreateResolverEndpointDetails.

Methods

__init__(**kwargs) Initializes a new CreateResolverEndpointDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENDPOINT_TYPE_VNIC = 'VNIC'

A constant which can be used with the endpoint_type property of a CreateResolverEndpointDetails. This constant has a value of “VNIC”

__init__(**kwargs)

Initializes a new CreateResolverEndpointDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateResolverEndpointDetails.
  • endpoint_type (str) – The value to assign to the endpoint_type property of this CreateResolverEndpointDetails. Allowed values for this property are: “VNIC”
  • forwarding_address (str) – The value to assign to the forwarding_address property of this CreateResolverEndpointDetails.
  • is_forwarding (bool) – The value to assign to the is_forwarding property of this CreateResolverEndpointDetails.
  • is_listening (bool) – The value to assign to the is_listening property of this CreateResolverEndpointDetails.
  • listening_address (str) – The value to assign to the listening_address property of this CreateResolverEndpointDetails.
endpoint_type

Gets the endpoint_type of this CreateResolverEndpointDetails. The type of resolver endpoint. VNIC is currently the only supported type.

Allowed values for this property are: “VNIC”

Returns:The endpoint_type of this CreateResolverEndpointDetails.
Return type:str
forwarding_address

Gets the forwarding_address of this CreateResolverEndpointDetails. 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.

Returns:The forwarding_address of this CreateResolverEndpointDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_forwarding

[Required] Gets the is_forwarding of this CreateResolverEndpointDetails. A Boolean flag indicating whether or not the resolver endpoint is for forwarding.

Returns:The is_forwarding of this CreateResolverEndpointDetails.
Return type:bool
is_listening

[Required] Gets the is_listening of this CreateResolverEndpointDetails. A Boolean flag indicating whether or not the resolver endpoint is for listening.

Returns:The is_listening of this CreateResolverEndpointDetails.
Return type:bool
listening_address

Gets the listening_address of this CreateResolverEndpointDetails. 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.

Returns:The listening_address of this CreateResolverEndpointDetails.
Return type:str
name

[Required] Gets the name of this CreateResolverEndpointDetails. The name of the resolver endpoint. Must be unique within the resolver.

Returns:The name of this CreateResolverEndpointDetails.
Return type:str