f5.declared.app.declare#
Creates or updates an application with the new Declarative API.
Usage:
f5.declared.app.declare [options...] <declaration file>
Options:
Option |
Description |
|---|---|
|
Define a custom variable file. |
|
Create a new app. |
|
Keeps the temporary files. |
|
Define a custom variable. |
|
Process the declaration file with mustache. |
|
Replace an existing app. |
Reference: https://techdocs.f5.com/en-us/bigip-21-1-0/big-ip-declarative-api/big-ip-declarative-api.html
Example app template: restsh/modules/f5/templates/declared/app.json
Example template file:
{
“name”: “{{NAME}}”,
“partition”: “{{PARTITION}}”,
“resources”: []
}
Example variable file:
NAME=”test”
PARTITION=”Common”