Infoblox::Grid::Member::CapacityReport - Capacity report for a specified member.
This is a read-only object that provides the capacity report for the specified member.
The Infoblox::Grid::Member::CapacityReport object is a read-only object and does not require manual construction.
This section describes all the methods in an Infoblox::Session module that you can apply to the Infoblox::Grid::HSM::AllGroup object.
Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.
Apply the following attribute to get a specific capacity report object:
name - Required. A member name.
my @retrieved_objs = $session->get( object => "Infoblox::Grid::Member::CapacityReport", name => "infoblox.localdomain" );
This section describes all the methods that you can use to retrieve the attribute values of the Infoblox::Grid::Member::CapacityReport object.
Use this method to retrieve the member's hardware type.
None
The method returns the attribute value.
#Get hardware_type my $hardware_type = $report->hardware_type();
Use this method to retrieve the member's maximum object capacity.
None
The method returns the attribute value.
#Get max_capacity my $max_capacity = $report->max_capacity();
Use this method to retrieve the member name.
None
The method returns the attribute value.
#Get name my $name = $report->name();
Use this method to retrieve the object counts for the member.
None
The method returns the attribute value, which is a reference to a hash that contains keys to the object types and the corresponding values to the counts of each particular object type.
#Get object_counts my $object_counts = $report->object_counts(); #Get the zone count my $zone_count = $object_counts->{'Zone'};
Use this method to retrieve the percentage of the member capacity currently being used.
None
The method returns the attribute value.
#Get percent_used my $percent_used = $report->percent_used();
Use this method to retrieve the member role.
None
The method returns the attribute value.
#Get role my $role = $report->role();
Use this method to retrieve the total number of objects on the member.
None
The method returns the attribute value.
#Get total_objects my $total_objects = $report->total_objects();
Infoblox Inc. http://www.infoblox.com/
Infoblox::Session, Infoblox::Session->get()
Copyright (c) 2017 Infoblox Inc.