Class ServiceBindingRequest
- Namespace
- OpenServiceBroker.Bindings
- Assembly
- OpenServiceBroker.Model.dll
public class ServiceBindingRequest : IServicePlanReference, IEquatable<ServiceBindingRequest>
- Inheritance
-
objectServiceBindingRequest
- Implements
- Extension Methods
Properties
AppGuid
GUID of an application associated with the binding to be created. If present, MUST be a non-empty string.
[JsonProperty("app_guid")]
[Obsolete("Deprecated in favor of BindResource.AppGuid")]
public string AppGuid { get; set; }
Property Value
BindResource
An object that contains data for Platform resources associated with the binding to be created.
[JsonProperty("bind_resource")]
public ServiceBindingResourceObject BindResource { get; set; }
Property Value
Context
Contextual data under which the Service Binding is created.
[JsonProperty("context")]
public JObject Context { get; set; }
Property Value
- JObject
Parameters
Configuration parameters for the Service Binding. 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
MUST be the ID of the plan from the service that is being used.
[JsonProperty("plan_id", Required = Required.Always)]
public string PlanId { get; set; }
Property Value
PredecessorBindingId
Requests the rotation of an existing Service Binding. If present, MUST be the ID of a non-expired Service Binding of the same Service Instance. The request creates a new Service Binding; both the new and the old Service Binding MUST be valid in parallel until they expire or are deleted. Only supported for plans with BindingRotatable set to true.
[JsonProperty("predecessor_binding_id")]
public string PredecessorBindingId { get; set; }
Property Value
ServiceId
MUST be the ID of the service that is being used.
[JsonProperty("service_id", Required = Required.Always)]
public string ServiceId { get; set; }
Property Value
Methods
Equals(ServiceBindingRequest)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServiceBindingRequest other)
Parameters
otherServiceBindingRequestAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe 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.