pub struct GetSharedImageVersionArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
sourcepub fn build_struct(self) -> GetSharedImageVersionArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetSharedImageVersionArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn gallery_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetGalleryName<S>>where
S::GalleryName: IsUnset,
pub fn gallery_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetGalleryName<S>>where
S::GalleryName: IsUnset,
Required.
The name of the Shared Image Gallery in which the Shared Image exists.
sourcepub fn image_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetImageName<S>>where
S::ImageName: IsUnset,
pub fn image_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetImageName<S>>where
S::ImageName: IsUnset,
Required.
The name of the Shared Image in which this Version exists.
sourcepub fn name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
The name of the Image Version.
Note: You may specify
latest
to obtain the latest version orrecent
to obtain the most recently updated version.
Note: In 3.0,
latest
may return an image version withexclude_from_latest
set totrue
. Starting from 4.0 onwardslatest
will not return image versions withexlude_from_latest
set totrue
.
sourcepub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
pub fn resource_group_name(
self,
value: impl Into<Output<String>>,
) -> GetSharedImageVersionArgsBuilder<SetResourceGroupName<S>>where
S::ResourceGroupName: IsUnset,
Required.
The name of the Resource Group in which the Shared Image Gallery exists.
sourcepub fn sort_versions_by_semver(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetSharedImageVersionArgsBuilder<SetSortVersionsBySemver<S>>where
S::SortVersionsBySemver: IsUnset,
pub fn sort_versions_by_semver(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetSharedImageVersionArgsBuilder<SetSortVersionsBySemver<S>>where
S::SortVersionsBySemver: IsUnset,
sourcepub fn maybe_sort_versions_by_semver(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetSharedImageVersionArgsBuilder<SetSortVersionsBySemver<S>>where
S::SortVersionsBySemver: IsUnset,
pub fn maybe_sort_versions_by_semver(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetSharedImageVersionArgsBuilder<SetSortVersionsBySemver<S>>where
S::SortVersionsBySemver: IsUnset,
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more