Struct aws_sdk_fsx::types::StorageVirtualMachine
source · #[non_exhaustive]pub struct StorageVirtualMachine {Show 13 fields
pub active_directory_configuration: Option<SvmActiveDirectoryConfiguration>,
pub creation_time: Option<DateTime>,
pub endpoints: Option<SvmEndpoints>,
pub file_system_id: Option<String>,
pub lifecycle: Option<StorageVirtualMachineLifecycle>,
pub name: Option<String>,
pub resource_arn: Option<String>,
pub storage_virtual_machine_id: Option<String>,
pub subtype: Option<StorageVirtualMachineSubtype>,
pub uuid: Option<String>,
pub tags: Option<Vec<Tag>>,
pub lifecycle_transition_reason: Option<LifecycleTransitionReason>,
pub root_volume_security_style: Option<StorageVirtualMachineRootVolumeSecurityStyle>,
}
Expand description
Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuration.
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.active_directory_configuration: Option<SvmActiveDirectoryConfiguration>
Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.
creation_time: Option<DateTime>
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
endpoints: Option<SvmEndpoints>
The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi
, Management
, Nfs
, and Smb
endpoints.
file_system_id: Option<String>
The globally unique ID of the file system, assigned by Amazon FSx.
lifecycle: Option<StorageVirtualMachineLifecycle>
Describes the SVM's lifecycle status.
-
CREATED
- The SVM is fully available for use. -
CREATING
- Amazon FSx is creating the new SVM. -
DELETING
- Amazon FSx is deleting an existing SVM. -
FAILED
- Amazon FSx was unable to create the SVM. -
MISCONFIGURED
- The SVM is in a failed but recoverable state. -
PENDING
- Amazon FSx has not started creating the SVM.
name: Option<String>
The name of the SVM, if provisioned.
resource_arn: Option<String>
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
storage_virtual_machine_id: Option<String>
The SVM's system generated unique ID.
subtype: Option<StorageVirtualMachineSubtype>
Describes the SVM's subtype.
uuid: Option<String>
The SVM's UUID (universally unique identifier).
A list of Tag
values, with a maximum of 50 elements.
lifecycle_transition_reason: Option<LifecycleTransitionReason>
Describes why the SVM lifecycle state changed.
root_volume_security_style: Option<StorageVirtualMachineRootVolumeSecurityStyle>
The security style of the root volume of the SVM.
Implementations§
source§impl StorageVirtualMachine
impl StorageVirtualMachine
sourcepub fn active_directory_configuration(
&self
) -> Option<&SvmActiveDirectoryConfiguration>
pub fn active_directory_configuration( &self ) -> Option<&SvmActiveDirectoryConfiguration>
Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn endpoints(&self) -> Option<&SvmEndpoints>
pub fn endpoints(&self) -> Option<&SvmEndpoints>
The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp CloudManager. They are the Iscsi
, Management
, Nfs
, and Smb
endpoints.
sourcepub fn file_system_id(&self) -> Option<&str>
pub fn file_system_id(&self) -> Option<&str>
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn lifecycle(&self) -> Option<&StorageVirtualMachineLifecycle>
pub fn lifecycle(&self) -> Option<&StorageVirtualMachineLifecycle>
Describes the SVM's lifecycle status.
-
CREATED
- The SVM is fully available for use. -
CREATING
- Amazon FSx is creating the new SVM. -
DELETING
- Amazon FSx is deleting an existing SVM. -
FAILED
- Amazon FSx was unable to create the SVM. -
MISCONFIGURED
- The SVM is in a failed but recoverable state. -
PENDING
- Amazon FSx has not started creating the SVM.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn storage_virtual_machine_id(&self) -> Option<&str>
pub fn storage_virtual_machine_id(&self) -> Option<&str>
The SVM's system generated unique ID.
sourcepub fn subtype(&self) -> Option<&StorageVirtualMachineSubtype>
pub fn subtype(&self) -> Option<&StorageVirtualMachineSubtype>
Describes the SVM's subtype.
A list of Tag
values, with a maximum of 50 elements.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn lifecycle_transition_reason(&self) -> Option<&LifecycleTransitionReason>
pub fn lifecycle_transition_reason(&self) -> Option<&LifecycleTransitionReason>
Describes why the SVM lifecycle state changed.
sourcepub fn root_volume_security_style(
&self
) -> Option<&StorageVirtualMachineRootVolumeSecurityStyle>
pub fn root_volume_security_style( &self ) -> Option<&StorageVirtualMachineRootVolumeSecurityStyle>
The security style of the root volume of the SVM.
source§impl StorageVirtualMachine
impl StorageVirtualMachine
sourcepub fn builder() -> StorageVirtualMachineBuilder
pub fn builder() -> StorageVirtualMachineBuilder
Creates a new builder-style object to manufacture StorageVirtualMachine
.
Trait Implementations§
source§impl Clone for StorageVirtualMachine
impl Clone for StorageVirtualMachine
source§fn clone(&self) -> StorageVirtualMachine
fn clone(&self) -> StorageVirtualMachine
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageVirtualMachine
impl Debug for StorageVirtualMachine
source§impl PartialEq for StorageVirtualMachine
impl PartialEq for StorageVirtualMachine
source§fn eq(&self, other: &StorageVirtualMachine) -> bool
fn eq(&self, other: &StorageVirtualMachine) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageVirtualMachine
Auto Trait Implementations§
impl Freeze for StorageVirtualMachine
impl RefUnwindSafe for StorageVirtualMachine
impl Send for StorageVirtualMachine
impl Sync for StorageVirtualMachine
impl Unpin for StorageVirtualMachine
impl UnwindSafe for StorageVirtualMachine
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more