pub struct GetInstanceTemplateArgs {
pub filter: Output<Option<String>>,
pub most_recent: Output<Option<bool>>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub self_link_unique: Output<Option<String>>,
}
Fields§
§filter: Output<Option<String>>
A filter to retrieve the instance templates.
See API filter parameter documentation for reference.
If multiple instance templates match, either adjust the filter or specify most_recent
.
One of name
, filter
or self_link_unique
must be provided.
most_recent: Output<Option<bool>>
If filter
is provided, ensures the most recent template is returned when multiple instance templates match. One of name
, filter
or self_link_unique
must be provided.
name: Output<Option<String>>
The name of the instance template. One of name
, filter
or self_link_unique
must be provided.
project: Output<Option<String>>
The ID of the project in which the resource belongs.
If project
is not provided, the provider project is used.
self_link_unique: Output<Option<String>>
The self_link_unique URI of the instance template. One of name
, filter
or self_link_unique
must be provided.
Implementations§
source§impl GetInstanceTemplateArgs
impl GetInstanceTemplateArgs
sourcepub fn builder() -> GetInstanceTemplateArgsBuilder
pub fn builder() -> GetInstanceTemplateArgsBuilder
Create an instance of GetInstanceTemplateArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetInstanceTemplateArgs
impl Clone for GetInstanceTemplateArgs
source§fn clone(&self) -> GetInstanceTemplateArgs
fn clone(&self) -> GetInstanceTemplateArgs
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 GetInstanceTemplateArgs
impl RefUnwindSafe for GetInstanceTemplateArgs
impl Send for GetInstanceTemplateArgs
impl Sync for GetInstanceTemplateArgs
impl Unpin for GetInstanceTemplateArgs
impl UnwindSafe for GetInstanceTemplateArgs
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
)