Avi StatediffOperation Object API
CLI ``` - show statediff - delete statediff ```
Contact Info: support@avinetworks.com
Version: 21.1.6
BasePath:/api
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
get /statediffoperation
post /statediffoperation
delete /statediffoperation/{uuid}
get /statediffoperation/{uuid}
patch /statediffoperation/{uuid}
put /statediffoperation/{uuid}
Up
get /statediffoperation
(statediffoperationGet)
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
Example data
Content-Type: application/json
{
"next" : "aeiou",
"count" : 123,
"results" : [ {
"phase" : "aeiou",
"tenant_ref" : "aeiou",
"name" : "aeiou",
"node_uuid" : "aeiou",
"operation" : "aeiou",
"uuid" : "aeiou",
"events" : [ {
"duration" : 123,
"task_name" : "aeiou",
"start_time" : "aeiou",
"end_time" : "aeiou",
"message" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"_last_modified" : "aeiou",
"status" : "aeiou"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
StatediffOperationApiResponse
401
log in failed
Up
post /statediffoperation
(statediffoperationPost)
Consumes
This API call consumes the following media types via the
Content-Type request header:
Request body
body (required)
Body Parameter — StatediffOperation object creation
Return type
Example data
Content-Type: application/json
{
"phase" : "aeiou",
"tenant_ref" : "aeiou",
"name" : "aeiou",
"node_uuid" : "aeiou",
"operation" : "aeiou",
"uuid" : "aeiou",
"events" : [ {
"duration" : 123,
"task_name" : "aeiou",
"start_time" : "aeiou",
"end_time" : "aeiou",
"message" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"_last_modified" : "aeiou",
"status" : "aeiou"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
StatediffOperation
401
log in failed
Up
delete /statediffoperation/{uuid}
(statediffoperationUuidDelete)
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 request header;
the media type will be conveyed by the
Content-Type response header.
Responses
204
object deleted
String
404
not found
Up
get /statediffoperation/{uuid}
(statediffoperationUuidGet)
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
Example data
Content-Type: application/json
{
"phase" : "aeiou",
"tenant_ref" : "aeiou",
"name" : "aeiou",
"node_uuid" : "aeiou",
"operation" : "aeiou",
"uuid" : "aeiou",
"events" : [ {
"duration" : 123,
"task_name" : "aeiou",
"start_time" : "aeiou",
"end_time" : "aeiou",
"message" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"_last_modified" : "aeiou",
"status" : "aeiou"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
StatediffOperation
401
log in failed
Up
patch /statediffoperation/{uuid}
(statediffoperationUuidPatch)
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 — StatediffOperation object creation
Query parameters
name (optional)
Query Parameter — object name
Return type
Example data
Content-Type: application/json
{
"phase" : "aeiou",
"tenant_ref" : "aeiou",
"name" : "aeiou",
"node_uuid" : "aeiou",
"operation" : "aeiou",
"uuid" : "aeiou",
"events" : [ {
"duration" : 123,
"task_name" : "aeiou",
"start_time" : "aeiou",
"end_time" : "aeiou",
"message" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"_last_modified" : "aeiou",
"status" : "aeiou"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
StatediffOperation
401
log in failed
Up
put /statediffoperation/{uuid}
(statediffoperationUuidPut)
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 — StatediffOperation object creation
Query parameters
name (optional)
Query Parameter — object name
Return type
Example data
Content-Type: application/json
{
"phase" : "aeiou",
"tenant_ref" : "aeiou",
"name" : "aeiou",
"node_uuid" : "aeiou",
"operation" : "aeiou",
"uuid" : "aeiou",
"events" : [ {
"duration" : 123,
"task_name" : "aeiou",
"start_time" : "aeiou",
"end_time" : "aeiou",
"message" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"_last_modified" : "aeiou",
"status" : "aeiou"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the
Content-Type response header.
Responses
200
OK
StatediffOperation
401
log in failed
[ Jump to Methods ]
Table of Contents
StatediffEvent
StatediffOperation
StatediffOperationApiResponse
duration (optional)
Integer Time taken to complete Statediff event in seconds. Field introduced in 21.1.3. Unit is SEC. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition. format: int32
end_time (optional)
String Task end time. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
message (optional)
String Statediff event message if any. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
start_time (optional)
String Task start time. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
status (optional)
String Statediff event status. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
task_name (optional)
String Name of Statediff task. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
_last_modified (optional)
String UNIX time since epoch in microseconds. Units(MICROSECONDS).
events (optional)
array[StatediffEvent] Info for each Statediff event. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
name (optional)
String Name of Statediff operation. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
node_uuid (optional)
String Uuid of node for Statediff operation entry. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
operation (optional)
String Type of Statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
phase (optional)
String Phase of Statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
status (optional)
String Status of Statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
tenant_ref (optional)
String Tenant that this object belongs to. It is a reference to an object of type Tenant. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
url (optional)
uuid (optional)
String unique identifier for Statediff entry. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
count
results
next (optional)