Forum Discussion
NiHo_202842
May 03, 2016Cirrostratus
Assign ASM policy to VS via iControl/REST
Hello everyone,
I batch create virtual servers using the iControl/REST interface. Only thing missing now is assigning a pre-existing ASM policy.
My version is 11.5.1, will upgrade to 11.5.3...
Fred_Wittenberg
Apr 13, 2017Historic F5 Account
Alternatively, you could do something like this, within the policy:
PATCH - https://10.128.1.245/mgmt/tm/asm/policies/SZ-bD4Tgcq2AMKgqzV9LVw
{"virtualServers": ["/Common/test","/Common/hackazon"]}
This is useful if you are adding multiple virtuals to the same policy.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects