DnsConfiguration¶
- class oci.apm_synthetics.models.DnsConfiguration(**kwargs)¶
Bases:
objectInformation about the DNS settings.
Methods:
__init__(**kwargs)Initializes a new DnsConfiguration object with values from keyword arguments.
Attributes:
Gets the is_override_dns of this DnsConfiguration.
Gets the override_dns_ip of this DnsConfiguration.
- __init__(**kwargs)¶
Initializes a new DnsConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_override_dns (bool) – The value to assign to the is_override_dns property of this DnsConfiguration.
override_dns_ip (str) – The value to assign to the override_dns_ip property of this DnsConfiguration.
- property is_override_dns¶
Gets the is_override_dns of this DnsConfiguration. If isOverrideDns is true, then DNS settings will be overridden.
- Returns
The is_override_dns of this DnsConfiguration.
- Return type
bool
- property override_dns_ip¶
Gets the override_dns_ip of this DnsConfiguration. Attribute to override the DNS IP value. This value is required only if isOverrideDns is set to true.
- Returns
The override_dns_ip of this DnsConfiguration.
- Return type
str