Constructor
new Services(endPoint)
Parameters:
Name | Type | Description |
---|---|---|
endPoint |
String | [CC endpoint] |
- Source:
Methods
getService(guid) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [servicePlan guid] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
getServicePlans(guid) → {JSON}
List all Service Plans for a Service
https://apidocs.cloudfoundry.org/226/services/list_all_service_plans_for_the_service.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [service guid] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
getServices(filter) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
filter |
String | [query string] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
remove(guid) → {String}
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [service_guid] |
- Source:
Returns:
[return REST response]
- Type
- String