pub struct GetInstanceArgs {
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub self_link: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§name: Output<Option<String>>
The name of the instance. One of name
or self_link
must be provided.
project: Output<Option<String>>
The ID of the project in which the resource belongs.
If self_link
is provided, this value is ignored. If neither self_link
nor project
are provided, the provider project is used.
self_link: Output<Option<String>>
The self link of the instance. One of name
or self_link
must be provided.
zone: Output<Option<String>>
The zone of the instance. If self_link
is provided, this
value is ignored. If neither self_link
nor zone
are provided, the
provider zone is used.
Implementations§
source§impl GetInstanceArgs
impl GetInstanceArgs
sourcepub fn builder() -> GetInstanceArgsBuilder
pub fn builder() -> GetInstanceArgsBuilder
Create an instance of GetInstanceArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetInstanceArgs
impl Clone for GetInstanceArgs
source§fn clone(&self) -> GetInstanceArgs
fn clone(&self) -> GetInstanceArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GetInstanceArgs
impl RefUnwindSafe for GetInstanceArgs
impl Send for GetInstanceArgs
impl Sync for GetInstanceArgs
impl Unpin for GetInstanceArgs
impl UnwindSafe for GetInstanceArgs
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)