import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Create a ServiceLevelObjective for the given Service. * Auto-naming is currently not supported for this resource. */ export declare class ServiceLevelObjective extends pulumi.CustomResource { /** * Get an existing ServiceLevelObjective 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ServiceLevelObjective; /** * Returns true if the given object is an instance of ServiceLevelObjective. 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 ServiceLevelObjective; /** * A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. */ readonly calendarPeriod: pulumi.Output; /** * Name used for UI elements listing this SLO. */ readonly displayName: pulumi.Output; /** * The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999. */ readonly goal: pulumi.Output; /** * Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] */ readonly name: pulumi.Output; /** * A rolling time period, semantically "in the past ". Must be an integer multiple of 1 day no larger than 30 days. */ readonly rollingPeriod: pulumi.Output; readonly serviceId: pulumi.Output; /** * The definition of good service, used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. */ readonly serviceLevelIndicator: pulumi.Output; /** * Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$ */ readonly serviceLevelObjectiveId: pulumi.Output; /** * Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value. */ readonly userLabels: pulumi.Output<{ [key: string]: string; }>; readonly v3Id: pulumi.Output; readonly v3Id1: pulumi.Output; /** * Create a ServiceLevelObjective 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: ServiceLevelObjectiveArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ServiceLevelObjective resource. */ export interface ServiceLevelObjectiveArgs { /** * A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. */ calendarPeriod?: pulumi.Input; /** * Name used for UI elements listing this SLO. */ displayName?: pulumi.Input; /** * The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999. */ goal?: pulumi.Input; /** * Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME] */ name?: pulumi.Input; /** * A rolling time period, semantically "in the past ". Must be an integer multiple of 1 day no larger than 30 days. */ rollingPeriod?: pulumi.Input; serviceId: pulumi.Input; /** * The definition of good service, used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. */ serviceLevelIndicator?: pulumi.Input; /** * Optional. The ServiceLevelObjective id to use for this ServiceLevelObjective. If omitted, an id will be generated instead. Must match the pattern ^[a-zA-Z0-9-_:.]+$ */ serviceLevelObjectiveId?: pulumi.Input; /** * Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value. */ userLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; v3Id: pulumi.Input; v3Id1: pulumi.Input; }