Infoblox::DTC::Object - An object for all managed objects on DNS traffic control devices.
This is a read-only object for all managed objects on DNS traffic control devices.
This section describes all the methods in an Infoblox::Session module that you can apply to an 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 attributes to get a specific object:
comment - Optional. The comment. name - Optional. The object name. type - Optional. The object type. The valid values are 'LBDN', 'POOL' and 'SERVER'. status_member - Optional. Optional. The member that provides the health status for the object. The default is Grid.
my @retrieved_objs = $session->get( object => 'Infoblox::DTC::Object', name => 'dtc_device', );
Use this method to search for objects in the Infoblox appliance. See Infoblox::Session->search() for parameters and return values.
Apply the following attributes to search a specific object:
comment - Optional. The comment. name - Optional. The object name. type - Optional. The object type. The valid values are 'LBDN', 'POOL' and 'SERVER'. status_member - Optional. The member that provides the health status for the object. The default is Grid.
my @retrieved_objs = $session->search( object => 'Infoblox::DTC::Object', name => 'dtc_device', );
This section describes all the methods that you can use to retrieve the attribute values of an object.
Use this method to retrieve an abstract object type. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->abstract_type();
Use this method to retrieve a descriptive comment. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->comment();
Use this method to retrieve an object type. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->display_type();
Use this method to retrieve the extensible attributes associated with an object object. This attribute is read-only and cannot be set.
None.
The method returns the attribute value.
#Get extattrs my $ref_extattrs = $object->extattrs();
Use this method to retrieve the extensible attributes associated with an object. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->extensible_attributes();
Use this method to retrieve the IPv4 addresses for display. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->ipv4_address_list();
Use this method to retrieve the IPv6 addresses for display. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->ipv6_address_list();
Use this method to retrieve an object name. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value.
#Get attribute value my $value = $object->name();
Use this method to retrieve an object. This method does not support any argument because the attribute is read-only and is set by the server.
None
The valid return value is an Infoblox::DTC::Pool, Infoblox::DTC::Server or Infoblox::DTC::LBDN object.
#Get attribute value my $value = $object->object();
Use this method to retrieve the current status of an object. This method does not support any argument because the attribute is read-only and is set by the server.
None
The method returns the attribute value that can be 'BLUE', 'GRAY', 'GREEN', 'NONE', 'RED' or 'YELLOW'.
+---------------+-------------------------------+ | GREEN | Working, OK | +---------------+-------------------------------+ | YELLOW | Warning | +---------------+-------------------------------+ | RED | Failed, Error | +---------------+-------------------------------+ | BLUE | Transitional, Connecting | +---------------+-------------------------------+ | GRAY | Disabled | +---------------+-------------------------------+ | NONE (BLACK) | Inactive, Offline, Unknown | +---------------+-------------------------------+
#Get attribute value my $value = $object->status();
Use this method to retrieve the timestamp of the object's current status. This is a read-only attribute.
None
The method returns the attribute value.
#Get attribute value my $value = $object->status_time();
Infoblox Inc. http://www.infoblox.com/
Infoblox::Session, Infoblox::DTC::Pool, Infoblox::DTC::Server, Infoblox::DTC::LBDN
Copyright (c) 2017 Infoblox Inc.