Class ServiceInstanceProvisionRequest
- Namespace
- OpenServiceBroker.Instances
- Assembly
- OpenServiceBroker.Model.dll
public class ServiceInstanceProvisionRequest : ServiceInstanceBase, IServicePlanReference, IEquatable<ServiceInstanceProvisionRequest>
- Inheritance
-
ServiceInstanceProvisionRequest
- Implements
- Inherited Members
- Extension Methods
Properties
Context
Platform specific contextual information under which the Service Instance is to be provisioned. Although most Service Brokers will not use this field, it could be helpful in determining data placement or applying custom business rules.
[JsonProperty("context")]
public JObject Context { get; set; }
Property Value
- JObject
Remarks
This will replace OrganizationGuid and SpaceGuid in future versions of the specification - in the interim both SHOULD be used to ensure interoperability with old and new implementations.
OrganizationGuid
Deprecated in favor of Context. The Platform GUID for the organization under which the Service Instance is to be provisioned. Although most Service Brokers will not use this field, it might be helpful for executing operations on a user's behalf. MUST be a non-empty string.
[JsonProperty("organization_guid", Required = Required.Always)]
public string OrganizationGuid { get; set; }
Property Value
PlanId
MUST be the ID of a Plan from the service that has been requested.
[JsonProperty("plan_id", Required = Required.Always)]
public override string PlanId { get; set; }
Property Value
SpaceGuid
Deprecated in favor of Context. The identifier for the project space within the Platform organization. Although most Service Brokers will not use this field, it might be helpful for executing operations on a user's behalf. MUST be a non-empty string.
[JsonProperty("space_guid", Required = Required.Always)]
public string SpaceGuid { get; set; }
Property Value
Methods
Equals(ServiceInstanceProvisionRequest)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ServiceInstanceProvisionRequest other)
Parameters
other
ServiceInstanceProvisionRequestAn 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
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.