Constructor
new ServicePlans(endPoint)
Parameters:
Name | Type | Description |
---|---|---|
endPoint |
String | [CC endpoint] |
Methods
getServicePlan(guid) → {JSON}
Get a Service Plan
https://apidocs.cloudfoundry.org/226/service_plans/retrieve_a_particular_service_plan.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [servicePlan guid] |
Returns:
[return a JSON response]
- Type
- JSON
getServicePlanInstances(guid) → {JSON}
List all Service Instances for a Service Plan
https://apidocs.cloudfoundry.org/226/service_plans/list_all_service_instances_for_the_service_plan.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [servicePlan guid] |
Returns:
[return a JSON response]
- Type
- JSON
getServicePlans(filter) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
filter |
String | [Search options] |
Returns:
[return a JSON response]
- Type
- JSON
remove(guid) → {JSON}
Remove a Service Plan
https://apidocs.cloudfoundry.org/226/service_plans/delete_a_particular_service_plans.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [servicePlan_guid] |
Returns:
[return a JSON response]
- Type
- JSON