WebAccelerator::Applications::create

Introduced : BIG-IP_v10.0
This method is deprecated. Please use create_v2 instead. Create a new application.

Prototype

long create(
    in String name,
    in String description,
    in String local_policy,
    in String remote_policy,
    in String [] requested_hosts
);

Parameters

Parameter Type Description
name String The name of the new application.
description String The description of the new application.
local_policy String The name of the local policy to use.
remote_policy String The name of the remote policy to use; optional, may be blank.
requested_hosts String [] A list of strings describing the one or more requested hosts to use with this application. The strings that describe requested hosts should be one-line and are of the form: requested_host(domain=>www.example.com) or requested_host(domain=>www.example.com, http_subdomain_count=>5, https_subdomain_count=>5, subdomain_prefix=>wa). http_subdomain_count, https_subdomain_count, and subdomain_prefix must either all be set or none at all. Also, both http_subdomain_count and https_subdomain_count must be less than or equal to 5. The requested domain may also include an asterisk to match multiple hosts with one application.

Return Type

Type Description
long For BIG-IP_v11.0.0 the user should ignore the return value of create.

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.