11-May-2023 22:42
11-May-2023
22:49
- last edited on
17-May-2023
08:33
by
Leslie_Hubertus
Hi,
Yes, it is possible to delete a specific AS3 (Application Services 3) application within a tenant using the FAST (F5 Application Services Templates) template. Here's a general outline of the process:
Identify the name or identifier of the AS3 application you want to delete. This information is typically defined in the AS3 declaration or template you used to deploy the application.
Access the management interface or command-line interface (CLI) of your F5 device or controller.
Use the appropriate command or API endpoint to delete the AS3 application. The exact method may vary depending on the version of AS3 and the F5 device or controller you are using.
If you're using the REST API, you can send a DELETE request to the AS3 API endpoint corresponding to the specific application. The API endpoint typically follows the pattern: /mgmt/shared/appsvcs/declare/<tenant>/<app_id>, where <tenant> is the name of the tenant and <app_id> is the identifier or name of the AS3 application.
If you're using the CLI, you may need to use commands specific to your F5 device or controller. Consult the documentation or user guide for the appropriate command syntax. Generally, you would use a command like delete as3 declaration <tenant> <app_id> or something similar.
It's important to note that the exact steps may differ depending on your specific F5 device, version, and configuration. It's always recommended to consult the F5 documentation or reach out to F5 support for accurate instructions tailored to your environment.
(Note: edited @Leslie_Hubertus - I removed spam link and ban user, but am leaving the post up for the info)
12-May-2023 02:08
Hi and thanks for quick reply,
Created application with sending below body to endpoint https://{{bigip-dev_mgmt}}/mgmt/shared/fast/applications
Recived back:
15-May-2023 05:42 - edited 15-May-2023 09:50
Are all the applications in the same declaration? I think that when deploying to a custom tenant that is not /Common then you have to use the same declaration and declare all the applications that will be in that tenant.
After that just remove the application in the declaration and deploy again with the remaining applications as AS3 interpreter on the F5 device knows to implement only the declaration changes.
https://f5-cis-opsguide.readthedocs.io/en/latest/class2/module5/module5.html
The delete method for me is used to delete tenants or all the AS3 data as shown in:
https://community.f5.com/t5/codeshare/deleting-an-as3-tenant/ta-p/305813