Databricks SDK for JavaScript
    Preparing search index...

    The calling user's spend against a single blocking threshold. Values may be omitted if live spend or threshold data is temporarily unavailable.

    interface AlertSpendStatus {
        percentConsumed?: string;
        scopeType?: AlertConfigurationScopeType;
        spend?: string;
        threshold?: string;
        timePeriod?: AlertConfigurationTimePeriod;
    }
    Index

    Properties

    percentConsumed?: string

    Percentage of the threshold consumed, as a decimal string rounded down to one decimal place (for example, "68.4" means 68.4%). May exceed 100 when spend is over the threshold. Returns "0.0" if there's no spend, except that a $0 threshold always returns "100.0". For shared thresholds, this is the only value returned; the absolute spend and threshold dollar amounts are withheld.

    Whether the threshold is evaluated per individual user (ALERT_CONFIGURATION_SCOPE_TYPE_PER_USER) or on the shared spend across all users (ALERT_CONFIGURATION_SCOPE_TYPE_SHARED).

    spend?: string

    The calling user's live spend against this threshold, in USD at list price. Returns "0" if the caller has no usage. Omitted for shared thresholds, where only percent_consumed is returned.

    threshold?: string

    The calling user's effective threshold, in USD at list price. The effective threshold is the actual threshold amount that applies to the user, after adjusting for any user or group overrides. Omitted for shared thresholds, where only percent_consumed is returned.

    The time window the threshold applies to, for example MONTH.