Class: ServiceInstances

ServiceInstances

Manages Service Instances on Cloud Foundry

Constructor

new ServiceInstances(endPoint)

Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

create(appOptions) → {JSON}

Parameters:
Name Type Description
appOptions JSON [options to create the application]
Source:
Returns:
[return a JSON response]
Type
JSON

getInstance(guid) → {JSON}

Parameters:
Name Type Description
guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getInstanceBindings(guid) → {JSON}

Parameters:
Name Type Description
guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getInstancePermissions(guid) → {JSON}

Parameters:
Name Type Description
guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getInstanceRoutes(guid) → {JSON}

Parameters:
Name Type Description
guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getInstances(filter) → {JSON}

Parameters:
Name Type Description
filter String [query string]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(guid) → {JSON}

Parameters:
Name Type Description
guid String [Service Instance guid]
Source:
Returns:
[return a JSON response]
Type
JSON