GetDevices(ciosctx.RequestCtx, cios.ApiGetDevicesRequest) (cios.MultipleDevice, *_nethttp.Response, error)
GetDevicesAll(ciosctx.RequestCtx, cios.ApiGetDevicesRequest) ([]cios.Device, *_nethttp.Response, error)
GetDevicesUnlimited(ciosctx.RequestCtx, cios.ApiGetDevicesRequest) ([]cios.Device, *_nethttp.Response, error)
GetDevice(ciosctx.RequestCtx, string, *string, *bool) (cios.Device, *_nethttp.Response, error)
GetDeviceInventory(ciosctx.RequestCtx, string) (map[string]interface{}, *_nethttp.Response, error)
DeleteDevice(ciosctx.RequestCtx, string) (*_nethttp.Response, error)
CreateDevice(ciosctx.RequestCtx, cios.DeviceInfo) (cios.Device, *_nethttp.Response, error)
UpdateDevice(ciosctx.RequestCtx, string, cios.DeviceUpdateRequest) (cios.Device, *_nethttp.Response, error)
device , httpResponse , err := client .DeviceManagement ().GetDevice (ctx , "device_id" )
inventory , httpResponse , err := client .DeviceManagement ().GetDeviceInventory (ctx , "device_id" )
Get Devices max limit 1000
options := srvdevice .MakeGetDevicesOpts
devices , httpResponse , err := client .DeviceManagement ().GetDevices (ctx , options ())
options := srvdevice .MakeGetDevicesOpts
devices , httpResponse , err := client .DeviceManagement ().GetDevicesAll (ctx , options ())
Get Devices max unlimited
options := srvdevice .MakeGetDevicesOpts
devices , httpResponse , err := client .DeviceManagement ().GetDevicesUnlimited (ctx , options ())
device , httpResponse , err := client .DeviceManagement ().CreateDevice (ctx , cios.DeviceInfo {})
device , httpResponse , err := client .DeviceManagement ().UpdateDevice (ctx , "device_id" , cios.DeviceUpdateRequest {})
httpResponse , err := client .DeviceManagement ().DeleteDevice (ctx , "device_id" )
GetMonitoringLatestList(ciosctx.RequestCtx, []string) ([]cios.DeviceMonitoring, *_nethttp.Response, error)
GetMonitoring(ciosctx.RequestCtx, string) (cios.DeviceMonitoring, *_nethttp.Response, error)
Get Devices Monitoring info
monitoringList , httpResponse , err := client .DeviceManagement ().GetMonitoringLatestList (ctx , []string {"device_id1" , "device_id2" })
Get a Device Monitoring info
monitoring , httpResponse , err := client .DeviceManagement ().GetMonitoring (ctx , "device_id1" )
GetPolicies(ciosctx.RequestCtx, cios.ApiGetDevicePoliciesRequest) (cios.MultipleDevicePolicy, *_nethttp.Response, error)
GetPoliciesAll(ciosctx.RequestCtx, cios.ApiGetDevicePoliciesRequest) ([]cios.DevicePolicy, *_nethttp.Response, error)
GetPoliciesUnlimited(ciosctx.RequestCtx, cios.ApiGetDevicePoliciesRequest) ([]cios.DevicePolicy, *_nethttp.Response, error)
DeletePolicy(ciosctx.RequestCtx, string) (*_nethttp.Response, error)
CreatePolicy(ciosctx.RequestCtx, string) (cios.DevicePolicy, *_nethttp.Response, error)
Get Policies max limit 1000
options := srvdevice .MakeGetPoliciesOpts ()
policies , httpResponse , err := client .DeviceManagement ().GetPolicies (ctx , options ())
Get Policies max no limit
options := srvdevice .MakeGetPoliciesOpts ()
policies , httpResponse , err := client .DeviceManagement ().GetPoliciesAll (ctx , options ())
options := srvdevice .MakeGetPoliciesOpts ()
policies , httpResponse , err := client .DeviceManagement ().GetPoliciesUnlimited (ctx , options ())
policy , httpResponse , err := client .DeviceManagement ().CreatePolicy (ctx , "resource_owner_id" )
httpResponse , err := client .DeviceManagement ().DeletePolicy (ctx , "policy_id" )