Bundle

class Bundle

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

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The bundle ID (micro_1_0).

Link copied to clipboard

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

Link copied to clipboard

The size of the SSD (30).

Link copied to clipboard

The Amazon EC2 instance type (t2.micro).

Link copied to clipboard

A Boolean value indicating whether the bundle is active.

Link copied to clipboard
val name: String?

A friendly name for the bundle (Micro).

Link copied to clipboard
val power: Int?

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.

Link copied to clipboard
val price: Float?

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

Link copied to clipboard

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

Link copied to clipboard

The amount of RAM in GB (2.0).

Link copied to clipboard

Virtual computer blueprints that are supported by a Lightsail for Research bundle.

Link copied to clipboard

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.

Link copied to clipboard

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

Functions

Link copied to clipboard
inline fun copy(block: Bundle.Builder.() -> Unit = {}): Bundle
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String