@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
27 lines (26 loc) • 742 B
TypeScript
import { Rpc } from '../rpc';
import { RpcAliveData } from './rpc-alive-model';
export declare class RpcAliveClient {
/**
* The alive command.
*
* @param rpc the Rpc instance.
* @param data the Rpc alive data object.
* @return Promise<void> the promise object.
*/
static alive(rpc: Rpc, data?: RpcAliveData): Promise<void>;
/**
* The alive forever command.
*
* @param rpc the Rpc instance.
* @return Promise<void> the promise object.
*/
static forever(rpc: Rpc): Promise<void>;
/**
* The reset forever state command.
*
* @param rpc the Rpc instance.
* @return Promise<void> the promise object.
*/
static reset(rpc: Rpc): Promise<void>;
}