public class ResourcesServiceImpl extends BaseHeatServices implements ResourcesService
HeatResource objects. The
non-exhaustive list of methods is oriented along
http://developer.openstack.org/api-ref-orchestration-v1.htmlBaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
ResourcesServiceImpl() |
| 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
Resources for a specified stack. |
List<? extends Resource> |
list(String stackNameOrId,
int depth)
Gets a list of currently existing
Resources for a specified stack with filtern parameters. |
List<? extends Resource> |
list(String stackName,
String stackId)
Gets a list of currently existing
Resources 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
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends Resource> list(String stackName, String stackId)
ResourcesServiceResources for a specified stack.list in interface ResourcesServicestackName - The name of a stackstackId - The unique identifier for a stackResourcespublic List<? extends Resource> list(String stackNameOrId)
ResourcesServiceResources for a specified stack.list in interface ResourcesServicestackNameOrId - Stack name or stack idResourcespublic List<? extends Resource> list(String stackNameOrId, int depth)
ResourcesServiceResources for a specified stack with filtern parameters.list in interface ResourcesServicestackNameOrId - Stack name or stack iddepth - The recursion level for which resources will be listed.Resourcespublic Resource show(String stackName, String stackId, String resourceName)
ResourcesServiceshow in interface ResourcesServicestackName - The name of a stackstackId - The unique identifier for a stackresourceName - The name of a resourcepublic Map<String,Object> getMetadata(String stackName, String stackId, String resourceName)
ResourcesServicegetMetadata in interface ResourcesServicestackName - The name of a stackstackId - The unique identifier for a stackresourceName - The name of a resourcepublic ActionResponse signal(String stackName, String stackId, String resourceName)
ResourcesServicesignal in interface ResourcesServicepublic ActionResponse markUnhealthy(String stackName, String stackId, String resourceName, ResourceHealth resourceHealth)
ResourcesServicemarkUnhealthy in interface ResourcesServiceCopyright © 2017. All rights reserved.