Struct rusoto_lightsail::Bundle
source · [−]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>,
}
Expand description
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
) of the bundle.
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
sourceimpl<'de> Deserialize<'de> for Bundle
impl<'de> Deserialize<'de> for Bundle
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Bundle
Auto Trait Implementations
impl RefUnwindSafe for Bundle
impl Send for Bundle
impl Sync for Bundle
impl Unpin for Bundle
impl UnwindSafe for Bundle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more