Interface IServicesInfo
- Namespace
- Steeltoe.Extensions.Configuration
- Assembly
- Steeltoe.Extensions.Configuration.Abstractions.dll
public interface IServicesInfo
Methods
GetInstancesOfType(string)
Retrieves a list of all service instances of a given service type
IEnumerable<Service> GetInstancesOfType(string serviceType)
Parameters
serviceType
stringString value that identifies the service type. May be platform/broker/version dependent
Returns
- IEnumerable<Service>
A list of service instances configured under the given type
Remarks
Sample values include: p-mysql, azure-mysql-5-7, p-configserver, p.configserver
GetServicesList()
Retrieves a list of all service instances for all service types
IEnumerable<Service> GetServicesList()
Returns
- IEnumerable<Service>
A complete list of service instances known to the application