Forum Discussion

Nazir_52641's avatar
Jan 09, 2017

Property file for an object in iControl rest

Hi All,

 

Is there a way to get property file for each and every object in iControl rest?

 

For example for a virtual server /mgmt/tm/ltm/virtual/~Common~testvs below are the properties

 

1)kind

 

2)name

 

3)partition

 

4)fullPath

 

5)selfLink

 

6)addressStatus

 

7)autoLasthop

 

8)cmpEnabled

 

9)connectionLimit

 

10)description

 

11)destination

 

12)enabled

 

13)gtmScore

 

14)ipForward

 

15)ipProtocol

 

18)mask

 

19)mirror

 

20)mobileAppTunnel

 

21)nat64

 

22)rateLimit

 

23)rateLimitDstMask

 

24)rateLimitMode

 

25)rateLimitSrcMask

 

26)source

 

27)sourceAddressTranslation

 

28)sourcePort

 

29)synCookieStatus

 

30)translateAddress

 

31)translatePort

 

32)vlansDisabled

 

33)policiesReference

 

34)profilesReference

 

It will be good if we have the type for each property this will be helpful in creating generic framework to automate creation of object through iControlREST.

 

1 Reply

  • If you want to get the keys and values of a specific object, you can send a GET request to your management interface (same address as your Configuration Utility). For example, the following curl command gives you the information you can usually get via

    tmsh list ltm virtual
    .

    curl -sku admin:AdminPass -X GET https://YOURHOST/mgmt/tm/ltm/virtual/YOURVIRTUAL

    If you would like to know the description of each field, take a look at the API document on DevCentral. For example, you can find the description of the virtual object here.

    For more general information on iControl REST, please refer to iControl® REST API User Guide.