GET /networkservice
/networkservice
object name
Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=
Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=
List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
Default values are not set.
It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_uuid=cloud-xyz.
Filter to get objects that belongs to a specific cloud usings its name. This uses cloud name rather than uuid. Eg. cloud_ref.name=Default-Cloud.
Filter to get objects that belongs to a specific cloud using its uuid. Eg. cloud_ref.uuid=cloud_uuid.
Filter to get objects with name that contains the parameter. This is a case sensitive search. Eg. name.contains=pool-.
Filter to get objects with name that contains the parameter. This is a case insensitive search. Eg. name.icontains=pool-.
Filter to get objects that have a uuid matching any of the values in the parameter list. Each value for this parameter is to comma separated. Eg. name.in=pool-1,pool-12.
Filter to get objects that have a uuid matching any of the values in the parameter list. Each value for this parameter is to comma separated. Eg. uuid.in=
Filter to get objects that contains the search string as value for any of its fields. Eg. search=LEAST_CONN. The search filter can also be used to search under a specific field. This is achieved by sending the parameter as ?search=(
Filter to get objects that contains case insensitive search string. Eg. isearch=(name,Vs-Pool-).
Filter to limit the number of objects in the response data. Eg. limit_by=3.
Filter to exclude the uuid(s) contained in the parameter. Eg. uuid.in=
Parameter to sort the results with respect to a field. Eg. sort=name.
Parameter to specify the maximum number of results to be returned per page. The page_size can range from 1 to 200. Eg. page_size=5.
Avi Tenant Header
Avi Tenant Header UUID
The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
OK
{
"count": 0,
"results": [
{
"_last_modified": "string",
"cloud_ref": "string",
"configpb_attributes": {
"version": 0
},
"markers": [
{
"key": "string",
"values": [
"string"
]
}
],
"name": "string",
"routing_service": {
"advertise_backend_networks": false,
"enable_auto_gateway": false,
"enable_routing": false,
"enable_vip_on_all_interfaces": false,
"enable_vmac": false,
"floating_intf_ip": [
{
"addr": "string",
"type": "string"
}
],
"floating_intf_ip6_addresses": [
{
"addr": "string",
"type": "string"
}
],
"floating_intf_ip6_se_2_addresses": [
{
"addr": "string",
"type": "string"
}
],
"floating_intf_ip_se_2": [
{
"addr": "string",
"type": "string"
}
],
"flowtable_profile": {
"icmp_idle_timeout": 0,
"tcp_closed_timeout": 0,
"tcp_connection_setup_timeout": 0,
"tcp_half_closed_timeout": 0,
"tcp_idle_timeout": 0,
"tcp_reset_timeout": 0,
"udp_idle_timeout": 0
},
"graceful_restart": false,
"nat_policy_ref": "string",
"routing_by_linux_ipstack": false
},
"se_group_ref": "string",
"service_type": "string",
"tenant_ref": "string",
"url": "string",
"uuid": "string",
"vrf_ref": "string"
}
],
"next": "string"
}
count
results
next
log in failed
curl -H 'Authorization: <value>' https://{api_host}/api/networkservice