Interface IServicesInfo
Namespace: Steeltoe.Extensions.Configuration
Assembly: Steeltoe.Extensions.Configuration.Abstractions.dll
Syntax
public interface IServicesInfo
Methods
| Edit this page View SourceGetInstancesOfType(String)
Retrieves a list of all service instances of a given service type
Declaration
IEnumerable<Service> GetInstancesOfType(string serviceType)
Parameters
Type | Name | Description |
---|---|---|
System.String | serviceType | String value that identifies the service type. May be platform/broker/version dependent |
Returns
Type | Description |
---|---|
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
Declaration
IEnumerable<Service> GetServicesList()
Returns
Type | Description |
---|---|
IEnumerable<Service> | A complete list of service instances known to the application |