Struct google_api_proto::google::cloud::vmmigration::v1::AwsVmDetails
source · pub struct AwsVmDetails {Show 18 fields
pub vm_id: String,
pub display_name: String,
pub source_id: String,
pub source_description: String,
pub power_state: i32,
pub cpu_count: i32,
pub memory_mb: i32,
pub disk_count: i32,
pub committed_storage_mb: i64,
pub os_description: String,
pub boot_option: i32,
pub instance_type: String,
pub vpc_id: String,
pub security_groups: Vec<AwsSecurityGroup>,
pub tags: BTreeMap<String, String>,
pub zone: String,
pub virtualization_type: i32,
pub architecture: i32,
}Expand description
AwsVmDetails describes a VM in AWS.
Fields§
§vm_id: StringThe VM ID in AWS.
display_name: StringThe display name of the VM. Note that this value is not necessarily unique.
source_id: StringThe id of the AWS’s source this VM is connected to.
source_description: StringThe descriptive name of the AWS’s source this VM is connected to.
power_state: i32Output only. The power state of the VM at the moment list was taken.
cpu_count: i32The number of cpus the VM has.
memory_mb: i32The memory size of the VM in MB.
disk_count: i32The number of disks the VM has.
committed_storage_mb: i64The total size of the storage allocated to the VM in MB.
os_description: StringThe VM’s OS.
boot_option: i32The VM Boot Option.
instance_type: StringThe instance type of the VM.
vpc_id: StringThe VPC ID the VM belongs to.
security_groups: Vec<AwsSecurityGroup>The security groups the VM belongs to.
The tags of the VM.
zone: StringThe AWS zone of the VM.
virtualization_type: i32The virtualization type.
architecture: i32The CPU architecture.
Implementations§
source§impl AwsVmDetails
impl AwsVmDetails
sourcepub fn power_state(&self) -> PowerState
pub fn power_state(&self) -> PowerState
Returns the enum value of power_state, or the default if the field is set to an invalid enum value.
sourcepub fn set_power_state(&mut self, value: PowerState)
pub fn set_power_state(&mut self, value: PowerState)
Sets power_state to the provided enum value.
sourcepub fn boot_option(&self) -> BootOption
pub fn boot_option(&self) -> BootOption
Returns the enum value of boot_option, or the default if the field is set to an invalid enum value.
sourcepub fn set_boot_option(&mut self, value: BootOption)
pub fn set_boot_option(&mut self, value: BootOption)
Sets boot_option to the provided enum value.
sourcepub fn virtualization_type(&self) -> VmVirtualizationType
pub fn virtualization_type(&self) -> VmVirtualizationType
Returns the enum value of virtualization_type, or the default if the field is set to an invalid enum value.
sourcepub fn set_virtualization_type(&mut self, value: VmVirtualizationType)
pub fn set_virtualization_type(&mut self, value: VmVirtualizationType)
Sets virtualization_type to the provided enum value.
sourcepub fn architecture(&self) -> VmArchitecture
pub fn architecture(&self) -> VmArchitecture
Returns the enum value of architecture, or the default if the field is set to an invalid enum value.
sourcepub fn set_architecture(&mut self, value: VmArchitecture)
pub fn set_architecture(&mut self, value: VmArchitecture)
Sets architecture to the provided enum value.
Trait Implementations§
source§impl Clone for AwsVmDetails
impl Clone for AwsVmDetails
source§fn clone(&self) -> AwsVmDetails
fn clone(&self) -> AwsVmDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsVmDetails
impl Debug for AwsVmDetails
source§impl Default for AwsVmDetails
impl Default for AwsVmDetails
source§impl Message for AwsVmDetails
impl Message for AwsVmDetails
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.source§impl PartialEq for AwsVmDetails
impl PartialEq for AwsVmDetails
source§fn eq(&self, other: &AwsVmDetails) -> bool
fn eq(&self, other: &AwsVmDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsVmDetails
Auto Trait Implementations§
impl Freeze for AwsVmDetails
impl RefUnwindSafe for AwsVmDetails
impl Send for AwsVmDetails
impl Sync for AwsVmDetails
impl Unpin for AwsVmDetails
impl UnwindSafe for AwsVmDetails
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request