import * as pulumi from "@pulumi/pulumi"; import { input as inputs } from "../../types"; /** * Creates or adds data to one or more time series. The response is empty if all time series in the request were written. If any time series could not be written, a corresponding failure message is included in the error response. */ export declare class TimeSeries extends pulumi.CustomResource { /** * Get an existing TimeSeries 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): TimeSeries; /** * Returns true if the given object is an instance of TimeSeries. 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 TimeSeries; /** * Create a TimeSeries 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: TimeSeriesArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a TimeSeries resource. */ export interface TimeSeriesArgs { readonly projectsId: pulumi.Input; /** * Required. The new data to be added to a list of time series. Adds at most one data point to each of several time series. The new data point must be more recent than any other point in its time series. Each TimeSeries value must fully specify a unique time series by supplying all label values for the metric and the monitored resource.The maximum number of TimeSeries objects per Create request is 200. */ readonly timeSeries?: pulumi.Input[]>; }