Class: Organizations

Organizations

Manage Organizations in Cloud Foundry

Constructor

new Organizations(endPoint)

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

Methods

add(orgOptions) → {JSON}

Parameters:
Name Type Description
orgOptions JSon [org options]
Source:
Returns:
[return a JSON response]
Type
JSON

getMemoryUsage(guid) → {JSON}

Parameters:
Name Type Description
guid String [org guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getOrganizations(token_type, access_token) → {JSON}

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

getPrivateDomains(guid) → {JSON}

Parameters:
Name Type Description
guid String [org guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getSummary(guid) → {JSON}

Parameters:
Name Type Description
guid String [org guid]
Source:
Returns:
[return a JSON response]
Type
JSON

getUsers(guid, filter) → {Json}

Parameters:
Name Type Description
guid String [org guid]
filter Json [filter to search]
Source:
Returns:
[output]
Type
Json

remove(guid, orgOptions) → {String}

Parameters:
Name Type Description
guid String [org guid]
orgOptions JSon [org options]
Source:
Returns:
[output]
Type
String