remote-access/data/remote-access.service.ts
Properties |
|
Methods |
constructor(fetchClient: FetchClient, serviceRegistry: ServiceRegistry)
|
|||||||||
Parameters :
|
Async addConfiguration | |||||||||
addConfiguration(deviceId: string, configuration: Omit
|
|||||||||
Creates a new configuration for a given device.
Parameters :
Returns :
Promise<RemoteAccessConfiguration>
|
Async deleteConfiguration |
deleteConfiguration(deviceId: string, configurationId: string)
|
Deletes a configuration for a given device.
Returns :
any
|
Async generateKeyPair | ||||||
generateKeyPair(hostname: string)
|
||||||
Generates a SSH key pair for a given hostname.
Parameters :
Returns :
Promise<literal type>
|
getAuthQueryParamsForWebsocketConnection |
getAuthQueryParamsForWebsocketConnection()
|
misses the leading ? for the query params
Returns :
any
|
getProtocolProviders |
getProtocolProviders()
|
Retrieves all available remote access protocol providers.
Returns :
any
|
isAvailable$ |
isAvailable$()
|
Verifies if the remote access service is available by sending a HEAD request to is's health endpoint.
Returns :
Observable<boolean>
cached Observable that emits true if the service is available, false otherwise. |
Async listConfigurations | ||||||
listConfigurations(deviceId: string)
|
||||||
Retrieves all configurations for a given device.
Parameters :
Returns :
Promise<RemoteAccessConfiguration[]>
|
Async updateConfiguration | |||||||||
updateConfiguration(deviceId: string, configuration: RemoteAccessConfiguration)
|
|||||||||
Updates a configuration for a given device.
Parameters :
Returns :
Promise<RemoteAccessConfiguration>
|
Readonly baseUrl |
Type : string
|
Default value : '/service/remoteaccess'
|