Check Memory Snapshot Group Conflict

GET/zstack/v1/memory-snapshots/groups/{uuid}/conflict-detection

Headers

Authorization: OAuth the-session-uuid

Curl Example

curl -H "Content-Type: application/json;charset=UTF-8" \
-H "Authorization: OAuth b86c9016b4f24953a9edefb53ca0678c" \
-X GET http://localhost:8080/zstack/v1/memory-snapshots/groups/ff06c5015505317fae8e020694bad500/conflict-detection

Parameter List

NameTypeLocationDescriptionAllowed ValuesStarting Version
uuidStringurlMemory snapshot group UUID 4.10.16
systemTags (Optional)ListquerySystem tags 4.10.16
userTags (Optional)ListqueryUser tags 4.10.16

API Response

Response Example

{
  "vmNicConflict": [
    {
      "ip": "127.0.0.1",
      "mac": "00:16:3e:00:00:01",
      "vmNicName": "vmNicName",
      "vmInstanceName": "vmInstanceName",
      "vmInstanceUuid": "ff01ec80fd11327cba7519b66119d900"
    }
  ]
}
NameTypeDescriptionStarting Version
successboolean 4.10.0
vmNicConflictListFor details, see vmNicConflict4.10.0
errorErrorCodeFor details, see error4.10.0

vmNicConflict

NameTypeDescriptionStarting Version
ipStringConflicting IP4.10.16
macStringConflicting MAC4.10.16
vmNicNameStringNIC name4.10.16
vmInstanceNameStringVirtual Machine name4.10.16
vmInstanceUuidStringVirtual Machine UUID4.10.16

error

NameTypeDescriptionStarting Version
codeStringThe error code number. A globally unique identifier for the error, for example, SYS.1000, HOST.10010.6
descriptionStringA brief description of the error0.6
detailsStringThe detailed error information0.6
elaborationStringA reserved field. The default value is null0.6
opaqueLinkedHashMapA reserved field. The default value is null0.6
causeErrorCodeThe root error. The source error that caused the current error. If no root error exists, this field is null0.6

SDK Examples

Java SDK

CheckMemorySnapshotGroupConflictAction action = new CheckMemorySnapshotGroupConflictAction();
action.uuid = "ff06c5015505317fae8e020694bad500";
action.sessionId = "b86c9016b4f24953a9edefb53ca0678c";
CheckMemorySnapshotGroupConflictAction.Result res = action.call();

Python SDK

action = CheckMemorySnapshotGroupConflictAction()
action.uuid = "ff06c5015505317fae8e020694bad500"
action.sessionId = "b86c9016b4f24953a9edefb53ca0678c"
res = action.call()