pub struct AzureTrigger {Show 22 fields
pub azure_resource_path: String,
pub azure_mode: AzureMode,
pub scope_resource_id: String,
pub topic_name: Option<Option<String>>,
pub subscription_name: String,
pub event_type_filters: Option<Option<Vec<String>>>,
pub server_id: Option<String>,
pub last_server_ping: Option<String>,
pub error: Option<String>,
pub error_handler_path: Option<String>,
pub error_handler_args: Option<HashMap<String, Value>>,
pub retry: Option<Box<Retry>>,
pub path: String,
pub script_path: String,
pub permissioned_as: String,
pub extra_perms: HashMap<String, bool>,
pub workspace_id: String,
pub edited_by: String,
pub edited_at: String,
pub is_flow: bool,
pub mode: TriggerMode,
pub labels: Option<Vec<String>>,
}Expand description
AzureTrigger : An Azure Event Grid trigger that executes a script or flow when events arrive.
Fields§
§azure_resource_path: String§azure_mode: AzureMode§scope_resource_id: StringARM resource ID of the topic (basic) or namespace (namespace modes).
topic_name: Option<Option<String>>Topic name within the namespace (namespace modes only).
subscription_name: String§event_type_filters: Option<Option<Vec<String>>>§server_id: Option<String>§last_server_ping: Option<String>§error: Option<String>§error_handler_path: Option<String>§error_handler_args: Option<HashMap<String, Value>>The arguments to pass to the script or flow
retry: Option<Box<Retry>>§path: StringThe unique path identifier for this trigger
script_path: StringPath to the script or flow to execute when triggered
permissioned_as: StringThe user or group this trigger runs as (permissioned_as)
extra_perms: HashMap<String, bool>Additional permissions for this trigger
workspace_id: StringThe workspace this trigger belongs to
edited_by: StringUsername of the last person who edited this trigger
edited_at: StringTimestamp of the last edit
is_flow: boolTrue if script_path points to a flow, false if it points to a script
mode: TriggerMode§labels: Option<Vec<String>>Implementations§
Source§impl AzureTrigger
impl AzureTrigger
Sourcepub fn new(
azure_resource_path: String,
azure_mode: AzureMode,
scope_resource_id: String,
subscription_name: String,
path: String,
script_path: String,
permissioned_as: String,
extra_perms: HashMap<String, bool>,
workspace_id: String,
edited_by: String,
edited_at: String,
is_flow: bool,
mode: TriggerMode,
) -> AzureTrigger
pub fn new( azure_resource_path: String, azure_mode: AzureMode, scope_resource_id: String, subscription_name: String, path: String, script_path: String, permissioned_as: String, extra_perms: HashMap<String, bool>, workspace_id: String, edited_by: String, edited_at: String, is_flow: bool, mode: TriggerMode, ) -> AzureTrigger
An Azure Event Grid trigger that executes a script or flow when events arrive.
Trait Implementations§
Source§impl Clone for AzureTrigger
impl Clone for AzureTrigger
Source§fn clone(&self) -> AzureTrigger
fn clone(&self) -> AzureTrigger
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AzureTrigger
impl Debug for AzureTrigger
Source§impl Default for AzureTrigger
impl Default for AzureTrigger
Source§fn default() -> AzureTrigger
fn default() -> AzureTrigger
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AzureTrigger
impl<'de> Deserialize<'de> for AzureTrigger
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AzureTrigger
impl PartialEq for AzureTrigger
Source§impl Serialize for AzureTrigger
impl Serialize for AzureTrigger
impl StructuralPartialEq for AzureTrigger
Auto Trait Implementations§
impl Freeze for AzureTrigger
impl RefUnwindSafe for AzureTrigger
impl Send for AzureTrigger
impl Sync for AzureTrigger
impl Unpin for AzureTrigger
impl UnsafeUnpin for AzureTrigger
impl UnwindSafe for AzureTrigger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more