Module Values.CreateLegalHoldInputSource

Creates a legal hold on a recovery point (backup). A legal hold is a restraint on altering or deleting a backup until an authorized user cancels the legal hold. Any actions to delete or disassociate a recovery point will fail with an error if one or more active legal holds are on the recovery point.

Sourcetype nonrec t = {
  1. title : string;
    (*

    The title of the legal hold.

    *)
  2. description : string;
    (*

    The description of the legal hold.

    *)
  3. idempotencyToken : string option;
    (*

    This is a user-chosen string used to distinguish between otherwise identical calls. Retrying a successful request with the same idempotency token results in a success message with no action taken.

    *)
  4. recoveryPointSelection : RecoveryPointSelection.t option;
    (*

    The criteria to assign a set of resources, such as resource types or backup vaults.

    *)
  5. tags : Tags.t option;
    (*

    Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.

    *)
}
Sourceval context_ : string
Sourceval make : ?idempotencyToken:??? -> ?recoveryPointSelection:??? -> ?tags:??? -> title:string -> description:string -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of string | `Structure of (string * [> `List of [> `String of string ] list | `Structure of (string * [> `Timestamp of string ]) list ]) list ]) 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