pub struct GetSnapshotArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetSnapshotArgsBuilder<S>
impl<S: State> GetSnapshotArgsBuilder<S>
sourcepub fn build_struct(self) -> GetSnapshotArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetSnapshotArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn filter(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSnapshotArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn filter(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSnapshotArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A filter to retrieve the compute snapshot.
See API filter parameter documentation for reference.
If multiple compute snapshot match, either adjust the filter or specify most_recent
. One of name
or filter
must be provided.
If you want to use a regular expression, use the eq
(equal) or ne
(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Example sourceDisk eq '.*(.*/data-disk$).*'
. More details for golang Snapshots list call filters here.
sourcepub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSnapshotArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSnapshotArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
A filter to retrieve the compute snapshot.
See API filter parameter documentation for reference.
If multiple compute snapshot match, either adjust the filter or specify most_recent
. One of name
or filter
must be provided.
If you want to use a regular expression, use the eq
(equal) or ne
(not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Example sourceDisk eq '.*(.*/data-disk$).*'
. More details for golang Snapshots list call filters here.