Module Values.BundleSource

Describes a bundle, which is a set of specs describing your virtual private server (or instance).

Sourcetype nonrec t = {
  1. price : Float_.t option;
    (*

    The price in US dollars (5.0) of the bundle.

    *)
  2. cpuCount : Integer.t option;
    (*

    The number of vCPUs included in the bundle (2).

    *)
  3. diskSizeInGb : Integer.t option;
    (*

    The size of the SSD (30).

    *)
  4. bundleId : NonEmptyString.t option;
    (*

    The bundle ID (micro_x_x).

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

    The instance type (micro).

    *)
  6. isActive : Boolean.t option;
    (*

    A Boolean value indicating whether the bundle is active.

    *)
  7. name : String_.t option;
    (*

    A friendly name for the bundle (Micro).

    *)
  8. power : Integer.t option;
    (*

    A numeric value that represents the power of the bundle (500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.

    *)
  9. ramSizeInGb : Float_.t option;
    (*

    The amount of RAM in GB (2.0).

    *)
  10. transferPerMonthInGb : Integer.t option;
    (*

    The data transfer rate per month in GB (2000).

    *)
  11. supportedPlatforms : InstancePlatformList.t option;
    (*

    The operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.

    *)
  12. supportedAppCategories : AppCategoryList.t option;
    (*

    Virtual computer blueprints that are supported by a Lightsail for Research bundle. This parameter only applies to Lightsail for Research resources.

    *)
  13. publicIpv4AddressCount : Integer.t option;
    (*

    An integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.

    *)
}
Sourceval make : ?price:??? -> ?cpuCount:??? -> ?diskSizeInGb:??? -> ?bundleId:??? -> ?instanceType:??? -> ?isActive:??? -> ?name:??? -> ?power:??? -> ?ramSizeInGb:??? -> ?transferPerMonthInGb:??? -> ?supportedPlatforms:??? -> ?supportedAppCategories:??? -> ?publicIpv4AddressCount:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Float of Float_.t | `Integer of Integer.t | `List of [> `Enum of string ] list | `String of NonEmptyString.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