ContainerDnsConfig

class oci.container_instances.models.ContainerDnsConfig(**kwargs)

Bases: object

DNS settings for containers.

Methods

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

Attributes

nameservers Gets the nameservers of this ContainerDnsConfig.
options Gets the options of this ContainerDnsConfig.
searches Gets the searches of this ContainerDnsConfig.
__init__(**kwargs)

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

Parameters:
  • nameservers (list[str]) – The value to assign to the nameservers property of this ContainerDnsConfig.
  • searches (list[str]) – The value to assign to the searches property of this ContainerDnsConfig.
  • options (list[str]) – The value to assign to the options property of this ContainerDnsConfig.
nameservers

Gets the nameservers of this ContainerDnsConfig. IP address of the name server..

Returns:The nameservers of this ContainerDnsConfig.
Return type:list[str]
options

Gets the options of this ContainerDnsConfig. Options allows certain internal resolver variables to be modified.

Returns:The options of this ContainerDnsConfig.
Return type:list[str]
searches

Gets the searches of this ContainerDnsConfig. Search list for hostname lookup.

Returns:The searches of this ContainerDnsConfig.
Return type:list[str]