Class ServiceInstanceBase
- Namespace
- OpenServiceBroker.Instances
- Assembly
- OpenServiceBroker.Model.dll
public abstract class ServiceInstanceBase : IServicePlanReference
- Inheritance
-
ServiceInstanceBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
MaintenanceInfo
If a Service Broker provides maintenance information for a Service Plan in its Catalog, a Platform MAY provide the same maintenance information when provisioning a Service Instance. This field can be used to ensure that the end-user of a Platform is provisioning what they are expecting since maintenance information can be used to describe important information (such as the version of the operating system the Service Instance will run on). If a Service Broker's catalog has changed and new maintenance information version is available for the Service Plan being provisioned, then the Service Broker MUST reject the request with MaintenanceInfoConflictException.
[JsonProperty("maintenance_info", NullValueHandling = NullValueHandling.Ignore)]
public MaintenanceInfo MaintenanceInfo { get; set; }
Property Value
Parameters
Configuration parameters for the Service Instance. Service Brokers SHOULD ensure that the client has provided valid configuration parameters and values for the operation.
[JsonProperty("parameters")]
public JObject Parameters { get; set; }
Property Value
- JObject
PlanId
public abstract string PlanId { get; set; }
Property Value
ServiceId
[JsonProperty("service_id", Required = Required.Always)]
public string ServiceId { get; set; }
Property Value
Methods
Equals(ServiceInstanceBase)
protected bool Equals(ServiceInstanceBase other)
Parameters
other
ServiceInstanceBase
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.