alert.v1

Top

arista/alert.v1/alert.proto

Alert

Alert is the current status of the alert system

Field NameTypeDescription
configuration_errorsConfigErrors

configuration_errors contain any configuration errors reported by the backend

endpoint_errorsEndpointErrors

endpoint_errors contain any failed attempts to send alerts

last_modified_atgoogle.protobuf.Timestamp

last_modified_at is the time at which the configuration was last modified

last_modified_bygoogle.protobuf.StringValue

last_modified_by is the user who last modified the configuration

AlertConfig

AlertConfig is the configuration for sending alerts

Field NameTypeDescription
settingsSettings

settings is the global default settings for various endpoints used in broadcast groups.

Can be overwritten in individual endpoint settings

rulesRules

rules define how we route alerts to broadcast groups

broadcast_groupsBroadcastGroups

broadcast_groups are groups of endpoints that alerts are sent to

AzureOAuth

AzureOAuth contains the settings for the sending of emails on Azure smtp server

Field NameTypeDescription
client_idgoogle.protobuf.StringValue

client_id of the Azure environment

tenant_idgoogle.protobuf.StringValue

tenant_id of the Azure environment

client_secretgoogle.protobuf.StringValue

client_secret is a user generated secret key used for auth

auth_urigoogle.protobuf.StringValue

auth_uri is the URI used for OAuth

BroadcastGroup

BroadcastGroup is a series of endpoints that alerts are sent to if routed there by a rule No restriction on the number of types of endpoints that can be defined

Field NameTypeDescription
emailEmailEndpoints

email is a set of email endpoints to send alerts to as part of this group

webhookWebhookEndpoints

webhook is a set of webhook endpoints to send alerts to as part of this group

slackSlackEndpoints

slack is a set of slack endpoints to send alerts to as part of this group

opsgenieOpsgenieEndpoints

opsgenie is a set of opsgenie endpoints to send alerts to as part of this group

pushoverPushoverEndpoints

pushover is a set of pushover endpoints to send alerts to as part of this group

pagerdutyPagerdutyEndpoints

pagerduty is a set of pagerduty endpoints to send alerts to as part of this group

victoropsVictorOpsEndpoints

victorops is a set of victorops endpoints to send alerts to as part of this group

gchatGoogleChatEndpoints

gchat is a set of google chat endpoints to send alerts to as part of this group

msteamsMsTeamsEndpoints

msteams is a set of MS teams endpoints to send alerts to as part of this group

sendgridSendgridEndpoints

sendgrid is a set of sendgrid endpoints to send alerts to as part of this group

syslogSyslogEndpoints

syslog is a set of syslog endpoints to send alerts to as part of this group

snmpSNMPEndpoints

snmp is a set of snmp endpoints to send alerts to as part of this group

cue_syslogCueSyslogEndpoints

cue_syslog is a set of cue syslog endpoints to send alerts to as part of this group

cue_snmpCueSnmpEndpoints

cue_snmp is a set of cue snmp endpoints to send alerts to as part of this group

cue_sendgridCueSendgridEndpoints

cue_sendgrid is a set of cue sendgrid endpoints to send alerts to as part of this group

zoomZoomEndpoints

zoom is a set of zoom endpoints to send alerts to as part of this group

BroadcastGroups

BroadcastGroups is a collection of named broadcast groups

Field NameTypeDescription
valuesBroadcastGroups.ValuesEntry[…]

values is a map of user defined ids to broadcast groups. No restrictions to naming applies

BroadcastGroups.ValuesEntry

Field NameTypeDescription
keystring

valueBroadcastGroup

ConfigError

ConfigError is an error caused by an invalid config being rejected by the backend

Field NameTypeDescription
pathgoogle.protobuf.StringValue

path is the ‘path’ to the invalid config element,

eg: path.userPathName.email_configs[1].to =

the ’to’ field of the second email config of the ‘userPathName’ broadcast_group

error_typeConfigErrorType

error_type is the type of error, this allows custom handling of different error types

errorgoogle.protobuf.StringValue

error is a user-friendly error message

ConfigErrors

ConfigErrors is a list of configuration-related errors

Field NameTypeDescription
valuesConfigError[…]

values is a list of errors

CueData

CueData contains additional cue-specific data

Field NameTypeDescription
valuesCueData.ValuesEntry[…]

values can contain some additional data which is required by the cue specific provider

CueData.ValuesEntry

Field NameTypeDescription
keystring

valuestring

CueSNMPAuth

CueSNMPAuth is the authentication

Field NameTypeDescription
communitygoogle.protobuf.StringValue

community is the community string used for authentication in SNMPv1 and v2c

required if version < 3

usernamegoogle.protobuf.StringValue

username the username for SNMPv3 auth

security_levelSNMPSecurityLevel

security_level the security level for SNMPv3

authentication_protocolCueSNMPAuthProtocol

authentication_protocol is the protocol to use for authentication in SNMPv3

required for AUTH_NO_PRIV/AUTH_PRIV security levels

authentication_passphrasegoogle.protobuf.StringValue

authentication_passphrase is the passphrase to use for authentication in SNMPv3

required for AUTH_NO_PRIV/AUTH_PRIV security levels

privacy_protocolCueSNMPPrivProtocol

privacy_protocol is the protocol to use for privacy in SNMPv3

required for AUTH_PRIV security level

privacy_passphrasegoogle.protobuf.StringValue

privacy_passphrase is the passphrase to use for privacy in SNMPv3

required for AUTH_PRIV security level

CueSNMPEndpoint

CueSNMPEndpoint contains the required information for an alert to be sent to a cue SNMP endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

settings_overrideCueSNMPSettings

settings_override is the override for the cue snmp global endpoint settings

CueSNMPSettings

CueSNMPSettings contain the settings for sending cue alerts with SNMP

Field NameTypeDescription
targetgoogle.protobuf.StringValue

target is an ipv4 address to send messages to

portgoogle.protobuf.Int32Value

port is the network port to target

transportgoogle.protobuf.StringValue

transport is the transport protocol to use (“udp” or “tcp”); if unset “udp” will be used

versiongoogle.protobuf.Int32Value

version is the SNMP version, v2c and v3 are supported and can be set with 2 and 3 respectively

authCueSNMPAuth

auth is the optional authentication settings

dataCueData

data is additional data that maybe required for constructing the message or sending it

CueSendgridEndpoint

CueSendgridEndpoint contains the required information for an alert to be sent to a cue sendgrid endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

