Go library to manage BIG-IP iControl REST API
Problem this snippet solves: This library provides necessary structs and functions to manage the whole REST API. Some REST Calls may require BIG-IP v12.1.x to work properly. How to use this snippet...
Updated Jun 06, 2023
Version 2.0Yann_Desmarest
Cirrus
Joined September 11, 2012
Vincent_Li_9688
Dec 26, 2017Historic F5 Account
https://github.com/e-XpertSolutions/f5-rest-client/issues/8 should address the problem
diff --git a/f5/ltm/virtual.go b/f5/ltm/virtual.go
index 623088b..4c19f97 100644
--- a/f5/ltm/virtual.go
+++ b/f5/ltm/virtual.go
@@ -52,8 +52,8 @@ type VirtualServer struct {
IsSubcollection bool `json:"isSubcollection,omitempty"`
Link string `json:"link,omitempty"`
} `json:"policiesReference,omitempty"`
- Pool string `json:"pool,omitempty"`
- Profiles []string `json:"profiles,omitempty"` // only used to link existing profiles a creation or update
+ Pool string `json:"pool,omitempty"`
+ Profiles []Profile `json:"profiles,omitempty"` // only used to link existing profiles a creation or update