LTConfig::Field::get_values

Introduced : BIG-IP_v9.4.2
Gets values for one or more loosely-typed configuration field instances for the specified class instances.

Prototype

String [] [] get_values(
    in LTConfig__ClassInstanceKey [] class_instance_keys,
    in String [] [] field_instance_names
);

Parameters

Parameter Type Description
class_instance_keys ClassInstanceKey [] The class instances containing the fields of interest.
field_instance_names String [] [] A list of (list of) field instances for which to get values, with one list for each class instance specified, each with one entry for each field requested. As a convenience, if the fields are the same for each class instance, you may pass just 1 list of fields to be used for all class instances. In any case, the class instance must have the fields requested on pain of exception.

Return Type

Type Description
String [] [] A list of (list of) field instance values, with one list for each class specified, each with one entry for each field specified. Values are reported as strings when using this method.

Exceptions

Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::InvalidArgument Raised if one of the arguments is invalid.
Common::OperationFailed Raised if an operation error occurs.

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.