togoogle.protobuf.StringValue

to address to send email to

http_overrideHttpSettings

http_override is the override of the global http settings

This overrides the value used in Settings message in the global alert config

CueSendgridEndpoints

CueSendgridEndpoints is a set of cue sendgrid endpoints

Field NameTypeDescription
valuesCueSendgridEndpoint[…]

values are the elements of the set

CueSendgridSettings

CueSendgridSettings contain the settings for sending cue alerts to sendgrid

Field NameTypeDescription
api_keygoogle.protobuf.StringValue

api_key is the key used to connect to the sendgrid APIs

fromgoogle.protobuf.StringValue

from is the sender’s address in the email sent

CueSnmpEndpoints

CueSnmpEndpoints is a set of cue SNMP endpoints

Field NameTypeDescription
valuesCueSNMPEndpoint[…]

values are the elements of the set

CueSyslogEndpoint

CueSyslogEndpoint contains the required information for an alert to be sent to a cue syslog endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

settings_overrideCueSyslogSettings

settings_override is the override for the cue syslog global endpoint settings

CueSyslogEndpoints

CueSyslogEndpoints is a set of cue syslog endpoints

Field NameTypeDescription
valuesCueSyslogEndpoint[…]

values are the elements of the set

CueSyslogSettings

CueSyslogSettings contain the settings for sending alerts with syslog for cue

Field NameTypeDescription
networkgoogle.protobuf.StringValue

network is the network protocol to use, default is “udp”,

options also include: tcp,tcp4,tcp6,udp4,udp6

addressgoogle.protobuf.StringValue

address is the ip address to send syslog messages to

portgoogle.protobuf.Int32Value

port is server’s port to connect to

message_formatCueSyslogMessageFormat

message_format defines the message format to use

append_bom_headergoogle.protobuf.BoolValue

append_bom_header if true a BOM( Byte Order Mark ) will be appended to the outgoing message

BOM will tell the server that is receiving the messages, that the format is UTF8.

dataCueData

data is additional data that maybe required for constructing the message or sending it

DefaultTemplate

DefaultTemplate is the system default template which is used when no user template has been set

Field NameTypeDescription
keyTemplateKey

key identifies which template the configuration is for

templategoogle.protobuf.StringValue

template is the string template value to be used

Templates need to be compatible with their respective parsers

Message templates are read and parsed by https://golang.org/pkg/text/template/

Html templates are read and parsed by https://golang.org/pkg/html/template/

Templates must output valid JSON for certain templates

Templates must not fail for any valid input

multi_alertgoogle.protobuf.BoolValue

multi_alert is true if this template uses a multiple alert context and false if a single

alert context is used.

descriptiongoogle.protobuf.StringValue

description is a description of the template.

external_documentationgoogle.protobuf.StringValue

external_documentation is a url to any relevant external documentation, or "" if there is no

relevant documentation.

output_formatTemplateOutput

output_format is the expected output format of this template

Any submitted template will be expected to output text with valid formatting for any input or

may fail validation.

display_namegoogle.protobuf.StringValue

display_name is the name that can be displayed to the user for this particular template type

EmailEndpoint

EmailEndpoint contains the required information for an alert to be sent to an email endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

togoogle.protobuf.StringValue

to address to send email to

Email does not have a http override

Email does not have a settings override

EmailEndpoints

EmailEndpoints is a set of email endpoints

Field NameTypeDescription
valuesEmailEndpoint[…]

values are the elements of the set

EmailSettings

EmailSettings contain the settings for the sending of emails

Field NameTypeDescription
fromgoogle.protobuf.StringValue

from is the email address to send from

smarthostgoogle.protobuf.StringValue

smarthost is the hostname and port of the SMTP server

auth_usernamegoogle.protobuf.StringValue

auth_username the username to use when sending emails

required for all auth methods

auth_passwordgoogle.protobuf.StringValue

auth_password the password to use when sending emails

require_tlsgoogle.protobuf.BoolValue

require_tls always use TLS connections when sending emails

single_alert_per_emailgoogle.protobuf.BoolValue

single_alert_per_email configures the Alerter such that each alert generates a separate email

notification, the email will only have a single notification, the format will also be different

azure_o_authAzureOAuth

azure_o_auth used for auth when using an Azure smtp server

uses auth_username

EndpointError

EndpointError is an error caused by a failure to send alert(s) for any reason

Field NameTypeDescription
endpoint_typegoogle.protobuf.StringValue

endpoint_type indicates the type of endpoint which failed,

or unknown if not endpoint-specific (eg: slack, opsgenie)

broadcast_group_namegoogle.protobuf.StringValue

broadcast_group_name is the name of the broadcast group which was being used,

empty string if not group specific

config_indexgoogle.protobuf.Int32Value

config_index is the index of the config on the broadcast group or -1 if not applicable

eg: if there are two email config in one broadcast group, then the indices for each are 0 and 1

note that these are done per type, so only counting email/slack/…

error_typeEndpointErrorType

error_type is the type of error, this allows custom handling of different error types

errorgoogle.protobuf.StringValue

error is a user-friendly error message

EndpointErrors

EndpointErrors is a set of errors related to sending of alerts

Field NameTypeDescription
valuesEndpointError[…]

values is the list of errors

EventList

EventList is a list of event types

Field NameTypeDescription
event_typesfmp.RepeatedString

event_types contain the event types

GoogleChatEndpoint

GoogleChatEndpoint contains the required information for an alert to be sent to a google chat endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideGoogleChatSettings

settings_override is the override for the google chat global endpoint settings

GoogleChatEndpoints

GoogleChatEndpoints is a set of googleChat endpoints

Field NameTypeDescription
valuesGoogleChatEndpoint[…]

values are the elements of the set

GoogleChatSettings

GoogleChatSettings contain the settings for sending alerts to google chat

Field NameTypeDescription
urlgoogle.protobuf.StringValue

url is the url of the webhook to send alerts to

HeaderValues

HeaderValues is a set of values for this header

Field NameTypeDescription
valuesstring[…]

values is the header values

HttpHeaders

HttpHeaders is a set of http headers

Field NameTypeDescription
valuesHttpHeaders.ValuesEntry[…]

values is a map of http header names to values

HttpHeaders.ValuesEntry

Field NameTypeDescription
keystring

valueHeaderValues

HttpSettings

HttpSettings are the settings to be used when sending various message over a http connection

Field NameTypeDescription
usernamegoogle.protobuf.StringValue

username is the username to use when connecting to the http proxy

