Struct aws_sdk_fsx::model::CreateOntapVolumeConfiguration
source · [−]#[non_exhaustive]pub struct CreateOntapVolumeConfiguration {
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 tiering_policy: Option<TieringPolicy>,
}
Expand description
Specifies the configuration of the ONTAP volume that you are creating.
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.junction_path: Option<String>
Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must have a leading forward slash, such as /vol3
.
security_style: Option<SecurityStyle>
The security style for the volume. Specify one of the following values:
-
UNIX
if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.UNIX
is the default. -
NTFS
if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account. -
MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of both NFS and SMB clients.
size_in_megabytes: Option<i32>
Specifies the size of the volume, in megabytes (MB), that you are creating.
storage_efficiency_enabled: Option<bool>
Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
storage_virtual_machine_id: Option<String>
Specifies the ONTAP SVM in which to create the volume.
tiering_policy: Option<TieringPolicy>
Describes the data tiering policy for an ONTAP volume. When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns.
Valid tiering policies are the following:
-
SNAPSHOT_ONLY
- (Default value) moves cold snapshots to the capacity pool storage tier.
-
AUTO
- moves cold user data and snapshots to the capacity pool storage tier based on your access patterns.
-
ALL
- moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier.
-
NONE
- keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.
Implementations
sourceimpl CreateOntapVolumeConfiguration
impl CreateOntapVolumeConfiguration
sourcepub fn junction_path(&self) -> Option<&str>
pub fn junction_path(&self) -> Option<&str>
Specifies the location in the SVM's namespace where the volume is mounted. The JunctionPath
must have a leading forward slash, such as /vol3
.
sourcepub fn security_style(&self) -> Option<&SecurityStyle>
pub fn security_style(&self) -> Option<&SecurityStyle>
The security style for the volume. Specify one of the following values:
-
UNIX
if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.UNIX
is the default. -
NTFS
if the file system is managed by a Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Windows user as the service account. -
MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of both NFS and SMB clients.
sourcepub fn size_in_megabytes(&self) -> Option<i32>
pub fn size_in_megabytes(&self) -> Option<i32>
Specifies the size of the volume, in megabytes (MB), that you are creating.
sourcepub fn storage_efficiency_enabled(&self) -> Option<bool>
pub fn storage_efficiency_enabled(&self) -> Option<bool>
Set to true to enable deduplication, compression, and compaction storage efficiency features on the volume.
sourcepub fn storage_virtual_machine_id(&self) -> Option<&str>
pub fn storage_virtual_machine_id(&self) -> Option<&str>
Specifies the ONTAP SVM in which to create the volume.
sourcepub fn tiering_policy(&self) -> Option<&TieringPolicy>
pub fn tiering_policy(&self) -> Option<&TieringPolicy>
Describes the data tiering policy for an ONTAP volume. When enabled, Amazon FSx for ONTAP's intelligent tiering automatically transitions a volume's data between the file system's primary storage and capacity pool storage based on your access patterns.
Valid tiering policies are the following:
-
SNAPSHOT_ONLY
- (Default value) moves cold snapshots to the capacity pool storage tier.
-
AUTO
- moves cold user data and snapshots to the capacity pool storage tier based on your access patterns.
-
ALL
- moves all user data blocks in both the active file system and Snapshot copies to the storage pool tier.
-
NONE
- keeps a volume's data in the primary storage tier, preventing it from being moved to the capacity pool tier.
sourceimpl CreateOntapVolumeConfiguration
impl CreateOntapVolumeConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateOntapVolumeConfiguration
Trait Implementations
sourceimpl Clone for CreateOntapVolumeConfiguration
impl Clone for CreateOntapVolumeConfiguration
sourcefn clone(&self) -> CreateOntapVolumeConfiguration
fn clone(&self) -> CreateOntapVolumeConfiguration
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 PartialEq<CreateOntapVolumeConfiguration> for CreateOntapVolumeConfiguration
impl PartialEq<CreateOntapVolumeConfiguration> for CreateOntapVolumeConfiguration
sourcefn eq(&self, other: &CreateOntapVolumeConfiguration) -> bool
fn eq(&self, other: &CreateOntapVolumeConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateOntapVolumeConfiguration) -> bool
fn ne(&self, other: &CreateOntapVolumeConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateOntapVolumeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for CreateOntapVolumeConfiguration
impl Send for CreateOntapVolumeConfiguration
impl Sync for CreateOntapVolumeConfiguration
impl Unpin for CreateOntapVolumeConfiguration
impl UnwindSafe for CreateOntapVolumeConfiguration
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