Host
PUT /v1beta/{tenantId}/host/hosts/{hostId}
Changed onModify host details
Request
- Base URLhttps://localhost:50040
- AuthHTTP basic
Request body
Example request
{
"hostName": "opensds-node1",
"ip": "8.8.8.8",
"port": 22,
"username": "root",
"password": "password",
"initiators": [
{
"portName": "20000024ff5bb888",
"protocol": "iscsi"
}
]
}Response
OK
Example response
{
"id": "084bf71e-a102-11e7-88a8-e31fe6d52248",
"createdAt": "2017-07-10T14:36:58.014Z",
"updatedAt": "2017-07-10T14:36:58.014Z",
"initiators": [
{
"portName": "20000024ff5bb888",
"protocol": "iscsi"
}
]
}Changes
- warning
changed the pattern of the request property
from^(([a-zA-Z0-9_-]|[a-zA-Z0-9_-][a-zA-Z0-9_-]*[a-zA-Z0-9_-]))*([A-Za-z0-9_-]|[A-Za-z0-9_-][A-Za-z0-9_-]*[A-Za-z0-9_-])$to^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$
- warning
- warning
changed the pattern of the request property
from^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$to^(([a-zA-Z0-9_-]|[a-zA-Z0-9_-][a-zA-Z0-9_-]*[a-zA-Z0-9_-]))*([A-Za-z0-9_-]|[A-Za-z0-9_-][A-Za-z0-9_-]*[A-Za-z0-9_-])$ - info
the request property
became nullable
- warning