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

Event remediation and management action collection get

Contributors

GET /private/manage/event-remediations

Introduced In: 9.8

Event remediation and management action collection GET

Parameters

Name Type In Required Description

max_records

integer

query

False

Limit the number of records returned.

return_records

boolean

query

False

The default is true for GET calls. When set to false, only the number of records is returned.

  • Default value: 1

return_timeout

integer

query

False

The number of seconds to allow the call to execute before returning. When iterating over a collection, the default is 15 seconds. ONTAP returns earlier if either max records or the end of the collection is reached.

  • Default value: 1

  • Max value: 120

  • Min value: 0

order_by

array[string]

query

False

Order results by specified fields and optional [asc

desc] direction. Default direction is 'asc' for ascending.

fields

array[string]

query

False

Response

Status: 200, Ok
Name Type Description

_links

_links

num_records

integer

Number of records

records

array[event_remediations]

List of event remediations

Example response
{
  "_links": {
    "next": {
      "href": "/api/resourcelink"
    },
    "self": {
      "href": "/api/resourcelink"
    }
  },
  "num_records": "3",
  "records": [
    {
      "cluster": {
        "name": "cluster1",
        "uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
      },
      "completion_time": "string",
      "description": "Disable Telnet",
      "event_remediation_action": "string",
      "event_remediation_action_type": "string",
      "event_remediation_state": "string",
      "event_type_name": "cluster_telnet_enabled",
      "id": "198",
      "solution": "Continue to disable telnet on the selected cluster using the 'security protocol modify -application telnet -enabled false’ ontap cli command.",
      "source": {
        "object_id": "5666",
        "object_type": "inventory.ontap.fas.Cluster"
      },
      "source_full_name": "shrey-vsim1",
      "source_resource_type": "cluster",
      "start_time": "string"
    }
  ]
}

Error

Status: Default, Error
Name Type Description

error

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

Name Type Description

next

href

self

href

cluster

Name Type Description

name

string

uuid

string

source

Name Type Description

object_id

integer

object_type

string

event_remediations

Name Type Description

cluster

cluster

completion_time

string

Completion time of the event

description

string

Description for the event

event_remediation_action

string

Event remediation action

event_remediation_action_type

string

Type of remediation action

event_remediation_state

string

State of the event remediation

event_type_name

string

Type of the event

id

integer

Event Identifier

solution

string

Corrective action for the event

source

source

source_full_name

string

Source of the event

source_resource_type

string

Type of source of the event

start_time

string

Start time of the event

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.

Close
Try it out

Sign in with your NetApp Cloud Central credentials.

Try this API

Parameters

Headers

Body

Code

Response