Class: ServicePlans

ServicePlans

new ServicePlans(endPoint)

Manages Service Plan on Cloud Foundry
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

getServicePlan(token_type, access_token, servicePlan_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
servicePlan_guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServicePlanInstances(token_type, access_token, servicePlan_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
servicePlan_guid String [servicePlan guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getServicePlans(token_type, access_token, guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
guid String [route guid]
Source:
Returns:
[return a JSON response]
Type
JSON

remove(token_type, access_token, servicePlan_guid)

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
servicePlan_guid String [servicePlan_guid]
Source:

setEndPoint(endPoint)

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