import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleWorkersForPlatformsDispatchNamespace = new cloudflare.WorkersForPlatformsDispatchNamespace("example_workers_for_platforms_dispatch_namespace", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * name: "my-dispatch-namespace", * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/workersForPlatformsNamespace:WorkersForPlatformsNamespace example '/' * ``` * * @deprecated cloudflare.index/workersforplatformsnamespace.WorkersForPlatformsNamespace has been deprecated in favor of cloudflare.index/workersforplatformsdispatchnamespace.WorkersForPlatformsDispatchNamespace */ export declare class WorkersForPlatformsNamespace extends pulumi.CustomResource { /** * Get an existing WorkersForPlatformsNamespace 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?: WorkersForPlatformsNamespaceState, opts?: pulumi.CustomResourceOptions): WorkersForPlatformsNamespace; /** * Returns true if the given object is an instance of WorkersForPlatformsNamespace. 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 WorkersForPlatformsNamespace; /** * Identifier. */ readonly accountId: pulumi.Output; /** * Identifier. */ readonly createdBy: pulumi.Output; /** * When the script was created. */ readonly createdOn: pulumi.Output; /** * Identifier. */ readonly modifiedBy: pulumi.Output; /** * When the script was last modified. */ readonly modifiedOn: pulumi.Output; /** * The name of the dispatch namespace. */ readonly name: pulumi.Output; /** * API Resource UUID tag. */ readonly namespaceId: pulumi.Output; /** * Name of the Workers for Platforms dispatch namespace. */ readonly namespaceName: pulumi.Output; /** * The current number of scripts in this Dispatch Namespace. */ readonly scriptCount: pulumi.Output; /** * Create a WorkersForPlatformsNamespace 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. */ /** @deprecated cloudflare.index/workersforplatformsnamespace.WorkersForPlatformsNamespace has been deprecated in favor of cloudflare.index/workersforplatformsdispatchnamespace.WorkersForPlatformsDispatchNamespace */ constructor(name: string, args: WorkersForPlatformsNamespaceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkersForPlatformsNamespace resources. */ export interface WorkersForPlatformsNamespaceState { /** * Identifier. */ accountId?: pulumi.Input; /** * Identifier. */ createdBy?: pulumi.Input; /** * When the script was created. */ createdOn?: pulumi.Input; /** * Identifier. */ modifiedBy?: pulumi.Input; /** * When the script was last modified. */ modifiedOn?: pulumi.Input; /** * The name of the dispatch namespace. */ name?: pulumi.Input; /** * API Resource UUID tag. */ namespaceId?: pulumi.Input; /** * Name of the Workers for Platforms dispatch namespace. */ namespaceName?: pulumi.Input; /** * The current number of scripts in this Dispatch Namespace. */ scriptCount?: pulumi.Input; } /** * The set of arguments for constructing a WorkersForPlatformsNamespace resource. */ export interface WorkersForPlatformsNamespaceArgs { /** * Identifier. */ accountId: pulumi.Input; /** * The name of the dispatch namespace. */ name?: pulumi.Input; }