Class: ServiceInstances

ServiceInstances

new ServiceInstances(endPoint)

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

Methods

create(token_type, access_token, appOptions) → {json}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
appOptions json [options to create the application]
Source:
Returns:
[information about the application]
Type
json

getInstance(token_type, access_token, service_instance_guid) → {JSON}

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

getInstanceBindings(token_type, access_token, service_instance_guid) → {JSON}

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

getInstancePermissions(token_type, access_token, service_instance_guid) → {JSON}

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

getInstanceRoutes(token_type, access_token, service_instance_guid) → {JSON}

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

getInstances(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_instance_guid)

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

setEndPoint(endPoint)

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