Class ServiceBindingBase
Inheritance
ServiceBindingBase
Assembly: OpenServiceBroker.Model.dll
Syntax
public abstract class ServiceBindingBase : Object
Constructors
ServiceBindingBase()
Declaration
protected ServiceBindingBase()
Properties
Credentials
A free-form hash of credentials that can be used by applications or users to access the service. MUST be returned if the Service Broker supports generation of credentials.
Declaration
public JObject Credentials { get; set; }
Property Value
Type |
Description |
Newtonsoft.Json.Linq.JObject |
|
RouteServiceUrl
A URL to which the Platform MUST proxy requests for the address sent with Route in the request body. Requires: RouteForwarding MUST be declared in the Catalog endpoint or the Platform can consider the response invalid.
Declaration
public Uri RouteServiceUrl { get; set; }
Property Value
SyslogDrainUrl
A URL to which logs MUST be streamed. Requires: SyslogDrain MUST be declared in the Catalog endpoint or the Platform can consider the response invalid.
Declaration
public Uri SyslogDrainUrl { get; set; }
Property Value
VolumeMounts
An array of configuration for remote storage devices to be mounted into an application container filesystem. Requires: VolumeMount MUST be declared in the Catalog endpoint or the Platform can consider the response invalid.
Declaration
public List<ServiceBindingVolumeMount> VolumeMounts { get; }
Property Value
Methods
Equals(ServiceBindingBase)
Declaration
protected bool Equals(ServiceBindingBase other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ShouldSerializeVolumeMounts()
Do not serialize volume mounts if there are none. On some platforms (PCF for example), binding credentials to
an application fails when an empty list of volume mounts is returned.
Declaration
public bool ShouldSerializeVolumeMounts()
Returns
Extension Methods