PUT /statediffoperation/{uuid}

PUT /statediffoperation/{uuid}

/statediffoperation/{uuid}

Request
URI
PUT
https://{api_host}/api/statediffoperation/{uuid}
COPY
Path Parameters
string
uuid
Required

UUID of the object to fetch

Query Parameters
string
name
Optional

object name

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.


Request Body

StatediffSnapshot object creation

StatediffSnapshot of type(s) application/json
Optional
{
    "_last_modified": "string",
    "gslb_name": "string",
    "gslb_uuid": "string",
    "name": "string",
    "pool_name": "string",
    "pool_uuid": "string",
    "post_snapshot": {
        "gssnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "poolsnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "sesnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "vssnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        }
    },
    "pre_snapshot": {
        "gssnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "poolsnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "sesnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        },
        "vssnapshot": {
            "oper_status": {
                "last_changed_time": {
                    "secs": 0,
                    "usecs": 0
                },
                "reason": [
                    "string"
                ],
                "reason_code": 0,
                "reason_code_string": "string",
                "state": "string"
            }
        }
    },
    "se_group_name": "string",
    "se_group_uuid": "string",
    "se_name": "string",
    "se_uuid": "string",
    "snapshot_type": "string",
    "statediff_operation_ref": "string",
    "tenant_ref": "string",
    "url": "string",
    "uuid": "string",
    "vs_name": "string",
    "vs_uuid": "string"
}
Responses
200

OK

Returns StatediffSnapshot of type(s) application/json
"StatediffSnapshot Object"
string
_last_modified
Optional

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

string
gslb_name
Optional

Name of GSLB object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
gslb_uuid
Optional

Reference to base gslb object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
name
Optional

Name of Statediff operation. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
pool_name
Optional

Name of POOL object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
pool_uuid
Optional

Reference to base pool object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

object
post_snapshot
Optional

post_snapshot

object
pre_snapshot
Optional

pre_snapshot

string
se_group_name
Optional

Name of SEG object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
se_group_uuid
Optional

Reference to base SEG object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
se_name
Optional

Name of SEG object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
se_uuid
Optional

Reference to base SE object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
snapshot_type
Optional

Type of snapshot eg. VS_SNAPSHOT, SE_SNAPSHOT etc. Enum options - FB_VS_SNAPSHOT, FB_SE_SNAPSHOT, FB_GSLB_SNAPSHOT, FB_POOL_SNAPSHOT. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
statediff_operation_ref
Optional

Statediff Operation uuid for identifying the operation. It is a reference to an object of type StatediffOperation. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
tenant_ref
Optional

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.

string
url
Optional

url

string
uuid
Optional

unique identifier for Statediff entry. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
vs_name
Optional

Name of VS object. Field introduced in 21.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.

string
vs_uuid
Optional

Reference to base VS object. Field introduced in 21.1.3. 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 -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/statediffoperation/{uuid}