redfish_codegen/models/event_destination/v1_13_1/event_destination_protocol.rs
1// Generated by redfish-codegen. Do not modify.
2
3
4#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
5pub enum EventDestinationProtocol {
6 /// This value shall indicate the destination follows the Redfish Specification for event notifications. Destinations requesting EventFormatType of `Event` shall receive a Redfish resource of type Event. Destinations requesting EventFormatType of `MetricReport` shall receive a Redfish resource of type MetricReport.
7 Redfish,
8 /// This value shall indicate the destination follows the Apache-defined Kafka protocol as defined by the Kafka Protocol Guide. The Context property shall contain the Kafka topic of the destination broker. Added in version v1_13_0.
9 Kafka,
10 /// This value shall indicate the destination follows the RFC1157-defined SNMPv1 protocol. Added in version v1_7_0.
11 SNMPv1,
12 /// This value shall indicate the destination follows the SNMPv2c protocol as defined by RFC1441 and RFC1452. Added in version v1_7_0.
13 #[serde(rename = "SNMPv2c")]
14 SNMPv2,
15 /// This value shall indicate the destination follows the SNMPv3 protocol as defined by RFC3411 and RFC3418. Added in version v1_7_0.
16 SNMPv3,
17 /// This value shall indicate the destination follows the RFC5321-defined SMTP specification. Added in version v1_7_0.
18 SMTP,
19 /// This value shall indicate the destination follows the TLS-based transport for syslog as defined in RFC5424. Added in version v1_9_0.
20 SyslogTLS,
21 /// This value shall indicate the destination follows the TCP-based transport for syslog as defined in RFC6587. Added in version v1_9_0.
22 SyslogTCP,
23 /// This value shall indicate the destination follows the UDP-based transport for syslog as defined in RFC5424. Added in version v1_9_0.
24 SyslogUDP,
25 /// This value shall indicate the destination follows the Reliable Event Logging Protocol (RELP) transport for syslog as defined by www.rsyslog.com. Added in version v1_9_0.
26 SyslogRELP,
27 /// This value shall indicate an OEM specific protocol. The OEMProtocol property shall contain the specific OEM event destination protocol. Added in version v1_9_0.
28 OEM,
29}
30
31#[allow(clippy::derivable_impls)]
32impl Default for EventDestinationProtocol {
33 fn default() -> EventDestinationProtocol {
34 EventDestinationProtocol::Redfish
35 }
36}
37
38impl crate::Metadata<'static> for EventDestinationProtocol {
39 const JSON_SCHEMA: &'static str = "EventDestination.v1_13_1.json";
40}