pub struct ComputeEngineTargetDefaults {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 secure_boot: Option<bool>,
pub service_account: Option<String>,
pub target_project: Option<String>,
pub vm_name: Option<String>,
pub zone: Option<String>,
}Expand description
ComputeEngineTargetDefaults 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>Output only. The OS license returned from the adaptation module report.
boot_option: Option<String>Output only. 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. Immutable. 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.
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.
target_project: Option<String>The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
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 ComputeEngineTargetDefaults
impl Clone for ComputeEngineTargetDefaults
Source§fn clone(&self) -> ComputeEngineTargetDefaults
fn clone(&self) -> ComputeEngineTargetDefaults
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ComputeEngineTargetDefaults
impl Debug for ComputeEngineTargetDefaults
Source§impl Default for ComputeEngineTargetDefaults
impl Default for ComputeEngineTargetDefaults
Source§fn default() -> ComputeEngineTargetDefaults
fn default() -> ComputeEngineTargetDefaults
Source§impl<'de> Deserialize<'de> for ComputeEngineTargetDefaults
impl<'de> Deserialize<'de> for ComputeEngineTargetDefaults
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 ComputeEngineTargetDefaults
Auto Trait Implementations§
impl Freeze for ComputeEngineTargetDefaults
impl RefUnwindSafe for ComputeEngineTargetDefaults
impl Send for ComputeEngineTargetDefaults
impl Sync for ComputeEngineTargetDefaults
impl Unpin for ComputeEngineTargetDefaults
impl UnwindSafe for ComputeEngineTargetDefaults
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