pub struct AzureVmDetails {Show 13 fields
pub boot_option: Option<String>,
pub committed_storage_mb: Option<i64>,
pub computer_name: Option<String>,
pub cpu_count: Option<i32>,
pub disk_count: Option<i32>,
pub disks: Option<Vec<Disk>>,
pub memory_mb: Option<i32>,
pub os_description: Option<OSDescription>,
pub os_disk: Option<OSDisk>,
pub power_state: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub vm_id: Option<String>,
pub vm_size: Option<String>,
}Expand description
AzureVmDetails describes a VM in Azure.
This type is not used in any activity, and only used as part of another schema.
Fields§
§boot_option: Option<String>The VM Boot Option.
committed_storage_mb: Option<i64>The total size of the storage allocated to the VM in MB.
computer_name: Option<String>The VM’s ComputerName.
cpu_count: Option<i32>The number of cpus the VM has.
disk_count: Option<i32>The number of disks the VM has, including OS disk.
disks: Option<Vec<Disk>>Description of the data disks.
memory_mb: Option<i32>The memory size of the VM in MB.
os_description: Option<OSDescription>Description of the OS.
os_disk: Option<OSDisk>Description of the OS disk.
power_state: Option<String>The power state of the VM at the moment list was taken.
The tags of the VM.
vm_id: Option<String>The VM full path in Azure.
vm_size: Option<String>VM size as configured in Azure. Determines the VM’s hardware spec.
Trait Implementations§
Source§impl Clone for AzureVmDetails
impl Clone for AzureVmDetails
Source§fn clone(&self) -> AzureVmDetails
fn clone(&self) -> AzureVmDetails
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 AzureVmDetails
impl Debug for AzureVmDetails
Source§impl Default for AzureVmDetails
impl Default for AzureVmDetails
Source§fn default() -> AzureVmDetails
fn default() -> AzureVmDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AzureVmDetails
impl<'de> Deserialize<'de> for AzureVmDetails
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 Serialize for AzureVmDetails
impl Serialize for AzureVmDetails
impl Part for AzureVmDetails
Auto Trait Implementations§
impl Freeze for AzureVmDetails
impl RefUnwindSafe for AzureVmDetails
impl Send for AzureVmDetails
impl Sync for AzureVmDetails
impl Unpin for AzureVmDetails
impl UnwindSafe for AzureVmDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more