import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog Log Restriction Query resource. This can be used to create and manage Datadog Log Restriction Queries. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Manage a Datadog log restriction query * const testLrq = new datadog.LogsRestrictionQuery("test_lrq", { * restrictionQuery: "service:foo", * roleIds: [ * "00000000-0000-1111-0000-000000000000", * "11111111-1111-0000-1111-111111111111", * ], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/logsRestrictionQuery:LogsRestrictionQuery test_lrq "" * ``` */ export declare class LogsRestrictionQuery extends pulumi.CustomResource { /** * Get an existing LogsRestrictionQuery 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?: LogsRestrictionQueryState, opts?: pulumi.CustomResourceOptions): LogsRestrictionQuery; /** * Returns true if the given object is an instance of LogsRestrictionQuery. 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 LogsRestrictionQuery; /** * Creation time of the restriction query (in ISO 8601). */ readonly createdAt: pulumi.Output; /** * Time of last restriction query modification (in ISO 8601). */ readonly modifiedAt: pulumi.Output; /** * The query that defines the restriction. Only the content matching the query can be returned. */ readonly restrictionQuery: pulumi.Output; /** * An array of role IDs that have access to this restriction query. */ readonly roleIds: pulumi.Output; /** * Create a LogsRestrictionQuery 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: LogsRestrictionQueryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LogsRestrictionQuery resources. */ export interface LogsRestrictionQueryState { /** * Creation time of the restriction query (in ISO 8601). */ createdAt?: pulumi.Input; /** * Time of last restriction query modification (in ISO 8601). */ modifiedAt?: pulumi.Input; /** * The query that defines the restriction. Only the content matching the query can be returned. */ restrictionQuery?: pulumi.Input; /** * An array of role IDs that have access to this restriction query. */ roleIds?: pulumi.Input[]>; } /** * The set of arguments for constructing a LogsRestrictionQuery resource. */ export interface LogsRestrictionQueryArgs { /** * The query that defines the restriction. Only the content matching the query can be returned. */ restrictionQuery: pulumi.Input; /** * An array of role IDs that have access to this restriction query. */ roleIds?: pulumi.Input[]>; }