import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class Slo extends pulumi.CustomResource { /** * Get an existing Slo resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SloState, opts?: pulumi.CustomResourceOptions): Slo; /** * Returns true if the given object is an instance of Slo. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Slo; /** * The total count metric (the denominator in rate calculation) */ readonly denominator: pulumi.Output; /** * The custom description of the SLO (optional) */ readonly description: pulumi.Output; /** * The SLO is enabled (`false`) or disabled (`true`) */ readonly disabled: pulumi.Output; /** * Error budget burn rate configuration of a service-level objective (SLO). */ readonly errorBudgetBurnRate: pulumi.Output; /** * The evaluation type of the SLO. Currently only `AGGREGATE` is supported */ readonly evaluation: pulumi.Output; /** * The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector) */ readonly filter: pulumi.Output; /** * The percentage-based metric expression for the calculation of the SLO */ readonly metricExpression: pulumi.Output; /** * The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed. */ readonly metricName: pulumi.Output; /** * The name of the rule */ readonly name: pulumi.Output; /** * The metric for the count of successes (the numerator in rate calculation) * * @deprecated `numerator` and `denominator` have been replaced by `metricExpression` */ readonly numerator: pulumi.Output; /** * The percentage-based metric for the calculation of the SLO */ readonly rate: pulumi.Output; /** * The target value of the SLO */ readonly target: pulumi.Output; /** * The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector */ readonly timeframe: pulumi.Output; /** * The warning value of the SLO. At warning state the SLO is still fulfilled but is getting close to failure */ readonly warning: pulumi.Output; /** * Create a Slo resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SloArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Slo resources. */ export interface SloState { /** * The total count metric (the denominator in rate calculation) */ denominator?: pulumi.Input; /** * The custom description of the SLO (optional) */ description?: pulumi.Input; /** * The SLO is enabled (`false`) or disabled (`true`) */ disabled?: pulumi.Input; /** * Error budget burn rate configuration of a service-level objective (SLO). */ errorBudgetBurnRate?: pulumi.Input; /** * The evaluation type of the SLO. Currently only `AGGREGATE` is supported */ evaluation?: pulumi.Input; /** * The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector) */ filter?: pulumi.Input; /** * The percentage-based metric expression for the calculation of the SLO */ metricExpression?: pulumi.Input; /** * The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed. */ metricName?: pulumi.Input; /** * The name of the rule */ name?: pulumi.Input; /** * The metric for the count of successes (the numerator in rate calculation) * * @deprecated `numerator` and `denominator` have been replaced by `metricExpression` */ numerator?: pulumi.Input; /** * The percentage-based metric for the calculation of the SLO */ rate?: pulumi.Input; /** * The target value of the SLO */ target?: pulumi.Input; /** * The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector */ timeframe?: pulumi.Input; /** * The warning value of the SLO. At warning state the SLO is still fulfilled but is getting close to failure */ warning?: pulumi.Input; } /** * The set of arguments for constructing a Slo resource. */ export interface SloArgs { /** * The total count metric (the denominator in rate calculation) */ denominator?: pulumi.Input; /** * The custom description of the SLO (optional) */ description?: pulumi.Input; /** * The SLO is enabled (`false`) or disabled (`true`) */ disabled?: pulumi.Input; /** * Error budget burn rate configuration of a service-level objective (SLO). */ errorBudgetBurnRate?: pulumi.Input; /** * The evaluation type of the SLO. Currently only `AGGREGATE` is supported */ evaluation: pulumi.Input; /** * The entity filter for the SLO evaluation. Use the [syntax of entity selector](https://dt-url.net/entityselector) */ filter?: pulumi.Input; /** * The percentage-based metric expression for the calculation of the SLO */ metricExpression?: pulumi.Input; /** * The name that is used to create SLO func metrics keys. Once created, metric name cannot be changed. */ metricName?: pulumi.Input; /** * The name of the rule */ name?: pulumi.Input; /** * The metric for the count of successes (the numerator in rate calculation) * * @deprecated `numerator` and `denominator` have been replaced by `metricExpression` */ numerator?: pulumi.Input; /** * The percentage-based metric for the calculation of the SLO */ rate?: pulumi.Input; /** * The target value of the SLO */ target: pulumi.Input; /** * The timeframe for the SLO evaluation. Use the syntax of the global timeframe selector */ timeframe: pulumi.Input; /** * The warning value of the SLO. At warning state the SLO is still fulfilled but is getting close to failure */ warning: pulumi.Input; }