Click or drag to resize

IWsEndUserSetEnqueueServerSnapshot Method

This method execute creation, restore or delete of snapshot. By SetEnqueueServerSnapshot it’s possible add creation, restore or delete operation (Job). Restore operation execute restore of resource (disk, data) but not restore RAM, CPU, Virtual LAN and Public IP. This feature is allowed on VmWare and one snapshot is allowed. Snapshot deadline is 7 day. In this lifetime user can request restore and delete. Then 7 day snapshot is deleted automatically.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult SetEnqueueServerSnapshot(
	int serverId,
	SnapshotOperationTypes snapshotOperation


Type: SystemInt32
System.Int32 value to indicate server ID snapshotOperation
Type: Aruba.Cloud.Provisioning.EntitiesSnapshotOperationTypes
Operation Type allow for snapshot. For more information consult SnapshotOperationTypes object

Return Value

Type: WsResult
WsResult contain call information. For more information consult WsResult
private static void CreateSnapshot()
    WsResult result = client.SetEnqueueServerSnapshot(703, SnapshotOperationTypes.Create);

    if (!result.Success)
      throw new ApplicationException(String.Format(
        "An error has occurred while invoking SetEnqueueServerSnapshot(). {0}", result.ResultMessage));
  catch (Exception ex)
    throw new ApplicationException(
      String.Format("An error has occurred while taking a snapshot{0}", ex.Message));
See Also