modify-data-box
- Print
- PDF
modify-data-box
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
It requests to modify the Data Box infrastructure.
- It takes time to create/return/change the infrastructure and operates asynchronously.
- If the request was sent successfully, a fixed message is returned.
POST https://{endpoint}/data-box/modify-data-box
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
dataBoxFrameNo | Yes | String | Data Box Frame number | |
dataBoxNo | Yes | String | Data Box number | |
memo | No | String | Data Box memo | |
connectServerList.actionType | No | String | CREATE: create UPDATE: modify DELETE: return | Processing type |
connectServerList.blockStorageInstanceNo | No | Integer | Invalid if actionType is CREATE or DELETE | Connect server block storage instance number |
connectServerList.prodSpecId | No | Integer | Invalid if actionType is DELETE | Product Spec Code |
connectServerList.serverInstanceNo | No | Integer | Invalid if actionType is CREATE or DELETE | Connect server instance number |
connectServerList.storageSize | No | Integer | Invalid if actionType is DELETE | Connect server block storage size |
connectServerList.adminPassword | No | String | Invalid if actionType is UPDATE or DELETE Between 8 to 14 characters Must contain 1 character of the following 4 categories: English lowercase, English uppercase, special characters, and numbers The following special characters are not allowed: ( ' , ' , ' , $ , / , & , $, space ) | Connect server admin account password |
connectServerList.userPassword1 | No | String | Invalid if actionType is UPDATE or DELETE Between 8 to 14 characters Must contain 1 character of the following 4 categories: English lowercase, English uppercase, special characters, and numbers The following special characters are not allowed: ( ' , ' , ' , $ , / , & , $, space ) | Connect server ncp1 account password |
connectServerList.userPassword2 | No | String | Invalid if actionType is UPDATE or DELETE Between 8 to 14 characters Must contain 1 character of the following 4 categories: English lowercase, English uppercase, special characters, and numbers The following special characters are not allowed: ( ' , ' , ' , $ , / , & , $, space ) | Connect server ncp2 account password |
hadoopList.actionType | No | String | CREATE: create UPDATE: modify DELETE: return | Processing type |
hadoopList.hadoopInstanceNo | No | Integer | Invalid if actionType is CREATE or DELETE | Hadoop cluster instance number |
hadoopList.userPassword | No | String | Invalid if actionType is UPDATE or DELETE Between 8 to 14 characters Must contain 1 character of the following 4 categories: English lowercase, English uppercase, special characters, and numbers The following special characters are not allowed: ( ' , ' , ' , $ , / , & , $, space ) | Hadoop cluster password |
hadoopList.workerNodeCount | No | Integer | Invalid if actionType is UPDATE or DELETE | Number of Hadoop cluster worker nodes |
hadoopList.workerNodeProdSpecId | No | Integer | Invalid if actionType is DELETE | Product Spec Code |
hadoopList.EdgeNodeProdSpecId | No | Integer | Invalid if actionType is DELETE | Product Spec Code |
hadoopList.masterNodeProdSpecId | No | Integer | Invalid if actionType is DELETE | Product Spec Code |
hadoopList.masterNodeStorageSize | No | Integer | Invalid if actionType is UPDATE or DELETE | Hadoop cluster master node block storage size |
hadoopList.workerNodeStorageSize | No | Integer | Invalid if actionType is UPDATE or DELETE | Hadoop cluster worker node block storage size |
(tensorflow, linux).actionType | No | String | CREATE: create UPDATE: modify DELETE: return | Processing type |
(tensorflow, linux).blockStorageInstanceNo | No | Integer | Invalid if actionType is CREATE or DELETE | Server block storage instance number |
(tensorflow, linux).prodSpecId | No | Integer | Invalid if actionType is DELETE | Product Spec Code |
(tensorflow, linux).serverInstanceNo | No | Integer | Invalid if actionType is CREATE or DELETE | Server instance number |
(tensorflow, linux).storageSize | No | Integer | Invalid if actionType is DELETE | Server block storage size |
(tensorflow, linux).userPassword | No | String | Invalid if actionType is UPDATE or DELETE Between 8 to 14 characters Must contain 1 character of the following 4 categories: English lowercase, English uppercase, special characters, and numbers The following special characters are not allowed: ( ' , ' , ' , $ , / , & , $, space ) | Server password |
nasList.actionType | Yes | String | CREATE: create DELETE: return | Processing type |
nasList.nasInstanceNo | No | Integer | Invalid if actionType is CREATE | NAS Instance number |
nasList.nasSize | No | Integer | Invalid if actionType is DELETE | NAS size |
nasList.count | No | Integer | Invalid if actionType is DELETE | NAS count |
Responses
HTTP status code | Description |
---|---|
200 | Success |
400 | Request information error |
401 | Authentication failed |
403 | No permission to request information |
404 | Resource not found |
500 | Server error |
Examples
Request examples
{
"dataBoxInfo": {
"connectServerList": [
{
"actionType": "CREATE",
"adminPassword": "-",
"blockStorageInstanceNo": -,
"prodSpecId":4003 ,
"serverInstanceNo": -,
"storageSize": -,
"userPassword1": "-",
"userPassword2": "-"
}
],
"dataBoxNo": "194",
"hadoopList": [
{
"actionType": "CREATE",
"workerNodeCount": 2,
"workerNodeProdSpecId": 5201,
"workerNodeStorageSize": 500,
"edgeNodeProdSpecId": 5001,
"hadoopInstanceNo": -,
"masterNodeProdSpecId": 5101,
"masterNodeStorageSize": 500,
"userPassword": "-"
}
],
"linuxServerList": [
{
"actionType": "CREATE",
"blockStorageInstanceNo": -,
"prodSpecId": 6001,
"serverInstanceNo": -,
"storageSize": -,
"userPassword": "-"
}
],
"memo": "test",
"nasList": [
{
"actionType": "CREATE",
"count": 1,
"nasInstanceNo": -,
"nasSize": 600
}
],
"tensorFlowCpuServerList": [
{
"actionType": "CREATE",
"blockStorageInstanceNo": -,
"prodSpecId": 7001,
"serverInstanceNo": -,
"storageSize": 500,
"userPassword": "-"
}
],
"tensorFlowGpuServerList": [
{
"actionType": "CREATE",
"blockStorageInstanceNo": -,
"prodSpecId": 7101,
"serverInstanceNo": -,
"storageSize": 500,
"userPassword": "-"
}
]
},
"dataBoxFrameNo": "1046"
}
Response examples
{
"returnMessage" : "Data Box infrastructure modification requested."
}
Errors
HTTP Status Code | Return code | Description |
---|---|---|
200 | - | Successful normal request |
400 | 10001, 130*** | Request information and parameter error |
403 | 10002 | No permission to request information |
404 | 10009 | Resource not found |
500 | 130000 | Service internal error |
500 | 139999 | Integration service API call error |
Was this article helpful?