Module Values_4.PurchaseCapacityBlockResultSource

Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.

Sourcetype nonrec t = {
  1. capacityReservation : Values_3.CapacityReservation.t option;
    (*

    The Capacity Reservation.

    *)
  2. capacityBlocks : Values_3.CapacityBlockSet.t option;
    (*

    The Capacity Block.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?capacityReservation:??? -> ?capacityBlocks:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of Values_0.CapacityReservationId.t | `Structure of (string * [> `String of string ]) list ] list | `String of Values_1.CapacityBlockId.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list ] list | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.t | `String of Values_0.String_.t | `Timestamp of Values_0.MillisecondDateTime.t ]) list | `Timestamp of Values_0.MillisecondDateTime.t ]) 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