Nameserver

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

Bases: object

A server that has been set up to answer DNS queries for a zone.

Methods

__init__(**kwargs) Initializes a new Nameserver object with values from keyword arguments.

Attributes

hostname [Required] Gets the hostname of this Nameserver.
__init__(**kwargs)

Initializes a new Nameserver object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:hostname (str) – The value to assign to the hostname property of this Nameserver.
hostname

[Required] Gets the hostname of this Nameserver. The hostname of the nameserver.

Returns:The hostname of this Nameserver.
Return type:str