Class DeviceDeleteRequest
java.lang.Object
com.eqixiac.equinix.networkedge.model.json.creators.DeviceDeleteRequest
Options for
DELETE /ne/v1/devices/{uuid}: the deleteRedundantDevice query
parameter and the optional deletionInfo body (VirtualDeviceDeleteRequest).
Per the spec, a redundant pair must be deleted with deleteRedundantDevice=true so
both devices go together, and a Palo Alto BYOL device needs its deactivation key (for the
secondary too) or the licence must be released through the vendor.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSecondaryDeviceDeleteRequest. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeactivationKey(String deactivationKey) Sets the (primary) device's licence deactivation key.deleteRedundantDevice(boolean deleteRedundantDevice) SetsdeleteRedundantDevice: delete the primary and secondary of a pair together.booleanhasBody()Whether a body needs to be sent.secondaryDeactivationKey(String deactivationKey) Sets the secondary device's licence deactivation key (secondary.deactivationKey).
-
Constructor Details
-
DeviceDeleteRequest
public DeviceDeleteRequest()
-
-
Method Details
-
deleteRedundantDevice
SetsdeleteRedundantDevice: delete the primary and secondary of a pair together.- Parameters:
deleteRedundantDevice-truefor a redundant pair- Returns:
- this request
-
deactivationKey
Sets the (primary) device's licence deactivation key.- Parameters:
deactivationKey- the deactivation key- Returns:
- this request
-
secondaryDeactivationKey
Sets the secondary device's licence deactivation key (secondary.deactivationKey).- Parameters:
deactivationKey- the secondary device's deactivation key- Returns:
- this request
-
hasBody
public boolean hasBody()Whether a body needs to be sent.- Returns:
truewhen a deactivation key is set
-