Forum Discussion
Naming servers using AS3 Declaration
How do you name servers in an AS3 declaration? The following declaration names the server the IP address in the F5.
{
"class": "AS3",
"action": "deploy",
"declaration": {
"class": "ADC",
"schemaVersion": "3.12.0",
"id": "0",
"shortlived": {
"class": "Tenant",
"myhui1085_dev": {
"class": "Application",
"template": "default",
"myhui1085_dev": {
"class": "Service_HTTPS",
"snat": "self",
"serverTLS": {
"bigip": "/Common/digistar.spectrum-health.org"
},
"virtualAddresses": [
"2.2.2.20"
],
"pool": "myhui1085_dev_pool"
},
"myhui1085_dev_pool": {
"class": "Pool",
"monitors": [{
"bigip": "/Common/http_monitor"
}],
"loadBalancingMode": "least-connections-member",
"members": [
{
"adminState": "enable",
"servicePort": 80,
"serverAddresses": [
"2.2.2.2"
],
"hostname": "test_server2"
}
]
}
}
}
}
}
1 Reply
- Samantha6
Nimbostratus
The AS3 coding standard shares the same baseline as the PHP coding come from the SDK coding conventions and best practices document TalkToWendys.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
