F5 Sites
  • F5.com
  • LearnF5
  • NGINX
  • MyF5
  • Partner Central
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Brand LogoSkip to content
Forums
CrowdSRC
Articles
Groups
EventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

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.0
application delivery
devops
golang
iControl
iControlREST
programmability contest
Yann_Desmarest's avatar
Yann_Desmarest
Icon for Cirrus rankCirrus
Joined September 11, 2012
View Profile
Vincent_Li_9688's avatar
Vincent_Li_9688
Historic F5 Account
Dec 26, 2017

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

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesF5 CertificationLearnF5 Training

SUPPORT

Manage SubscriptionsProfessional ServicesProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

F5 logo©2024 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information