Constructor
new Stacks(endPointopt, optionsopt)
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
endPoint |
String |
<optional> |
Cloud Controller API endpoint URL | |
options |
Object |
<optional> |
{} | Options (same as CloudControllerBase) |
- Source:
Methods
getStack(guid) → {Promise}
Get a single Stack by GUID
Parameters:
| Name | Type | Description |
|---|---|---|
guid |
String | Stack unique identifier |
- Source:
Returns:
Resolves with JSON stack object
- Type
- Promise
getStacks(filteropt) → {Promise}
Get Stacks list
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
filter |
Object |
<optional> |
Query-string filter options |
- Source:
Returns:
Resolves with JSON stacks list
- Type
- Promise