Module Values.RestoreStatusSource

Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

Sourcetype nonrec t = {
  1. status : String_.t option;
    (*

    The status of the restore action. Returns starting, restoring, completed, or failed.

    *)
  2. currentRestoreRateInMegaBytesPerSecond : Double.t option;
    (*

    The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. This field is only updated when you restore to DC2 node types.

    *)
  3. snapshotSizeInMegaBytes : Long.t option;
    (*

    The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 node types.

    *)
  4. progressInMegaBytes : Long.t option;
    (*

    The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 node types.

    *)
  5. elapsedTimeInSeconds : Long.t option;
    (*

    The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. This field is only updated when you restore to DC2 node types.

    *)
  6. estimatedTimeToCompletionInSeconds : Long.t option;
    (*

    The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 node types.

    *)
}
Sourceval make : ?status:??? -> ?currentRestoreRateInMegaBytesPerSecond:??? -> ?snapshotSizeInMegaBytes:??? -> ?progressInMegaBytes:??? -> ?elapsedTimeInSeconds:??? -> ?estimatedTimeToCompletionInSeconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Double.t | `Long of Long.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t