Table of Contents

Class CloudFoundryServicesOptions

Namespace
Steeltoe.Configuration.CloudFoundry
Assembly
Steeltoe.Configuration.CloudFoundry.dll
public sealed class CloudFoundryServicesOptions
Inheritance
CloudFoundryServicesOptions
Inherited Members

Properties

Services

Gets the list of Cloud Foundry services from the VCAP_SERVICES environment variable.

public IDictionary<string, IList<CloudFoundryService>> Services { get; }

Property Value

IDictionary<string, IList<CloudFoundryService>>

Methods

GetAllServices()

Retrieves a flattened list of all services for all types.

public IList<CloudFoundryService> GetAllServices()

Returns

IList<CloudFoundryService>

The complete list of services known to the application.

GetServicesOfType(string)

Retrieves a list of all services of a given service type.

public IList<CloudFoundryService> GetServicesOfType(string serviceType)

Parameters

serviceType string

The type to find services for. May be platform/broker/version dependent. Sample values include: p-mysql, azure-mysql-5-7, p-configserver, p.configserver.

Returns

IList<CloudFoundryService>

A list of services configured under the given type.