/** * Database Service API * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). * OpenAPI spec version: 20160918 * Contact: sic_dbaas_cp_us_grp@oracle.com * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import * as model from "../model"; /** * Details of a Scheduled Action. * */ export interface ScheduledAction { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduled Action. */ "id": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan. */ "schedulingPlanId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ "compartmentId": string; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Window. */ "schedulingWindowId"?: string; /** * The display name of the Scheduled Action. */ "displayName": string; /** * The order of the scheduled action. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "actionOrder": number; /** * The type of the scheduled action being performed */ "actionType": ScheduledAction.ActionType; /** * The current state of the Scheduled Action. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. * */ "lifecycleState": ScheduledAction.LifecycleState; /** * The estimated patching time for the scheduled action. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "estimatedTimeInMins"?: number; /** * Map where a key value pair describes the specific action parameter. * Example: {@code {\"count\": \"3\"}} * */ "actionParams"?: { [key: string]: string; }; /** * The list of action members in a scheduled action. */ "actionMembers"?: Array; /** * 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). *

Example: {@code {\"Department\": \"Finance\"}} * */ "freeformTags"?: { [key: string]: string; }; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * */ "definedTags"?: { [key: string]: { [key: string]: any; }; }; /** * System tags for this resource. Each key is predefined and scoped to a namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). * */ "systemTags"?: { [key: string]: { [key: string]: any; }; }; /** * The date and time the Scheduled Action Resource was created. */ "timeCreated": Date; /** * The date and time the Scheduled Action Resource was updated. */ "timeUpdated"?: Date; } export declare namespace ScheduledAction { enum ActionType { DbServerFullSoftwareUpdate = "DB_SERVER_FULL_SOFTWARE_UPDATE", StorageServerFullSoftwareUpdate = "STORAGE_SERVER_FULL_SOFTWARE_UPDATE", NetworkSwitchFullSoftwareUpdate = "NETWORK_SWITCH_FULL_SOFTWARE_UPDATE", FsuVmClusterOsSoftwareUpdate = "FSU_VM_CLUSTER_OS_SOFTWARE_UPDATE", FsuVmClusterGiSoftwareUpdate = "FSU_VM_CLUSTER_GI_SOFTWARE_UPDATE", FsuVmClusterGiOsSoftwareUpdate = "FSU_VM_CLUSTER_GI_OS_SOFTWARE_UPDATE", DbServerOnlineSoftwareUpdate = "DB_SERVER_ONLINE_SOFTWARE_UPDATE", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } enum LifecycleState { Creating = "CREATING", NeedsAttention = "NEEDS_ATTENTION", Available = "AVAILABLE", Updating = "UPDATING", Failed = "FAILED", Deleting = "DELETING", Deleted = "DELETED", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. */ UnknownValue = "UNKNOWN_VALUE" } function getJsonObj(obj: ScheduledAction): object; function getDeserializedJsonObj(obj: ScheduledAction): object; }