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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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).

§tags: Option<Vec<Tag>>

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

source

pub fn active_directory_configuration( &self ) -> Option<&SvmActiveDirectoryConfiguration>

Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.

source

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.

source

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.

source

pub fn file_system_id(&self) -> Option<&str>

The globally unique ID of the file system, assigned by Amazon FSx.

source

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.

source

pub fn name(&self) -> Option<&str>

The name of the SVM, if provisioned.

source

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.

source

pub fn storage_virtual_machine_id(&self) -> Option<&str>

The SVM's system generated unique ID.

source

pub fn subtype(&self) -> Option<&StorageVirtualMachineSubtype>

Describes the SVM's subtype.

source

pub fn uuid(&self) -> Option<&str>

The SVM's UUID (universally unique identifier).

source

pub fn tags(&self) -> &[Tag]

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().

source

pub fn lifecycle_transition_reason(&self) -> Option<&LifecycleTransitionReason>

Describes why the SVM lifecycle state changed.

source

pub fn root_volume_security_style( &self ) -> Option<&StorageVirtualMachineRootVolumeSecurityStyle>

The security style of the root volume of the SVM.

source§

impl StorageVirtualMachine

source

pub fn builder() -> StorageVirtualMachineBuilder

Creates a new builder-style object to manufacture StorageVirtualMachine.

Trait Implementations§

source§

impl Clone for StorageVirtualMachine

source§

fn clone(&self) -> StorageVirtualMachine

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StorageVirtualMachine

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for StorageVirtualMachine

source§

fn eq(&self, other: &StorageVirtualMachine) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for StorageVirtualMachine

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more