Get Discovery Results

get

/discovery-service/discovery/request/result/

Gets the result of a discovery request. This is a legacy API. It is only available when the ENABLE_LEGACY_API_ENDPOINTS configuration parameter is set to true on the Discovery Service microservice.

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : DiscoveryResultResponse
Type: object
The discovery request results.
Show Source
Example:
{
    "DiscoveryContexts":[
        {
            "DiscoveryContextID":"disco-01f107bd-655f-42e0-ae1c-ac4740e734e7",
            "TimestampInitiated":1702214858,
            "TimeValidS":1216,
            "TimestampExpiration":1702214858,
            "InventoryHandler":"inventory-engine-name",
            "Request":{
                "Configuration":{
                    "ForcedProtocolDiscovery":true,
                    "ContextExpiryTimeM":60,
                    "ICMPConfiguration":[
                        {
                            "Mode":1,
                            "TimeoutS":10,
                            "Count":5,
                            "CascadeMs":5
                        }
                    ],
                    "SNMPConfiguration":[
                        {
                            "Method":"BULK",
                            "IsTCP":false,
                            "NetworkOptions":{
                                "Timeout":"5s",
                                "ExponentialTimeout":false,
                                "Retries":3,
                                "MaxOids":100,
                                "MaxRepetitions":50,
                                "NonRepeaters":1
                            },
                            "CustomSNMPAccessProfiles":[
                                {
                                    "Version":2,
                                    "ProfileID":1,
                                    "UUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
                                    "Priority":1,
                                    "Port":161,
                                    "MTU":1456,
                                    "Auth":{
                                        "Community":"public",
                                        "Username":"user",
                                        "AuthType":"AUTHPRIV",
                                        "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                        "AuthProtocol":"SHA256",
                                        "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                        "PrivProtocol":"AES",
                                        "AuthEngineID":"80001adc802417e202b8613f5400000000"
                                    }
                                }
                            ]
                        }
                    ],
                    "RESTConfiguration":[
                        {
                            "Url":"192.0.2.0",
                            "Protocol":"https",
                            "Port":8080,
                            "APIAccessID":"dGVzdA==",
                            "APIAccessKey":"dGVzdA==",
                            "APIType":"vmware"
                        }
                    ]
                },
                "IPranges":[
                    "192.0.2.0/24",
                    "198.51.100.0-198.51.100.5"
                ],
                "IPList":[
                    "203.0.113.0",
                    "203.0.113.1"
                ],
                "Level":[
                    [
                        1,
                        2,
                        3
                    ]
                ],
                "InventoryEngine":"inventory-engine-name"
            },
            "ExecutionConfiguration":{
                "ForcedProtocolDiscovery":true,
                "ContextExpiryTimeM":60,
                "ICMPConfiguration":[
                    {
                        "Mode":1,
                        "TimeoutS":10,
                        "Count":5,
                        "CascadeMs":5
                    }
                ],
                "SNMPConfiguration":[
                    {
                        "Method":"BULK",
                        "IsTCP":false,
                        "NetworkOptions":{
                            "Timeout":"5s",
                            "ExponentialTimeout":false,
                            "Retries":3,
                            "MaxOids":100,
                            "MaxRepetitions":50,
                            "NonRepeaters":1
                        },
                        "CustomSNMPAccessProfiles":[
                            {
                                "Version":2,
                                "ProfileID":1,
                                "UUID":"df29b366-c3a4-4a89-8ec8-2f1527276c75",
                                "Priority":1,
                                "Port":161,
                                "MTU":1456,
                                "Auth":{
                                    "Community":"public",
                                    "Username":"user",
                                    "AuthType":"AUTHPRIV",
                                    "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                    "AuthProtocol":"SHA256",
                                    "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                    "PrivProtocol":"AES",
                                    "AuthEngineID":"80001adc802417e202b8613f5400000000"
                                }
                            }
                        ]
                    }
                ],
                "RESTConfiguration":[
                    {
                        "Url":"192.0.2.0",
                        "Protocol":"https",
                        "Port":8080,
                        "APIAccessID":"dGVzdA==",
                        "APIAccessKey":"dGVzdA==",
                        "APIType":"vmware"
                    }
                ]
            }
        },
        {
            "DiscoveryContextID":"disco-9794ffd7-0cb3-4f90-a17f-be527c46753d",
            "TimestampInitiated":1702214858,
            "TimeValidS":3587,
            "TimestampExpiration":1702214858,
            "InventoryHandler":"inventory-engine-name",
            "Request":{
                "Configuration":{
                    "ForcedProtocolDiscovery":true,
                    "ContextExpiryTimeM":60,
                    "ICMPConfiguration":[
                        {
                            "Mode":0,
                            "TimeoutS":3,
                            "Count":10,
                            "CascadeMs":10
                        }
                    ],
                    "SNMPConfiguration":[
                        {
                            "Method":"BULK",
                            "IsTCP":false,
                            "NetworkOptions":{
                                "Timeout":"10s",
                                "ExponentialTimeout":false,
                                "Retries":3,
                                "MaxOids":100,
                                "MaxRepetitions":50,
                                "NonRepeaters":1
                            },
                            "CustomSNMPAccessProfiles":[
                                {
                                    "Version":2,
                                    "ProfileID":1,
                                    "UUID":"ef29b365-d3a3-5a88-9ec7-3f1527276c74",
                                    "Priority":1,
                                    "Port":161,
                                    "MTU":1456,
                                    "Auth":{
                                        "Community":"public",
                                        "Username":"user",
                                        "AuthType":"AUTHPRIV",
                                        "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                        "AuthProtocol":"SHA256",
                                        "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                        "PrivProtocol":"AES",
                                        "AuthEngineID":"80002adc802417e202b8613f5400000000"
                                    }
                                }
                            ]
                        }
                    ],
                    "RESTConfiguration":[
                        {
                            "Url":"192.0.2.0",
                            "Protocol":"https",
                            "Port":8081,
                            "APIAccessID":"dGVzdA==",
                            "APIAccessKey":"dGVzdA==",
                            "APIType":"vmware"
                        }
                    ]
                },
                "IPranges":[
                    "192.0.2.0/24",
                    "198.51.100.0-198.51.100.5"
                ],
                "IPList":[
                    "203.0.113.0",
                    "203.0.113.1"
                ],
                "Level":[
                    [
                        1,
                        2,
                        3
                    ]
                ],
                "InventoryEngine":"inventory-engine-name"
            },
            "ExecutionConfiguration":{
                "ForcedProtocolDiscovery":true,
                "ContextExpiryTimeM":60,
                "ICMPConfiguration":[
                    {
                        "Mode":1,
                        "TimeoutS":10,
                        "Count":5,
                        "CascadeMs":5
                    }
                ],
                "SNMPConfiguration":[
                    {
                        "Method":"BULK",
                        "IsTCP":false,
                        "NetworkOptions":{
                            "Timeout":"10s",
                            "ExponentialTimeout":false,
                            "Retries":3,
                            "MaxOids":100,
                            "MaxRepetitions":50,
                            "NonRepeaters":1
                        },
                        "CustomSNMPAccessProfiles":[
                            {
                                "Version":2,
                                "ProfileID":1,
                                "UUID":"ef29b365-d3a3-5a88-9ec7-3f1527276c74",
                                "Priority":1,
                                "Port":161,
                                "MTU":1456,
                                "Auth":{
                                    "Community":"public",
                                    "Username":"user",
                                    "AuthType":"AUTHPRIV",
                                    "AuthPassphrase":"QXV0aFBhc3N3b3Jk",
                                    "AuthProtocol":"SHA256",
                                    "PrivPassphrase":"UHJpdlBhc3N3b3Jk",
                                    "PrivProtocol":"AES",
                                    "AuthEngineID":"80002adc802417e202b8613f5400000000"
                                }
                            }
                        ]
                    }
                ],
                "RESTConfiguration":[
                    {
                        "Url":"192.0.2.0",
                        "Protocol":"https",
                        "Port":8081,
                        "APIAccessID":"dGVzdA==",
                        "APIAccessKey":"dGVzdA==",
                        "APIType":"vmware"
                    }
                ]
            }
        }
    ]
}
Nested Schema : DiscoveryContexts
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : ExecutionConfiguration
Type: object
The configuration for running discovery.
Show Source
Nested Schema : Request
Type: object
The configuration provided for discovery.
Show Source
Nested Schema : ICMPConfiguration
Type: array
The ICMP configuration for discovery.
Show Source
Nested Schema : RESTConfiguration
Type: array
The REST configuration for discovery.
Show Source
Nested Schema : SNMPConfiguration
Type: array
The SNMP configuration for discovery.
Show Source
Nested Schema : ICMPConfiguration
Type: object
The ICMP payload configuration.
Show Source
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of milliseconds between two successful pings.
    Example: 5
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of ping requests to send.
    Example: 5
  • Allowed Values: [ 0, 1 ]
    The ICMP mode. Possible values are 0 for synchronous and 1 for asynchronous.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of seconds to wait for a ping response.
    Example: 10
Nested Schema : RESTConfiguration
Type: object
REST configurations for VMWare, MIST, Cisco, Aruba, and Cisco DNA connections.
Show Source
Nested Schema : CustomerIDs
Type: array
Customer IDs to include in cloud API discovery.
Show Source
Nested Schema : SNMPConfiguration
Type: object
The SNMP payload configuration.
Show Source
Nested Schema : CustomSNMPAccessProfiles
Type: array
The list of custom SNMP access profiles.
Show Source
Nested Schema : NetworkOptions
Type: object
Network options for SNMP communication.
Show Source
  • Allowed Values: [ true, false ]
    The status is enabled to timeout exponentially if the request fails.
    Example: false
  • Minimum Value: 0
    Maximum Value: 128
    The maximum SNMP OID value.
    Example: 100
  • Minimum Value: 0
    Maximum Value: 2147483647
    The maximum number of repetitions.
    Example: 50
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of non repeaters.
    Example: 1
  • Minimum Value: 0
    Maximum Value: 2147483647
    The number of times to retry the request.
    Example: 3
  • Allowed Values: [ "1s", "2m", "3h", "4d" ]
    The number of seconds, minutes, hours, or days before the request times out.
    Example: 5s
Nested Schema : CustomSNMPAccessProfile
Type: object
A custom SNMP access profile.
Show Source
  • CustomSNMPAccessProfileAuth
    Custom SNMP access profile authentication information.
  • Minimum Value: 484
    Maximum Value: 2147483647
    The MTU for the custom SNMP access profile. The value must be at least 484.
    Example: 1456
  • Minimum Value: 1
    Maximum Value: 65535
    The custom SNMP access profile port.
    Example: 161
  • Minimum Value: 0
    Maximum Value: 2147483647
    The custom SNMP access profile priority.
    Example: 1
  • Allowed Values: [ 0 ]
    The custom SNMP access profile ID. Custom profiles must use the default value 0.
    Example: 0
  • The custom SNMP access profile UUID.
    Example: df29b366-c3a4-4a89-8ec8-2f1527276c75
  • Allowed Values: [ 1, 2, 3 ]
    The custom SNMP access profile version.
    Example: 2
Nested Schema : CustomSNMPAccessProfileAuth
Type: object
Custom SNMP access profile authentication information.
Show Source
Nested Schema : Configuration
Type: object
The ICMP, SNMP and REST configurations for discovery.
Show Source
Nested Schema : IPList
Type: array
The list of IP addresses to perform discovery on.
Show Source
Example:
[
    "203.0.113.0",
    "203.0.113.1"
]
Nested Schema : IPranges
Type: array
The list of IP ranges to perform discovery on. Supports CIDR ranges.
Show Source
Example:
[
    "192.0.2.0/24",
    "198.51.100.0-198.51.100.5"
]
Nested Schema : Level
Type: array
The types of polling enabled for discovery. Possible values are 1 for ping, 2 for SNMP, and 3 for REST.
Show Source
Nested Schema : ICMPConfiguration
Type: array
The ICMP configuration for discovery.
Show Source
Nested Schema : RESTConfiguration
Type: array
The REST configuration for discovery.
Show Source
Nested Schema : SNMPConfiguration
Type: array
The SNMP configuration for discovery.
Show Source

401 Response

Unauthorized operation

500 Response

Internal server error
Back to Top