Table of Contents

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

MaintenanceInfo

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

string

ServiceId

MUST be the ID of a Service from the Catalog for this Service Broker.

[JsonProperty("service_id", Required = Required.Always)]
public string ServiceId { get; set; }

Property Value

string

Methods

Equals(ServiceInstanceBase)

protected bool Equals(ServiceInstanceBase other)

Parameters

other ServiceInstanceBase

Returns

bool

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.