consolidatedalerts

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package consolidatedalerts contains methods related to ConsolidatedAlerts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsolidatedAlertsV1

type ConsolidatedAlertsV1 struct {
	// contains filtered or unexported fields
}

ConsolidatedAlertsV1 represents a custom type struct

func (*ConsolidatedAlertsV1) ListConsolidatedAlerts

func (c *ConsolidatedAlertsV1) ListConsolidatedAlerts(
	limit *int64,
	start *string,
	filter *string) (
	*models.ListConsolidatedAlertsResponse, *apiutils.APIError)

ListConsolidatedAlerts Returns a list of consolidated alerts.

func (*ConsolidatedAlertsV1) ReadConsolidatedAlert

func (c *ConsolidatedAlertsV1) ReadConsolidatedAlert(
	id string) (
	*models.ReadConsolidatedAlertResponse, *apiutils.APIError)

ReadConsolidatedAlert Returns a representation of the specified consolidated alert.

func (*ConsolidatedAlertsV1) UpdateConsolidatedAlert

func (c *ConsolidatedAlertsV1) UpdateConsolidatedAlert(
	id string,
	body *models.UpdateConsolidatedAlertV1Request) (
	*models.UpdateConsolidatedAlertResponse, *apiutils.APIError)

UpdateConsolidatedAlert Manages the specified consolidated alert. Managing a consolidated alert includes clearing the alert and adding notes to the specified consolidated alert.

type ConsolidatedAlertsV1Client

type ConsolidatedAlertsV1Client interface {
	// ListConsolidatedAlerts Returns a list of consolidated alerts.
	ListConsolidatedAlerts(
		limit *int64,
		start *string,
		filter *string) (
		*models.ListConsolidatedAlertsResponse, *apiutils.APIError)

	// ReadConsolidatedAlert Returns a representation of the specified consolidated alert.
	ReadConsolidatedAlert(
		id string) (
		*models.ReadConsolidatedAlertResponse, *apiutils.APIError)

	// UpdateConsolidatedAlert Manages the specified consolidated alert. Managing a consolidated alert includes clearing the alert and adding notes to the specified consolidated alert.
	UpdateConsolidatedAlert(
		id string,
		body *models.UpdateConsolidatedAlertV1Request) (
		*models.UpdateConsolidatedAlertResponse, *apiutils.APIError)
}

ConsolidatedAlertsV1Client represents a custom type interface

func NewConsolidatedAlertsV1

func NewConsolidatedAlertsV1(config config.Config) ConsolidatedAlertsV1Client

NewConsolidatedAlertsV1 returns ConsolidatedAlertsV1Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL