pub struct GetImageArgs {
pub family: Output<Option<String>>,
pub filter: Output<Option<String>>,
pub most_recent: Output<Option<bool>>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
}
Fields§
§family: Output<Option<String>>
The family name of the image.
filter: Output<Option<String>>
§most_recent: Output<Option<bool>>
A boolean to indicate either to take to most recent image if your filter returns more than one image.
name: Output<Option<String>>
, family
or filter
- (Required) The name of a specific image or a family.
Exactly one of name
, family
or filter
must be specified. If name
is specified, it will fetch
the corresponding image. If family
is specified, it will return the latest image
that is part of an image family and is not deprecated. If you specify filter
, your
filter must return exactly one image unless you use most_recent
.
Filter syntax can be found here in the filter section.
project: Output<Option<String>>
The project in which the resource belongs. If it is not provided, the provider project is used. If you are using a [public base image][pubimg], be sure to specify the correct Image Project.
Implementations§
source§impl GetImageArgs
impl GetImageArgs
sourcepub fn builder() -> GetImageArgsBuilder
pub fn builder() -> GetImageArgsBuilder
Create an instance of GetImageArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetImageArgs
impl Clone for GetImageArgs
source§fn clone(&self) -> GetImageArgs
fn clone(&self) -> GetImageArgs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetImageArgs
impl RefUnwindSafe for GetImageArgs
impl Send for GetImageArgs
impl Sync for GetImageArgs
impl Unpin for GetImageArgs
impl UnwindSafe for GetImageArgs
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)