import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Data source to retrieve a specific Auth0 action by `name`. */ export declare function getAction(args?: GetActionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAction. */ export interface GetActionArgs { /** * The ID of the action. If not provided, `name` must be set. */ id?: string; /** * The name of the action. If not provided, `id` must be set. */ name?: string; } /** * A collection of values returned by getAction. */ export interface GetActionResult { /** * The source code of the action. */ readonly code: string; /** * List of third party npm modules, and their versions, that this action depends on. */ readonly dependencies: outputs.GetActionDependency[]; /** * Deploying an action will create a new immutable version of the action. If the action is currently bound to a trigger, then the system will begin executing the newly deployed version of the action immediately. */ readonly deploy: boolean; /** * The ID of the action. If not provided, `name` must be set. */ readonly id?: string; /** * List of action modules and their versions that this action depends on. */ readonly modules: outputs.GetActionModule[]; /** * The name of the action. If not provided, `id` must be set. */ readonly name?: string; /** * The Node runtime. Possible values are: `node12`, `node16` (not recommended), `node18`, `node22` */ readonly runtime: string; /** * List of secrets that are included in an action or a version of an action. Partial management of secrets is not supported. If the secret block is edited, the whole object is re-provisioned. **Note:** Secret values are persisted in Terraform state as plain text. For better security, consider using `secretsWo` instead, which supports write-only values and ephemeral variables. */ readonly secrets: outputs.GetActionSecret[]; /** * Version number for `secretsWo` changes. Adding, renaming, or removing a `secretsWo` entry is detected automatically, but changing only the **value** of an existing secret is not (write-only values are not tracked in state). Increment this value to push value-only changes to the API. */ readonly secretsWoVersion: number; /** * List of secrets for the action (write-only). Secret values are only available during resource creation and update, and are **not** stored in Terraform state. Adding, renaming, or removing an entry is applied automatically; to change only the value of an existing secret, bump the `secretsWoVersion` attribute. To remove all secrets, delete the `secretsWo` blocks together with the `secretsWoVersion` attribute. This is an ordered list, so reordering the blocks is treated as a change. Conflicts with `secrets`. */ readonly secretsWos: outputs.GetActionSecretsWo[]; /** * The build status of the action. Possible values: `built`, `failed`, `building`, `pending`, `retrying`. If the action is in `failed` state, the next `pulumi preview` will show a replacement to re-trigger the build. */ readonly status: string; /** * List of triggers that this action supports. At this time, an action can only target a single trigger at a time. Read Retrieving the set of triggers available within actions to retrieve the latest trigger versions supported. */ readonly supportedTriggers: outputs.GetActionSupportedTrigger[]; /** * Version ID of the action. This value is available if `deploy` is set to true. */ readonly versionId: string; } /** * Data source to retrieve a specific Auth0 action by `name`. */ export declare function getActionOutput(args?: GetActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAction. */ export interface GetActionOutputArgs { /** * The ID of the action. If not provided, `name` must be set. */ id?: pulumi.Input; /** * The name of the action. If not provided, `id` must be set. */ name?: pulumi.Input; } //# sourceMappingURL=getAction.d.ts.map