GET /vsvip-inventory/{uuid}

GET /vsvip-inventory/{uuid}

/vsvip-inventory/{uuid}

Request
URI
GET
https://{api_host}/api/vsvip-inventory/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

string
fields
Optional

List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.

boolean
include_name
Optional

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.

boolean
skip_default
Optional

Default values are not set.

string
join_subresources
Optional

It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

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.

string
X-CSRFToken
Optional

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.


Responses
200

OK

Returns VsvipInventory of type(s) application/json
{
    "_last_modified": "string",
    "config": {
        "cloud_ref": "string",
        "east_west_placement": false,
        "name": "string",
        "tenant_ref": "string",
        "url": "string",
        "uuid": "string",
        "vip": [
            {
                "auto_allocate_floating_ip": false,
                "auto_allocate_ip": false,
                "auto_allocate_ip_type": "string",
                "availability_zone": "string",
                "avi_allocated_fip": false,
                "avi_allocated_vip": false,
                "discovered_networks": [
                    {
                        "network_ref": "string",
                        "subnet": [
                            {
                                "ip_addr": {
                                    "addr": "string",
                                    "type": "string"
                                },
                                "mask": 0
                            }
                        ],
                        "subnet6": [
                            {
                                "ip_addr": {
                                    "addr": "string",
                                    "type": "string"
                                },
                                "mask": 0
                            }
                        ]
                    }
                ],
                "enabled": false,
                "floating_ip": {
                    "addr": "string",
                    "type": "string"
                },
                "floating_ip6": {
                    "addr": "string",
                    "type": "string"
                },
                "floating_subnet6_uuid": "string",
                "floating_subnet_uuid": "string",
                "ip6_address": {
                    "addr": "string",
                    "type": "string"
                },
                "ip_address": {
                    "addr": "string",
                    "type": "string"
                },
                "ipam_network_subnet": {
                    "network_ref": "string",
                    "subnet": {
                        "ip_addr": {
                            "addr": "string",
                            "type": "string"
                        },
                        "mask": 0
                    },
                    "subnet6": {
                        "ip_addr": {
                            "addr": "string",
                            "type": "string"
                        },
                        "mask": 0
                    },
                    "subnet6_uuid": "string",
                    "subnet_uuid": "string"
                },
                "network_ref": "string",
                "placement_networks": [
                    {
                        "network_ref": "string",
                        "subnet": {
                            "ip_addr": {
                                "addr": "string",
                                "type": "string"
                            },
                            "mask": 0
                        },
                        "subnet6": {
                            "ip_addr": {
                                "addr": "string",
                                "type": "string"
                            },
                            "mask": 0
                        }
                    }
                ],
                "port_uuid": "string",
                "prefix_length": 0,
                "subnet": {
                    "ip_addr": {
                        "addr": "string",
                        "type": "string"
                    },
                    "mask": 0
                },
                "subnet6": {
                    "ip_addr": {
                        "addr": "string",
                        "type": "string"
                    },
                    "mask": 0
                },
                "subnet6_uuid": "string",
                "subnet_uuid": "string",
                "vip_id": "string"
            }
        ],
        "virtualservices": [
            {
                "ref": "string"
            }
        ],
        "vrf_context_ref": "string"
    },
    "runtime": {
        "num_se_assigned": 0,
        "num_se_requested": 0,
        "oper_status": {
            "last_changed_time": {
                "secs": 0,
                "usecs": 0
            },
            "reason": [
                "string"
            ],
            "reason_code": 0,
            "reason_code_string": "string",
            "state": "string"
        },
        "percent_ses_up": 0,
        "service_engine": [
            {
                "active_on_cloud": false,
                "active_on_se": false,
                "admin_down_requested": false,
                "attach_ip_in_progress": false,
                "connected": false,
                "detach_ip_in_progress": false,
                "mgmt_ip": {
                    "addr": "string",
                    "type": "string"
                },
                "mgmt_ip6": {
                    "addr": "string",
                    "type": "string"
                },
                "name": "string",
                "oper_status": {
                    "last_changed_time": {
                        "secs": 0,
                        "usecs": 0
                    },
                    "reason": [
                        "string"
                    ],
                    "reason_code": 0,
                    "reason_code_string": "string",
                    "state": "string"
                },
                "primary": false,
                "ref": "string",
                "route_revoked_pool_down": false,
                "scalein_in_progress": false,
                "scaleout_in_progress": false,
                "se_ready_in_progress": false,
                "snat_ip": {
                    "addr": "string",
                    "type": "string"
                },
                "snat_ip6_address": {
                    "addr": "string",
                    "type": "string"
                },
                "standby": false
            }
        ],
        "vip_id": "string"
    },
    "url": "string",
    "uuid": "string"
}
string
_last_modified
Optional

UNIX time since epoch in microseconds. Units(MICROSECONDS).

object
config
Required

config

object
runtime
Optional

runtime

string
url
Optional

url

string
uuid
Optional

UUID of the vsvip. Field introduced in 22.1.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vsvip-inventory/{uuid}