import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkersKvNamespace = new cloudflare.WorkersKvNamespace("example_workers_kv_namespace", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * title: "My Own Namespace", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/workersKvNamespace:WorkersKvNamespace example '/' * ``` */ export declare class WorkersKvNamespace extends pulumi.CustomResource { /** * Get an existing WorkersKvNamespace 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?: WorkersKvNamespaceState, opts?: pulumi.CustomResourceOptions): WorkersKvNamespace; /** * Returns true if the given object is an instance of WorkersKvNamespace. 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 WorkersKvNamespace; /** * Identifier */ readonly accountId: pulumi.Output; /** * True if new beta namespace, with additional preview features. */ readonly beta: pulumi.Output; /** * True if keys written on the URL will be URL-decoded before storing. For example, if set to "true", a key written on the URL as "%3F" will be stored as "?". */ readonly supportsUrlEncoding: pulumi.Output; /** * A human-readable string name for a Namespace. */ readonly title: pulumi.Output; /** * Create a WorkersKvNamespace 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: WorkersKvNamespaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkersKvNamespace resources. */ export interface WorkersKvNamespaceState { /** * Identifier */ accountId?: pulumi.Input; /** * True if new beta namespace, with additional preview features. */ beta?: pulumi.Input; /** * True if keys written on the URL will be URL-decoded before storing. For example, if set to "true", a key written on the URL as "%3F" will be stored as "?". */ supportsUrlEncoding?: pulumi.Input; /** * A human-readable string name for a Namespace. */ title?: pulumi.Input; } /** * The set of arguments for constructing a WorkersKvNamespace resource. */ export interface WorkersKvNamespaceArgs { /** * Identifier */ accountId: pulumi.Input; /** * A human-readable string name for a Namespace. */ title: pulumi.Input; }