DhcpOption¶
-
class
oci.core.models.
DhcpOption
(**kwargs)¶ Bases:
object
A single DHCP option according to RFC 1533. The two options available to use are
DhcpDnsOption
andDhcpSearchDomainOption
. For more information, see DNS in Your Virtual Cloud Network and DHCP Options.Methods
__init__
(**kwargs)Initializes a new DhcpOption 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. Attributes
type
[Required] Gets the type of this DhcpOption. -
__init__
(**kwargs)¶ Initializes a new DhcpOption 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: type (str) – The value to assign to the type property of this DhcpOption.
-
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.
-
type
¶ [Required] Gets the type of this DhcpOption. The specific DHCP option. Either DomainNameServer (for
DhcpDnsOption
) or SearchDomain (forDhcpSearchDomainOption
).Returns: The type of this DhcpOption. Return type: str
-