Table of Contents

Class ServiceInstanceAsyncOperation

Namespace
OpenServiceBroker.Instances
Assembly
OpenServiceBroker.Model.dll
public class ServiceInstanceAsyncOperation : AsyncOperation, IEquatable<AsyncOperation>, ICompletableWithResult<ServiceInstanceProvision>, ICompletable, IEquatable<ServiceInstanceAsyncOperation>
Inheritance
ServiceInstanceAsyncOperation
Implements
Inherited Members
Extension Methods

Properties

DashboardUrl

The URL of a web-based management user interface for the Service Instance; we refer to this as a service dashboard. The URL MUST contain enough information for the dashboard to identify the resource being accessed.

[JsonProperty("dashboard_url")]
public Uri DashboardUrl { get; set; }

Property Value

Uri

Metadata

An optional object containing metadata for the Service Instance.

[JsonProperty("metadata")]
public ServiceInstanceMetadata Metadata { get; set; }

Property Value

ServiceInstanceMetadata

Result

If Completed is true this holds the result of the operation.

[JsonIgnore]
public ServiceInstanceProvision Result { get; set; }

Property Value

ServiceInstanceProvision

Remarks

This is not part of the Open Service Broker JSON representation. Instead it is communicated out of band via HTTP status codes.

Methods

Equals(ServiceInstanceAsyncOperation)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ServiceInstanceAsyncOperation other)

Parameters

other ServiceInstanceAsyncOperation

An object to compare with this object.

Returns

bool

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

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.