Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Create container using Orion SDK in C# - .Net

$
0
0

Hi,

I try to create a container with C# code like above code. I am using Orion SDK and .Net Framework. Is there anyway to do create container like that code?

 

                string uri = swis.Create("Orion.Nodes", new PropertyBag

                                                      {

                                                          {"EntityType", "Orion.Nodes"},

                                                          {"IPAddress", "192.168.1.254"},

                                                          {"Caption", "SWIS-Test-2"},

                                                          {"DynamicIP", false},

                                                          {"EngineID", 1},

                                                          {"Status", 1},

                                                          {"Allow64BitCounters", true},

                                                          {"ObjectSubType", "SNMP"},

                                                          {"SysObjectID", ""},

                                                          {"MachineType", ""},

                                                          {"VendorIcon", ""},

                                                          {"Community", "public"},

                                                          {"SNMPVersion", 2}

                                                          ,{"Test", "CustomPropTest"}

                                                      });


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>