pub struct ThresholdsResourceUsageThresholdConfig {
pub filters: Option<Vec<ThresholdsResourceUsageAlertFilter>>,
pub gte: i64,
pub meter: Expandable<BillingMeter>,
pub recurrence: ThresholdsResourceUsageThresholdConfigRecurrence,
}
Expand description
The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed.
Fields§
§filters: Option<Vec<ThresholdsResourceUsageAlertFilter>>
The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time.
gte: i64
The value at which this alert will trigger.
meter: Expandable<BillingMeter>
The Billing Meter ID whose usage is monitored.
recurrence: ThresholdsResourceUsageThresholdConfigRecurrence
Defines how the alert will behave.
Trait Implementations§
Source§impl Clone for ThresholdsResourceUsageThresholdConfig
impl Clone for ThresholdsResourceUsageThresholdConfig
Source§fn clone(&self) -> ThresholdsResourceUsageThresholdConfig
fn clone(&self) -> ThresholdsResourceUsageThresholdConfig
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 FromValueOpt for ThresholdsResourceUsageThresholdConfig
impl FromValueOpt for ThresholdsResourceUsageThresholdConfig
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for ThresholdsResourceUsageThresholdConfig
impl RefUnwindSafe for ThresholdsResourceUsageThresholdConfig
impl Send for ThresholdsResourceUsageThresholdConfig
impl Sync for ThresholdsResourceUsageThresholdConfig
impl Unpin for ThresholdsResourceUsageThresholdConfig
impl UnwindSafe for ThresholdsResourceUsageThresholdConfig
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