Module Values_4.PurchaseCapacityBlockRequestSource

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. dryRun : Values_0.Boolean.t option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    *)
  2. tagSpecifications : Values_0.TagSpecificationList.t option;
    (*

    The tags to apply to the Capacity Block during launch.

    *)
  3. capacityBlockOfferingId : Values_1.OfferingId.t;
    (*

    The ID of the Capacity Block offering.

    *)
  4. instancePlatform : Values_0.CapacityReservationInstancePlatform.t;
    (*

    The type of operating system for which to reserve capacity.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> ?tagSpecifications:??? -> capacityBlockOfferingId:Values_1.OfferingId.t -> instancePlatform:Values_0.CapacityReservationInstancePlatform.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ] list | `String of Values_1.OfferingId.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