import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog API Key resource. This can be used to create and manage Datadog API Keys. Import functionality for this resource is deprecated and will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use this resource to create and manage new API keys. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // Create a new Datadog API Key * const foo = new datadog.ApiKey("foo", {name: "foo-application"}); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * ```sh * $ pulumi import datadog:index/apiKey:ApiKey foo 11111111-2222-3333-4444-555555555555 * ``` */ export declare class ApiKey extends pulumi.CustomResource { /** * Get an existing ApiKey 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?: ApiKeyState, opts?: pulumi.CustomResourceOptions): ApiKey; /** * Returns true if the given object is an instance of ApiKey. 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 ApiKey; /** * The value of the API Key. */ readonly key: pulumi.Output; /** * Name for API Key. */ readonly name: pulumi.Output; /** * Whether the API key is used for remote config. Set to true only if remote config is enabled in `/organization-settings/remote-config`. */ readonly remoteConfigReadEnabled: pulumi.Output; /** * Create a ApiKey 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: ApiKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApiKey resources. */ export interface ApiKeyState { /** * The value of the API Key. */ key?: pulumi.Input; /** * Name for API Key. */ name?: pulumi.Input; /** * Whether the API key is used for remote config. Set to true only if remote config is enabled in `/organization-settings/remote-config`. */ remoteConfigReadEnabled?: pulumi.Input; } /** * The set of arguments for constructing a ApiKey resource. */ export interface ApiKeyArgs { /** * Name for API Key. */ name: pulumi.Input; /** * Whether the API key is used for remote config. Set to true only if remote config is enabled in `/organization-settings/remote-config`. */ remoteConfigReadEnabled?: pulumi.Input; }