Struct aws_sdk_fsx::model::OntapVolumeConfiguration
source · [−]#[non_exhaustive]pub struct OntapVolumeConfiguration {
pub flex_cache_endpoint_type: Option<FlexCacheEndpointType>,
pub junction_path: Option<String>,
pub security_style: Option<SecurityStyle>,
pub size_in_megabytes: Option<i32>,
pub storage_efficiency_enabled: Option<bool>,
pub storage_virtual_machine_id: Option<String>,
pub storage_virtual_machine_root: Option<bool>,
pub tiering_policy: Option<TieringPolicy>,
pub uuid: Option<String>,
pub ontap_volume_type: Option<OntapVolumeType>,
}
Expand description
The configuration of an Amazon FSx for NetApp ONTAP volume.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.flex_cache_endpoint_type: Option<FlexCacheEndpointType>
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
-
NONE
specifies that the volume doesn't have a FlexCache configuration.NONE
is the default. -
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume. -
CACHE
specifies that the volume is a FlexCache volume.
junction_path: Option<String>
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a JunctionPath
directly below a parent volume junction or on a directory within a volume. A JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or /vol1/dir2/vol3
, or even /dir1/dir2/vol3
.
security_style: Option<SecurityStyle>
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
size_in_megabytes: Option<i32>
The configured size of the volume, in megabytes (MBs).
storage_efficiency_enabled: Option<bool>
The volume's storage efficiency setting.
storage_virtual_machine_id: Option<String>
The ID of the volume's storage virtual machine.
storage_virtual_machine_root: Option<bool>
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false
. If this value is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false
, helps you identify which volumes to delete before you can delete the SVM.
tiering_policy: Option<TieringPolicy>
The volume's TieringPolicy
setting.
uuid: Option<String>
The volume's universally unique identifier (UUID).
ontap_volume_type: Option<OntapVolumeType>
Specifies the type of volume. Valid values are the following:
-
RW
specifies a read/write volume.RW
is the default. -
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data. -
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a FlexVol volume by providing additional read-only access to clients.
Implementations
sourceimpl OntapVolumeConfiguration
impl OntapVolumeConfiguration
sourcepub fn flex_cache_endpoint_type(&self) -> Option<&FlexCacheEndpointType>
pub fn flex_cache_endpoint_type(&self) -> Option<&FlexCacheEndpointType>
Specifies the FlexCache endpoint type of the volume. Valid values are the following:
-
NONE
specifies that the volume doesn't have a FlexCache configuration.NONE
is the default. -
ORIGIN
specifies that the volume is the origin volume for a FlexCache volume. -
CACHE
specifies that the volume is a FlexCache volume.
sourcepub fn junction_path(&self) -> Option<&str>
pub fn junction_path(&self) -> Option<&str>
Specifies the directory that network-attached storage (NAS) clients use to mount the volume, along with the storage virtual machine (SVM) Domain Name System (DNS) name or IP address. You can create a JunctionPath
directly below a parent volume junction or on a directory within a volume. A JunctionPath
for a volume named vol3
might be /vol1/vol2/vol3
, or /vol1/dir2/vol3
, or even /dir1/dir2/vol3
.
sourcepub fn security_style(&self) -> Option<&SecurityStyle>
pub fn security_style(&self) -> Option<&SecurityStyle>
The security style for the volume, which can be UNIX
, NTFS
, or MIXED
.
sourcepub fn size_in_megabytes(&self) -> Option<i32>
pub fn size_in_megabytes(&self) -> Option<i32>
The configured size of the volume, in megabytes (MBs).
sourcepub fn storage_efficiency_enabled(&self) -> Option<bool>
pub fn storage_efficiency_enabled(&self) -> Option<bool>
The volume's storage efficiency setting.
sourcepub fn storage_virtual_machine_id(&self) -> Option<&str>
pub fn storage_virtual_machine_id(&self) -> Option<&str>
The ID of the volume's storage virtual machine.
sourcepub fn storage_virtual_machine_root(&self) -> Option<bool>
pub fn storage_virtual_machine_root(&self) -> Option<bool>
A Boolean flag indicating whether this volume is the root volume for its storage virtual machine (SVM). Only one volume on an SVM can be the root volume. This value defaults to false
. If this value is true
, then this is the SVM root volume.
This flag is useful when you're deleting an SVM, because you must first delete all non-root volumes. This flag, when set to false
, helps you identify which volumes to delete before you can delete the SVM.
sourcepub fn tiering_policy(&self) -> Option<&TieringPolicy>
pub fn tiering_policy(&self) -> Option<&TieringPolicy>
The volume's TieringPolicy
setting.
sourcepub fn ontap_volume_type(&self) -> Option<&OntapVolumeType>
pub fn ontap_volume_type(&self) -> Option<&OntapVolumeType>
Specifies the type of volume. Valid values are the following:
-
RW
specifies a read/write volume.RW
is the default. -
DP
specifies a data-protection volume. You can protect data by replicating it to data-protection mirror copies. If a disaster occurs, you can use these data-protection mirror copies to recover data. -
LS
specifies a load-sharing mirror volume. A load-sharing mirror reduces the network traffic to a FlexVol volume by providing additional read-only access to clients.
sourceimpl OntapVolumeConfiguration
impl OntapVolumeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OntapVolumeConfiguration
Trait Implementations
sourceimpl Clone for OntapVolumeConfiguration
impl Clone for OntapVolumeConfiguration
sourcefn clone(&self) -> OntapVolumeConfiguration
fn clone(&self) -> OntapVolumeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OntapVolumeConfiguration
impl Debug for OntapVolumeConfiguration
sourceimpl PartialEq<OntapVolumeConfiguration> for OntapVolumeConfiguration
impl PartialEq<OntapVolumeConfiguration> for OntapVolumeConfiguration
sourcefn eq(&self, other: &OntapVolumeConfiguration) -> bool
fn eq(&self, other: &OntapVolumeConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OntapVolumeConfiguration) -> bool
fn ne(&self, other: &OntapVolumeConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for OntapVolumeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for OntapVolumeConfiguration
impl Send for OntapVolumeConfiguration
impl Sync for OntapVolumeConfiguration
impl Unpin for OntapVolumeConfiguration
impl UnwindSafe for OntapVolumeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more