passwordgoogle.protobuf.StringValue

password is the password to use when connecting to the http proxy

proxy_urlgoogle.protobuf.StringValue

proxy_url is the url for the http proxy

custom_headersHttpHeaders

custom_headers is custom http headers to be used along with the default headers

InhibitionSettings

InhibitionSettings allows certain event types to be suppressed while other event types are active

Field NameTypeDescription
valuesInhibitionSettings.ValuesEntry[…]

values is a map where the keys are event type which when active will suppress any events with

event types in the related EventList

InhibitionSettings.ValuesEntry

Field NameTypeDescription
keystring

valueEventList

Matches

Matches is a set of restrictions that must be satisfied for a rule to be matched Empty fields are ignored for matching purposes. Condition contents are OR’d and then AND’d with the other criteria

Field NameTypeDescription
severitiesfmp.RepeatedString

severities is a list of severities to filter on,

if an event does not have one of these severities, it will not match

Valid values are DEBUG, INFO, WARNING, ERROR and CRITICAL

devicesfmp.RepeatedString

devices is a list of device IDs to filter on,

if an event does not belong to one of these devices, it will not match

event_typesfmp.RepeatedString

event_types is a list of event types to filter on,

if an event does not have one of these event types, it will not match

device_tagsgoogle.protobuf.StringValue

device_tags is a string tag query that is used to match on the event’s device tags

intf_tagsgoogle.protobuf.StringValue

intf_tags is a string tag query that is used to match on the event’s interface tags

rule_idsfmp.RepeatedString

rule_ids is a list of rule IDs to filter on,

if an event does not have one of these rule IDs, it will not match

MsTeamsEndpoint

MsTeamsEndpoint contains the required information for an alert to be sent to an ms teams endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideMsTeamsSettings

settings_override is the override for the microsoft teams global endpoint settings

MsTeamsEndpoints

MsTeamsEndpoints is a set of ms teams endpoints

Field NameTypeDescription
valuesMsTeamsEndpoint[…]

values are the elements of the set

MsTeamsSettings

MsTeamsSettings contain the settings for sending alerts to MS Teams

Field NameTypeDescription
urlgoogle.protobuf.StringValue

url is the url of the webhook to send alerts to

OpsgenieEndpoint

OpsgenieEndpoint contains the required information for an alert to be sent to an opsgenie endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideOpsgenieSettings

settings_override is the override for the opsgenie global endpoint settings

OpsgenieEndpoints

OpsgenieEndpoints is a set of opsgenie endpoints

Field NameTypeDescription
valuesOpsgenieEndpoint[…]

values are the elements of the set

OpsgenieSettings

OpsgenieSettings contain the settings for sending alerts to opsgenie

Field NameTypeDescription
keygoogle.protobuf.StringValue

key is the API key to use when talking to the OpsGenie API

urlgoogle.protobuf.StringValue

url is the url to use when sending alerts to opsgenie

PagerdutyEndpoint

PagerdutyEndpoint contains the required information for an alert to be sent to a pagerduty endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

routing_keygoogle.protobuf.StringValue

routing_key is the routing key for sending pagerduty alerts

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overridePagerdutySettings

settings_override is the override for the pagerduty global endpoint settings

PagerdutyEndpoints

PagerdutyEndpoints is a set of pagerduty endpoints

Field NameTypeDescription
valuesPagerdutyEndpoint[…]

values are the elements of the set

PagerdutySettings

PagerdutySettings contain the settings for sending alerts to pagerduty

Field NameTypeDescription
urlgoogle.protobuf.StringValue

url is the url to use when sending alerts to pagerduty

Priorities

Priorities is a mapping of CV event severities to syslog severities

Field NameTypeDescription
criticalgoogle.protobuf.Int32Value

critical priority, default = 2 (Critical)

errorgoogle.protobuf.Int32Value

error priority, default = 3 (Error)

warngoogle.protobuf.Int32Value

warn priority, default = 4 (Warning)

infogoogle.protobuf.Int32Value

info priority, default = 6 (Informational)

PushoverEndpoint

PushoverEndpoint contains the required information for an alert to be sent to a pushover endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

tokengoogle.protobuf.StringValue

token is the user’s registered application’s API token, see https://pushover.net/apps

user_keygoogle.protobuf.StringValue

user_key is the user’s user key

http_overrideHttpSettings

http_override is the override of the global http settings

Pushover does not have a settings override

PushoverEndpoints

PushoverEndpoints is a set of pushover endpoints

Field NameTypeDescription
valuesPushoverEndpoint[…]

values are the elements of the set

Rule

Rule is a rule to send to a certain broadcast group

Field NameTypeDescription
sends_togoogle.protobuf.StringValue

sends_to is the name of the broadcast group top send matching alerts to

match_criteriaMatches

match_criteria is the criteria that an alert must match to be sent to the broadcast group

continue_checksgoogle.protobuf.BoolValue

continue_checks if true, causes alerts matching this rule’s criteria to continue

checking against other rules, allowing for additional matches. If false,

alerts matching this rule will not proceed with checking

commentgoogle.protobuf.StringValue

comment is a comment to include that will be displayed in the alert

Rules

Rules is a list of rules which dictates which events generate alerts for which broadcast groups

Field NameTypeDescription
valuesRule[…]

values contains the rules

SNMPAuth

SNMPAuth contain authentication information for SNMP

Field NameTypeDescription
communitygoogle.protobuf.StringValue

community is the community string used for authentication in SNMPv1 and v2c

required if version < 3

usernamegoogle.protobuf.StringValue

username the username for SNMPv3 auth

security_levelSNMPSecurityLevel

security_level the security level for SNMPv3

authentication_protocolSNMPAuthProtocol

authentication_protocol is the protocol to use for authentication in SNMPv3

required for AUTH_NO_PRIV/AUTH_PRIV security levels

authentication_passphrasegoogle.protobuf.StringValue

authentication_passphrase is the passphrase to use for authentication in SNMPv3

required for AUTH_NO_PRIV/AUTH_PRIV security levels

privacy_protocolSNMPPrivProtocol

privacy_protocol is the protocol to use for privacy in SNMPv3

required for AUTH_PRIV security level

privacy_passphrasegoogle.protobuf.StringValue

privacy_passphrase is the passphrase to use for privacy in SNMPv3

required for AUTH_PRIV security level

SNMPEndpoint

SNMPEndpoint contains the required information for an alert to be sent to an SNMP endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

