pub struct EventForwarderCreateWebhook {Show 21 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 event_types: Option<Vec<String>>,
pub every: Option<String>,
pub gateways_event_source_locations: Vec<String>,
pub items_event_source_locations: Option<Vec<String>>,
pub json: Option<bool>,
pub key: Option<String>,
pub name: String,
pub password: Option<String>,
pub private_key_data: Option<String>,
pub runner_type: 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
EventForwarderCreateWebhook : eventForwarderCreateWebhook is a command that creates 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
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]
every: Option<String>Rate of periodic runner repetition in hours
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
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
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
runner_type: String§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 EventForwarderCreateWebhook
impl Clone for EventForwarderCreateWebhook
Source§fn clone(&self) -> EventForwarderCreateWebhook
fn clone(&self) -> EventForwarderCreateWebhook
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 EventForwarderCreateWebhook
impl Debug for EventForwarderCreateWebhook
Source§impl Default for EventForwarderCreateWebhook
impl Default for EventForwarderCreateWebhook
Source§fn default() -> EventForwarderCreateWebhook
fn default() -> EventForwarderCreateWebhook
Source§impl<'de> Deserialize<'de> for EventForwarderCreateWebhook
impl<'de> Deserialize<'de> for EventForwarderCreateWebhook
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 EventForwarderCreateWebhook
impl PartialEq for EventForwarderCreateWebhook
Source§fn eq(&self, other: &EventForwarderCreateWebhook) -> bool
fn eq(&self, other: &EventForwarderCreateWebhook) -> bool
self and other values to be equal, and is used by ==.