pub struct CnsVolumeExtendSpec {
pub volume_id: CnsVolumeId,
pub capacity_in_mb: i64,
}Expand description
Specifications for volume extend operation.
Extend operation is called to extend volume’s capacity. The new non-negative capacity should be specified in MB.
Extend operation should be called by providing at least one ExtendSpec. If an array of empty spec is passed, the operation will fail.
This structure may be used only with operations rendered under /vsan.
§How to access
CnsVolumeManager::cns_extend_volume(extend_specs)
Fields§
§volume_id: CnsVolumeIdUnique identifier for the volume.
capacity_in_mb: i64New capacityInMb for the volume.
Trait Implementations§
Source§impl Debug for CnsVolumeExtendSpec
impl Debug for CnsVolumeExtendSpec
Source§impl Deserialize for CnsVolumeExtendSpec
impl Deserialize for CnsVolumeExtendSpec
Source§impl VimObjectTrait for CnsVolumeExtendSpec
impl VimObjectTrait for CnsVolumeExtendSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for CnsVolumeExtendSpec
Auto Trait Implementations§
impl Freeze for CnsVolumeExtendSpec
impl RefUnwindSafe for CnsVolumeExtendSpec
impl Send for CnsVolumeExtendSpec
impl Sync for CnsVolumeExtendSpec
impl Unpin for CnsVolumeExtendSpec
impl UnsafeUnpin for CnsVolumeExtendSpec
impl UnwindSafe for CnsVolumeExtendSpec
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