I work with different resource types and rely on proper typing in the SDK.
NetworkLoadBalancers define a health checker and this health checker defines DNS Details.
The parameter rcodes is defined like this:
:param rcodes:
The value to assign to the rcodes property of this DnsHealthCheckerDetails.
:type rcodes: list[oci.network_load_balancer.models.DnsHealthCheckRCodes]
but the related type oci.network_load_balancer.models.DnsHealthCheckRCodes does not exist.
The property let me guess that this is a string:
@property
def rcodes(self):
"""
Gets the rcodes of this DnsHealthCheckerDetails.
An array that represents accepetable RCODE values for DNS query response.
Example: [\"NOERROR\", \"NXDOMAIN\"]
Looking at the go definition, this is actually an enumeration.
Ideally this would be reflected correctly in the python SDK as well.
I work with different resource types and rely on proper typing in the SDK.
NetworkLoadBalancers define a health checker and this health checker defines DNS Details.
The parameter rcodes is defined like this:
but the related type
oci.network_load_balancer.models.DnsHealthCheckRCodesdoes not exist.The property let me guess that this is a string:
Looking at the go definition, this is actually an enumeration.
Ideally this would be reflected correctly in the python SDK as well.