NAME


NAME

Infoblox::Grid::Discovery::Properties::BlackoutSetting


DESCRIPTION

The object provides information about the discovery or port control blackout settings.


CONSTRUCTOR

 my $object = Infoblox::Grid::Discovery::Properties::BlackoutSetting->new(
    'enable_blackout'   => 'true' | 'false',     # optional
    'blackout_duration' => $uint,                # optional
    'blackout_schedule' => $schedule,            # optional
 );


SESSION METHODS

The object does not support any session methods.


METHODS

This section describes all the methods that you can use to set or retrieve the attribute values of the object.

blackout_duration( )

Use this method to set or retrieve the blackout duration.

Parameter

The blackout duration in minutes.

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
 # Get attribute value
 my $value = $object->blackout_duration();
 # Modify attribute value
 $object->blackout_duration(10);

blackout_schedule( )

Use this method to set or retrieve the blackout schedule.

Parameter

Valid value is an Infoblox::Grid::ScheduleSetting 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
 # Get attribute value
 my $value = $object->blackout_schedule();
 # Modify attribute value
 $object->blackout_schedule($schedule);

enable_blackout( )

Use this method to enable or disable the Discovery or port control blackout.

Parameter

Specify 'true' to enable the discovery or port control blackout or 'false' to disable 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
 # Get attribute value
 my $value = $object->enable_blackout();
 # Modify attribute value
 $object->enable_blackout('true');


AUTHOR

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


SEE ALSO

Infoblox::Grid::Discovery::Properties


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.