import * as pulumi from "@pulumi/pulumi"; /** * An Automation Actions [runner](https://developer.pagerduty.com/api-reference/d78999fb7e863-create-an-automation-action-runner) is the method for how actions are executed. This can be done locally using an installed runner agent or as a connection to a PD Runbook Automation instance. * * > Only Runbook Automation (runbook) runners can be created. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pagerduty from "@pulumi/pagerduty"; * * const config = new pulumi.Config(); * const RUNBOOK_API_KEY = config.require("RUNBOOK_API_KEY"); * const example = new pagerduty.AutomationActionsRunner("example", { * name: "Runner created via TF", * description: "Description of the Runner created via TF", * runnerType: "runbook", * runbookBaseUri: "rdcat.stg", * runbookApiKey: RUNBOOK_API_KEY, * }); * ``` * * ## Import * * > In the example below the `runbookApiKey` attribute has been omitted to avoid resource replacement after the import. * * Runners can be imported using the `id`, e.g. * * ```sh * resource "pagerduty_automation_actions_runner" "example" { * name = "Runner created via TF" * description = "Description of the Runner created via TF" * runner_type = "runbook" * runbook_base_uri = "rdcat.stg" * } * ``` * ```sh * $ pulumi import pagerduty:index/automationActionsRunner:AutomationActionsRunner example 01DER7CUUBF7TH4116K0M4WKPU * ``` */ export declare class AutomationActionsRunner extends pulumi.CustomResource { /** * Get an existing AutomationActionsRunner 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?: AutomationActionsRunnerState, opts?: pulumi.CustomResourceOptions): AutomationActionsRunner; /** * Returns true if the given object is an instance of AutomationActionsRunner. 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 AutomationActionsRunner; /** * The time runner was created. Represented as an ISO 8601 timestamp. */ readonly creationTime: pulumi.Output; /** * The description of the runner. Max length is 1024 characters. */ readonly description: pulumi.Output; /** * (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp. * * @deprecated This field will be set as Computed-only in a future version. The lastSeen timestamp is provided by the API but should not be managed by Terraform as it represents runtime state. */ readonly lastSeen: pulumi.Output; /** * The name of the runner. Max length is 255 characters. */ readonly name: pulumi.Output; /** * The unique User API Token created in Runbook Automation. */ readonly runbookApiKey: pulumi.Output; /** * The subdomain for your Runbook Automation Instance. */ readonly runbookBaseUri: pulumi.Output; /** * The type of runner. The only allowed values is `runbook`. */ readonly runnerType: pulumi.Output; /** * The type of object. The value returned will be `runner`. */ readonly type: pulumi.Output; /** * Create a AutomationActionsRunner 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: AutomationActionsRunnerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutomationActionsRunner resources. */ export interface AutomationActionsRunnerState { /** * The time runner was created. Represented as an ISO 8601 timestamp. */ creationTime?: pulumi.Input; /** * The description of the runner. Max length is 1024 characters. */ description?: pulumi.Input; /** * (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp. * * @deprecated This field will be set as Computed-only in a future version. The lastSeen timestamp is provided by the API but should not be managed by Terraform as it represents runtime state. */ lastSeen?: pulumi.Input; /** * The name of the runner. Max length is 255 characters. */ name?: pulumi.Input; /** * The unique User API Token created in Runbook Automation. */ runbookApiKey?: pulumi.Input; /** * The subdomain for your Runbook Automation Instance. */ runbookBaseUri?: pulumi.Input; /** * The type of runner. The only allowed values is `runbook`. */ runnerType?: pulumi.Input; /** * The type of object. The value returned will be `runner`. */ type?: pulumi.Input; } /** * The set of arguments for constructing a AutomationActionsRunner resource. */ export interface AutomationActionsRunnerArgs { /** * The description of the runner. Max length is 1024 characters. */ description?: pulumi.Input; /** * (Optional) The last time runner has been seen. Represented as an ISO 8601 timestamp. * * @deprecated This field will be set as Computed-only in a future version. The lastSeen timestamp is provided by the API but should not be managed by Terraform as it represents runtime state. */ lastSeen?: pulumi.Input; /** * The name of the runner. Max length is 255 characters. */ name?: pulumi.Input; /** * The unique User API Token created in Runbook Automation. */ runbookApiKey?: pulumi.Input; /** * The subdomain for your Runbook Automation Instance. */ runbookBaseUri?: pulumi.Input; /** * The type of runner. The only allowed values is `runbook`. */ runnerType: pulumi.Input; }