Update NFS connected-client cache settings properties
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
PATCH /protocols/nfs/connected-client-settings
Introduced In: 9.12
Updates the properties of the NFS connected-client cache settings.
Request Body
Name | Type | Description |
---|---|---|
_links |
||
client_retention_interval |
string |
The lifetime range of the connected-clients cache. Only intervals in multiples of 12 hours or its equivalent in days, minutes or seconds are supported. The minimum is 12 hours and the maximum is 168 hours or 7 days. |
enable_nfs_clients_deletion |
boolean |
Specifies whether or not NFS Clients deletion is enabled for the connected-clients cache. When set to "true", connected-clients entries are deleted when a connection is closed. |
update_interval |
string |
The time interval between refreshing the connected-clients cache. The minimum is 1 hour and the maximum is 8 hours. |
Example request
{
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"client_retention_interval": "string",
"update_interval": "string"
}
Response
Status: 200, Ok
Error
Status: Default, Error
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
nfs_clients_cache
Name | Type | Description |
---|---|---|
_links |
||
client_retention_interval |
string |
The lifetime range of the connected-clients cache. Only intervals in multiples of 12 hours or its equivalent in days, minutes or seconds are supported. The minimum is 12 hours and the maximum is 168 hours or 7 days. |
enable_nfs_clients_deletion |
boolean |
Specifies whether or not NFS Clients deletion is enabled for the connected-clients cache. When set to "true", connected-clients entries are deleted when a connection is closed. |
update_interval |
string |
The time interval between refreshing the connected-clients cache. The minimum is 1 hour and the maximum is 8 hours. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |