pub struct EventForwarderUpdateWebhook {Show 22 fields
pub auth_methods_event_source_locations: Option<Vec<String>>,
pub auth_token: Option<String>,
pub auth_type: Option<String>,
pub client_cert_data: Option<String>,
pub description: Option<String>,
pub enable: Option<String>,
pub event_types: Option<Vec<String>>,
pub gateways_event_source_locations: Vec<String>,
pub items_event_source_locations: Option<Vec<String>>,
pub json: Option<bool>,
pub keep_prev_version: Option<String>,
pub key: Option<String>,
pub name: String,
pub new_name: Option<String>,
pub password: Option<String>,
pub private_key_data: Option<String>,
pub server_certificates: Option<String>,
pub targets_event_source_locations: Option<Vec<String>>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub url: Option<String>,
pub username: Option<String>,
}Expand description
EventForwarderUpdateWebhook : eventForwarderUpdateWebhook is a command that updates webhook event forwarder
Fields§
§auth_methods_event_source_locations: Option<Vec<String>>Auth Method Event sources
auth_token: Option<String>Base64 encoded Token string for authentication type Token
auth_type: Option<String>The Webhook authentication type [user-pass, bearer-token, certificate]
client_cert_data: Option<String>Base64 encoded PEM certificate, relevant for certificate auth-type
description: Option<String>Description of the object
enable: Option<String>Enable/Disable Event Forwarder [true/false]
event_types: Option<Vec<String>>List of event types to notify about [request-access, certificate-pending-expiration, certificate-expired, certificate-provisioning-success, certificate-provisioning-failure, auth-method-pending-expiration, auth-method-expired, next-automatic-rotation, rotated-secret-success, rotated-secret-failure, dynamic-secret-failure, multi-auth-failure, uid-rotation-failure, apply-justification, email-auth-method-approved, usage, rotation-usage, gateway-inactive, static-secret-updated, rate-limiting, usage-report, secret-sync]
gateways_event_source_locations: Vec<String>Event sources
items_event_source_locations: Option<Vec<String>>Items Event sources
json: Option<bool>Set output format to JSON
keep_prev_version: Option<String>Whether to keep previous version [true/false]. If not set, use default according to account settings
key: Option<String>The name of a key that used to encrypt the EventForwarder secret value (if empty, the account default protectionKey key will be used)
name: StringEventForwarder name
new_name: Option<String>New EventForwarder name
password: Option<String>Password for authentication relevant for user-pass auth-type
private_key_data: Option<String>Base64 encoded PEM RSA Private Key, relevant for certificate auth-type
server_certificates: Option<String>Base64 encoded PEM certificate of the Webhook
targets_event_source_locations: Option<Vec<String>>Targets Event sources
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
url: Option<String>Webhook URL
username: Option<String>Username for authentication relevant for user-pass auth-type
Implementations§
Trait Implementations§
Source§impl Clone for EventForwarderUpdateWebhook
impl Clone for EventForwarderUpdateWebhook
Source§fn clone(&self) -> EventForwarderUpdateWebhook
fn clone(&self) -> EventForwarderUpdateWebhook
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventForwarderUpdateWebhook
impl Debug for EventForwarderUpdateWebhook
Source§impl Default for EventForwarderUpdateWebhook
impl Default for EventForwarderUpdateWebhook
Source§fn default() -> EventForwarderUpdateWebhook
fn default() -> EventForwarderUpdateWebhook
Source§impl<'de> Deserialize<'de> for EventForwarderUpdateWebhook
impl<'de> Deserialize<'de> for EventForwarderUpdateWebhook
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for EventForwarderUpdateWebhook
impl PartialEq for EventForwarderUpdateWebhook
Source§fn eq(&self, other: &EventForwarderUpdateWebhook) -> bool
fn eq(&self, other: &EventForwarderUpdateWebhook) -> bool
self and other values to be equal, and is used by ==.