Table of Contents

Interface IApplicationInstanceInfo

Namespace
Steeltoe.Common
Assembly
Steeltoe.Common.Abstractions.dll
public interface IApplicationInstanceInfo

Properties

ApplicationId

Gets a GUID identifying the application

string ApplicationId { get; }

Property Value

string

ApplicationName

Gets the name of the application, as known to the hosting platform

string ApplicationName { get; }

Property Value

string

DiskLimit

Gets the maximum amount of disk available for the app instance

int DiskLimit { get; }

Property Value

int

FileDescriptorLimit

Gets the maximum amount of file descriptors available to the app instance

int FileDescriptorLimit { get; }

Property Value

int

InstanceIP

Gets the external IP address of the host running the app instance

string InstanceIP { get; }

Property Value

string

InstanceId

string InstanceId { get; }

Property Value

string

InstanceIndex

Gets the index number of the app instance

int InstanceIndex { get; }

Property Value

int

InternalIP

Gets the internal IP address of the container running the app instance instance

string InternalIP { get; }

Property Value

string

MemoryLimit

Gets the maximum amount of memory available for the app instance

int MemoryLimit { get; }

Property Value

int

Port

Gets the port assigned to the app instance, on which it should listen

int Port { get; }

Property Value

int

Uris

Gets the URIs assigned to the app

IEnumerable<string> Uris { get; }

Property Value

IEnumerable<string>

Version

Gets a GUID identifying the application instance

string Version { get; }

Property Value

string

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 SteeltoeComponent

The Steeltoe component requesting the app's name

additionalSearchPath string

One additional config key to consider, used as top priority in search

Returns

string

The name of the application