import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog [Logs Archive API](https://docs.datadoghq.com/api/v2/logs-archives/) resource, which is used to manage Datadog log archives order. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * const sampleArchiveOrder = new datadog.LogsArchiveOrder("sample_archive_order", {archiveIds: [ * sampleArchive1.id, * sampleArchive2.id, * ]}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * There must be at most one datadog.LogsArchiveOrder resource. You can import the datadog.LogsArchiveOrder or create an archive order. * * ```sh * $ pulumi import datadog:index/logsArchiveOrder:LogsArchiveOrder name> archiveOrderID * ``` */ export declare class LogsArchiveOrder extends pulumi.CustomResource { /** * Get an existing LogsArchiveOrder 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?: LogsArchiveOrderState, opts?: pulumi.CustomResourceOptions): LogsArchiveOrder; /** * Returns true if the given object is an instance of LogsArchiveOrder. 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 LogsArchiveOrder; /** * The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs. If `archiveIds` is empty or not specified, it will import the actual archive order, and create the resource. Otherwise, it will try to update the order. */ readonly archiveIds: pulumi.Output; /** * Create a LogsArchiveOrder 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?: LogsArchiveOrderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsArchiveOrder resources. */ export interface LogsArchiveOrderState { /** * The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs. If `archiveIds` is empty or not specified, it will import the actual archive order, and create the resource. Otherwise, it will try to update the order. */ archiveIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a LogsArchiveOrder resource. */ export interface LogsArchiveOrderArgs { /** * The archive IDs list. The order of archive IDs in this attribute defines the overall archive order for logs. If `archiveIds` is empty or not specified, it will import the actual archive order, and create the resource. Otherwise, it will try to update the order. */ archiveIds?: pulumi.Input[]>; }