pub fn provider_stopped(
annotations: &BTreeMap<String, String>,
host_id: impl AsRef<str>,
provider_id: impl AsRef<str>,
reason: impl AsRef<str>,
) -> ValueExpand description
Generates an event payload for when a provider stops
§Arguments
annotations- Key-value pairs of metadata annotationshost_id- ID of the host where provider stoppedprovider_id- Unique identifier for the providerreason- Reason for stopping the provider
§Returns
JSON object containing provider stop details