1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. MaintenanceRun
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.MaintenanceRun

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Maintenance Run resource in Oracle Cloud Infrastructure Database service.

    Creates a maintenance run with one of the following: The latest available release update patch (RUP) for the Autonomous Container Database. The latest available RUP and DST time zone (TZ) file updates for the Autonomous Container Database. Creates a maintenance run to update the DST TZ file for the Autonomous Container Database.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMaintenanceRun = new oci.database.MaintenanceRun("test_maintenance_run", {
        patchType: maintenanceRunPatchType,
        targetResourceId: testResource.id,
        timeScheduled: maintenanceRunTimeScheduled,
        compartmentId: compartmentId,
        databaseSoftwareImageId: testDatabaseSoftwareImage.id,
        isDstFileUpdateEnabled: maintenanceRunIsDstFileUpdateEnabled,
        patchingMode: maintenanceRunPatchingMode,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_maintenance_run = oci.database.MaintenanceRun("test_maintenance_run",
        patch_type=maintenance_run_patch_type,
        target_resource_id=test_resource["id"],
        time_scheduled=maintenance_run_time_scheduled,
        compartment_id=compartment_id,
        database_software_image_id=test_database_software_image["id"],
        is_dst_file_update_enabled=maintenance_run_is_dst_file_update_enabled,
        patching_mode=maintenance_run_patching_mode)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewMaintenanceRun(ctx, "test_maintenance_run", &Database.MaintenanceRunArgs{
    			PatchType:               pulumi.Any(maintenanceRunPatchType),
    			TargetResourceId:        pulumi.Any(testResource.Id),
    			TimeScheduled:           pulumi.Any(maintenanceRunTimeScheduled),
    			CompartmentId:           pulumi.Any(compartmentId),
    			DatabaseSoftwareImageId: pulumi.Any(testDatabaseSoftwareImage.Id),
    			IsDstFileUpdateEnabled:  pulumi.Any(maintenanceRunIsDstFileUpdateEnabled),
    			PatchingMode:            pulumi.Any(maintenanceRunPatchingMode),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMaintenanceRun = new Oci.Database.MaintenanceRun("test_maintenance_run", new()
        {
            PatchType = maintenanceRunPatchType,
            TargetResourceId = testResource.Id,
            TimeScheduled = maintenanceRunTimeScheduled,
            CompartmentId = compartmentId,
            DatabaseSoftwareImageId = testDatabaseSoftwareImage.Id,
            IsDstFileUpdateEnabled = maintenanceRunIsDstFileUpdateEnabled,
            PatchingMode = maintenanceRunPatchingMode,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.MaintenanceRun;
    import com.pulumi.oci.Database.MaintenanceRunArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testMaintenanceRun = new MaintenanceRun("testMaintenanceRun", MaintenanceRunArgs.builder()
                .patchType(maintenanceRunPatchType)
                .targetResourceId(testResource.id())
                .timeScheduled(maintenanceRunTimeScheduled)
                .compartmentId(compartmentId)
                .databaseSoftwareImageId(testDatabaseSoftwareImage.id())
                .isDstFileUpdateEnabled(maintenanceRunIsDstFileUpdateEnabled)
                .patchingMode(maintenanceRunPatchingMode)
                .build());
    
        }
    }
    
    resources:
      testMaintenanceRun:
        type: oci:Database:MaintenanceRun
        name: test_maintenance_run
        properties:
          patchType: ${maintenanceRunPatchType}
          targetResourceId: ${testResource.id}
          timeScheduled: ${maintenanceRunTimeScheduled}
          compartmentId: ${compartmentId}
          databaseSoftwareImageId: ${testDatabaseSoftwareImage.id}
          isDstFileUpdateEnabled: ${maintenanceRunIsDstFileUpdateEnabled}
          patchingMode: ${maintenanceRunPatchingMode}
    

    Create MaintenanceRun Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MaintenanceRun(name: string, args: MaintenanceRunArgs, opts?: CustomResourceOptions);
    @overload
    def MaintenanceRun(resource_name: str,
                       args: MaintenanceRunArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def MaintenanceRun(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       patch_type: Optional[str] = None,
                       target_resource_id: Optional[str] = None,
                       time_scheduled: Optional[str] = None,
                       compartment_id: Optional[str] = None,
                       database_software_image_id: Optional[str] = None,
                       is_dst_file_update_enabled: Optional[bool] = None,
                       patching_mode: Optional[str] = None)
    func NewMaintenanceRun(ctx *Context, name string, args MaintenanceRunArgs, opts ...ResourceOption) (*MaintenanceRun, error)
    public MaintenanceRun(string name, MaintenanceRunArgs args, CustomResourceOptions? opts = null)
    public MaintenanceRun(String name, MaintenanceRunArgs args)
    public MaintenanceRun(String name, MaintenanceRunArgs args, CustomResourceOptions options)
    
    type: oci:Database:MaintenanceRun
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MaintenanceRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MaintenanceRunArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MaintenanceRunArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MaintenanceRunArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MaintenanceRunArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var maintenanceRunResource = new Oci.Database.MaintenanceRun("maintenanceRunResource", new()
    {
        PatchType = "string",
        TargetResourceId = "string",
        TimeScheduled = "string",
        CompartmentId = "string",
        DatabaseSoftwareImageId = "string",
        IsDstFileUpdateEnabled = false,
        PatchingMode = "string",
    });
    
    example, err := Database.NewMaintenanceRun(ctx, "maintenanceRunResource", &Database.MaintenanceRunArgs{
    	PatchType:               pulumi.String("string"),
    	TargetResourceId:        pulumi.String("string"),
    	TimeScheduled:           pulumi.String("string"),
    	CompartmentId:           pulumi.String("string"),
    	DatabaseSoftwareImageId: pulumi.String("string"),
    	IsDstFileUpdateEnabled:  pulumi.Bool(false),
    	PatchingMode:            pulumi.String("string"),
    })
    
    var maintenanceRunResource = new MaintenanceRun("maintenanceRunResource", MaintenanceRunArgs.builder()
        .patchType("string")
        .targetResourceId("string")
        .timeScheduled("string")
        .compartmentId("string")
        .databaseSoftwareImageId("string")
        .isDstFileUpdateEnabled(false)
        .patchingMode("string")
        .build());
    
    maintenance_run_resource = oci.database.MaintenanceRun("maintenanceRunResource",
        patch_type="string",
        target_resource_id="string",
        time_scheduled="string",
        compartment_id="string",
        database_software_image_id="string",
        is_dst_file_update_enabled=False,
        patching_mode="string")
    
    const maintenanceRunResource = new oci.database.MaintenanceRun("maintenanceRunResource", {
        patchType: "string",
        targetResourceId: "string",
        timeScheduled: "string",
        compartmentId: "string",
        databaseSoftwareImageId: "string",
        isDstFileUpdateEnabled: false,
        patchingMode: "string",
    });
    
    type: oci:Database:MaintenanceRun
    properties:
        compartmentId: string
        databaseSoftwareImageId: string
        isDstFileUpdateEnabled: false
        patchType: string
        patchingMode: string
        targetResourceId: string
        timeScheduled: string
    

    MaintenanceRun Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The MaintenanceRun resource accepts the following input properties:

    PatchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    TargetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    TimeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    CompartmentId string
    The OCID of the compartment containing the Maintenance Run.
    DatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    IsDstFileUpdateEnabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    PatchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    PatchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    TargetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    TimeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    CompartmentId string
    The OCID of the compartment containing the Maintenance Run.
    DatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    IsDstFileUpdateEnabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    PatchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchType String
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    targetResourceId String
    The ID of the target resource for which the maintenance run should be created.
    timeScheduled String

    (Updatable) The date and time that update should be scheduled.

    ** 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

    compartmentId String
    The OCID of the compartment containing the Maintenance Run.
    databaseSoftwareImageId String
    The Autonomous Database Software Image OCID
    isDstFileUpdateEnabled Boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    patchingMode String

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    targetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    timeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    compartmentId string
    The OCID of the compartment containing the Maintenance Run.
    databaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    isDstFileUpdateEnabled boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    patchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patch_type str
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    target_resource_id str
    The ID of the target resource for which the maintenance run should be created.
    time_scheduled str

    (Updatable) The date and time that update should be scheduled.

    ** 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

    compartment_id str
    The OCID of the compartment containing the Maintenance Run.
    database_software_image_id str
    The Autonomous Database Software Image OCID
    is_dst_file_update_enabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    patching_mode str

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchType String
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    targetResourceId String
    The ID of the target resource for which the maintenance run should be created.
    timeScheduled String

    (Updatable) The date and time that update should be scheduled.

    ** 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

    compartmentId String
    The OCID of the compartment containing the Maintenance Run.
    databaseSoftwareImageId String
    The Autonomous Database Software Image OCID
    isDstFileUpdateEnabled Boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    patchingMode String

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MaintenanceRun resource produces the following output properties:

    CurrentCustomActionTimeoutInMins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    CurrentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    CustomActionTimeoutInMins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    Description string
    Description of the maintenance run.
    DisplayName string
    The user-friendly name for the maintenance run.
    EstimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    EstimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCustomActionTimeoutEnabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MaintenanceSubtype string
    Maintenance sub-type.
    MaintenanceType string
    Maintenance type.
    PatchFailureCount int
    Contain the patch failure count.
    PatchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    PatchingEndTime string
    The time when the patching operation ended.
    PatchingStartTime string
    The time when the patching operation started.
    PatchingStatus string
    The status of the patching operation.
    PeerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    State string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    TargetDbServerVersion string
    The target software version for the database server patching operation.
    TargetResourceType string
    The type of the target resource on which the maintenance run occurs.
    TargetStorageServerVersion string
    The target Cell version that is to be patched to.
    TimeEnded string
    The date and time the maintenance run was completed.
    TimeStarted string
    The date and time the maintenance run starts.
    CurrentCustomActionTimeoutInMins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    CurrentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    CustomActionTimeoutInMins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    Description string
    Description of the maintenance run.
    DisplayName string
    The user-friendly name for the maintenance run.
    EstimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    EstimatedPatchingTimes []MaintenanceRunEstimatedPatchingTime
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCustomActionTimeoutEnabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MaintenanceSubtype string
    Maintenance sub-type.
    MaintenanceType string
    Maintenance type.
    PatchFailureCount int
    Contain the patch failure count.
    PatchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    PatchingEndTime string
    The time when the patching operation ended.
    PatchingStartTime string
    The time when the patching operation started.
    PatchingStatus string
    The status of the patching operation.
    PeerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    State string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    TargetDbServerVersion string
    The target software version for the database server patching operation.
    TargetResourceType string
    The type of the target resource on which the maintenance run occurs.
    TargetStorageServerVersion string
    The target Cell version that is to be patched to.
    TimeEnded string
    The date and time the maintenance run was completed.
    TimeStarted string
    The date and time the maintenance run starts.
    currentCustomActionTimeoutInMins Integer
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent String
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins Integer
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    description String
    Description of the maintenance run.
    displayName String
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime String
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    id String
    The provider-assigned unique ID for this managed resource.
    isCustomActionTimeoutEnabled Boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    maintenanceSubtype String
    Maintenance sub-type.
    maintenanceType String
    Maintenance type.
    patchFailureCount Integer
    Contain the patch failure count.
    patchId String
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchingEndTime String
    The time when the patching operation ended.
    patchingStartTime String
    The time when the patching operation started.
    patchingStatus String
    The status of the patching operation.
    peerMaintenanceRunId String
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state String
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion String
    The target software version for the database server patching operation.
    targetResourceType String
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion String
    The target Cell version that is to be patched to.
    timeEnded String
    The date and time the maintenance run was completed.
    timeStarted String
    The date and time the maintenance run starts.
    currentCustomActionTimeoutInMins number
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins number
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    description string
    Description of the maintenance run.
    displayName string
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes MaintenanceRunEstimatedPatchingTime[]
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    id string
    The provider-assigned unique ID for this managed resource.
    isCustomActionTimeoutEnabled boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    maintenanceSubtype string
    Maintenance sub-type.
    maintenanceType string
    Maintenance type.
    patchFailureCount number
    Contain the patch failure count.
    patchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchingEndTime string
    The time when the patching operation ended.
    patchingStartTime string
    The time when the patching operation started.
    patchingStatus string
    The status of the patching operation.
    peerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion string
    The target software version for the database server patching operation.
    targetResourceType string
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion string
    The target Cell version that is to be patched to.
    timeEnded string
    The date and time the maintenance run was completed.
    timeStarted string
    The date and time the maintenance run starts.
    current_custom_action_timeout_in_mins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    current_patching_component str
    The name of the current infrastruture component that is getting patched.
    custom_action_timeout_in_mins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    description str
    Description of the maintenance run.
    display_name str
    The user-friendly name for the maintenance run.
    estimated_component_patching_start_time str
    The estimated start time of the next infrastruture component patching operation.
    estimated_patching_times Sequence[database.MaintenanceRunEstimatedPatchingTime]
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    id str
    The provider-assigned unique ID for this managed resource.
    is_custom_action_timeout_enabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    lifecycle_details str
    Additional information about the current lifecycle state.
    maintenance_subtype str
    Maintenance sub-type.
    maintenance_type str
    Maintenance type.
    patch_failure_count int
    Contain the patch failure count.
    patch_id str
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patching_end_time str
    The time when the patching operation ended.
    patching_start_time str
    The time when the patching operation started.
    patching_status str
    The status of the patching operation.
    peer_maintenance_run_id str
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state str
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    target_db_server_version str
    The target software version for the database server patching operation.
    target_resource_type str
    The type of the target resource on which the maintenance run occurs.
    target_storage_server_version str
    The target Cell version that is to be patched to.
    time_ended str
    The date and time the maintenance run was completed.
    time_started str
    The date and time the maintenance run starts.
    currentCustomActionTimeoutInMins Number
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent String
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins Number
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    description String
    Description of the maintenance run.
    displayName String
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime String
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes List<Property Map>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    id String
    The provider-assigned unique ID for this managed resource.
    isCustomActionTimeoutEnabled Boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    maintenanceSubtype String
    Maintenance sub-type.
    maintenanceType String
    Maintenance type.
    patchFailureCount Number
    Contain the patch failure count.
    patchId String
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchingEndTime String
    The time when the patching operation ended.
    patchingStartTime String
    The time when the patching operation started.
    patchingStatus String
    The status of the patching operation.
    peerMaintenanceRunId String
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state String
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion String
    The target software version for the database server patching operation.
    targetResourceType String
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion String
    The target Cell version that is to be patched to.
    timeEnded String
    The date and time the maintenance run was completed.
    timeStarted String
    The date and time the maintenance run starts.

    Look up Existing MaintenanceRun Resource

    Get an existing MaintenanceRun resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: MaintenanceRunState, opts?: CustomResourceOptions): MaintenanceRun
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            current_custom_action_timeout_in_mins: Optional[int] = None,
            current_patching_component: Optional[str] = None,
            custom_action_timeout_in_mins: Optional[int] = None,
            database_software_image_id: Optional[str] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            estimated_component_patching_start_time: Optional[str] = None,
            estimated_patching_times: Optional[Sequence[_database.MaintenanceRunEstimatedPatchingTimeArgs]] = None,
            is_custom_action_timeout_enabled: Optional[bool] = None,
            is_dst_file_update_enabled: Optional[bool] = None,
            lifecycle_details: Optional[str] = None,
            maintenance_subtype: Optional[str] = None,
            maintenance_type: Optional[str] = None,
            patch_failure_count: Optional[int] = None,
            patch_id: Optional[str] = None,
            patch_type: Optional[str] = None,
            patching_end_time: Optional[str] = None,
            patching_mode: Optional[str] = None,
            patching_start_time: Optional[str] = None,
            patching_status: Optional[str] = None,
            peer_maintenance_run_id: Optional[str] = None,
            state: Optional[str] = None,
            target_db_server_version: Optional[str] = None,
            target_resource_id: Optional[str] = None,
            target_resource_type: Optional[str] = None,
            target_storage_server_version: Optional[str] = None,
            time_ended: Optional[str] = None,
            time_scheduled: Optional[str] = None,
            time_started: Optional[str] = None) -> MaintenanceRun
    func GetMaintenanceRun(ctx *Context, name string, id IDInput, state *MaintenanceRunState, opts ...ResourceOption) (*MaintenanceRun, error)
    public static MaintenanceRun Get(string name, Input<string> id, MaintenanceRunState? state, CustomResourceOptions? opts = null)
    public static MaintenanceRun get(String name, Output<String> id, MaintenanceRunState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment containing the Maintenance Run.
    CurrentCustomActionTimeoutInMins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    CurrentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    CustomActionTimeoutInMins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    DatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    Description string
    Description of the maintenance run.
    DisplayName string
    The user-friendly name for the maintenance run.
    EstimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    EstimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    IsCustomActionTimeoutEnabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    IsDstFileUpdateEnabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MaintenanceSubtype string
    Maintenance sub-type.
    MaintenanceType string
    Maintenance type.
    PatchFailureCount int
    Contain the patch failure count.
    PatchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    PatchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    PatchingEndTime string
    The time when the patching operation ended.
    PatchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    PatchingStartTime string
    The time when the patching operation started.
    PatchingStatus string
    The status of the patching operation.
    PeerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    State string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    TargetDbServerVersion string
    The target software version for the database server patching operation.
    TargetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    TargetResourceType string
    The type of the target resource on which the maintenance run occurs.
    TargetStorageServerVersion string
    The target Cell version that is to be patched to.
    TimeEnded string
    The date and time the maintenance run was completed.
    TimeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    TimeStarted string
    The date and time the maintenance run starts.
    CompartmentId string
    The OCID of the compartment containing the Maintenance Run.
    CurrentCustomActionTimeoutInMins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    CurrentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    CustomActionTimeoutInMins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    DatabaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    Description string
    Description of the maintenance run.
    DisplayName string
    The user-friendly name for the maintenance run.
    EstimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    EstimatedPatchingTimes []MaintenanceRunEstimatedPatchingTimeArgs
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    IsCustomActionTimeoutEnabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    IsDstFileUpdateEnabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    LifecycleDetails string
    Additional information about the current lifecycle state.
    MaintenanceSubtype string
    Maintenance sub-type.
    MaintenanceType string
    Maintenance type.
    PatchFailureCount int
    Contain the patch failure count.
    PatchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    PatchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    PatchingEndTime string
    The time when the patching operation ended.
    PatchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    PatchingStartTime string
    The time when the patching operation started.
    PatchingStatus string
    The status of the patching operation.
    PeerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    State string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    TargetDbServerVersion string
    The target software version for the database server patching operation.
    TargetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    TargetResourceType string
    The type of the target resource on which the maintenance run occurs.
    TargetStorageServerVersion string
    The target Cell version that is to be patched to.
    TimeEnded string
    The date and time the maintenance run was completed.
    TimeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    TimeStarted string
    The date and time the maintenance run starts.
    compartmentId String
    The OCID of the compartment containing the Maintenance Run.
    currentCustomActionTimeoutInMins Integer
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent String
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins Integer
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    databaseSoftwareImageId String
    The Autonomous Database Software Image OCID
    description String
    Description of the maintenance run.
    displayName String
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime String
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes List<MaintenanceRunEstimatedPatchingTime>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    isCustomActionTimeoutEnabled Boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    isDstFileUpdateEnabled Boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    maintenanceSubtype String
    Maintenance sub-type.
    maintenanceType String
    Maintenance type.
    patchFailureCount Integer
    Contain the patch failure count.
    patchId String
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchType String
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    patchingEndTime String
    The time when the patching operation ended.
    patchingMode String

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchingStartTime String
    The time when the patching operation started.
    patchingStatus String
    The status of the patching operation.
    peerMaintenanceRunId String
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state String
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion String
    The target software version for the database server patching operation.
    targetResourceId String
    The ID of the target resource for which the maintenance run should be created.
    targetResourceType String
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion String
    The target Cell version that is to be patched to.
    timeEnded String
    The date and time the maintenance run was completed.
    timeScheduled String

    (Updatable) The date and time that update should be scheduled.

    ** 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

    timeStarted String
    The date and time the maintenance run starts.
    compartmentId string
    The OCID of the compartment containing the Maintenance Run.
    currentCustomActionTimeoutInMins number
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent string
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins number
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    databaseSoftwareImageId string
    The Autonomous Database Software Image OCID
    description string
    Description of the maintenance run.
    displayName string
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime string
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes MaintenanceRunEstimatedPatchingTime[]
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    isCustomActionTimeoutEnabled boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    isDstFileUpdateEnabled boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    lifecycleDetails string
    Additional information about the current lifecycle state.
    maintenanceSubtype string
    Maintenance sub-type.
    maintenanceType string
    Maintenance type.
    patchFailureCount number
    Contain the patch failure count.
    patchId string
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchType string
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    patchingEndTime string
    The time when the patching operation ended.
    patchingMode string

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchingStartTime string
    The time when the patching operation started.
    patchingStatus string
    The status of the patching operation.
    peerMaintenanceRunId string
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state string
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion string
    The target software version for the database server patching operation.
    targetResourceId string
    The ID of the target resource for which the maintenance run should be created.
    targetResourceType string
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion string
    The target Cell version that is to be patched to.
    timeEnded string
    The date and time the maintenance run was completed.
    timeScheduled string

    (Updatable) The date and time that update should be scheduled.

    ** 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

    timeStarted string
    The date and time the maintenance run starts.
    compartment_id str
    The OCID of the compartment containing the Maintenance Run.
    current_custom_action_timeout_in_mins int
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    current_patching_component str
    The name of the current infrastruture component that is getting patched.
    custom_action_timeout_in_mins int
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    database_software_image_id str
    The Autonomous Database Software Image OCID
    description str
    Description of the maintenance run.
    display_name str
    The user-friendly name for the maintenance run.
    estimated_component_patching_start_time str
    The estimated start time of the next infrastruture component patching operation.
    estimated_patching_times Sequence[database.MaintenanceRunEstimatedPatchingTimeArgs]
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    is_custom_action_timeout_enabled bool
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    is_dst_file_update_enabled bool
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    lifecycle_details str
    Additional information about the current lifecycle state.
    maintenance_subtype str
    Maintenance sub-type.
    maintenance_type str
    Maintenance type.
    patch_failure_count int
    Contain the patch failure count.
    patch_id str
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patch_type str
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    patching_end_time str
    The time when the patching operation ended.
    patching_mode str

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patching_start_time str
    The time when the patching operation started.
    patching_status str
    The status of the patching operation.
    peer_maintenance_run_id str
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state str
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    target_db_server_version str
    The target software version for the database server patching operation.
    target_resource_id str
    The ID of the target resource for which the maintenance run should be created.
    target_resource_type str
    The type of the target resource on which the maintenance run occurs.
    target_storage_server_version str
    The target Cell version that is to be patched to.
    time_ended str
    The date and time the maintenance run was completed.
    time_scheduled str

    (Updatable) The date and time that update should be scheduled.

    ** 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

    time_started str
    The date and time the maintenance run starts.
    compartmentId String
    The OCID of the compartment containing the Maintenance Run.
    currentCustomActionTimeoutInMins Number
    Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
    currentPatchingComponent String
    The name of the current infrastruture component that is getting patched.
    customActionTimeoutInMins Number
    Determines the amount of time the system will wait before the start of each database server patching operation. Specify a number of minutes, from 15 to 120.
    databaseSoftwareImageId String
    The Autonomous Database Software Image OCID
    description String
    Description of the maintenance run.
    displayName String
    The user-friendly name for the maintenance run.
    estimatedComponentPatchingStartTime String
    The estimated start time of the next infrastruture component patching operation.
    estimatedPatchingTimes List<Property Map>
    The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
    isCustomActionTimeoutEnabled Boolean
    If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
    isDstFileUpdateEnabled Boolean
    Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database. If enabled along with Release Update, patching will be done in a Non-Rolling manner.
    lifecycleDetails String
    Additional information about the current lifecycle state.
    maintenanceSubtype String
    Maintenance sub-type.
    maintenanceType String
    Maintenance type.
    patchFailureCount Number
    Contain the patch failure count.
    patchId String
    The unique identifier of the patch. The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
    patchType String
    Patch type, either "QUARTERLY", "TIMEZONE" or "CUSTOM_DATABASE_SOFTWARE_IMAGE".
    patchingEndTime String
    The time when the patching operation ended.
    patchingMode String

    (Updatable) Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.

    IMPORTANT: Non-rolling infrastructure patching involves system down time. See Oracle-Managed Infrastructure Maintenance Updates for more information.

    patchingStartTime String
    The time when the patching operation started.
    patchingStatus String
    The status of the patching operation.
    peerMaintenanceRunId String
    The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
    state String
    The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
    targetDbServerVersion String
    The target software version for the database server patching operation.
    targetResourceId String
    The ID of the target resource for which the maintenance run should be created.
    targetResourceType String
    The type of the target resource on which the maintenance run occurs.
    targetStorageServerVersion String
    The target Cell version that is to be patched to.
    timeEnded String
    The date and time the maintenance run was completed.
    timeScheduled String

    (Updatable) The date and time that update should be scheduled.

    ** 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

    timeStarted String
    The date and time the maintenance run starts.

    Supporting Types

    MaintenanceRunEstimatedPatchingTime, MaintenanceRunEstimatedPatchingTimeArgs

    EstimatedDbServerPatchingTime int
    The estimated time required in minutes for database server patching.
    EstimatedNetworkSwitchesPatchingTime int
    The estimated time required in minutes for network switch patching.
    EstimatedStorageServerPatchingTime int
    The estimated time required in minutes for storage server patching.
    TotalEstimatedPatchingTime int
    The estimated total time required in minutes for all patching operations.
    EstimatedDbServerPatchingTime int
    The estimated time required in minutes for database server patching.
    EstimatedNetworkSwitchesPatchingTime int
    The estimated time required in minutes for network switch patching.
    EstimatedStorageServerPatchingTime int
    The estimated time required in minutes for storage server patching.
    TotalEstimatedPatchingTime int
    The estimated total time required in minutes for all patching operations.
    estimatedDbServerPatchingTime Integer
    The estimated time required in minutes for database server patching.
    estimatedNetworkSwitchesPatchingTime Integer
    The estimated time required in minutes for network switch patching.
    estimatedStorageServerPatchingTime Integer
    The estimated time required in minutes for storage server patching.
    totalEstimatedPatchingTime Integer
    The estimated total time required in minutes for all patching operations.
    estimatedDbServerPatchingTime number
    The estimated time required in minutes for database server patching.
    estimatedNetworkSwitchesPatchingTime number
    The estimated time required in minutes for network switch patching.
    estimatedStorageServerPatchingTime number
    The estimated time required in minutes for storage server patching.
    totalEstimatedPatchingTime number
    The estimated total time required in minutes for all patching operations.
    estimated_db_server_patching_time int
    The estimated time required in minutes for database server patching.
    estimated_network_switches_patching_time int
    The estimated time required in minutes for network switch patching.
    estimated_storage_server_patching_time int
    The estimated time required in minutes for storage server patching.
    total_estimated_patching_time int
    The estimated total time required in minutes for all patching operations.
    estimatedDbServerPatchingTime Number
    The estimated time required in minutes for database server patching.
    estimatedNetworkSwitchesPatchingTime Number
    The estimated time required in minutes for network switch patching.
    estimatedStorageServerPatchingTime Number
    The estimated time required in minutes for storage server patching.
    totalEstimatedPatchingTime Number
    The estimated total time required in minutes for all patching operations.

    Import

    MaintenanceRuns can be imported using the id, e.g.

    $ pulumi import oci:Database/maintenanceRun:MaintenanceRun test_maintenance_run "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi