pub struct DiskImageTargetDetails {
pub additional_licenses: Option<Vec<String>>,
pub data_disk_image_import: Option<DataDiskImageImport>,
pub description: Option<String>,
pub encryption: Option<Encryption>,
pub family_name: Option<String>,
pub image_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub os_adaptation_parameters: Option<ImageImportOsAdaptationParameters>,
pub single_region_storage: Option<bool>,
pub target_project: Option<String>,
}Expand description
The target details of the image resource that will be created by the import job.
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 image.
data_disk_image_import: Option<DataDiskImageImport>Optional. Use to skip OS adaptation process.
description: Option<String>Optional. An optional description of the image.
encryption: Option<Encryption>Immutable. The encryption to apply to the image.
family_name: Option<String>Optional. The name of the image family to which the new image belongs.
image_name: Option<String>Required. The name of the image to be created.
labels: Option<HashMap<String, String>>Optional. A map of labels to associate with the image.
os_adaptation_parameters: Option<ImageImportOsAdaptationParameters>Optional. Use to set the parameters relevant for the OS adaptation process.
single_region_storage: Option<bool>Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
target_project: Option<String>Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
Trait Implementations§
Source§impl Clone for DiskImageTargetDetails
impl Clone for DiskImageTargetDetails
Source§fn clone(&self) -> DiskImageTargetDetails
fn clone(&self) -> DiskImageTargetDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DiskImageTargetDetails
impl Debug for DiskImageTargetDetails
Source§impl Default for DiskImageTargetDetails
impl Default for DiskImageTargetDetails
Source§fn default() -> DiskImageTargetDetails
fn default() -> DiskImageTargetDetails
Source§impl<'de> Deserialize<'de> for DiskImageTargetDetails
impl<'de> Deserialize<'de> for DiskImageTargetDetails
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>,
Source§impl Serialize for DiskImageTargetDetails
impl Serialize for DiskImageTargetDetails
impl Part for DiskImageTargetDetails
Auto Trait Implementations§
impl Freeze for DiskImageTargetDetails
impl RefUnwindSafe for DiskImageTargetDetails
impl Send for DiskImageTargetDetails
impl Sync for DiskImageTargetDetails
impl Unpin for DiskImageTargetDetails
impl UnwindSafe for DiskImageTargetDetails
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