Enable SnapLock for a system
Enables SnapLock for an existing Cloud Volumes ONTAP system, configuring the system to use WORM (Write Once Read Many) storage for data retention and compliance purposes. Use this to enforce data immutability and meet regulatory requirements.
HTTP method and endpoint
PUT /gcp/vsa/working-environments/{workingEnvironmentId}/enable-worm
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
workingEnvironmentId |
string |
path |
True |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
retentionPeriod |
True |
Example request
{
"retentionPeriod": {
"length": 0,
"unit": "string"
}
}
Error
Status: Default, Default response
Definitions
See Definitions
WormRetentionPeriod
| Name | Type | Required | Description |
|---|---|---|---|
length |
integer |
True |
Length |
unit |
string |
True |
Unit |