• SAP HANA

saphana
  1. Help Center
  2. SAP HANA
  3. User Guide (API)
  4. Creating a HANA ECS
  5. Adding the Secondary (High-Performance) NIC
  6. Stopping the ECS

Stopping the ECS

API Format

Method

URI

Description

POST

/v2/{tenant_id}/servers/{server_id}/action

Stops an ECS.

Restrictions

The ECS status, that is, the value of OS-EXT-STS:vm_state, must be active or error.

Expansion

None

Request Parameters

Parameter

Type

Mandatory or Not

Description

os-stop

Dict

Yes

Stops an ECS.

os-stop parameter information

Parameter

Type

Mandatory or Not

Description

type

String

No

SOFT (default) indicates graceful shutdown.

HARD indicates forcible shutdown.

Response Parameters

None

Request Example

POST /v2/e72b9b77c6b949da851487dfbc0a7ca0/servers/0ee24b9b-2410-402b-a654-b3ecf53e63e0/action
{ 
   "os-stop": {
       "type" : "SOFT"
   }
}