Class: Organizations

Organizations

new Organizations(endPoint)

Manage Organizations in Cloud Foundry
Parameters:
Name Type Description
endPoint String [CC endpoint]
Source:

Methods

add(token_type, access_token, orgOptions)

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
orgOptions JSon [org options]
Source:

getMemoryUsage(token_type, access_token, org_guid) → {JSON}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
org_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(token_type, access_token, org_guid) → {JSON}

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

getSummary(token_type, access_token, org_guid) → {JSON}

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

getUsers(token_type, access_token, org_guid, filter) → {Json}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
org_guid String [org guid]
filter Json [filter to search]
Source:
Returns:
[output]
Type
Json

remove(token_type, access_token, org_guid, orgOptions) → {String}

Parameters:
Name Type Description
token_type String [Authentication type]
access_token String [Authentication token]
org_guid String [org guid]
orgOptions JSon [org options]
Source:
Returns:
[output]
Type
String

setEndPoint(endPoint)

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