pub struct SiteManagerClient { /* private fields */ }Implementations§
Source§impl SiteManagerClient
impl SiteManagerClient
pub fn from_api_key( base_url: &str, api_key: &SecretString, transport: &TransportConfig, ) -> Result<Self, Error>
pub fn from_reqwest(base_url: &str, http: Client) -> Result<Self, Error>
pub async fn list_hosts(&self) -> Result<Vec<Host>, Error>
pub async fn get_host(&self, host_id: &str) -> Result<Host, Error>
pub async fn list_sites(&self) -> Result<Vec<FleetSite>, Error>
pub async fn list_devices( &self, host_ids: &[String], ) -> Result<Vec<CloudDevice>, Error>
pub async fn get_isp_metrics( &self, interval: IspMetricInterval, ) -> Result<FleetPage<IspMetric>, Error>
pub async fn query_isp_metrics( &self, interval: IspMetricInterval, site_ids: &[String], ) -> Result<FleetPage<IspMetric>, Error>
pub async fn list_sdwan_configs(&self) -> Result<Vec<SdWanConfig>, Error>
pub async fn get_sdwan_config( &self, config_id: &str, ) -> Result<SdWanConfig, Error>
pub async fn get_sdwan_status( &self, config_id: &str, ) -> Result<SdWanStatus, Error>
Auto Trait Implementations§
impl Freeze for SiteManagerClient
impl !RefUnwindSafe for SiteManagerClient
impl Send for SiteManagerClient
impl Sync for SiteManagerClient
impl Unpin for SiteManagerClient
impl UnsafeUnpin for SiteManagerClient
impl !UnwindSafe for SiteManagerClient
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
Mutably borrows from an owned value. Read more