GET /nodes/{uuid}/mediaMount/{uid}
Use this method to return information about members of specific media that was previously mounted to a specific server.
Note
This API is not supported for ThinkServer servers.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/nodes/{uuid}/mediaMount/{uid}
where
{uuid} is the UUID of a server. To obtain the server UUID, use the GET /nodes method.
{uid} is the UID of the mounted media. To obtain the mounted-media UID, use the GET /nodes/{uuid}/mediaMount method.
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
memberCount | Integer | Number of media members | ||
members | Array of objects | Information about the media member | ||
domainName | String | (Samba only) Domain of the user name to access the file path | ||
filePath | String | File path of the map image | ||
options | String | (Samba and NFS only) The mount options to map the image of the file path | ||
readonly | String | Indicates whether the map image is read only. This can be one of the following values.
| ||
shareType | String | Map type of the image. This can be one of the following values.
| ||
username | String | User name that is used to access the file path |
The following example is returned if the request is successful.
{
"memberCount": 2,
"members": [{
"domainName": "10.244.9.146",
"filePath": "https://10.244.9.146/tftpboot/nightbuild/current.iso",
"options": "ro""shareType": "NFS",
"UID": "42DDD3DA43",
"username": "test",
},
{
"domainName": "10.243.7.146",
"filePath": "https://10.244.9.146/tftpboot/nightbuild/dummy.img",
"options": "ro""shareType": "NFS",
"UID": "60E7E61E82",
"username": "test",
}]
}
Give documentation feedback