pub struct GetImageArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetImageArgsBuilder<S>
impl<S: State> GetImageArgsBuilder<S>
sourcepub fn build_struct(self) -> GetImageArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetImageArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn family(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetFamily<S>>where
S::Family: IsUnset,
pub fn family(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetFamily<S>>where
S::Family: IsUnset,
sourcepub fn maybe_family(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetFamily<S>>where
S::Family: IsUnset,
pub fn maybe_family(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetFamily<S>>where
S::Family: IsUnset,
sourcepub fn filter(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn filter(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
sourcepub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
sourcepub fn most_recent(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetImageArgsBuilder<SetMostRecent<S>>where
S::MostRecent: IsUnset,
pub fn most_recent(
self,
value: impl Into<Output<Option<bool>>>,
) -> GetImageArgsBuilder<SetMostRecent<S>>where
S::MostRecent: IsUnset,
sourcepub fn maybe_most_recent(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetImageArgsBuilder<SetMostRecent<S>>where
S::MostRecent: IsUnset,
pub fn maybe_most_recent(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> GetImageArgsBuilder<SetMostRecent<S>>where
S::MostRecent: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> GetImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
, 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.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetImageArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
, 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.