import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class SloV2 extends pulumi.CustomResource { /** * Get an existing SloV2 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?: SloV2State, opts?: pulumi.CustomResourceOptions): SloV2; /** * Returns true if the given object is an instance of SloV2. 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 SloV2; /** * The description of the SLO */ readonly customDescription: pulumi.Output; /** * This setting is enabled (`true`) or disabled (`false`) */ readonly enabled: pulumi.Output; /** * ### Error budget burn rate */ readonly errorBudgetBurnRate: pulumi.Output; /** * Possible Values: `AGGREGATE` */ readonly evaluationType: pulumi.Output; /** * Define the timeframe during which the SLO is to be evaluated. For the timeframe you can enter expressions like -1h (last hour), -1w (last week) or complex expressions like -2d to now (last two days), -1d/d to now/d (beginning of yesterday to beginning of today). */ readonly evaluationWindow: pulumi.Output; /** * Set a filter parameter (entitySelector) on any GET call to evaluate this SLO against specific services only (for example, type("SERVICE")). For details, see the [Entity Selector documentation](https://dt-url.net/entityselector). */ readonly filter: pulumi.Output; /** * The ID of this setting when referred to by the Config REST API V1 */ readonly legacyId: pulumi.Output; /** * For details, see the [Metrics page](https://www.terraform.io/ui/metrics). */ readonly metricExpression: pulumi.Output; /** * Metric name */ readonly metricName: pulumi.Output; /** * SLO name */ readonly name: pulumi.Output; /** * Set the target value of the SLO. A percentage below this value indicates a failure. */ readonly targetSuccess: pulumi.Output; /** * Set the warning value of the SLO. At the warning state the SLO is fulfilled. However, it is getting close to a failure. */ readonly targetWarning: pulumi.Output; /** * Create a SloV2 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: SloV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SloV2 resources. */ export interface SloV2State { /** * The description of the SLO */ customDescription?: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled?: pulumi.Input; /** * ### Error budget burn rate */ errorBudgetBurnRate?: pulumi.Input; /** * Possible Values: `AGGREGATE` */ evaluationType?: pulumi.Input; /** * Define the timeframe during which the SLO is to be evaluated. For the timeframe you can enter expressions like -1h (last hour), -1w (last week) or complex expressions like -2d to now (last two days), -1d/d to now/d (beginning of yesterday to beginning of today). */ evaluationWindow?: pulumi.Input; /** * Set a filter parameter (entitySelector) on any GET call to evaluate this SLO against specific services only (for example, type("SERVICE")). For details, see the [Entity Selector documentation](https://dt-url.net/entityselector). */ filter?: pulumi.Input; /** * The ID of this setting when referred to by the Config REST API V1 */ legacyId?: pulumi.Input; /** * For details, see the [Metrics page](https://www.terraform.io/ui/metrics). */ metricExpression?: pulumi.Input; /** * Metric name */ metricName?: pulumi.Input; /** * SLO name */ name?: pulumi.Input; /** * Set the target value of the SLO. A percentage below this value indicates a failure. */ targetSuccess?: pulumi.Input; /** * Set the warning value of the SLO. At the warning state the SLO is fulfilled. However, it is getting close to a failure. */ targetWarning?: pulumi.Input; } /** * The set of arguments for constructing a SloV2 resource. */ export interface SloV2Args { /** * The description of the SLO */ customDescription?: pulumi.Input; /** * This setting is enabled (`true`) or disabled (`false`) */ enabled: pulumi.Input; /** * ### Error budget burn rate */ errorBudgetBurnRate: pulumi.Input; /** * Possible Values: `AGGREGATE` */ evaluationType: pulumi.Input; /** * Define the timeframe during which the SLO is to be evaluated. For the timeframe you can enter expressions like -1h (last hour), -1w (last week) or complex expressions like -2d to now (last two days), -1d/d to now/d (beginning of yesterday to beginning of today). */ evaluationWindow: pulumi.Input; /** * Set a filter parameter (entitySelector) on any GET call to evaluate this SLO against specific services only (for example, type("SERVICE")). For details, see the [Entity Selector documentation](https://dt-url.net/entityselector). */ filter: pulumi.Input; /** * The ID of this setting when referred to by the Config REST API V1 */ legacyId?: pulumi.Input; /** * For details, see the [Metrics page](https://www.terraform.io/ui/metrics). */ metricExpression: pulumi.Input; /** * Metric name */ metricName?: pulumi.Input; /** * SLO name */ name?: pulumi.Input; /** * Set the target value of the SLO. A percentage below this value indicates a failure. */ targetSuccess: pulumi.Input; /** * Set the warning value of the SLO. At the warning state the SLO is fulfilled. However, it is getting close to a failure. */ targetWarning: pulumi.Input; }