Interface IApplicationInstanceInfo
public interface IApplicationInstanceInfo
Properties
ApplicationId
Gets a GUID identifying the application
string ApplicationId { get; }
Property Value
ApplicationName
Gets the name of the application, as known to the hosting platform
string ApplicationName { get; }
Property Value
DiskLimit
Gets the maximum amount of disk available for the app instance
int DiskLimit { get; }
Property Value
FileDescriptorLimit
Gets the maximum amount of file descriptors available to the app instance
int FileDescriptorLimit { get; }
Property Value
InstanceIP
Gets the external IP address of the host running the app instance
string InstanceIP { get; }
Property Value
InstanceId
string InstanceId { get; }
Property Value
InstanceIndex
Gets the index number of the app instance
int InstanceIndex { get; }
Property Value
InternalIP
Gets the internal IP address of the container running the app instance instance
string InternalIP { get; }
Property Value
MemoryLimit
Gets the maximum amount of memory available for the app instance
int MemoryLimit { get; }
Property Value
Port
Gets the port assigned to the app instance, on which it should listen
int Port { get; }
Property Value
Uris
Gets the URIs assigned to the app
IEnumerable<string> Uris { get; }
Property Value
Version
Gets a GUID identifying the application instance
string Version { get; }
Property Value
Methods
ApplicationNameInContext(SteeltoeComponent, string)
Gets the name to use to represent the app instance in the context of a given Steeltoe component
string ApplicationNameInContext(SteeltoeComponent steeltoeComponent, string additionalSearchPath = null)
Parameters
steeltoeComponent
SteeltoeComponentThe Steeltoe component requesting the app's name
additionalSearchPath
stringOne additional config key to consider, used as top priority in search
Returns
- string
The name of the application