Avi SiteVersion Object API

CLI ``` - show siteversion ```
More information: https://avinetworks.com/contact-us
Contact Info: support@avinetworks.com
Version: 20.1.9
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

  1. get /siteversion
  2. post /siteversion
  3. delete /siteversion/{uuid}
  4. get /siteversion/{uuid}
  5. patch /siteversion/{uuid}
  6. put /siteversion/{uuid}
Up
get /siteversion
(siteversionGet)

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
refers_to (optional)
Query Parameter — Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
referred_by (optional)
Query Parameter — Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — 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.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

SiteVersionApiResponse

Example data

Content-Type: application/json
{
  "next" : "aeiou",
  "count" : 123,
  "results" : [ {
    "prev_target_version" : 123456789,
    "version_type" : "aeiou",
    "target_timeline" : "aeiou",
    "uuid" : "aeiou",
    "version" : 123456789,
    "url" : "aeiou",
    "_last_modified" : "aeiou",
    "target_version" : 123456789,
    "datetime" : "aeiou",
    "replication_state" : "aeiou",
    "tenant_ref" : "aeiou",
    "name" : "aeiou",
    "site_id" : "aeiou",
    "timeline" : "aeiou"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK SiteVersionApiResponse

401

log in failed

Up
post /siteversion
(siteversionPost)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — SiteVersion object creation

Return type

SiteVersion

Example data

Content-Type: application/json
{
  "prev_target_version" : 123456789,
  "version_type" : "aeiou",
  "target_timeline" : "aeiou",
  "uuid" : "aeiou",
  "version" : 123456789,
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "target_version" : 123456789,
  "datetime" : "aeiou",
  "replication_state" : "aeiou",
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "site_id" : "aeiou",
  "timeline" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK SiteVersion

401

log in failed

Up
delete /siteversion/{uuid}
(siteversionUuidDelete)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name

Return type

String

Example data

Content-Type: application/json
"aeiou"

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

204

object deleted String

404

not found

Up
get /siteversion/{uuid}
(siteversionUuidGet)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Query parameters

name (optional)
Query Parameter — object name
fields (optional)
Query Parameter — List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
include_name (optional)
Query Parameter — 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.
skip_default (optional)
Query Parameter — Default values are not set.
join_subresources (optional)
Query Parameter — It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Return type

SiteVersion

Example data

Content-Type: application/json
{
  "prev_target_version" : 123456789,
  "version_type" : "aeiou",
  "target_timeline" : "aeiou",
  "uuid" : "aeiou",
  "version" : 123456789,
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "target_version" : 123456789,
  "datetime" : "aeiou",
  "replication_state" : "aeiou",
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "site_id" : "aeiou",
  "timeline" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK SiteVersion

401

log in failed

Up
patch /siteversion/{uuid}
(siteversionUuidPatch)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — SiteVersion object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

SiteVersion

Example data

Content-Type: application/json
{
  "prev_target_version" : 123456789,
  "version_type" : "aeiou",
  "target_timeline" : "aeiou",
  "uuid" : "aeiou",
  "version" : 123456789,
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "target_version" : 123456789,
  "datetime" : "aeiou",
  "replication_state" : "aeiou",
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "site_id" : "aeiou",
  "timeline" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK SiteVersion

401

log in failed

Up
put /siteversion/{uuid}
(siteversionUuidPut)

Path parameters

uuid (required)
Path Parameter — UUID of the object to fetch

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

body (required)
Body Parameter — SiteVersion object creation

Query parameters

name (optional)
Query Parameter — object name

Return type

SiteVersion

Example data

Content-Type: application/json
{
  "prev_target_version" : 123456789,
  "version_type" : "aeiou",
  "target_timeline" : "aeiou",
  "uuid" : "aeiou",
  "version" : 123456789,
  "url" : "aeiou",
  "_last_modified" : "aeiou",
  "target_version" : 123456789,
  "datetime" : "aeiou",
  "replication_state" : "aeiou",
  "tenant_ref" : "aeiou",
  "name" : "aeiou",
  "site_id" : "aeiou",
  "timeline" : "aeiou"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK SiteVersion

401

log in failed

Up

Models

[ Jump to Methods ]

Table of Contents

  1. SiteVersion
  2. SiteVersionApiResponse

SiteVersion Up

_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
datetime (optional)
String This field represents the creation time of the federateddiff. Field introduced in 20.1.1.
name
String Name of the Site. Field introduced in 20.1.1.
prev_target_version (optional)
Long Previous targer version for a site. Field introduced in 20.1.1. format: int64
replication_state (optional)
String Replication state for a site. Enum options - REPLICATION_STATE_FASTFORWARD, REPLICATION_STATE_FORCESYNC, REPLICATION_STATE_STREAMING, REPLICATION_STATE_SUSPENDED, REPLICATION_STATE_INIT, REPLICATION_STATE_WAIT, REPLICATION_STATE_NOT_APPLICABLE. Field introduced in 20.1.1.
site_id (optional)
String Cluster UUID of the site. Field introduced in 20.1.1.
target_timeline (optional)
String Target timeline of the site. Field introduced in 20.1.1.
target_version (optional)
Long Target version of the site. Field introduced in 20.1.1. format: int64
tenant_ref (optional)
String Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 20.1.1.
timeline (optional)
String Timeline of the site. Field introduced in 20.1.1.
url (optional)
String url
uuid (optional)
String UUID of the SiteVersion object. Field introduced in 20.1.1.
version (optional)
Long Version of the site. Field introduced in 20.1.1. format: int64
version_type (optional)
String Type of message for which version is maintained. Enum options - CONFIG_VERSION, HEALTH_STATUS_VERSION. Field introduced in 20.1.1.

SiteVersionApiResponse Up

count
Integer format: int32
results
next (optional)