Infoblox::Grid::ThreatProtection::Ruleset - A Grid Threat Protection Ruleset object.
This object represents the Grid Threat Protection ruleset.
This section describes all the methods in an Infoblox::Session module that you can apply to a Grid ruleset object.
Use this method to retrieve all the ruleset objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.
my @retrieved_objs = $session->get( 'object' => 'Infoblox::Grid::ThreatProtection::Ruleset', );
Use this method to retrieve all the ruleset objects from the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.
my @retrieved_objs = $session->search( 'object' => 'Infoblox::Grid::ThreatProtection::Ruleset', );
Use this method to modify an object in the Infoblox appliance. See Infoblox::Session->modify() for parameters and return values.
If you have applied an access control list to an object, you must restart services after you update the access control list for the changes to take effect. See Infoblox::Session->restart() method.
# Use this method to modify comments for the Grid member. $ruleset->comment("This is modified object"); # Submit modification my $response = $session->modify( $ruleset );
Use this method to remove an object from the Infoblox appliance. See Infoblox::Session->remove() for parameters and return values.
To remove a specific object, first use get()
or search()
to retrieve the specific object, and then submit this object for removal.
# Submit for removal my $response = $session->remove( $desired_ruleset );
This section describes all the methods that you can use to set or retrieve the attribute values of the struct.
Use this method to retrieve how the ruleset was added. This is a read-only attribute.
None
The method returns the attribute value, which is either "AUTOMATIC" or "MANUAL".
# Get attribute value my $value = $object->add_type();
Use this method to retrieve the time when the ruleset was added. This is a read-only attribute.
None
The method returns the attribute value, the number of seconds that have elapsed since January 1st, 1970 UTC.
# Get attribute value my $value = $object->added_time();
Use this method to set or retrieve a descriptive comment.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Desired comment in string format with a maximum of 256 bytes.
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 comment my $comment = $object->comment(); #Modify comment $object->comment("Modified comment");
Use this method to set or retrieve the do_not_delete attribute of the ruleset. If set to "true", the ruleset will not be deleted during a ruleset upgrade.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
None
The method returns the attribute value, which is "true" or "false".
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 do_not_delete from the ruleset my $do_not_delete = $object->do_not_delete(); #Modify do_not_delete $object->do_not_delete("true");
Use this method to retrieve the flag that indicates whether the factory reset of this object is enabled or disabled. This is a read-only attribute.
None
The method returns the attribute value.
# Get attribute value my $value = $object->is_factory_reset_enabled();
Use this method to retrieve the users of the ruleset. This is a read-only attribute.
None
The method returns the attribute value, which is a list of strings.
# Get attribute value my $value = $object->used_by();
Use this method to retrieve the ruleset version. This is a read-only attribute.
None
The method returns the attribute value.
# Get attribute value my $value = $object->version();
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::ThreatProtection, Infoblox::Grid::Member::ThreatProtection
Copyright (c) 2017 Infoblox Inc.