Infoblox::DTC::Query::Parameters - A DTC query call parameters object.
A DTC query call parameters object.
my $params = Infoblox::DTC::Query::Parameters->new( address => $string, # Required qname => $string, # Required type => 'A' | 'AAAA' | 'NAPTR' | 'CNAME', # Required lbdn => $lbdn, # Required member => $string, # Required );
The object does not support any session methods. It's used as a parameters for a DTC query call.
Use this method to perform a DTC query on a given member.
Valid value is an Infoblox::DTC::Query::Parameters object.
The method returns an Infoblox::DTC::Query::Response when operation succeeds, and returns 'false' when the operation fails.
#perform DTC query my $response = $dtc->query($params);
This section describes all the methods that you can use to set or retrieve the attribute values of the object.
Use this method to set or retrieve an ostensible IPv4 or IPv6 source address.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is a string that contains an IPv4 or IPv6 address.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#get address value my $address = $params->address();
#modify address value $params->address('192.168.1.0');
Use this method to set or retrieve a specific LBDN object for querying.
Note that LBDN objects must be first retrieved using the get()
or search()
operation.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an Infoblox::DTC::LBDN object.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#get lbdn value my $lbdn = $params->lbdn();
#modify lbdn value $params->lbdn($lbdn);
Use this method to set or retrieve a member name for querying.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is a string that contains the member name.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#get member value my $member = $params->member();
#modify member value $params->member('localhost.localdomain');
Use this method to set or retrieve a fully-qualified DNS query name.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is a string, which contains a query name in FQDN format.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#get qname value my $qname = $params->qname();
#modify qname value $params->qname($fqdn);
Use this method to set or retrieve the type of desired results.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid values are 'A', 'AAAA', 'CNAME' and 'NAPTR'.
If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.
If you did not specify a parameter, the method returns the attribute value.
#get type value my $type = $params->type();
#modify type value $params->type('AAAA');
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.