This document describes the AppInstance library available in the JavaScript environment for app serivices.
Object | AppInstance |
Properties |
serviceId serviceDns name domain password |
Functions |
httpfiles httpfile |
The AppInstance object provides information about the configuration of the app instance.
A string containing the ID of the app service.
A string containing the DNS name of the App Platform where the service is running.
null
, if no DNS name is configured.
A string containing the app instance name.
A string containing the app instance domain.
A string containing the app instance password.
Lists all files that come with the app service inside the httpfiles.zip.
[string] | An array containing the file names. |
Returns the content of an httpfile.
string filename | The filename. |
bool binary | Optional, default false. Specifies, if the file content shall be returned as a string or an Uint8Array. |
string/Uint8Array | The file content as a string or binary data, depending on the binary parameter. |