Module Values_2.ScheduledInstanceAvailabilitySource

Describes a schedule that is available for your Scheduled Instances.

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

    The Availability Zone.

    *)
  2. availableInstanceCount : Values_0.Integer.t option;
    (*

    The number of available instances.

    *)
  3. firstSlotStartTime : Values_0.DateTime.t option;
    (*

    The time period for the first schedule to start.

    *)
  4. hourlyPrice : Values_0.String_.t option;
    (*

    The hourly price for a single instance.

    *)
  5. instanceType : Values_0.String_.t option;
    (*

    The instance type. You can specify one of the C3, C4, M4, or R3 instance types.

    *)
  6. maxTermDurationInDays : Values_0.Integer.t option;
    (*

    The maximum term. The only possible value is 365 days.

    *)
  7. minTermDurationInDays : Values_0.Integer.t option;
    (*

    The minimum term. The only possible value is 365 days.

    *)
  8. networkPlatform : Values_0.String_.t option;
    (*

    The network platform.

    *)
  9. platform : Values_0.String_.t option;
    (*

    The platform (Linux/UNIX or Windows).

    *)
  10. purchaseToken : Values_0.String_.t option;
    (*

    The purchase token. This token expires in two hours.

    *)
  11. recurrence : Values_1.ScheduledInstanceRecurrence.t option;
    (*

    The schedule recurrence.

    *)
  12. slotDurationInHours : Values_0.Integer.t option;
    (*

    The number of hours in the schedule.

    *)
  13. totalScheduledInstanceHours : Values_0.Integer.t option;
    (*

    The total number of hours for a single instance for the entire term.

    *)
}
Sourceval make : ?availabilityZone:??? -> ?availableInstanceCount:??? -> ?firstSlotStartTime:??? -> ?hourlyPrice:??? -> ?instanceType:??? -> ?maxTermDurationInDays:??? -> ?minTermDurationInDays:??? -> ?networkPlatform:??? -> ?platform:??? -> ?purchaseToken:??? -> ?recurrence:??? -> ?slotDurationInHours:??? -> ?totalScheduledInstanceHours:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_0.Integer.t | `String of Values_0.String_.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Integer of Values_0.Integer.t | `List of [> `Integer of int ] list | `String of Values_0.String_.t ]) list | `Timestamp of Values_0.DateTime.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