Infoblox::Grid::Member::CapacityReport - Capacity report for a specified member.


NAME

Infoblox::Grid::Member::CapacityReport - Capacity report for a specified member.


DESCRIPTION

This is a read-only object that provides the capacity report for the specified member.


CONSTRUCTOR

The Infoblox::Grid::Member::CapacityReport object is a read-only object and does not require manual construction.


SESSION METHODS

This section describes all the methods in an Infoblox::Session module that you can apply to the Infoblox::Grid::HSM::AllGroup object.

Infoblox::Session->get( )

Use this method to retrieve all the matching objects from the Infoblox appliance. See Infoblox::Session->get() for parameters and return values.

Key Reference

Apply the following attribute to get a specific capacity report object:

  name - Required. A member name.
Example
 my @retrieved_objs = $session->get(
     object => "Infoblox::Grid::Member::CapacityReport",
     name   => "infoblox.localdomain"
     );


METHODS

This section describes all the methods that you can use to retrieve the attribute values of the Infoblox::Grid::Member::CapacityReport object.

hardware_type( )

Use this method to retrieve the member's hardware type.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get hardware_type
  my $hardware_type = $report->hardware_type();

max_capacity( )

Use this method to retrieve the member's maximum object capacity.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get max_capacity
  my $max_capacity = $report->max_capacity();

name( )

Use this method to retrieve the member name.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get name
  my $name = $report->name();

object_counts( )

Use this method to retrieve the object counts for the member.

Parameter

None

Returns

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.

Example
  #Get object_counts
  my $object_counts = $report->object_counts();
  #Get the zone count
  my $zone_count = $object_counts->{'Zone'};

percent_used( )

Use this method to retrieve the percentage of the member capacity currently being used.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get percent_used
  my $percent_used = $report->percent_used();

role( )

Use this method to retrieve the member role.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get role
  my $role = $report->role();

total_objects( )

Use this method to retrieve the total number of objects on the member.

Parameter

None

Returns

The method returns the attribute value.

Example
  #Get total_objects
  my $total_objects = $report->total_objects();


AUTHOR

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


SEE ALSO

Infoblox::Session, Infoblox::Session->get()


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.