pub struct VirtualMachineInventoryItem {
pub inventory_item_properties: InventoryItemProperties,
pub os_type: Option<OsType>,
pub os_name: Option<String>,
pub os_version: Option<String>,
pub power_state: Option<String>,
pub ip_addresses: Vec<String>,
pub cloud: Option<InventoryItemDetails>,
pub bios_guid: Option<String>,
pub managed_machine_resource_id: Option<String>,
}Expand description
The Virtual machine inventory item.
Fields§
§inventory_item_properties: InventoryItemProperties§os_type: Option<OsType>Virtual machine operating system type.
os_name: Option<String>Gets os name.
os_version: Option<String>Gets os version.
power_state: Option<String>Gets the power state of the virtual machine.
ip_addresses: Vec<String>Gets or sets the nic ip addresses.
cloud: Option<InventoryItemDetails>Defines the resource properties.
bios_guid: Option<String>Gets the bios guid.
managed_machine_resource_id: Option<String>Gets the tracked resource id corresponding to the inventory resource.
Implementations§
Source§impl VirtualMachineInventoryItem
impl VirtualMachineInventoryItem
pub fn new(inventory_item_properties: InventoryItemProperties) -> Self
Trait Implementations§
Source§impl Clone for VirtualMachineInventoryItem
impl Clone for VirtualMachineInventoryItem
Source§fn clone(&self) -> VirtualMachineInventoryItem
fn clone(&self) -> VirtualMachineInventoryItem
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 VirtualMachineInventoryItem
impl Debug for VirtualMachineInventoryItem
Source§impl<'de> Deserialize<'de> for VirtualMachineInventoryItem
impl<'de> Deserialize<'de> for VirtualMachineInventoryItem
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
impl StructuralPartialEq for VirtualMachineInventoryItem
Auto Trait Implementations§
impl Freeze for VirtualMachineInventoryItem
impl RefUnwindSafe for VirtualMachineInventoryItem
impl Send for VirtualMachineInventoryItem
impl Sync for VirtualMachineInventoryItem
impl Unpin for VirtualMachineInventoryItem
impl UnwindSafe for VirtualMachineInventoryItem
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