LocalLB::Monitor::create_template¶
Introduced : BIG-IP_v9.0
Creates monitor templates with some basic attributes. If the
“parent_template” attribute in “template_attributes” is empty, then
the new template is based on the template type field given in
“templates”. If the “parent_template” attribute in
“template_attributes” is specified, then the new template is derived
from the “parent_template”, and template type field in “templates” is
ignored. If “parent_template” is empty, and the template type field in
“templates” is not specified, then the new template is a root
template.
Prototype¶
create_template(
in LocalLB__Monitor__MonitorTemplate [] templates,
in LocalLB__Monitor__CommonAttributes [] template_attributes
);
Parameters¶
Parameter | Type | Description |
templates | MonitorTemplate [] | The names and types of the new monitor templates to create. |
template_attributes | CommonAttributes [] | The basic template attributes used to create the new template. |
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 App Automation - This is a Powershell iControl Sample illustrating how to automate the process of application pools and monitors for a given Application name and version.
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.