settings_overrideSNMPSettings

settings_override is the override for the microsoft teams global endpoint settings

SNMPEndpoints

SNMPEndpoints is a set of SNMP endpoints

Field NameTypeDescription
valuesSNMPEndpoint[…]

values are the elements of the set

SNMPSettings

SNMPSettings contain the settings for sending alerts with SNMP

Field NameTypeDescription
targetgoogle.protobuf.StringValue

target is an ipv4 address to send messages to

portgoogle.protobuf.Int32Value

port is the network port to target

transportgoogle.protobuf.StringValue

transport is the transport protocol to use (“udp” or “tcp”); if unset “udp” will be used

versiongoogle.protobuf.Int32Value

version is the SNMP version, v1, v2c and v3 are supported and can be set

with 1, 2 and 3 respectively

authSNMPAuth

auth is optional authentication settings

engine_idgoogle.protobuf.StringValue

engine_id is the engine ID that will be used by the Alerter

This should be a hexadecimal string, colon separators between bytes will be accepted when

writing, but will be absent when reading

optional: if excluded or left blank, this will be automatically generated

SendgridEndpoint

SendgridEndpoint contains the required information for an alert to be sent to a sendgrid endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

togoogle.protobuf.StringValue

to address to send email to

http_overrideHttpSettings

http_override is the override of the global http settings

SendgridEndpoints

SendgridEndpoints is a set of sendgrid endpoints

Field NameTypeDescription
valuesSendgridEndpoint[…]

values are the elements of the set

SendgridSettings

SendgridSettings contain the settings for sending emails via sendgrid

Field NameTypeDescription
api_keygoogle.protobuf.StringValue

api_key is the api key to use

fromgoogle.protobuf.StringValue

from is the email address to send from

Settings

Settings portion of config, a list of default global settings used by broadcast groups

Field NameTypeDescription
emailEmailSettings

email is the global default settings for email

httpHttpSettings

http is the global default settings for http

slackSlackSettings

slack is the global default settings for slack

victoropsVictoropsSettings

victorops is the global default settings for victorops

pagerdutyPagerdutySettings

pagerduty is the global default settings for pagerduty

opsgenieOpsgenieSettings

opsgenie is the global default settings for opsgenie

gchatGoogleChatSettings

gchat is the global default settings for google chat

msteamsMsTeamsSettings

msteams is the global default settings for ms teams

inhibitionInhibitionSettings

inhibition defines the inhibition rules for alerts, allowing events of certain types to be

suppressed while another event type is active

base_urlgoogle.protobuf.StringValue

base_url is the root address of your CloudVision app. Used to generate links in notifications.

timezonegoogle.protobuf.StringValue

timezone is used for formatting event times in notifications. E.g. ‘UTC’, ‘US/Pacific’

syslogSyslogSettings

syslog is the global default settings for syslog

snmpSNMPSettings

snmp is the global default settings for snmp

sendgridSendgridSettings

sendgrid is the global default settings for sendgrid

cue_syslogCueSyslogSettings

cue_syslog is the global default settings for cue syslog

cue_snmpCueSNMPSettings

cue_snmp is the global default settings for cue snmp

cue_sendgridCueSendgridSettings

cue_sendgrid is the global default settings for cue sendgrid

hide_tagsgoogle.protobuf.BoolValue

hide_tags is used to by the alerting system to omit tags and other “superfluous”

values from the notifications that are sent out by the system

zoomZoomSettings

zoom is the global default settings for zoom

SlackEndpoint

SlackEndpoint contains the required information for an alert to be sent to a slack endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideSlackSettings

settings_override is the override for the slack global endpoint settings

SlackEndpoints

SlackEndpoints is a set of slack endpoints

Field NameTypeDescription
valuesSlackEndpoint[…]

values are the elements of the set

SlackSettings

SlackSettings contain the settings for sending alerts to slack

Field NameTypeDescription
urlgoogle.protobuf.StringValue

url is the url of the slack webhook to use

SyslogEndpoint

SyslogEndpoint contains the required information for an alert to be sent to a syslog endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

settings_overrideSyslogSettings

settings_override is the override for the microsoft teams global endpoint settings

SyslogEndpoints

SyslogEndpoints is a set of syslog endpoints

Field NameTypeDescription
valuesSyslogEndpoint[…]

values are the elements of the set

SyslogSettings

SyslogSettings contain the settings for sending alerts with syslog

Field NameTypeDescription
networkgoogle.protobuf.StringValue

network is the network protocol to use, default is “udp”,

options also include: tcp,tcp4,tcp6,udp4,udp6

addressgoogle.protobuf.StringValue

address is the network address to send syslog messages to

facilitygoogle.protobuf.Int32Value

facility is the syslog facility 0-23 inc. This is the syslog facility as defined in RFC-3164

prioritiesPriorities

priorities describes how CVP severity maps to syslog priority

priority is a number between 0-7 inc. as defined in RFC-3164

taggoogle.protobuf.StringValue

tag is the syslog TAG as described in RFC-3164, it is the prefix to all syslog messages

per_devicegoogle.protobuf.BoolValue

per_device allows message to optionally be sent per device,

if an event concerns two devices the behaviour is changed based on this option:

true: two messages are sent, one for each device

false: a single message is sent

use_tlsgoogle.protobuf.BoolValue

use_tls determines if the connection to the server should be secured with TLS

TemplateConfig

TemplateConfig represents a template configuration

Field NameTypeDescription
keyTemplateKey

key identifies which template the configuration is for

templategoogle.protobuf.StringValue

template is the string template value to be used

Templates need to be compatible with their respective parsers

Message templates are read and parsed by https://golang.org/pkg/text/template/

Html templates are read and parsed by https://golang.org/pkg/html/template/

Templates must output valid JSON for certain templates

Templates must not fail for any valid input

TemplateKey

TemplateKey is used to identify templates for event notifications

Field NameTypeDescription
template_typeTemplateType

template_type is the enum value to match with the template

VictorOpsEndpoint

VictorOpsEndpoint contains the required information for an alert to be sent to a victorOps endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

routing_keygoogle.protobuf.StringValue

routing_key is the PagerDuty integration key

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideVictoropsSettings

settings_override is the override for the victorops global endpoint settings

VictorOpsEndpoints

VictorOpsEndpoints is a set of victorOps endpoints

Field NameTypeDescription
valuesVictorOpsEndpoint[…]

values are the elements of the set

VictoropsSettings

VictoropsSettings contain the settings for sending alerts to victorops

