provider_stopped

Function provider_stopped 

Source
pub fn provider_stopped(
    annotations: &BTreeMap<String, String>,
    host_id: impl AsRef<str>,
    provider_id: impl AsRef<str>,
    reason: impl AsRef<str>,
) -> Value
Expand description

Generates an event payload for when a provider stops

§Arguments

  • annotations - Key-value pairs of metadata annotations
  • host_id - ID of the host where provider stopped
  • provider_id - Unique identifier for the provider
  • reason - Reason for stopping the provider

§Returns

JSON object containing provider stop details