• CLI

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

RTS

Interface

Method

API

Stack

create_stack(self, preview=False, **attrs):

POST /v1/{tenant_id}/stacks Create stack

find_stack(self, name_or_id, ignore_missing=True):

GET /v1/{tenant_id}/stacks List stacks

stacks(self, **query):

GET /v1/{tenant_id}/stacks List stacks

get_stack(self, stack):

GET /v1/{tenant_id}/stacks/{stack_name}/{stack_id} Show stack details

update_stack(self, stack, **attrs):

PUT /v1/{tenant_id}/stacks/{stack_name}/{stack_id} Update stack

delete_stack(self, stack, ignore_missing=True):

DELETE /v1/{tenant_id}/stacks/{stack_id} Find stack for deletion

check_stack(self, stack):

POST /v1/{tenant_id}/stacks/{stack_name}/{stack_id}/actions Check stack resources detail

resources(self, stack, **query):

GET /v1/{tenant_id}/stacks/{stack_name}/{stack_id}/resources List stack resources

software_config && deployments

create_software_config(self, **attrs):

POST /v1/{tenant_id}/software_configs Create configuration

get_software_config(self, software_config):

GET /v1/{tenant_id}/software_configs/{config_id} Show configuration details

delete_software_config(self, software_config, ignore_missing=True):

DELETE /v1/{tenant_id}/software_configs/{config_id} Delete config