pub struct DisksMigrationVmTargetDefaults {Show 14 fields
pub additional_licenses: Option<Vec<String>>,
pub boot_disk_defaults: Option<BootDiskDefaults>,
pub compute_scheduling: Option<ComputeScheduling>,
pub encryption: Option<Encryption>,
pub hostname: Option<String>,
pub labels: Option<HashMap<String, 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 vm_name: Option<String>,
}Expand description
Details for creation of a VM that migrated data disks will be attached to.
This type is not used in any activity, and only used as part of another schema.
Fields§
§additional_licenses: Option<Vec<String>>Optional. Additional licenses to assign to the VM.
boot_disk_defaults: Option<BootDiskDefaults>Optional. Details of the boot disk of the VM.
compute_scheduling: Option<ComputeScheduling>Optional. Compute instance scheduling information (if empty default is used).
encryption: Option<Encryption>Optional. The encryption to apply to the VM.
hostname: Option<String>Optional. The hostname to assign to the VM.
labels: Option<HashMap<String, String>>Optional. A map of labels to associate with the VM.
machine_type: Option<String>Required. The machine type to create the VM with.
machine_type_series: Option<String>Optional. The machine type series to create the VM with. For presentation only.
metadata: Option<HashMap<String, String>>Optional. The metadata key/value pairs to assign to the VM.
network_interfaces: Option<Vec<NetworkInterface>>Optional. NICs to attach to the VM.
Optional. A list of network tags to associate with the VM.
secure_boot: Option<bool>Optional. 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>Optional. The service account to associate the VM with.
vm_name: Option<String>Required. The name of the VM to create.
Trait Implementations§
Source§impl Clone for DisksMigrationVmTargetDefaults
impl Clone for DisksMigrationVmTargetDefaults
Source§fn clone(&self) -> DisksMigrationVmTargetDefaults
fn clone(&self) -> DisksMigrationVmTargetDefaults
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for DisksMigrationVmTargetDefaults
impl Default for DisksMigrationVmTargetDefaults
Source§fn default() -> DisksMigrationVmTargetDefaults
fn default() -> DisksMigrationVmTargetDefaults
Source§impl<'de> Deserialize<'de> for DisksMigrationVmTargetDefaults
impl<'de> Deserialize<'de> for DisksMigrationVmTargetDefaults
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 DisksMigrationVmTargetDefaults
Auto Trait Implementations§
impl Freeze for DisksMigrationVmTargetDefaults
impl RefUnwindSafe for DisksMigrationVmTargetDefaults
impl Send for DisksMigrationVmTargetDefaults
impl Sync for DisksMigrationVmTargetDefaults
impl Unpin for DisksMigrationVmTargetDefaults
impl UnwindSafe for DisksMigrationVmTargetDefaults
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