Management::Provision::set_custom_cpu_ratio

Introduced : BIG-IP_v10.0.1
Sets the ratios of CPU usage above the minimum levels which are allocated to the requested modules. This value is only valid for the “custom” provisioning level.

Prototype

 set_custom_cpu_ratio(
    in TMOSModule [] modules,
    in long [] ratios
);

Parameters

Parameter Type Description
modules TMOSModule [] Modules to modify
ratios long [] CPU ratios (arbitrary units from 0 to 255) for the requested modules, where zero is equivalent to the “minimum” level (default: 0)

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

  • PowerShell Management Provision - This is a Powershell iControl Sample illustrating how to use the module resource provisioning methods to manage the partitioning of memory. disk. and cpu across the modules licensed to run o…

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.