pub struct DiskResourcePolicyAttachmentArgs {
pub disk: Output<String>,
pub name: Output<Option<String>>,
pub project: Output<Option<String>>,
pub zone: Output<Option<String>>,
}
Fields§
§disk: Output<String>
The name of the disk in which the resource policies are attached to.
name: Output<Option<String>>
The resource policy to be attached to the disk for scheduling snapshot creation. Do not specify the self link.
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 DiskResourcePolicyAttachmentArgs
impl DiskResourcePolicyAttachmentArgs
sourcepub fn builder() -> DiskResourcePolicyAttachmentArgsBuilder
pub fn builder() -> DiskResourcePolicyAttachmentArgsBuilder
Create an instance of DiskResourcePolicyAttachmentArgs
using the builder syntax
Trait Implementations§
source§impl Clone for DiskResourcePolicyAttachmentArgs
impl Clone for DiskResourcePolicyAttachmentArgs
source§fn clone(&self) -> DiskResourcePolicyAttachmentArgs
fn clone(&self) -> DiskResourcePolicyAttachmentArgs
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 DiskResourcePolicyAttachmentArgs
impl RefUnwindSafe for DiskResourcePolicyAttachmentArgs
impl Send for DiskResourcePolicyAttachmentArgs
impl Sync for DiskResourcePolicyAttachmentArgs
impl Unpin for DiskResourcePolicyAttachmentArgs
impl UnwindSafe for DiskResourcePolicyAttachmentArgs
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
)