import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduled Action. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testScheduledAction = oci.database.getScheduledAction({ * scheduledActionId: testScheduledActionOciDatabaseScheduledAction.id, * }); * ``` */ export declare function getScheduledAction(args: GetScheduledActionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getScheduledAction. */ export interface GetScheduledActionArgs { /** * The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ scheduledActionId: string; } /** * A collection of values returned by getScheduledAction. */ export interface GetScheduledActionResult { /** * The list of action members in a scheduled action. */ readonly actionMembers: outputs.Database.GetScheduledActionActionMember[]; /** * The order of the scheduled action. */ readonly actionOrder: number; /** * Map where a key value pair describes the specific action parameter. Example: `{"count": "3"}` */ readonly actionParams: { [key: string]: string; }; /** * The type of the scheduled action being performed */ readonly actionType: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * 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: { [key: string]: string; }; /** * The display name of the Scheduled Action. */ readonly displayName: string; /** * The estimated patching time for the scheduled action. */ readonly estimatedTimeInMins: number; /** * 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"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduled Action. */ readonly id: string; readonly scheduledActionId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan. */ readonly schedulingPlanId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window. */ readonly schedulingWindowId: string; /** * The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: string; /** * System 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 systemTags: { [key: string]: string; }; /** * The date and time the Scheduled Action Resource was created. */ readonly timeCreated: string; /** * The date and time the Scheduled Action Resource was updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Scheduled Action resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduled Action. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testScheduledAction = oci.database.getScheduledAction({ * scheduledActionId: testScheduledActionOciDatabaseScheduledAction.id, * }); * ``` */ export declare function getScheduledActionOutput(args: GetScheduledActionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getScheduledAction. */ export interface GetScheduledActionOutputArgs { /** * The Scheduled Action [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ scheduledActionId: pulumi.Input; } //# sourceMappingURL=getScheduledAction.d.ts.map