[−][src]Struct libstorage::scaleio::Scaleio
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]
&self,
t: DateTime<Utc>
) -> MetricsResult<Vec<TsPoint>>
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]
&self,
t: DateTime<Utc>,
sds_id: &str
) -> MetricsResult<Vec<TsPoint>>
pub fn get_drive_statistics(
&self,
t: DateTime<Utc>,
device_id: &str
) -> MetricsResult<Vec<TsPoint>>
[src]
&self,
t: DateTime<Utc>,
device_id: &str
) -> MetricsResult<Vec<TsPoint>>
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]
&self,
pool_id: &str
) -> MetricsResult<PoolInstanceResponse>
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]
&self,
system_id: &str,
t: DateTime<Utc>
) -> MetricsResult<Vec<TsPoint>>
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]
&self,
vol_name_prefix: &str,
requested_size_in_kb: u64,
num_of_luns: usize,
spare_cutoff: u8
) -> MetricsResult<Vec<String>>
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]
&self,
volume_ids: &[String],
sdc_name: &str
) -> MetricsResult<bool>
Maps all the volumes in the list to the given sdc Also sets iops and bandwidth limits
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> Same<T> for T
type Output = T
Should always be Self