GlobalLB::PoolV2::set_non_terminal_member_rdata_weight

Introduced : BIG-IP_v12.0.0
Sets the RDATA weight of a set of non-terminal pool members in a set of pools. Note this is only valid for SRV type pool members. The default is 10. RDATA is a field in a DNS resource record (RR). The contents of the RDATA field depend on the type of RR. For example an A type RR would contain an IPv4 address in the RDATA section while a CNAME type RR would contain the string name of an alias domain name.

Prototype

 set_non_terminal_member_rdata_weight(
    in GlobalLB__PoolID [] pools,
    in String [] [] members,
    in long [] [] weights
);

Parameters

Parameter Type Description
pools PoolID [] The list of pools to which the specified non-terminal members belong.
members String [] [] Non-terminal members of each specified pool.
weights long [] [] RDATA weights for each specified non-terminal pool member of each specified pool.

Return Type

Type Description
void  

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.