pulumi_wasm_providers_azure_mini::compute::shared_image_version

Struct SharedImageVersionArgs

source
pub struct SharedImageVersionArgs {
Show 15 fields pub blob_uri: Output<Option<String>>, pub deletion_of_replicated_locations_enabled: Output<Option<bool>>, pub end_of_life_date: Output<Option<String>>, pub exclude_from_latest: Output<Option<bool>>, pub gallery_name: Output<String>, pub image_name: Output<String>, pub location: Output<Option<String>>, pub managed_image_id: Output<Option<String>>, pub name: Output<Option<String>>, pub os_disk_snapshot_id: Output<Option<String>>, pub replication_mode: Output<Option<String>>, pub resource_group_name: Output<String>, pub storage_account_id: Output<Option<String>>, pub tags: Output<Option<HashMap<String, String>>>, pub target_regions: Output<Vec<SharedImageVersionTargetRegion>>,
}

Fields§

§blob_uri: Output<Option<String>>

URI of the Azure Storage Blob used to create the Image Version. Changing this forces a new resource to be created.

NOTE: You must specify exact one of blob_uri, managed_image_id and os_disk_snapshot_id.

NOTE: blob_uri and storage_account_id must be specified together

§deletion_of_replicated_locations_enabled: Output<Option<bool>>

Specifies whether this Shared Image Version can be deleted from the Azure Regions this is replicated to. Defaults to false. Changing this forces a new resource to be created.

§end_of_life_date: Output<Option<String>>

The end of life date in RFC3339 format of the Image Version.

§exclude_from_latest: Output<Option<bool>>

Should this Image Version be excluded from the latest filter? If set to true this Image Version won’t be returned for the latest version. Defaults to false.

§gallery_name: Output<String>

The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.

§image_name: Output<String>

The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.

§location: Output<Option<String>>

The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.

§managed_image_id: Output<Option<String>>

The ID of the Managed Image or Virtual Machine ID which should be used for this Shared Image Version. Changing this forces a new resource to be created.

NOTE: The ID can be sourced from the azure.compute.Image data source or resource

NOTE: You must specify exact one of blob_uri, managed_image_id and os_disk_snapshot_id.

§name: Output<Option<String>>

The version number for this Image Version, such as 1.0.0. Changing this forces a new resource to be created.

§os_disk_snapshot_id: Output<Option<String>>

The ID of the OS disk snapshot which should be used for this Shared Image Version. Changing this forces a new resource to be created.

NOTE: You must specify exact one of blob_uri, managed_image_id and os_disk_snapshot_id.

§replication_mode: Output<Option<String>>

Mode to be used for replication. Possible values are Full and Shallow. Defaults to Full. Changing this forces a new resource to be created.

§resource_group_name: Output<String>

The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.

§storage_account_id: Output<Option<String>>

The ID of the Storage Account where the Blob exists. Changing this forces a new resource to be created.

NOTE: blob_uri and storage_account_id must be specified together

§tags: Output<Option<HashMap<String, String>>>

A collection of tags which should be applied to this resource.

§target_regions: Output<Vec<SharedImageVersionTargetRegion>>

One or more target_region blocks as documented below.

Implementations§

source§

impl SharedImageVersionArgs

source

pub fn builder() -> SharedImageVersionArgsBuilder

Create an instance of SharedImageVersionArgs using the builder syntax

Trait Implementations§

source§

impl Clone for SharedImageVersionArgs

source§

fn clone(&self) -> SharedImageVersionArgs

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.