public interface ResourcesService
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getMetadata(String stackName,
String stackId,
String resourceName)
Gets the stack resource metadata
|
List<? extends Resource> |
list(String stackNameOrId)
Gets a list of currently existing
Resource s for a specified stack. |
List<? extends Resource> |
list(String stackNameOrId,
int depth)
Gets a list of currently existing
Resource s for a specified stack with filtern parameters. |
List<? extends Resource> |
list(String stackName,
String stackId)
Gets a list of currently existing
Resource s for a specified stack. |
ActionResponse |
markUnhealthy(String stackName,
String stackId,
String resourceName,
ResourceHealth resourceHealth)
Marks a resource unhealthy
|
Resource |
show(String stackName,
String stackId,
String resourceName)
Gets the detail of the specified resource
|
ActionResponse |
signal(String stackName,
String stackId,
String resourceName)
Signals a resource
|
List<? extends Resource> list(String stackName, String stackId)
Resource
s for a specified stack.stackId
- The unique identifier for a stackstackName
- The name of a stackResource
sList<? extends Resource> list(String stackNameOrId)
Resource
s for a specified stack.stackNameOrId
- Stack name or stack idResource
sList<? extends Resource> list(String stackNameOrId, int depth)
Resource
s for a specified stack with filtern parameters.stackNameOrId
- Stack name or stack iddepth
- The recursion level for which resources will be listed.Resource
sResource show(String stackName, String stackId, String resourceName)
stackId
- The unique identifier for a stackstackName
- The name of a stackresourceName
- The name of a resourceMap<String,Object> getMetadata(String stackName, String stackId, String resourceName)
stackName
- The name of a stackstackId
- The unique identifier for a stackresourceName
- The name of a resourceActionResponse signal(String stackName, String stackId, String resourceName)
stackName
- stackId
- resourceName
- ActionResponse markUnhealthy(String stackName, String stackId, String resourceName, ResourceHealth resourceHealth)
stackName
- stackId
- resourceName
- resourceHealth
- Copyright © 2017. All rights reserved.