pub struct HardwareProfileUpdate {
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>,
}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>Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.
dynamic_memory_enabled: Option<DynamicMemoryEnabled>Gets or sets a value indicating whether to enable dynamic memory or not.
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.
Implementations§
Trait Implementations§
Source§impl Clone for HardwareProfileUpdate
impl Clone for HardwareProfileUpdate
Source§fn clone(&self) -> HardwareProfileUpdate
fn clone(&self) -> HardwareProfileUpdate
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 HardwareProfileUpdate
impl Debug for HardwareProfileUpdate
Source§impl Default for HardwareProfileUpdate
impl Default for HardwareProfileUpdate
Source§fn default() -> HardwareProfileUpdate
fn default() -> HardwareProfileUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HardwareProfileUpdate
impl<'de> Deserialize<'de> for HardwareProfileUpdate
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 HardwareProfileUpdate
impl PartialEq for HardwareProfileUpdate
Source§impl Serialize for HardwareProfileUpdate
impl Serialize for HardwareProfileUpdate
impl StructuralPartialEq for HardwareProfileUpdate
Auto Trait Implementations§
impl Freeze for HardwareProfileUpdate
impl RefUnwindSafe for HardwareProfileUpdate
impl Send for HardwareProfileUpdate
impl Sync for HardwareProfileUpdate
impl Unpin for HardwareProfileUpdate
impl UnwindSafe for HardwareProfileUpdate
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