Update an FPolicy persistent store configuration for an SVM
Updates the FPolicy persistent store configuration for an SVM to modify storage policies or settings as needed.
HTTP method and endpoint
PATCH /protocols/fpolicy/{svm.uuid}/persistent-stores/{name}
Introduced in
ONTAP 9.14
Usage notes
Updates a specific FPolicy persistent store configuration for an SVM.
Related ONTAP commands
-
fpolicy persistent-store modify
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
name |
string |
path |
True |
|
svm.uuid |
string |
path |
True |
UUID of the SVM to which this object belongs. |
Request Body
| Name | Type | Description |
|---|---|---|
svm |
||
volume |
string |
The specified volume to store the events for the FPolicy persistent store. |
Example request
{
"svm": {
"uuid": "string"
},
"volume": "psvol"
}
Response
Status: 200, Ok
Error
Status: Default
| Error Code | Description |
|---|---|
9765053 |
Volume mentioned does not exist in the SVM |
9765056 |
Specified persistent store name does not exist in the SVM |
9765069 |
Volume is not a Flexvol. Only FlexVols are supported for this operation. |
9765070 |
Cannot update a persistent store volume when it is part of an enabled policy |
9765071 |
Volume without junction-path is not supported. |
9765072 |
Volume is not of type RW. Only volumes of type RW are supported. |
Definitions
See Definitions
svm
| Name | Type | Description |
|---|---|---|
uuid |
string |
SVM UUID |
fpolicy_persistent_store
The information that an FPolicy process needs in order to configure a persistent store.
| Name | Type | Description |
|---|---|---|
svm |
||
volume |
string |
The specified volume to store the events for the FPolicy persistent store. |
error_arguments
| Name | Type | Description |
|---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
returned_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. |