InstanceRequest

InstanceRequest
InstanceRequest

Request object to get device details

JSON Example
{
    "className": "NetworkFunction",
    "vsafilter": {
        "condition": "OR",
        "filterlist": [
            {
                "condition": "AND",
                "propfilter": [
                    {
                        "propname": "source",
                        "matchtype": "IN",
                        "values": [
                            "INCHARGE-SA-PRES",
                            "sam"
                        ]
                    },
                    {
                        "propname": "properties.DisplayName",
                        "matchtype": "CONTAINS",
                        "values": [
                            "kube-multus-ds-amd64-gv429"
                        ]
                    }
                ]
            },
            {
                "condition": "AND",
                "propfilter": [
                    {
                        "propname": "source",
                        "matchtype": "IN",
                        "values": [
                            "INCHARGE-SA-PRES",
                            "sam"
                        ]
                    },
                    {
                        "propname": "name",
                        "matchtype": "CONTAINS",
                        "values": [
                            "kube-multus-ds-amd64-gv429"
                        ]
                    },
                    {
                        "propname": "properties.DisplayName",
                        "matchtype": "EQUALS",
                        "values": [
                            ""
                        ]
                    }
                ]
            }
        ]
    },
    "limit": 10,
    "size": 1000,
    "from": 0,
    "sortby": [
        {
            "fieldName": "name",
            "order": "ASC"
        }
    ]
}
string
className
Required

Device type or Class type to which instances are required

string
targetType
Optional

If traversal is true then we should provide the targetType of the relationship for which instance is required

boolean
traversal
Optional
Constraints: default: true

Value can be true/false. If the instance is required on the traversed class then this attribute will be true

string
instanceName
Optional

Uniquely identifies the object across domains.

string
relationshipName
Optional

If traversal is true then we should provide the relationship name to get the targetType.

array of string
columnFilters
Optional

The name of column name which has to be filter.

integer As int32 As int32
from
Optional

The from parameter defines the offset from the first result you want to fetch.

array of string
groupby
Optional

The field name using which result will be groupby

integer As int32 As int32
size
Optional

The size parameter allows you to configure the maximum amount of records to be returned.

array of Sort
sortby
Optional

The Sort object defines on how and which field sorting has to be applied.

vsafilter
Optional

The VSAFilter object defines how the filters has to be applied on queries.

Parameter To