Struct pulumi_wasm_docker::volume::VolumeArgs
source · pub struct VolumeArgs {
pub driver: Output<Option<String>>,
pub driver_opts: Output<Option<HashMap<String, String>>>,
pub labels: Output<Option<Vec<VolumeLabel>>>,
pub name: Output<Option<String>>,
}
Fields§
§driver: Output<Option<String>>
Driver type for the volume. Defaults to local
.
driver_opts: Output<Option<HashMap<String, String>>>
Options specific to the driver.
labels: Output<Option<Vec<VolumeLabel>>>
User-defined key/value metadata
name: Output<Option<String>>
The name of the Docker volume (will be generated if not provided).
Implementations§
source§impl VolumeArgs
impl VolumeArgs
sourcepub fn builder() -> VolumeArgsBuilder
pub fn builder() -> VolumeArgsBuilder
Create an instance of VolumeArgs
using the builder syntax
Auto Trait Implementations§
impl Freeze for VolumeArgs
impl RefUnwindSafe for VolumeArgs
impl Send for VolumeArgs
impl Sync for VolumeArgs
impl Unpin for VolumeArgs
impl UnwindSafe for VolumeArgs
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