Infoblox::Grid::Discovery::ConversionAttributes - conversion attributes.


NAME

Infoblox::Grid::Discovery::ConversionAttributes - conversion attributes.


DESCRIPTION

The object represents the list of attributes for discovery data conversion.


SESSION METHODS

The object does not support any session methods.


METHODS

configure_for_dhcp()

Use this method to set the configure_for_dhcp flag of a DHCP Host Address object.

Parameter

Specify "true" to set the configure_for_dhcp flag or "false" to deactivate/unset it. The default value is "false".

Returns

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.

Example
 #Set value
 my $value = $conversion_attributes->configure_for_dhcp('true');

configure_for_dns()

Use this method to set the configure_for_dns flag of a DNS host.

Parameter

Specify "true" to set the configure_for_dns flag or "false" to deactivate/unset it. The default value is "false".

Returns

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.

Example
 #Set value
 my $value = $conversion_attributes->configure_for_dns('true');

disabled()

Use this method to set or retrieve the flag that indicates whether the target object should be disabled or not.

Parameter

Specify "true" to set the disable flag or "false" to deactivate/unset it. The default value is "false".

Returns

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.

Example
 #Set value
 my $value = $conversion_attributes->disable('true');

comment()

Use this method to set or retrieve a descriptive comment.

Parameter

Desired comment in string format with a maximum of 256 bytes. The default value is undefined.

Returns

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.

Example
 #Set value
 my $value = $conversion_attributes->comment('test comment');

zone()

Use this method to set the authoritative zone for DNS record.

Parameter

The valid value is an Infoblox::DNS::Zone object.

Returns

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.

Example
 my $zone = $discovery->get('object' => 'Infoblox::DNS::Zone', 'name' => 'papi.com');
 #Set value
 my $value = $conversion_attributes->zone($zone);


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::Grid::Discovery, Infoblox::DNS::Zone.


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.