pub struct HardwareProfile {
pub memory_mb: Option<i32>,
pub cpu_count: Option<i32>,
pub limit_cpu_for_migration: Option<LimitCpuForMigration>,
pub dynamic_memory_enabled: Option<DynamicMemoryEnabled>,
pub dynamic_memory_max_mb: Option<i32>,
pub dynamic_memory_min_mb: Option<i32>,
pub is_highly_available: Option<IsHighlyAvailable>,
}Expand description
Defines the resource properties.
Fields§
§memory_mb: Option<i32>MemoryMB is the size of a virtual machine’s memory, in MB.
cpu_count: Option<i32>Gets or sets the number of vCPUs for the vm.
limit_cpu_for_migration: Option<LimitCpuForMigration>Limit CPU for migration.
dynamic_memory_enabled: Option<DynamicMemoryEnabled>Dynamic memory enabled.
dynamic_memory_max_mb: Option<i32>Gets or sets the max dynamic memory for the vm.
dynamic_memory_min_mb: Option<i32>Gets or sets the min dynamic memory for the vm.
is_highly_available: Option<IsHighlyAvailable>Highly available.
Implementations§
Trait Implementations§
Source§impl Clone for HardwareProfile
impl Clone for HardwareProfile
Source§fn clone(&self) -> HardwareProfile
fn clone(&self) -> HardwareProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HardwareProfile
impl Debug for HardwareProfile
Source§impl Default for HardwareProfile
impl Default for HardwareProfile
Source§fn default() -> HardwareProfile
fn default() -> HardwareProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HardwareProfile
impl<'de> Deserialize<'de> for HardwareProfile
Source§fn 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
Source§impl PartialEq for HardwareProfile
impl PartialEq for HardwareProfile
Source§impl Serialize for HardwareProfile
impl Serialize for HardwareProfile
impl StructuralPartialEq for HardwareProfile
Auto Trait Implementations§
impl Freeze for HardwareProfile
impl RefUnwindSafe for HardwareProfile
impl Send for HardwareProfile
impl Sync for HardwareProfile
impl Unpin for HardwareProfile
impl UnwindSafe for HardwareProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more