[][src]Struct libstorage::scaleio::Scaleio

pub struct Scaleio { /* fields omitted */ }

Methods

impl Scaleio[src]

pub fn new(client: &Client, config: ScaleioConfig) -> MetricsResult<Self>[src]

impl Scaleio[src]

pub fn get_configuration(&self) -> MetricsResult<SystemConfig>[src]

pub fn get_drive_instances(
    &self,
    t: DateTime<Utc>
) -> MetricsResult<Vec<TsPoint>>
[src]

pub fn get_drive_ids(&self) -> MetricsResult<Vec<String>>[src]

pub fn get_sds_ids(&self) -> MetricsResult<Vec<String>>[src]

pub fn get_sds_statistics(
    &self,
    t: DateTime<Utc>,
    sds_id: &str
) -> MetricsResult<Vec<TsPoint>>
[src]

pub fn get_drive_statistics(
    &self,
    t: DateTime<Utc>,
    device_id: &str
) -> MetricsResult<Vec<TsPoint>>
[src]

pub fn get_drive_stats(&self) -> MetricsResult<SelectedStatisticsResponse>[src]

pub fn get_instances(&self) -> MetricsResult<()>[src]

Gets all instances

impl Scaleio[src]

pub fn get_pool_info(
    &self,
    pool_id: &str
) -> MetricsResult<PoolInstanceResponse>
[src]

pub fn get_pool_stats(&self) -> MetricsResult<ClusterSelectedStatisticsResponse>[src]

pub fn get_sdc_objects(
    &self,
    system_id: &str,
    t: DateTime<Utc>
) -> MetricsResult<Vec<TsPoint>>
[src]

pub fn get_sds_object(&self, sds_id: &str) -> MetricsResult<SdsObject>[src]

pub fn get_sds_objects(&self, t: DateTime<Utc>) -> MetricsResult<Vec<TsPoint>>[src]

pub fn get_system(&self, system_id: &str) -> MetricsResult<System>[src]

pub fn get_systems(&self) -> MetricsResult<Vec<System>>[src]

pub fn get_version(&self) -> MetricsResult<String>[src]

pub fn get_volumes(&self, t: DateTime<Utc>) -> MetricsResult<Vec<TsPoint>>[src]

impl Scaleio[src]

pub fn create_volume(
    &self,
    vol_name_prefix: &str,
    requested_size_in_kb: u64,
    num_of_luns: usize,
    spare_cutoff: u8
) -> MetricsResult<Vec<String>>
[src]

Creates a volume on the given endpoint using the credentials specified in the config file. Automatically selects a storage pool vol_name_prefix refers to the tracking ID/ticket ID of the request

pub fn map_volumes(
    &self,
    volume_ids: &[String],
    sdc_name: &str
) -> MetricsResult<bool>
[src]

Maps all the volumes in the list to the given sdc Also sets iops and bandwidth limits

Auto Trait Implementations

impl Send for Scaleio

impl Sync for Scaleio

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> Same<T> for T

type Output = T

Should always be Self