Introduced : BIG-IP_v11.4.0
Creates a new Application Service with extended variables. Extended variables allows you to specify more than just name and value. This method first creates a folder named after the application with a “.app” suffix, then executes the application template implementation script to create the objects owned by the application. For example, for an application service named “myapp”, and application template named “myapp_tpl”, the system creates a folder named “” in the current folder, perhaps with a pool and virtual in the new folder, if the application template script so directs. If a variable is marked as encrypted, then the value will be encrypted by the system.


    in String [] apps,
    in String [] templates,
    in Management__ApplicationService__ScalarVarExtended [] [] scalar_vars,
    in Management__ApplicationService__ListVarExtended [] [] list_vars,
    in Management__ApplicationService__TableVarExtended [] [] table_vars


Parameter Type Description
apps String [] Names of the application services to create.
templates String [] Names of the application template to use for each application.
scalar_vars ScalarVarExtended [] [] The scalar variables for each application.
list_vars ListVarExtended [] [] The list variables for each application.
table_vars TableVarExtended [] [] The table variables for each application.

Return Type

Type Description


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


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.