pub struct GetDiskArgs {
pub name: Output<String>,
pub project: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§name: Output<String>
The name of a specific disk.
project: Output<Option<String>>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
zone: Output<Option<String>>
A reference to the zone where the disk resides.
Implementations§
source§impl GetDiskArgs
impl GetDiskArgs
sourcepub fn builder() -> GetDiskArgsBuilder
pub fn builder() -> GetDiskArgsBuilder
Create an instance of GetDiskArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetDiskArgs
impl Clone for GetDiskArgs
source§fn clone(&self) -> GetDiskArgs
fn clone(&self) -> GetDiskArgs
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 GetDiskArgs
impl RefUnwindSafe for GetDiskArgs
impl Send for GetDiskArgs
impl Sync for GetDiskArgs
impl Unpin for GetDiskArgs
impl UnwindSafe for GetDiskArgs
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
)