# Naming servers using AS3 Declaration

**URL:** <https://community.f5.com/t/naming-servers-using-as3-declaration/52871>\
**Category:** Technical Forums\
**Tags:** node, devops, ltm, as3\
**Created:** [March 6, 2020, 6:04pm UTC](https://community.f5.com/t/naming-servers-using-as3-declaration/52871 "2020-03-06T18:04:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cookiemonster](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@cookiemonster](https://community.f5.com/u/cookiemonster)\
**Post date:** [March 6, 2020, 6:04pm UTC](https://community.f5.com/t/naming-servers-using-as3-declaration/52871/1 "2020-03-06T18:04:35Z")

</div>

How do you name servers in an AS3 declaration? The following declaration names the server the IP address in the F5.

{

“class”:&nbsp;“AS3”,

“action”:&nbsp;“deploy”,

“declaration”:&nbsp;{

“class”:&nbsp;“ADC”,

“schemaVersion”:&nbsp;“3.12.0”,

“id”:&nbsp;“0”,

“shortlived”:&nbsp;{

“class”:&nbsp;“Tenant”,

“myhui1085\_dev”:&nbsp;{

“class”:&nbsp;“Application”,

“template”:&nbsp;“default”,

“myhui1085\_dev”:&nbsp;{

“class”:&nbsp;“Service\_HTTPS”,

“snat”:&nbsp;“self”,

“serverTLS”:&nbsp;{

“bigip”:&nbsp;“/Common/digistar.spectrum-health.org”

},

“virtualAddresses”:&nbsp;[

“2.2.2.20”

],

“pool”:&nbsp;“myhui1085\_dev\_pool”

},

“myhui1085\_dev\_pool”:&nbsp;{

“class”:&nbsp;“Pool”,

“monitors”:&nbsp;[{

“bigip”:&nbsp;“/Common/http\_monitor”

}],

“loadBalancingMode”:&nbsp;“least-connections-member”,

“members”:&nbsp;[

{

“adminState”:&nbsp;“enable”,

“servicePort”:&nbsp;80,

“serverAddresses”:&nbsp;[

“2.2.2.2”

],

“hostname”:&nbsp;“test\_server2”

}

]

}

}

}

}

}

 ![image_237083.png](https://d20hrnpixdzcsd.cloudfront.net/original/3X/9/7/97bf78760bc9181ecec38958cb9019ba6092853c.png)

---

<div class="post-metadata">

**Author:** ![Samantha6](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@Samantha6](https://community.f5.com/u/Samantha6)\
**Post date:** [March 7, 2020, 9:27am UTC](https://community.f5.com/t/naming-servers-using-as3-declaration/52871/2 "2020-03-07T09:27:16Z")

</div>

The AS3 coding standard shares the same baseline as the PHP coding come from the SDK coding conventions and best practices document [TalkToWendys](https://www.talktowendys.org/).
