Hello tdanner / Orion SDK Community,
In my automation workflow to discover/import nodes/interfaces/volumes, I'm setting autoimport to false so that I can filter out interfaces and volumes appropriately.
I'm wanting to use the Delete and BulkDelete operations, however some tables don't seem to have a URI to reference the object I want to delete.
Is there any other option other than URI? I was using something like the following :
but got the following response:
{
"Message": "Invalid key properties specified for entity Orion.NPM.DiscoveredInterfaces.\r\nParameter name: filter",
"ExceptionType": "System.ArgumentException",
"FullException": "System.ArgumentException: Invalid key properties specified for entity Orion.NPM.DiscoveredInterfaces.\r\nParameter name: filter\r\n at SolarWinds.InformationService.Core.SwisUriResolver.ValidateAndResolveFilter(IEntityType entity, SwisUriFilter filter, Boolean isHosted)\r\n at SolarWinds.InformationService.Core.SwisUriResolver.ValidateAndResolveUri(SwisUri uri, IQueryExecutionContext context)\r\n at SolarWinds.InformationService.Core.CrudProcessor.Delete(SwisUri uri, IQueryExecutionContext context)\r\n at SolarWinds.InformationService.Core.InformationService.Delete(String uri)"
}
I know the only other way to do this (that I know of at least, is to delete the associated objects in SQL directly).
Any other way to do this with DELETE / BULKDELETE?
Thank you,
=swql