Field NameTypeDescription
keygoogle.protobuf.StringValue

key is the API key to use when talking to the VictorOps API

urlgoogle.protobuf.StringValue

url is the victorops url to use (without integration or routing key

default: https://alert.victorops.com/integrations/generic/20131114/alert/

WebhookEndpoint

WebhookEndpoint contains the required information for an alert to be sent to a webhook endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

urlgoogle.protobuf.StringValue

url is the url

http_overrideHttpSettings

http_override is the override of the global http settings

simple_outputgoogle.protobuf.BoolValue

simple_output is a boolean flag to control the JSON structure of the webhook body.

When false the output mimics the old alertmanager format.

When true the output is a simple array of json objects which each represent an event.

single_alertgoogle.protobuf.BoolValue

single_alert is a boolean flag that will cause an individual webhook message to be sent per

alert when true.

Webhook does not have a settings override

WebhookEndpoints

WebhookEndpoints is a set of webhook endpoints

Field NameTypeDescription
valuesWebhookEndpoint[…]

values are the elements of the set

ZoomEndpoint

ZoomEndpoint contains the required information for an alert to be sent to a zoom endpoint

Field NameTypeDescription
send_resolvedgoogle.protobuf.BoolValue

send_resolved send alerts when events are resolved along with when they are triggered

http_overrideHttpSettings

http_override is the override of the global http settings

settings_overrideZoomSettings

settings_override is the override for the zoom global endpoint settings

ZoomEndpoints

ZoomEndpoints is a set of zoom endpoints

Field NameTypeDescription
valuesZoomEndpoint[…]

values are the elements of the set

ZoomSettings

ZoomSettings contain the settings for sending alerts to zoom

Field NameTypeDescription
urlgoogle.protobuf.StringValue

url is the zoom incoming webhook URL to send messages to

verification_tokengoogle.protobuf.StringValue

verification_token is the verification token to authenticate with

ConfigErrorType

ConfigErrorType describes the set of possible config error types

NameNumberDescription
CONFIG_ERROR_TYPE_UNSPECIFIED0

CONFIG_ERROR_TYPE_UNSPECIFIED is the unspecified enum value

CONFIG_ERROR_TYPE_INVALID_FORMAT2

CONFIG_ERROR_TYPE_INVALID_FORMAT is caused by invalid format for value (eg: url)

CONFIG_ERROR_TYPE_INVALID_SYNTAX3

CONFIG_ERROR_TYPE_INVALID_SYNTAX is caused by invalid syntax for value (eg: regex)

CONFIG_ERROR_TYPE_TEMPLATE_INVALID4

CONFIG_ERROR_TYPE_TEMPLATE_INVALID is caused by failure to parse a template

CONFIG_ERROR_TYPE_ILLEGAL_VALUE5

CONFIG_ERROR_TYPE_ILLEGAL_VALUE is caused by a value outside of its bounds

CONFIG_ERROR_TYPE_MISSING_REQUIRED6

CONFIG_ERROR_TYPE_MISSING_REQUIRED is caused by a missing required attribute

CONFIG_ERROR_TYPE_INVALID_TYPE7

CONFIG_ERROR_TYPE_INVALID_TYPE is caused by the wrong type found in backing store

CueSNMPAuthProtocol

CueSNMPAuthProtocol represents the authentication protocol to be used

NameNumberDescription
CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED0

CUE_SNMP_AUTH_PROTOCOL_UNSPECIFIED is the unspecified enum value

CUE_SNMP_AUTH_PROTOCOL_MD51

CUE_SNMP_AUTH_PROTOCOL_MD5 use the md5 protocol

CUE_SNMP_AUTH_PROTOCOL_SHA2

CUE_SNMP_AUTH_PROTOCOL_SHA use the sha protocol

CueSNMPPrivProtocol

CueSNMPPrivProtocol represents the privacy protocol to be used

NameNumberDescription
CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED0

CUE_SNMP_PRIV_PROTOCOL_UNSPECIFIED is the unspecified enum value

CUE_SNMP_PRIV_PROTOCOL_DES1

CUE_SNMP_PRIV_PROTOCOL_DES use the des protocol

CUE_SNMP_PRIV_PROTOCOL_AES2

CUE_SNMP_PRIV_PROTOCOL_AES use the aes protocol

CueSyslogMessageFormat

CueSyslogMessageFormat is the message format for cue syslog messages

NameNumberDescription
CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED0

CUE_SYSLOG_MESSAGE_FORMAT_UNSPECIFIED is the unspecified enum value

CUE_SYSLOG_MESSAGE_FORMAT_PLAIN1

CUE_SYSLOG_MESSAGE_FORMAT_PLAIN format uses the text format for constructing the syslog message

CUE_SYSLOG_MESSAGE_FORMAT_IDMEF2

CUE_SYSLOG_MESSAGE_FORMAT_IDMEF uses IDMEF message format as described here:

https://datatracker.ietf.org/doc/html/rfc4765

EndpointErrorType

EndpointErrorType describe the set of possible endpoint types

NameNumberDescription
ENDPOINT_ERROR_TYPE_UNSPECIFIED0

ENDPOINT_ERROR_TYPE_UNSPECIFIED is the unspecified enum value

ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR1

ENDPOINT_ERROR_TYPE_HTTP_POST_ERROR an error in sending HTTP request or reading a HTTP

response

ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR2

ENDPOINT_ERROR_TYPE_JSON_MARSHAL_ERROR is caused by errors while encoding json

ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR3

ENDPOINT_ERROR_TYPE_INVALID_CONFIG_ERROR is an error caused by invalid config (missing,

bad format, etc)

ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR4

ENDPOINT_ERROR_TYPE_TEMPLATE_ERROR is caused by errors while executing templates

ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR5

ENDPOINT_ERROR_TYPE_BAD_RESPONSE_ERROR is caused by receiving a negative response from an

endpoint indicating that the alert was not sent

ENDPOINT_ERROR_TYPE_SMTP_ERROR6

ENDPOINT_ERROR_TYPE_SMTP_ERROR is caused by errors with SMTP

ENDPOINT_ERROR_TYPE_CONNECTION_ERROR7

ENDPOINT_ERROR_TYPE_CONNECTION_ERROR is caused by errors with a connection

ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR8

ENDPOINT_ERROR_TYPE_TIMEOUT_ERROR is caused by errors with a connection

ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR9

ENDPOINT_ERROR_TYPE_RATE_LIMIT_ERROR is caused by an Alerter rate limit being exceeded

ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR10

ENDPOINT_ERROR_TYPE_ALERT_CAP_ERROR is caused by the number of alerts sent to a sender

exceeding the built-in limit

ENDPOINT_ERROR_TYPE_O_AUTH_ERROR11

ENDPOINT_ERROR_TYPE_O_AUTH_ERROR is caused when we failed authenticating using the

OAuth apis

SNMPAuthProtocol

SNMPAuthProtocol represents the authentication protocol to be used

NameNumberDescription
SNMP_AUTH_PROTOCOL_UNSPECIFIED0

SNMP_AUTH_PROTOCOL_UNSPECIFIED is the unspecified enum value

SNMP_AUTH_PROTOCOL_MD51

SNMP_AUTH_PROTOCOL_MD5 use the md5 protocol

SNMP_AUTH_PROTOCOL_SHA2

SNMP_AUTH_PROTOCOL_SHA use the sha protocol

SNMP_AUTH_PROTOCOL_SHA_2243

SNMP_AUTH_PROTOCOL_SHA_224 use the sha224 protocol

SNMP_AUTH_PROTOCOL_SHA_2564

SNMP_AUTH_PROTOCOL_SHA_256 use the sha256 protocol

SNMP_AUTH_PROTOCOL_SHA_3845

SNMP_AUTH_PROTOCOL_SHA_384 use the sha384 protocol

SNMP_AUTH_PROTOCOL_SHA_5126

SNMP_AUTH_PROTOCOL_SHA_512 use the sha512 protocol

SNMPPrivProtocol

SNMPPrivProtocol represents the privacy protocol to be used

NameNumberDescription
SNMP_PRIV_PROTOCOL_UNSPECIFIED0

SNMP_PRIV_PROTOCOL_UNSPECIFIED is the unspecified enum value

SNMP_PRIV_PROTOCOL_DES1

SNMP_PRIV_PROTOCOL_DES use the des protocol

SNMP_PRIV_PROTOCOL_AES2

SNMP_PRIV_PROTOCOL_AES use the aes protocol

SNMP_PRIV_PROTOCOL_AES_1923

SNMP_PRIV_PROTOCOL_AES_192 use the aes192 protocol

SNMP_PRIV_PROTOCOL_AES_2564

SNMP_PRIV_PROTOCOL_AES_256 use the aes256 protocol

SNMP_PRIV_PROTOCOL_AES_192C5

SNMP_PRIV_PROTOCOL_AES_192C use the aes192c protocol

SNMP_PRIV_PROTOCOL_AES_256C6

SNMP_PRIV_PROTOCOL_AES_256C use the aes256c protocol

SNMPSecurityLevel

SNMPSecurityLevel indicates what level of security should be used

NameNumberDescription
SNMP_SECURITY_LEVEL_UNSPECIFIED0

SNMP_SECURITY_LEVEL_UNSPECIFIED is the unspecified enum value

SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV1

SNMP_SECURITY_LEVEL_NO_AUTH_NO_PRIV use no security

SNMP_SECURITY_LEVEL_AUTH_NO_PRIV2

SNMP_SECURITY_LEVEL_AUTH_NO_PRIV use authentication without privacy

SNMP_SECURITY_LEVEL_AUTH_PRIV3

SNMP_SECURITY_LEVEL_AUTH_PRIV use both authentication and privacy

TemplateOutput

TemplateOutput is an enum of all of the possible output formats for templates

NameNumberDescription
TEMPLATE_OUTPUT_UNSPECIFIED0

TEMPLATE_OUTPUT_UNSPECIFIED is the unspecfied value.

TEMPLATE_OUTPUT_TEXT1

TEMPLATE_OUTPUT_TEXT indicates the the template outputs plain text.

TEMPLATE_OUTPUT_JSON2

TEMPLATE_OUTPUT_JSON indicates the the template outputs JSON.

TEMPLATE_OUTPUT_HTML3

TEMPLATE_OUTPUT_HTML indicates the the template outputs HTML.

This also indicates that “html/templates” will be used instead of “text/templates” so that

html characters are automatically escaped from input.

TemplateType

TemplateType describes the types of Templates that are usable

NameNumberDescription
TEMPLATE_TYPE_UNSPECIFIED0

TEMPLATE_TYPE_UNSPECIFIED is the unspecified enum value

TEMPLATE_TYPE_EMAIL_HTML1

TEMPLATE_TYPE_EMAIL_HTML is the key of the html template for sent emails

TEMPLATE_TYPE_EMAIL_TEXT2

TEMPLATE_TYPE_EMAIL_TEXT is the key of the text template for sent emails

TEMPLATE_TYPE_SLACK_MESSAGE3

TEMPLATE_TYPE_SLACK_MESSAGE is the key of the message template for sent slack messages

TEMPLATE_TYPE_PUSHOVER_MESSAGE4

TEMPLATE_TYPE_PUSHOVER_MESSAGE is the key of the message template for sent pushover messages

TEMPLATE_TYPE_PAGERDUTY_SUMMARY5

TEMPLATE_TYPE_PAGERDUTY_SUMMARY is the key of the summary template for sent pagerduty messages

TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME6

TEMPLATE_TYPE_VICTOROPS_DISPLAY_NAME is the key of the display name template for sent victorops

messages

TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE7

TEMPLATE_TYPE_VICTOROPS_STATE_MESSAGE is the key of the state message template for sent

victorops messages

TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE8

TEMPLATE_TYPE_GOOGLE_CHAT_MESSAGE is the key of the message template for sent Google chat

messages

TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE9

TEMPLATE_TYPE_MICROSOFT_TEAMS_MESSAGE is the key of the message template for sent Microsoft

teams messages

TEMPLATE_TYPE_EMAIL_SUBJECT10

TEMPLATE_TYPE_EMAIL_SUBJECT is the key of the subject line template of a sent email

TEMPLATE_TYPE_SYSLOG_MESSAGE11

TEMPLATE_TYPE_SYSLOG_MESSAGE is the key of the message template for a syslog message part

TEMPLATE_TYPE_OPSGENIE_MESSAGE12

TEMPLATE_TYPE_OPSGENIE_MESSAGE is the key of the message template for a opsgenie alert

TEMPLATE_TYPE_ZOOM_MESSAGE13

TEMPLATE_TYPE_ZOOM_MESSAGE is the key of the message template for sent Zoom messages

TEMPLATE_TYPE_EMAIL_SINGLE_HTML14

TEMPLATE_TYPE_EMAIL_SINGLE_HTML is the key of the html template for sent emails when the

single alert per email option is selected

TEMPLATE_TYPE_EMAIL_SINGLE_TEXT15

TEMPLATE_TYPE_EMAIL_SINGLE_TEXT is the key of the text template for sent emails when the

single alert per email option is selected

TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT16

TEMPLATE_TYPE_EMAIL_SINGLE_SUBJECT is the key of the subject line template of a sent email

when the single alert per email option is selected

TEMPLATE_TYPE_WEBHOOK_SINGLE17

TEMPLATE_TYPE_WEBHOOK_SINGLE is the key of the template for webhook message body when the

single_alert option is true

TEMPLATE_TYPE_WEBHOOK_MULTIPLE18

TEMPLATE_TYPE_WEBHOOK_MULTIPLE is the key of the template for webhook message body when the

single_alert option is false

Top

arista/alert.v1/services.gen.proto

AlertConfigRequest

Field NameTypeDescription
timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

AlertConfigResponse

Field NameTypeDescription
valueAlertConfig

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

timegoogle.protobuf.Timestamp

Time carries the (UTC) timestamp of the last-modification of the

AlertConfig instance in this response.

AlertConfigSetRequest

Field NameTypeDescription
valueAlertConfig

AlertConfig carries the value to set into the datastore.

See the documentation on the AlertConfig struct for which fields are required.

AlertConfigSetResponse

Field NameTypeDescription
valueAlertConfig

Value carries all the values given in the AlertConfigSetRequest as well

as any server-generated values.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

creation. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==CreatedAt will include this instance.

AlertConfigStreamRequest

Field NameTypeDescription
timearista.time.TimeBounds

TimeRange allows limiting response data to within a specified time window.

If this field is populated, at least one of the two time fields are required.

For GetAll, the fields start and end can be used as follows:

* end: Returns the state of each AlertConfig at end.

* Each AlertConfig response is fully-specified (all fields set).

* start: Returns the state of each AlertConfig at start, followed by updates until now.

* Each AlertConfig response at start is fully-specified, but updates may be partial.

* start and end: Returns the state of each AlertConfig at start, followed by updates

until end.

* Each AlertConfig response at start is fully-specified, but updates until end may

be partial.

This field is not allowed in the Subscribe RPC.

AlertConfigStreamResponse

Field NameTypeDescription
valueAlertConfig

Value is a value deemed relevant to the initiating request.

This structure will always have its key-field populated. Which other fields are

populated, and why, depends on the value of Operation and what triggered this notification.

timegoogle.protobuf.Timestamp

Time holds the timestamp of this AlertConfig’s last modification.

typearista.subscriptions.Operation

Operation indicates how the AlertConfig value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

AlertRequest

Field NameTypeDescription
timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

AlertResponse

Field NameTypeDescription
valueAlert

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

timegoogle.protobuf.Timestamp

Time carries the (UTC) timestamp of the last-modification of the

Alert instance in this response.

AlertStreamRequest

Field NameTypeDescription
timearista.time.TimeBounds

TimeRange allows limiting response data to within a specified time window.

If this field is populated, at least one of the two time fields are required.

For GetAll, the fields start and end can be used as follows:

* end: Returns the state of each Alert at end.

* Each Alert response is fully-specified (all fields set).

* start: Returns the state of each Alert at start, followed by updates until now.

* Each Alert response at start is fully-specified, but updates may be partial.

* start and end: Returns the state of each Alert at start, followed by updates

until end.

* Each Alert response at start is fully-specified, but updates until end may

be partial.

This field is not allowed in the Subscribe RPC.

AlertStreamResponse

Field NameTypeDescription
valueAlert

Value is a value deemed relevant to the initiating request.

This structure will always have its key-field populated. Which other fields are

populated, and why, depends on the value of Operation and what triggered this notification.

timegoogle.protobuf.Timestamp

Time holds the timestamp of this Alert’s last modification.

typearista.subscriptions.Operation

Operation indicates how the Alert value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

DefaultTemplateRequest

Field NameTypeDescription
keyTemplateKey

Key uniquely identifies a DefaultTemplate instance to retrieve.

This value must be populated.

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

DefaultTemplateResponse

Field NameTypeDescription
valueDefaultTemplate

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

timegoogle.protobuf.Timestamp

Time carries the (UTC) timestamp of the last-modification of the

DefaultTemplate instance in this response.

DefaultTemplateSomeRequest

Field NameTypeDescription
keysTemplateKey[…]

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

DefaultTemplateSomeResponse

Field NameTypeDescription
valueDefaultTemplate

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

errorgoogle.protobuf.StringValue

Error is an optional field.

It should be filled when there is an error in the GetSome process.

timegoogle.protobuf.Timestamp

DefaultTemplateStreamRequest

Field NameTypeDescription
timearista.time.TimeBounds

TimeRange allows limiting response data to within a specified time window.

If this field is populated, at least one of the two time fields are required.

For GetAll, the fields start and end can be used as follows:

* end: Returns the state of each DefaultTemplate at end.

* Each DefaultTemplate response is fully-specified (all fields set).

* start: Returns the state of each DefaultTemplate at start, followed by updates until now.

* Each DefaultTemplate response at start is fully-specified, but updates may be partial.

* start and end: Returns the state of each DefaultTemplate at start, followed by updates

until end.

* Each DefaultTemplate response at start is fully-specified, but updates until end may

be partial.

This field is not allowed in the Subscribe RPC.

DefaultTemplateStreamResponse

Field NameTypeDescription
valueDefaultTemplate

Value is a value deemed relevant to the initiating request.

This structure will always have its key-field populated. Which other fields are

populated, and why, depends on the value of Operation and what triggered this notification.

timegoogle.protobuf.Timestamp

Time holds the timestamp of this DefaultTemplate’s last modification.

typearista.subscriptions.Operation

Operation indicates how the DefaultTemplate value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

MetaResponse

Field NameTypeDescription
timegoogle.protobuf.Timestamp

Time holds the timestamp of the last item included in the metadata calculation.

typearista.subscriptions.Operation

Operation indicates how the value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

countgoogle.protobuf.UInt32Value

Count is the number of items present under the conditions of the request.

TemplateConfigDeleteAllRequest

TemplateConfigDeleteAllResponse

Field NameTypeDescription
typefmp.DeleteError

This describes the class of delete error.

errorgoogle.protobuf.StringValue

This indicates the error message from the delete failure.

keyTemplateKey

This is the key of the TemplateConfig instance that failed to be deleted.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp when the key was being deleted.

TemplateConfigDeleteRequest

Field NameTypeDescription
keyTemplateKey

Key indicates which TemplateConfig instance to remove.

This field must always be set.

TemplateConfigDeleteResponse

Field NameTypeDescription
keyTemplateKey

Key echoes back the key of the deleted TemplateConfig instance.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

deletion. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==DeletedAt will not include this instance.

TemplateConfigDeleteSomeRequest

Field NameTypeDescription
keysTemplateKey[…]

key contains a list of TemplateConfig keys to delete

TemplateConfigDeleteSomeResponse

TemplateConfigDeleteSomeResponse is only sent when there is an error.

Field NameTypeDescription
keyTemplateKey

errorstring

TemplateConfigRequest

Field NameTypeDescription
keyTemplateKey

Key uniquely identifies a TemplateConfig instance to retrieve.

This value must be populated.

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

TemplateConfigResponse

Field NameTypeDescription
valueTemplateConfig

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

timegoogle.protobuf.Timestamp

Time carries the (UTC) timestamp of the last-modification of the

TemplateConfig instance in this response.

TemplateConfigSetRequest

Field NameTypeDescription
valueTemplateConfig

TemplateConfig carries the value to set into the datastore.

See the documentation on the TemplateConfig struct for which fields are required.

TemplateConfigSetResponse

Field NameTypeDescription
valueTemplateConfig

Value carries all the values given in the TemplateConfigSetRequest as well

as any server-generated values.

timegoogle.protobuf.Timestamp

Time indicates the (UTC) timestamp at which the system recognizes the

creation. The only guarantees made about this timestamp are:

- it is after the time the request was received

- a time-ranged query with StartTime==CreatedAt will include this instance.

TemplateConfigSetSomeRequest

Field NameTypeDescription
valuesTemplateConfig[…]

value contains a list of TemplateConfig values to write.

It is possible to provide more values than can fit within either:

- the maxiumum send size of the client

- the maximum receive size of the server

If this error occurs you must reduce the number of values sent.

See gRPC “maximum message size” documentation for more information.

TemplateConfigSetSomeResponse

Field NameTypeDescription
keyTemplateKey

errorstring

TemplateConfigSomeRequest

Field NameTypeDescription
keysTemplateKey[…]

timegoogle.protobuf.Timestamp

Time indicates the time for which you are interested in the data.

If no time is given, the server will use the time at which it makes the request.

TemplateConfigSomeResponse

Field NameTypeDescription
valueTemplateConfig

Value is the value requested.

This structure will be fully-populated as it exists in the datastore. If

optional fields were not given at creation, these fields will be empty or

set to default values.

errorgoogle.protobuf.StringValue

Error is an optional field.

It should be filled when there is an error in the GetSome process.

timegoogle.protobuf.Timestamp

TemplateConfigStreamRequest

Field NameTypeDescription
timearista.time.TimeBounds

TimeRange allows limiting response data to within a specified time window.

If this field is populated, at least one of the two time fields are required.

For GetAll, the fields start and end can be used as follows:

* end: Returns the state of each TemplateConfig at end.

* Each TemplateConfig response is fully-specified (all fields set).

* start: Returns the state of each TemplateConfig at start, followed by updates until now.

* Each TemplateConfig response at start is fully-specified, but updates may be partial.

* start and end: Returns the state of each TemplateConfig at start, followed by updates

until end.

* Each TemplateConfig response at start is fully-specified, but updates until end may

be partial.

This field is not allowed in the Subscribe RPC.

TemplateConfigStreamResponse

Field NameTypeDescription
valueTemplateConfig

Value is a value deemed relevant to the initiating request.

This structure will always have its key-field populated. Which other fields are

populated, and why, depends on the value of Operation and what triggered this notification.

timegoogle.protobuf.Timestamp

Time holds the timestamp of this TemplateConfig’s last modification.

typearista.subscriptions.Operation

Operation indicates how the TemplateConfig value in this response should be considered.

Under non-subscribe requests, this value should always be INITIAL. In a subscription,

once all initial data is streamed and the client begins to receive modification updates,

you should not see INITIAL again.

AlertConfigService

Method NameRequest TypeResponse TypeDescription
GetOneAlertConfigRequestAlertConfigResponse

GetAllAlertConfigStreamRequestAlertConfigStreamResponse stream

SubscribeAlertConfigStreamRequestAlertConfigStreamResponse stream

SubscribeMetaAlertConfigStreamRequestMetaResponse stream

SetAlertConfigSetRequestAlertConfigSetResponse

AlertService

Method NameRequest TypeResponse TypeDescription
GetOneAlertRequestAlertResponse

GetAllAlertStreamRequestAlertStreamResponse stream

SubscribeAlertStreamRequestAlertStreamResponse stream

SubscribeMetaAlertStreamRequestMetaResponse stream

DefaultTemplateService

Method NameRequest TypeResponse TypeDescription
GetOneDefaultTemplateRequestDefaultTemplateResponse

GetSomeDefaultTemplateSomeRequestDefaultTemplateSomeResponse stream

GetAllDefaultTemplateStreamRequestDefaultTemplateStreamResponse stream

SubscribeDefaultTemplateStreamRequestDefaultTemplateStreamResponse stream

GetMetaDefaultTemplateStreamRequestMetaResponse

SubscribeMetaDefaultTemplateStreamRequestMetaResponse stream

TemplateConfigService

Method NameRequest TypeResponse TypeDescription
GetOneTemplateConfigRequestTemplateConfigResponse

GetSomeTemplateConfigSomeRequestTemplateConfigSomeResponse stream

GetAllTemplateConfigStreamRequestTemplateConfigStreamResponse stream

SubscribeTemplateConfigStreamRequestTemplateConfigStreamResponse stream

GetMetaTemplateConfigStreamRequestMetaResponse

SubscribeMetaTemplateConfigStreamRequestMetaResponse stream

SetTemplateConfigSetRequestTemplateConfigSetResponse

SetSomeTemplateConfigSetSomeRequestTemplateConfigSetSomeResponse stream

DeleteTemplateConfigDeleteRequestTemplateConfigDeleteResponse

DeleteSomeTemplateConfigDeleteSomeRequestTemplateConfigDeleteSomeResponse stream

DeleteAllTemplateConfigDeleteAllRequestTemplateConfigDeleteAllResponse stream