Skip to main content

VsanFileServiceShareHealthSummary

Struct VsanFileServiceShareHealthSummary 

Source
pub struct VsanFileServiceShareHealthSummary {
    pub overall_health: Option<String>,
    pub domain_name: Option<String>,
    pub share_uuid: Option<String>,
    pub share_name: Option<String>,
    pub object_health: Option<VsanObjectOverallHealth>,
    pub description: Option<String>,
    pub extensible: Option<bool>,
    pub spbm_profile_uuid: Option<String>,
    pub spbm_profile_generation_id: Option<String>,
    pub share_policy_mismatch: Option<bool>,
}
Expand description

This class defines file service share health summary in cluster level.

This structure may be used only with operations rendered under /vsan.

§How to access

  • HostVsanHealthSystem::vsan_host_query_file_service_health_summary().file_share_health?[*]
  • VsanVcClusterHealthSystem::vsan_cluster_query_file_service_health_summary().host_results?[*].file_share_health?[*]
  • VsanVcClusterHealthSystem::vsan_query_vc_cluster_health_summary().file_service_health?.host_results?[*].file_share_health?[*]
  • VsanVcClusterHealthSystem::vsan_query_cluster_historical_health().file_service_health?.host_results?[*].file_share_health?[*]
  • VsanResourceCheckSystem::vsan_get_resource_check_status().result?.health?.file_service_health?.host_results?[*].file_share_health?[*]

Fields§

§overall_health: Option<String>

Overall health state for this vSAN file service share.

The possible state of the file service share could be one of the following:

  • ‘green’ if the file server for this file share is running properly and all its backing vSAN objects are healthy.
  • ‘red’ if the file server for this file share is in error state or any of its backing vSAN objects are degraded.
§domain_name: Option<String>

The name of the domain.

See VsanDirectoryServerConfig for more detailed information about vSAN file service domain.

§share_uuid: Option<String>

The UUID of the file share.

§share_name: Option<String>

The name of the file share.

§object_health: Option<VsanObjectOverallHealth>

The health status of share’s backing vSAN objects.

If any object is not healthy the overall healthy will be ‘red’.

§description: Option<String>

The description of the health status.

It includes the detail of the vSAN objects in error state and the status of file server.

§extensible: Option<bool>

The extensibility of this file share.

The file share is backed by vSAN objects, and each vSAN object can provide 255GB in maximum. So if the file share needs to grow beyond this limit, more vSAN objects should be provisioned. This item is to check whether the storage policy of this file share can be met by the current cluster for provisioning more backing vSAN objects. If the storage policy cannot be met by the cluster, and the quota of the file share cannot be satisfied by current backing vSAN object, this field will be set to False to indicate this issue. Note: the provisioning of the vSAN object will be impacted by other facts, e.g., network partition. Check the network health and host state first before validating the extensibility of the file share.

§spbm_profile_uuid: Option<String>

UUID of SPBM profile used for the policy of the object when it was applied to vSAN File Service share.

Not set if the share doesn’t use an SPBM managed policy.

§spbm_profile_generation_id: Option<String>

Generation ID of SPBM profile used for the policy of the object when it was applied to vSAN File Service share.

Not set if the share doesn’t use a SPBM managed policy.

§share_policy_mismatch: Option<bool>

This field is to check whether the storage policy of this file share mismatches latest version of the SPBM policy.

Whenever SPBM policy is changed, the change needs to be propagated to associated file shares.The mismatch status would be used as a health check when file share is queried.

Trait Implementations§

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> AsAny for T
where T: 'static,

Source§

fn as_any_ref<'a>(&'a self) -> &'a (dyn Any + 'static)

Cast a reference to Any trait.

Source§

fn as_any_box(self: Box<T>) -> Box<dyn Any>

Cast to a boxed reference to Any trait.

Source§

fn type_id(&self) -> TypeId

Get the underlying type identifier.
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<To, T> CastInto<To> for T
where To: CastFrom<T> + ?Sized, T: 'static + ?Sized,

Source§

fn into_ref<'a>(&'a self) -> Option<&'a To>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn into_box(self: Box<T>) -> Result<Box<To>, Box<dyn Any>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

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

Source§

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>,

Source§

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

impl<T> ErasedDestructor for T
where T: 'static,