Infoblox::Grid::ServiceRestart::Group::Schedule - A Grid Service Restart Group Schedule object.
The Grid Service Restart Group Schedule object provides information about restart service schedule settings for Service Restart Group.
my $svcrst_schedule = Infoblox::Grid::ServiceRestart::Group::Schedule->new( schedule => $schedule, # Required services => $array_of_services, # Optional / Default is ['ALL'] mode => 'GROUPED' | 'SEQUENTIAL' | 'SIMULTANEOUS', # Optional / Default is 'GROUPED' force => 'true' | 'false', # Optional / Default is 'false' );
Use this method to set or retrieve the Grid Service Restart Group Schedule. See Infoblox::Grid::ServiceRestart::Group->recurring_schedule() for parameters and return values.
#Get recurring_schedule my $recurring_schedule = $svcrst_group->recurring_schedule(); #Modify recurring_schedule $svcrst_group->recurring_schedule($sched);
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 list of services for a scheduled restart for a particular Grid Service Restart Group.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid value is an array which contains following values: 'ALL', 'DNS', 'DHCP', 'DHCPV4', 'DHCPV6'.
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 services my $services = $svcrst_schedule->services(); #Modify services $svcrst_schedule->services('DHCP');
Use this method to set or retrieve the service restart mode for a scheduled restart for a particular Grid Service Restart Group.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The valid values are 'GROUPED', 'SEQUENTIAL' and 'SIMULTANEOUS'.
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 mode my $mode = $svcrst_schedule->mode(); #Modify mode $svcrst_schedule->mode('SEQUENTIAL');
Use this method to set or retrieve the flag that indicates whether a forced scheduled restart will be performed for a particular Grid Service Restart Group.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
Specify 'true' to set the flag, and 'false' to unset/deactivate 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 force my $force = $svcrst_schedule->force(); #Modify force $svcrst_schedule->force('true');
Use this method to set or retrieve the schedule settings for a particular Grid Service Restart Group.
Include the specified parameter to set the attribute value. Omit the parameter to retrieve the attribute value.
The 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 schedule my $schedule = $svcrst_schedule->schedule(); #Modify schedule $svcrst_schedule->schedule($sched);
Infoblox Inc. http://www.infoblox.com/
Infoblox::Grid::ServiceRestart::Group, Infoblox::Grid::ServiceRestart::Group->recurring_schedule(), Infoblox::Grid::ScheduleSetting.
Copyright (c) 2017 Infoblox Inc.