Skip to main content
A newer release of this product is available.

Update an FPolicy persistent store configuration for an SVM

Contributors

PATCH /protocols/fpolicy/{svm.uuid}/persistent-stores/{name}

Introduced In: 9.14

Updates a specific FPolicy persistent store configuration for an SVM.

  • 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

name

string

The name specified for the FPolicy persistent store.

svm

svm

volume

string

The specified volume to store the events for the FPolicy persistent store.

Example request
{
  "name": "ps1",
  "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.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

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

name

string

The name specified for the FPolicy persistent store.

svm

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.