• CLI

sdk
  1. Help Center
  2. CLI
  3. Developer Guide
  4. Mapping Between API and SDK
  5. Java
  6. RTS

RTS

Interface

Method

API

EventsService

List<? extends Event> list(String stackName, String stackId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/events

List<? extends Event> list(String stackName, String stackId, String resourceName)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events

Event show(String stackName, String stackId, String resourceName, String eventId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}/events/{event_id}

ResourcesService

List<? extends Resource> list(String stackNameOrId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources

List<? extends Resource> list(String stackName, String stackId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources

Resource show(String stackName, String stackId, String resourceName)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources/{resource_name}

SoftwareConfigServic

SoftwareConfig create(SoftwareConfig sc)

POST /V1/{tenant_id}/software_configs

ActionResponse delete(String configId)

DELETE /V1/{tenant_id}/software_configs/{software_config_id}

SoftwareConfig show(String configId)

GET /V1/{tenant_id}/software_configs/{software_config_id}

StackService

Stack create(StackCreate newStack)

POST /V1/{tenant_id}/stacks

Stack create(String name, String template, Map<String,String> parameters, boolean disableRollback, Long timeOutMins)

POST /V1/{tenant_id}/stacks

ActionResponse delete(String stackName, String stackId)

DELETE /V1/{tenant_id}/stacks/{stack_name}/{stack_id}

Stack getDetails(String stackName, String stackId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}

Stack getStackByName(String name)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}

List<? extends Stack> list()

GET /V1/{tenant_id}/stacks

ActionResponse update(String stackName, String stackId, StackUpdate stackUpdate)

PUT /V1/{tenant_id}/stacks/{stack_name}/{stack_id}

TemplateService

Map<String,Object> getTemplateAsMap(String stackNameOrId)

GET /V1/{tenant_id}/stacks/{stack_name}/template

Map<String,Object> getTemplateAsMap(String stackName, String stackId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/template

String getTemplateAsString(String stackName, String stackId)

GET /V1/{tenant_id}/stacks/{stack_name}/{stack_id}/template

TemplateResponse validateTemplate(String template)

POST /V1/{tenant_id}/validate

TemplateResponse validateTemplate(Template template)

POST /V1/{tenant_id}/validate

TemplateResponse validateTemplateByURL(String templateURL)

POST /V1/{tenant_id}/validate