Infoblox::Grid::Discovery::AutoConversionSetting - Auto conversion setting.
The object contains settings for automatic conversion of discovered data to managed objects.
my $object = Infoblox::Grid::Discovery::AutoConversionSetting->new( 'comment' => $string, # Optional 'condition' => $string, # Optional 'format' => $string, # Required 'network_view' => $string, # Required 'type' => 'A_AND_PTR_RECORD' | 'HOST_RECORD' | 'FIXED_ADDRESS', # Required );
The object does not support any session methods.
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 the comment for the automatic conversion setting.
The comment in string 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 attribute value my $value = $object->comment(); # Modify attribute value $object->comment('comment');
Use this method to set or retrieve the condition for automatic conversion settings.
The string contains the condition for automatic conversion settings.
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 attribute value my $value = $object->condition(); # Modify attribute value $object->condition('${discovered_name} == "unknown"');
Use this method to set or retrieve the format of the template for conversion.
Template string used to generate host names.
Note that using double quotes may lead to interpolation of variables. Instead, use single quotes or encapsulated '$' characters.
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 attribute value my $value = $object->format(); # Modify attribute value $object->format('${discovered_name}.test.com');
Use this method to set or retrieve the name of the network view which contains discovered data for convert.
The name of the network view.
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 attribute value my $value = $object->network_view(); # Modify attribute value $object->network_view('default');
Use this method to set or retrieve the type of the converted object.
The object type used to define the converted object. Valid value is one of the following object types: 'A_AND_PTR_RECORD', 'HOST_RECORD', 'FIXED_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 attribute value my $value = $object->type(); # Modify attribute value $object->type('FIXED_ADDRESS');
Infoblox Inc. http://www.infoblox.com/
Copyright (c) 2017 Infoblox Inc.