import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Execution Action resource in Oracle Cloud Infrastructure Database service. * * Creates an execution action resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExecutionAction = new oci.database.ExecutionAction("test_execution_action", { * actionType: executionActionActionType, * executionWindowId: testExecutionWindow.id, * actionMembers: [{ * memberId: testMember.id, * memberOrder: Number(executionActionActionMembersMemberOrder), * estimatedTimeInMins: Number(executionActionActionMembersEstimatedTimeInMins), * status: executionActionActionMembersStatus, * totalTimeTakenInMins: Number(executionActionActionMembersTotalTimeTakenInMins), * }], * actionParams: executionActionActionParams, * compartmentId: compartmentId, * definedTags: executionActionDefinedTags, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * ExecutionActions can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/executionAction:ExecutionAction test_execution_action "id" * ``` */ export declare class ExecutionAction extends pulumi.CustomResource { /** * Get an existing ExecutionAction 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?: ExecutionActionState, opts?: pulumi.CustomResourceOptions): ExecutionAction; /** * Returns true if the given object is an instance of ExecutionAction. 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 ExecutionAction; /** * (Updatable) List of action members of this execution action. */ readonly actionMembers: pulumi.Output; /** * (Updatable) Map where a key value pair describes the specific action parameter. Example: `{"count": "3"}` */ readonly actionParams: pulumi.Output<{ [key: string]: string; }>; /** * The action type of the execution action being performed */ readonly actionType: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * Description of the execution action. */ readonly description: pulumi.Output; /** * The user-friendly name for the execution action. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * The estimated time of the execution action in minutes. */ readonly estimatedTimeInMins: pulumi.Output; /** * The priority order of the execution action. */ readonly executionActionOrder: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to. */ readonly executionWindowId: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. */ readonly lifecycleSubstate: pulumi.Output; /** * The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. */ readonly state: pulumi.Output; /** * The date and time the execution action was created. */ readonly timeCreated: pulumi.Output; /** * The last date and time that the execution action was updated. */ readonly timeUpdated: pulumi.Output; /** * The total time taken by corresponding resource activity in minutes. */ readonly totalTimeTakenInMins: pulumi.Output; /** * Create a ExecutionAction 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: ExecutionActionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExecutionAction resources. */ export interface ExecutionActionState { /** * (Updatable) List of action members of this execution action. */ actionMembers?: pulumi.Input[] | undefined>; /** * (Updatable) Map where a key value pair describes the specific action parameter. Example: `{"count": "3"}` */ actionParams?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The action type of the execution action being performed */ actionType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Description of the execution action. */ description?: pulumi.Input; /** * The user-friendly name for the execution action. The name does not need to be unique. */ displayName?: pulumi.Input; /** * The estimated time of the execution action in minutes. */ estimatedTimeInMins?: pulumi.Input; /** * The priority order of the execution action. */ executionActionOrder?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to. */ executionWindowId?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The current sub-state of the execution action. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING. */ lifecycleSubstate?: pulumi.Input; /** * The current state of the execution action. Valid states are SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS. */ state?: pulumi.Input; /** * The date and time the execution action was created. */ timeCreated?: pulumi.Input; /** * The last date and time that the execution action was updated. */ timeUpdated?: pulumi.Input; /** * The total time taken by corresponding resource activity in minutes. */ totalTimeTakenInMins?: pulumi.Input; } /** * The set of arguments for constructing a ExecutionAction resource. */ export interface ExecutionActionArgs { /** * (Updatable) List of action members of this execution action. */ actionMembers?: pulumi.Input[] | undefined>; /** * (Updatable) Map where a key value pair describes the specific action parameter. Example: `{"count": "3"}` */ actionParams?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The action type of the execution action being performed */ actionType: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the execution window resource the execution action belongs to. */ executionWindowId: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=executionAction.d.ts.map