new Services(endPoint)
Manages Services on Cloud Foundry
Parameters:
Name | Type | Description |
---|---|---|
endPoint |
String | [CC endpoint] |
- Source:
Methods
getService(token_type, access_token, service_guid) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
token_type |
String | [Authentication type] |
access_token |
String | [Authentication token] |
service_guid |
String | [servicePlan guid] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
getServicePlans(token_type, access_token, service_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 |
---|---|---|
token_type |
String | [Authentication type] |
access_token |
String | [Authentication token] |
service_guid |
String | [service guid] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
getServices(token_type, access_token, filter) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
token_type |
String | [Authentication type] |
access_token |
String | [Authentication token] |
filter |
String | [query string] |
- Source:
Returns:
[return a JSON response]
- Type
- JSON
remove(token_type, access_token, service_guid)
Parameters:
Name | Type | Description |
---|---|---|
token_type |
String | [Authentication type] |
access_token |
String | [Authentication token] |
service_guid |
String | [service_guid] |
setEndPoint(endPoint)
Set endpoint
Parameters:
Name | Type | Description |
---|---|---|
endPoint |
String | [CC endpoint] |
- Source: