cf-node-client
momo auto_awesome BUY CLAUDE KIT WITH 20% OFF coffee BUY ME COFFEE

Class: Services

Services(endPoint, options) → {void}

Manage Services on Cloud Foundry Supports both Cloud Foundry API v2 and v3

Constructor

new Services(endPoint, options) → {void}

Parameters:
Name Type Description
endPoint String [CC endpoint]
options Object [Configuration options]
Source:
Returns:
Type
void

Methods

disableServiceForOrganization(serviceGuid, orgGuid) → {Promise}

Parameters:
Name Type Description
serviceGuid String [Service GUID]
orgGuid String [Organization GUID]
Source:
Returns:
[Promise resolving to delete result]
Type
Promise

enableServiceForOrganization(serviceGuid, orgGuid) → {Promise}

Parameters:
Name Type Description
serviceGuid String [Service GUID]
orgGuid String [Organization GUID]
Source:
Returns:
[Promise resolving to enabled service]
Type
Promise

getService(guid) → {Promise}

Parameters:
Name Type Description
guid String [Service GUID]
Source:
Returns:
[Promise resolving to service]
Type
Promise

getServicePlans(guid, filter) → {Promise}

Parameters:
Name Type Description
guid String [Service GUID]
filter Object [Filter options]
Source:
Returns:
[Promise resolving to service plans list]
Type
Promise

getServices(filter) → {Promise}

Parameters:
Name Type Description
filter Object [Filter options]
Source:
Returns:
[Promise resolving to services list]
Type
Promise