A newer release of this product is available.
Initialize a SnapLock ComplianceClock
POST /storage/snaplock/compliance-clocks
Introduced In: 9.10
Initializes the SnapLock ComplianceClock.
Required properties
-
node.nameornode.uuid- Name or UUID of the node.
Related ONTAP commands
-
snaplock compliance-clock initialize
Learn more
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
return_records |
boolean |
query |
False |
The default is false. If set to true, the records are returned.
|
Request Body
| Name | Type | Description |
|---|---|---|
node |
||
time |
string |
Compliance clock time |
Example request
{
"node": {
"name": "node1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"time": "2018-06-04 15:00:00 -0400"
}
Response
Status: 201, Created
| Name | Type | Description |
|---|---|---|
node |
||
time |
string |
Compliance clock time |
Example response
{
"node": {
"name": "node1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"time": "2018-06-04 15:00:00 -0400"
}
Headers
| Name | Description | Type |
|---|---|---|
Location |
Useful for tracking the resource location |
string |
Error
Status: Default, Error
Definitions
See Definitions
href
| Name | Type | Description |
|---|---|---|
href |
string |
_links
node
| Name | Type | Description |
|---|---|---|
name |
string |
|
uuid |
string |
snaplock_compliance_clock
| Name | Type | Description |
|---|---|---|
node |
||
time |
string |
Compliance clock time |
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. |