pub struct ComputeEngineTargetDetails {Show 19 fields
pub additional_licenses: Option<Vec<String>>,
pub applied_license: Option<AppliedLicense>,
pub boot_option: Option<String>,
pub compute_scheduling: Option<ComputeScheduling>,
pub disk_type: Option<String>,
pub encryption: Option<Encryption>,
pub hostname: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub license_type: Option<String>,
pub machine_type: Option<String>,
pub machine_type_series: Option<String>,
pub metadata: Option<HashMap<String, String>>,
pub network_interfaces: Option<Vec<NetworkInterface>>,
pub network_tags: Option<Vec<String>>,
pub project: Option<String>,
pub secure_boot: Option<bool>,
pub service_account: Option<String>,
pub vm_name: Option<String>,
pub zone: Option<String>,
}Expand description
ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_licenses: Option<Vec<String>>Additional licenses to assign to the VM.
applied_license: Option<AppliedLicense>The OS license returned from the adaptation module report.
boot_option: Option<String>The VM Boot Option, as set in the source VM.
compute_scheduling: Option<ComputeScheduling>Compute instance scheduling information (if empty default is used).
disk_type: Option<String>The disk type to use in the VM.
encryption: Option<Encryption>Optional. The encryption to apply to the VM disks.
hostname: Option<String>The hostname to assign to the VM.
labels: Option<HashMap<String, String>>A map of labels to associate with the VM.
license_type: Option<String>The license type to use in OS adaptation.
machine_type: Option<String>The machine type to create the VM with.
machine_type_series: Option<String>The machine type series to create the VM with.
metadata: Option<HashMap<String, String>>The metadata key/value pairs to assign to the VM.
network_interfaces: Option<Vec<NetworkInterface>>List of NICs connected to this VM.
A list of network tags to associate with the VM.
project: Option<String>The Google Cloud target project ID or project name.
secure_boot: Option<bool>Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
service_account: Option<String>The service account to associate the VM with.
vm_name: Option<String>The name of the VM to create.
zone: Option<String>The zone in which to create the VM.
Trait Implementations§
Source§impl Clone for ComputeEngineTargetDetails
impl Clone for ComputeEngineTargetDetails
Source§fn clone(&self) -> ComputeEngineTargetDetails
fn clone(&self) -> ComputeEngineTargetDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComputeEngineTargetDetails
impl Debug for ComputeEngineTargetDetails
Source§impl Default for ComputeEngineTargetDetails
impl Default for ComputeEngineTargetDetails
Source§fn default() -> ComputeEngineTargetDetails
fn default() -> ComputeEngineTargetDetails
Source§impl<'de> Deserialize<'de> for ComputeEngineTargetDetails
impl<'de> Deserialize<'de> for ComputeEngineTargetDetails
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>,
impl Part for ComputeEngineTargetDetails
Auto Trait Implementations§
impl Freeze for ComputeEngineTargetDetails
impl RefUnwindSafe for ComputeEngineTargetDetails
impl Send for ComputeEngineTargetDetails
impl Sync for ComputeEngineTargetDetails
impl Unpin for ComputeEngineTargetDetails
impl UnwindSafe for ComputeEngineTargetDetails
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
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>
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>
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