Open kamilner opened 4 months ago
I am trying to use DnsrecordFind, with no success irrespective of how I try to use it. I have tried the following:
res, err := c.DnsrecordFind("", &freeipa.DnsrecordFindArgs{}, &freeipa.DnsrecordFindOptionalArgs{ Sizelimit: freeipa.Int(0), })
This returns the error:
2024/07/31 16:07:35 RequirementError (3007): 'dnszoneidnsname' is required
That's fair enough.
If I try:
res, err := c.DnsrecordFind("example.com", &freeipa.DnsrecordFindArgs{}, &freeipa.DnsrecordFindOptionalArgs{ Sizelimit: freeipa.Int(0), })
I get the error:
2024/07/31 16:09:19 unexpected value for field Idnsname: [map[__dns_name__:@]] ([]interface {})
res, err := c.DnsrecordFind("", &freeipa.DnsrecordFindArgs{}, &freeipa.DnsrecordFindOptionalArgs{ Dnszoneidnsname: freeipa.String("example.com"), Sizelimit: freeipa.Int(0), })
2024/07/31 16:10:53 OverlapError (3006): overlapping arguments and options: ['dnszoneidnsname']
Any pointers?
I am trying to use DnsrecordFind, with no success irrespective of how I try to use it. I have tried the following:
res, err := c.DnsrecordFind("", &freeipa.DnsrecordFindArgs{}, &freeipa.DnsrecordFindOptionalArgs{ Sizelimit: freeipa.Int(0), })
This returns the error:
2024/07/31 16:07:35 RequirementError (3007): 'dnszoneidnsname' is required
That's fair enough.
If I try:
res, err := c.DnsrecordFind("example.com", &freeipa.DnsrecordFindArgs{}, &freeipa.DnsrecordFindOptionalArgs{ Sizelimit: freeipa.Int(0), })
I get the error:
2024/07/31 16:09:19 unexpected value for field Idnsname: [map[__dns_name__:@]] ([]interface {})
If I try:
I get the error:
2024/07/31 16:10:53 OverlapError (3006): overlapping arguments and options: ['dnszoneidnsname']
Any pointers?