pub struct ApplicationManagementClient { /* private fields */ }Expand description
Provides functionality to perform application management operations, such as querying application upgrade progress.
See C# API here.
We are only adding support for application upgrade progress for now - additional functionality can be added later.
Implementations§
Source§impl ApplicationManagementClient
impl ApplicationManagementClient
Sourcepub async fn get_application_upgrade_progress(
&self,
application_name: &Uri,
timeout: Duration,
cancellation_token: Option<BoxedCancelToken>,
) -> Result<ApplicationUpgradeProgress>
pub async fn get_application_upgrade_progress( &self, application_name: &Uri, timeout: Duration, cancellation_token: Option<BoxedCancelToken>, ) -> Result<ApplicationUpgradeProgress>
Gets the upgrade progress for the specified application.
Equivalent of the Get-ServiceFabricApplicationUpgrade PowerShell cmdlet.
The returned ApplicationUpgradeProgress includes the aggregate
upgrade state as well as the per upgrade-domain status.
Remarks: SF returns a valid result even for applications that are not
currently upgrading; check ApplicationUpgradeProgress::is_active to
determine whether an upgrade is in flight.
Trait Implementations§
Source§impl Clone for ApplicationManagementClient
impl Clone for ApplicationManagementClient
Source§fn clone(&self) -> ApplicationManagementClient
fn clone(&self) -> ApplicationManagementClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApplicationManagementClient
impl Debug for ApplicationManagementClient
Source§impl From<ApplicationManagementClient> for IFabricApplicationManagementClient
impl From<ApplicationManagementClient> for IFabricApplicationManagementClient
Source§fn from(value: ApplicationManagementClient) -> Self
fn from(value: ApplicationManagementClient) -> Self
Converts to this type from the input type.
Source§impl From<IFabricApplicationManagementClient> for ApplicationManagementClient
impl From<IFabricApplicationManagementClient> for ApplicationManagementClient
Source§fn from(value: IFabricApplicationManagementClient) -> Self
fn from(value: IFabricApplicationManagementClient) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApplicationManagementClient
impl RefUnwindSafe for ApplicationManagementClient
impl Send for ApplicationManagementClient
impl Sync for ApplicationManagementClient
impl Unpin for ApplicationManagementClient
impl UnsafeUnpin for ApplicationManagementClient
impl UnwindSafe for ApplicationManagementClient
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