import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Datadog Dataset resource. This can be used to create and manage Datadog datasets. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create new dataset resource * const foo = new datadog.Dataset("foo", { * name: "HR Dataset", * principals: ["role:00000000-0000-1111-0000-000000000000"], * productFilters: [{ * product: "rum", * filters: ["@application.id:123"], * }], * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/dataset:Dataset foo "" * ``` */ export declare class Dataset extends pulumi.CustomResource { /** * Get an existing Dataset 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?: DatasetState, opts?: pulumi.CustomResourceOptions): Dataset; /** * Returns true if the given object is an instance of Dataset. 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 Dataset; /** * Indicates when the dataset was created (in ISO 8601). */ readonly createdAt: pulumi.Output; /** * Indicates who created the dataset. */ readonly createdBy: pulumi.Output; /** * The name of the dataset. */ readonly name: pulumi.Output; /** * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `team`. */ readonly principals: pulumi.Output; readonly productFilters: pulumi.Output; /** * Create a Dataset 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: DatasetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Dataset resources. */ export interface DatasetState { /** * Indicates when the dataset was created (in ISO 8601). */ createdAt?: pulumi.Input; /** * Indicates who created the dataset. */ createdBy?: pulumi.Input; /** * The name of the dataset. */ name?: pulumi.Input; /** * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `team`. */ principals?: pulumi.Input[]>; productFilters?: pulumi.Input[]>; } /** * The set of arguments for constructing a Dataset resource. */ export interface DatasetArgs { /** * The name of the dataset. */ name: pulumi.Input; /** * An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `team`. */ principals: pulumi.Input[]>; productFilters?: pulumi.Input[]>; }