GlobalLB::Rule¶
Methods¶
Method | Description | Introduced |
add_metadata | Adds the metadata for the specified rules. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
create | Creates the specified rules. | BIG-IP_v9.2.0 |
delete_all_rules | Deletes all user-defined rules. | BIG-IP_v9.2.0 |
delete_rule | Deletes the specified rules. An exception will be raised when attempting to delete a default system rule. | BIG-IP_v9.2.0 |
get_all_statistics | Gets the statistics for all the rules. | BIG-IP_v9.2.0 |
get_list | Gets a list of all rules. | BIG-IP_v9.2.0 |
get_metadata | Gets the user metadata for the specified rules. User metadata, also metadata for short, is mainly a name/value pair that is associated with a metadata capable config (MCC) object. Some exmaples of MCC objects are ltm pool and virtual server. The combination of the MCC object name and the metadata name uniguely identify an instance of the metadata. One MCC object may have multiple instances of metadata associated with it. In addition to name/value pair, metadata also has a persistence attribute. See Common::MetadataPersistence for its definition. | BIG-IP_v11.2.0 |
get_metadata_description | Gets the metadata descriptions for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
get_metadata_persistence | Gets the persistence for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
get_metadata_value | Gets the metadata values for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
get_statistics | Gets the statistics for the specified rules. | BIG-IP_v9.2.0 |
get_version | Gets the version information for this interface. | BIG-IP_v9.2.0 |
modify_rule | Modifies the specified rules. | BIG-IP_v9.2.0 |
query_all_rules | Queries all rules. | BIG-IP_v9.2.0 |
query_rule | Queries the specified rules. | BIG-IP_v9.2.0 |
remove_all_metadata | Removes all the metadata instances for the specified rules. | BIG-IP_v11.2.0 |
remove_metadata | Removes the metadata for the specified rules and names. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
reset_statistics | Resets the statistics for the specified rules. | BIG-IP_v9.2.0 |
set_metadata_description | Sets the descriptions for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
set_metadata_persistence | Sets the persistence for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
set_metadata_value | Sets the values for the specified metadata. For definition of the metadata, refer to the get_metadata method description. | BIG-IP_v11.2.0 |
Structures¶
Structure
Description
A struct that describes the rule and its definition.
A struct that describes statistics for a particular rule.
A struct that describes pool statistics and timestamp.
Aliases¶
Alias | Type | Description |
RuleDefinitionSequence | RuleDefinition [] | A sequence of rule definitions. |
RuleStatisticEntrySequence | RuleStatisticEntry [] | A sequence of Rule statistics. |
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.