[][src]Struct rusoto_lightsail::Bundle

pub struct Bundle {
    pub bundle_id: Option<String>,
    pub cpu_count: Option<i64>,
    pub disk_size_in_gb: Option<i64>,
    pub instance_type: Option<String>,
    pub is_active: Option<bool>,
    pub name: Option<String>,
    pub power: Option<i64>,
    pub price: Option<f32>,
    pub ram_size_in_gb: Option<f32>,
    pub supported_platforms: Option<Vec<String>>,
    pub transfer_per_month_in_gb: Option<i64>,
}

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

Fields

bundle_id: Option<String>

The bundle ID (e.g., micro_1_0).

cpu_count: Option<i64>

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

disk_size_in_gb: Option<i64>

The size of the SSD (e.g., 30).

instance_type: Option<String>

The Amazon EC2 instance type (e.g., t2.micro).

is_active: Option<bool>

A Boolean value indicating whether the bundle is active.

name: Option<String>

A friendly name for the bundle (e.g., Micro).

power: Option<i64>

A numeric value that represents the power of the bundle (e.g., 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.

price: Option<f32>

The price in US dollars (e.g., 5.0).

ram_size_in_gb: Option<f32>

The amount of RAM in GB (e.g., 2.0).

supported_platforms: Option<Vec<String>>

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.

transfer_per_month_in_gb: Option<i64>

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

Trait Implementations

impl PartialEq<Bundle> for Bundle[src]

impl Default for Bundle[src]

impl Clone for Bundle[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Bundle[src]

impl<'de> Deserialize<'de> for Bundle[src]

Auto Trait Implementations

impl Send for Bundle

impl Sync for Bundle

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self