Infoblox::Grid::Discovery::Properties::BlackoutSetting
The object provides information about the discovery or port control blackout settings.
my $object = Infoblox::Grid::Discovery::Properties::BlackoutSetting->new( 'enable_blackout' => 'true' | 'false', # optional 'blackout_duration' => $uint, # optional 'blackout_schedule' => $schedule, # optional );
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 blackout duration.
The blackout duration in minutes.
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->blackout_duration(); # Modify attribute value $object->blackout_duration(10);
Use this method to set or retrieve the blackout schedule.
Valid value is an Infoblox::Grid::ScheduleSetting 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 attribute value my $value = $object->blackout_schedule(); # Modify attribute value $object->blackout_schedule($schedule);
Use this method to enable or disable the Discovery or port control blackout.
Specify 'true' to enable the discovery or port control blackout or 'false' to disable it. The default value is '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 attribute value my $value = $object->enable_blackout(); # Modify attribute value $object->enable_blackout('true');
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::Discovery::Properties
Copyright (c) 2017 Infoblox Inc.