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