Forum Discussion
AS3 declaration
- Feb 27, 2020
I believe this has to do with the template type you are using.
Try to change the template from http to generic and then change the serviceMain to testme123.example.com-80.
When using the 'http' template I can get the same error:
"Sample_01": { "class": "Tenant", "testme123.example.com-80": { "class": "Application", "template": "http", <<<<<<<< Change to generic "serviceMain": { "class": "Service_HTTP", "virtualAddresses": [ "10.0.1.11" ],
Altered the template type to generic and it deployed the virtual server with the matching name:
"Sample_01": { "class": "Tenant", "testme123.example.com-80": { "class": "Application", "template": "generic", "testme123.example.com-80": { "class": "Service_HTTP", "virtualAddresses": [ "10.0.1.11" ],
Thank you very much! I tried the small change above and it works. There wasn't a lot of information on the documentation about doing it this way. I figured it's absolute nuts to see all your virtual servers named serviceMain. Do you have a sample template of the full declaration for a generic virtual server. I figure we would want to change some of the profiles like TCP protocol, etc.
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