Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Database.getMaintenanceRuns
Explore with Pulumi AI
This data source provides the list of Maintenance Runs in Oracle Cloud Infrastructure Database service.
Gets a list of the maintenance runs in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaintenanceRuns = oci.Database.getMaintenanceRuns({
    compartmentId: compartmentId,
    availabilityDomain: maintenanceRunAvailabilityDomain,
    isLocalAdg: maintenanceRunIsLocalAdg,
    maintenanceSubtype: maintenanceRunMaintenanceSubtype,
    maintenanceType: maintenanceRunMaintenanceType,
    state: maintenanceRunState,
    targetResourceId: testTargetResource.id,
    targetResourceType: maintenanceRunTargetResourceType,
});
import pulumi
import pulumi_oci as oci
test_maintenance_runs = oci.Database.get_maintenance_runs(compartment_id=compartment_id,
    availability_domain=maintenance_run_availability_domain,
    is_local_adg=maintenance_run_is_local_adg,
    maintenance_subtype=maintenance_run_maintenance_subtype,
    maintenance_type=maintenance_run_maintenance_type,
    state=maintenance_run_state,
    target_resource_id=test_target_resource["id"],
    target_resource_type=maintenance_run_target_resource_type)
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.GetMaintenanceRuns(ctx, &database.GetMaintenanceRunsArgs{
			CompartmentId:      compartmentId,
			AvailabilityDomain: pulumi.StringRef(maintenanceRunAvailabilityDomain),
			IsLocalAdg:         pulumi.BoolRef(maintenanceRunIsLocalAdg),
			MaintenanceSubtype: pulumi.StringRef(maintenanceRunMaintenanceSubtype),
			MaintenanceType:    pulumi.StringRef(maintenanceRunMaintenanceType),
			State:              pulumi.StringRef(maintenanceRunState),
			TargetResourceId:   pulumi.StringRef(testTargetResource.Id),
			TargetResourceType: pulumi.StringRef(maintenanceRunTargetResourceType),
		}, nil)
		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 testMaintenanceRuns = Oci.Database.GetMaintenanceRuns.Invoke(new()
    {
        CompartmentId = compartmentId,
        AvailabilityDomain = maintenanceRunAvailabilityDomain,
        IsLocalAdg = maintenanceRunIsLocalAdg,
        MaintenanceSubtype = maintenanceRunMaintenanceSubtype,
        MaintenanceType = maintenanceRunMaintenanceType,
        State = maintenanceRunState,
        TargetResourceId = testTargetResource.Id,
        TargetResourceType = maintenanceRunTargetResourceType,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.DatabaseFunctions;
import com.pulumi.oci.Database.inputs.GetMaintenanceRunsArgs;
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) {
        final var testMaintenanceRuns = DatabaseFunctions.getMaintenanceRuns(GetMaintenanceRunsArgs.builder()
            .compartmentId(compartmentId)
            .availabilityDomain(maintenanceRunAvailabilityDomain)
            .isLocalAdg(maintenanceRunIsLocalAdg)
            .maintenanceSubtype(maintenanceRunMaintenanceSubtype)
            .maintenanceType(maintenanceRunMaintenanceType)
            .state(maintenanceRunState)
            .targetResourceId(testTargetResource.id())
            .targetResourceType(maintenanceRunTargetResourceType)
            .build());
    }
}
variables:
  testMaintenanceRuns:
    fn::invoke:
      function: oci:Database:getMaintenanceRuns
      arguments:
        compartmentId: ${compartmentId}
        availabilityDomain: ${maintenanceRunAvailabilityDomain}
        isLocalAdg: ${maintenanceRunIsLocalAdg}
        maintenanceSubtype: ${maintenanceRunMaintenanceSubtype}
        maintenanceType: ${maintenanceRunMaintenanceType}
        state: ${maintenanceRunState}
        targetResourceId: ${testTargetResource.id}
        targetResourceType: ${maintenanceRunTargetResourceType}
Using getMaintenanceRuns
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getMaintenanceRuns(args: GetMaintenanceRunsArgs, opts?: InvokeOptions): Promise<GetMaintenanceRunsResult>
function getMaintenanceRunsOutput(args: GetMaintenanceRunsOutputArgs, opts?: InvokeOptions): Output<GetMaintenanceRunsResult>def get_maintenance_runs(availability_domain: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         filters: Optional[Sequence[GetMaintenanceRunsFilter]] = None,
                         is_local_adg: Optional[bool] = None,
                         maintenance_subtype: Optional[str] = None,
                         maintenance_type: Optional[str] = None,
                         state: Optional[str] = None,
                         target_resource_id: Optional[str] = None,
                         target_resource_type: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetMaintenanceRunsResult
def get_maintenance_runs_output(availability_domain: Optional[pulumi.Input[str]] = None,
                         compartment_id: Optional[pulumi.Input[str]] = None,
                         filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMaintenanceRunsFilterArgs]]]] = None,
                         is_local_adg: Optional[pulumi.Input[bool]] = None,
                         maintenance_subtype: Optional[pulumi.Input[str]] = None,
                         maintenance_type: Optional[pulumi.Input[str]] = None,
                         state: Optional[pulumi.Input[str]] = None,
                         target_resource_id: Optional[pulumi.Input[str]] = None,
                         target_resource_type: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetMaintenanceRunsResult]func GetMaintenanceRuns(ctx *Context, args *GetMaintenanceRunsArgs, opts ...InvokeOption) (*GetMaintenanceRunsResult, error)
func GetMaintenanceRunsOutput(ctx *Context, args *GetMaintenanceRunsOutputArgs, opts ...InvokeOption) GetMaintenanceRunsResultOutput> Note: This function is named GetMaintenanceRuns in the Go SDK.
public static class GetMaintenanceRuns 
{
    public static Task<GetMaintenanceRunsResult> InvokeAsync(GetMaintenanceRunsArgs args, InvokeOptions? opts = null)
    public static Output<GetMaintenanceRunsResult> Invoke(GetMaintenanceRunsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMaintenanceRunsResult> getMaintenanceRuns(GetMaintenanceRunsArgs args, InvokeOptions options)
public static Output<GetMaintenanceRunsResult> getMaintenanceRuns(GetMaintenanceRunsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getMaintenanceRuns:getMaintenanceRuns
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The compartment OCID.
- AvailabilityDomain string
- A filter to return only resources that match the given availability domain exactly.
- Filters
List<GetMaintenance Runs Filter> 
- IsLocal boolAdg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- MaintenanceSubtype string
- The sub-type of the maintenance run.
- MaintenanceType string
- The maintenance type.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TargetResource stringId 
- The target resource ID.
- TargetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- CompartmentId string
- The compartment OCID.
- AvailabilityDomain string
- A filter to return only resources that match the given availability domain exactly.
- Filters
[]GetMaintenance Runs Filter 
- IsLocal boolAdg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- MaintenanceSubtype string
- The sub-type of the maintenance run.
- MaintenanceType string
- The maintenance type.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TargetResource stringId 
- The target resource ID.
- TargetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartmentId String
- The compartment OCID.
- availabilityDomain String
- A filter to return only resources that match the given availability domain exactly.
- filters
List<GetMaintenance Runs Filter> 
- isLocal BooleanAdg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenanceSubtype String
- The sub-type of the maintenance run.
- maintenanceType String
- The maintenance type.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- targetResource StringId 
- The target resource ID.
- targetResource StringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartmentId string
- The compartment OCID.
- availabilityDomain string
- A filter to return only resources that match the given availability domain exactly.
- filters
GetMaintenance Runs Filter[] 
- isLocal booleanAdg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenanceSubtype string
- The sub-type of the maintenance run.
- maintenanceType string
- The maintenance type.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- targetResource stringId 
- The target resource ID.
- targetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartment_id str
- The compartment OCID.
- availability_domain str
- A filter to return only resources that match the given availability domain exactly.
- filters
Sequence[GetMaintenance Runs Filter] 
- is_local_ booladg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenance_subtype str
- The sub-type of the maintenance run.
- maintenance_type str
- The maintenance type.
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- target_resource_ strid 
- The target resource ID.
- target_resource_ strtype 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartmentId String
- The compartment OCID.
- availabilityDomain String
- A filter to return only resources that match the given availability domain exactly.
- filters List<Property Map>
- isLocal BooleanAdg 
- A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenanceSubtype String
- The sub-type of the maintenance run.
- maintenanceType String
- The maintenance type.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- targetResource StringId 
- The target resource ID.
- targetResource StringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
getMaintenanceRuns Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- MaintenanceRuns List<GetMaintenance Runs Maintenance Run> 
- The list of maintenance_runs.
- AvailabilityDomain string
- Filters
List<GetMaintenance Runs Filter> 
- IsLocal boolAdg 
- MaintenanceSubtype string
- Maintenance sub-type.
- MaintenanceType string
- Maintenance type.
- State string
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- TargetResource stringId 
- The ID of the target resource on which the maintenance run occurs.
- TargetResource stringType 
- The type of the target resource on which the maintenance run occurs.
- CompartmentId string
- The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- MaintenanceRuns []GetMaintenance Runs Maintenance Run 
- The list of maintenance_runs.
- AvailabilityDomain string
- Filters
[]GetMaintenance Runs Filter 
- IsLocal boolAdg 
- MaintenanceSubtype string
- Maintenance sub-type.
- MaintenanceType string
- Maintenance type.
- State string
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- TargetResource stringId 
- The ID of the target resource on which the maintenance run occurs.
- TargetResource stringType 
- The type of the target resource on which the maintenance run occurs.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenanceRuns List<GetMaintenance Runs Maintenance Run> 
- The list of maintenance_runs.
- availabilityDomain String
- filters
List<GetMaintenance Runs Filter> 
- isLocal BooleanAdg 
- maintenanceSubtype String
- Maintenance sub-type.
- maintenanceType String
- Maintenance type.
- state String
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- targetResource StringId 
- The ID of the target resource on which the maintenance run occurs.
- targetResource StringType 
- The type of the target resource on which the maintenance run occurs.
- compartmentId string
- The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- maintenanceRuns GetMaintenance Runs Maintenance Run[] 
- The list of maintenance_runs.
- availabilityDomain string
- filters
GetMaintenance Runs Filter[] 
- isLocal booleanAdg 
- maintenanceSubtype string
- Maintenance sub-type.
- maintenanceType string
- Maintenance type.
- state string
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- targetResource stringId 
- The ID of the target resource on which the maintenance run occurs.
- targetResource stringType 
- The type of the target resource on which the maintenance run occurs.
- compartment_id str
- The OCID of the compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_runs Sequence[GetMaintenance Runs Maintenance Run] 
- The list of maintenance_runs.
- availability_domain str
- filters
Sequence[GetMaintenance Runs Filter] 
- is_local_ booladg 
- maintenance_subtype str
- Maintenance sub-type.
- maintenance_type str
- Maintenance type.
- state str
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- target_resource_ strid 
- The ID of the target resource on which the maintenance run occurs.
- target_resource_ strtype 
- The type of the target resource on which the maintenance run occurs.
- compartmentId String
- The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenanceRuns List<Property Map>
- The list of maintenance_runs.
- availabilityDomain String
- filters List<Property Map>
- isLocal BooleanAdg 
- maintenanceSubtype String
- Maintenance sub-type.
- maintenanceType String
- Maintenance type.
- state String
- The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- targetResource StringId 
- The ID of the target resource on which the maintenance run occurs.
- targetResource StringType 
- The type of the target resource on which the maintenance run occurs.
Supporting Types
GetMaintenanceRunsFilter   
GetMaintenanceRunsMaintenanceRun    
- CompartmentId string
- The compartment OCID.
- CurrentCustom intAction Timeout In Mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- CurrentPatching stringComponent 
- The name of the current infrastruture component that is getting patched.
- CustomAction intTimeout In Mins 
- 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.
- DatabaseSoftware stringImage Id 
- The Autonomous Database Software Image OCID
- Description string
- Description of the maintenance run.
- DisplayName string
- The user-friendly name for the maintenance run.
- EstimatedComponent stringPatching Start Time 
- The estimated start time of the next infrastruture component patching operation.
- EstimatedPatching List<GetTimes Maintenance Runs Maintenance Run Estimated Patching Time> 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- Id string
- The OCID of the maintenance run.
- IsCustom boolAction Timeout Enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- IsDst boolFile Update Enabled 
- 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.
- IsMaintenance boolRun Granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- MaintenanceSubtype string
- The sub-type of the maintenance run.
- MaintenanceType string
- The maintenance type.
- PatchFailure intCount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- PatchType string
- PatchingEnd stringTime 
- The time when the patching operation ended.
- PatchingMode string
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- PatchingStart stringTime 
- The time when the patching operation started.
- PatchingStatus string
- The status of the patching operation.
- PeerMaintenance stringRun Id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- PeerMaintenance List<string>Run Ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TargetDb stringServer Version 
- The target software version for the database server patching operation.
- TargetResource stringId 
- The target resource ID.
- TargetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- TargetStorage stringServer Version 
- The target Cell version that is to be patched to.
- TimeEnded string
- The date and time the maintenance run was completed.
- TimeScheduled string
- The date and time the maintenance run is scheduled to occur.
- TimeStarted string
- The date and time the maintenance run starts.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- CompartmentId string
- The compartment OCID.
- CurrentCustom intAction Timeout In Mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- CurrentPatching stringComponent 
- The name of the current infrastruture component that is getting patched.
- CustomAction intTimeout In Mins 
- 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.
- DatabaseSoftware stringImage Id 
- The Autonomous Database Software Image OCID
- Description string
- Description of the maintenance run.
- DisplayName string
- The user-friendly name for the maintenance run.
- EstimatedComponent stringPatching Start Time 
- The estimated start time of the next infrastruture component patching operation.
- EstimatedPatching []GetTimes Maintenance Runs Maintenance Run Estimated Patching Time 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- Id string
- The OCID of the maintenance run.
- IsCustom boolAction Timeout Enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- IsDst boolFile Update Enabled 
- 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.
- IsMaintenance boolRun Granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- MaintenanceSubtype string
- The sub-type of the maintenance run.
- MaintenanceType string
- The maintenance type.
- PatchFailure intCount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- PatchType string
- PatchingEnd stringTime 
- The time when the patching operation ended.
- PatchingMode string
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- PatchingStart stringTime 
- The time when the patching operation started.
- PatchingStatus string
- The status of the patching operation.
- PeerMaintenance stringRun Id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- PeerMaintenance []stringRun Ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TargetDb stringServer Version 
- The target software version for the database server patching operation.
- TargetResource stringId 
- The target resource ID.
- TargetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- TargetStorage stringServer Version 
- The target Cell version that is to be patched to.
- TimeEnded string
- The date and time the maintenance run was completed.
- TimeScheduled string
- The date and time the maintenance run is scheduled to occur.
- TimeStarted string
- The date and time the maintenance run starts.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- compartmentId String
- The compartment OCID.
- currentCustom IntegerAction Timeout In Mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- currentPatching StringComponent 
- The name of the current infrastruture component that is getting patched.
- customAction IntegerTimeout In Mins 
- 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.
- databaseSoftware StringImage Id 
- The Autonomous Database Software Image OCID
- description String
- Description of the maintenance run.
- displayName String
- The user-friendly name for the maintenance run.
- estimatedComponent StringPatching Start Time 
- The estimated start time of the next infrastruture component patching operation.
- estimatedPatching List<GetTimes Maintenance Runs Maintenance Run Estimated Patching Time> 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- id String
- The OCID of the maintenance run.
- isCustom BooleanAction Timeout Enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- isDst BooleanFile Update Enabled 
- 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.
- isMaintenance BooleanRun Granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- maintenanceSubtype String
- The sub-type of the maintenance run.
- maintenanceType String
- The maintenance type.
- patchFailure IntegerCount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- patchType String
- patchingEnd StringTime 
- The time when the patching operation ended.
- patchingMode String
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patchingStart StringTime 
- The time when the patching operation started.
- patchingStatus String
- The status of the patching operation.
- peerMaintenance StringRun Id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peerMaintenance List<String>Run Ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- targetDb StringServer Version 
- The target software version for the database server patching operation.
- targetResource StringId 
- The target resource ID.
- targetResource StringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- targetStorage StringServer Version 
- The target Cell version that is to be patched to.
- timeEnded String
- The date and time the maintenance run was completed.
- timeScheduled String
- The date and time the maintenance run is scheduled to occur.
- timeStarted String
- The date and time the maintenance run starts.
- totalTime IntegerTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- compartmentId string
- The compartment OCID.
- currentCustom numberAction Timeout In Mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- currentPatching stringComponent 
- The name of the current infrastruture component that is getting patched.
- customAction numberTimeout In Mins 
- 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.
- databaseSoftware stringImage Id 
- The Autonomous Database Software Image OCID
- description string
- Description of the maintenance run.
- displayName string
- The user-friendly name for the maintenance run.
- estimatedComponent stringPatching Start Time 
- The estimated start time of the next infrastruture component patching operation.
- estimatedPatching GetTimes Maintenance Runs Maintenance Run Estimated Patching Time[] 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- id string
- The OCID of the maintenance run.
- isCustom booleanAction Timeout Enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- isDst booleanFile Update Enabled 
- 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.
- isMaintenance booleanRun Granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- maintenanceSubtype string
- The sub-type of the maintenance run.
- maintenanceType string
- The maintenance type.
- patchFailure numberCount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- patchType string
- patchingEnd stringTime 
- The time when the patching operation ended.
- patchingMode string
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patchingStart stringTime 
- The time when the patching operation started.
- patchingStatus string
- The status of the patching operation.
- peerMaintenance stringRun Id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peerMaintenance string[]Run Ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- targetDb stringServer Version 
- The target software version for the database server patching operation.
- targetResource stringId 
- The target resource ID.
- targetResource stringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- targetStorage stringServer Version 
- The target Cell version that is to be patched to.
- timeEnded string
- The date and time the maintenance run was completed.
- timeScheduled string
- The date and time the maintenance run is scheduled to occur.
- timeStarted string
- The date and time the maintenance run starts.
- totalTime numberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- compartment_id str
- The compartment OCID.
- current_custom_ intaction_ timeout_ in_ mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current_patching_ strcomponent 
- The name of the current infrastruture component that is getting patched.
- custom_action_ inttimeout_ in_ mins 
- 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_ strimage_ id 
- 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_ strpatching_ start_ time 
- The estimated start time of the next infrastruture component patching operation.
- estimated_patching_ Sequence[Gettimes Maintenance Runs Maintenance Run Estimated Patching Time] 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- id str
- The OCID of the maintenance run.
- is_custom_ boolaction_ timeout_ enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is_dst_ boolfile_ update_ enabled 
- 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.
- is_maintenance_ boolrun_ granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- lifecycle_details str
- Additional information about the current lifecycle state.
- maintenance_subtype str
- The sub-type of the maintenance run.
- maintenance_type str
- The maintenance type.
- patch_failure_ intcount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- patch_type str
- patching_end_ strtime 
- The time when the patching operation ended.
- patching_mode str
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching_start_ strtime 
- The time when the patching operation started.
- patching_status str
- The status of the patching operation.
- peer_maintenance_ strrun_ id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peer_maintenance_ Sequence[str]run_ ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- target_db_ strserver_ version 
- The target software version for the database server patching operation.
- target_resource_ strid 
- The target resource ID.
- target_resource_ strtype 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- target_storage_ strserver_ version 
- 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
- The date and time the maintenance run is scheduled to occur.
- time_started str
- The date and time the maintenance run starts.
- total_time_ inttaken_ in_ mins 
- The total time taken by corresponding resource activity in minutes.
- compartmentId String
- The compartment OCID.
- currentCustom NumberAction Timeout In Mins 
- Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- currentPatching StringComponent 
- The name of the current infrastruture component that is getting patched.
- customAction NumberTimeout In Mins 
- 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.
- databaseSoftware StringImage Id 
- The Autonomous Database Software Image OCID
- description String
- Description of the maintenance run.
- displayName String
- The user-friendly name for the maintenance run.
- estimatedComponent StringPatching Start Time 
- The estimated start time of the next infrastruture component patching operation.
- estimatedPatching List<Property Map>Times 
- The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- id String
- The OCID of the maintenance run.
- isCustom BooleanAction Timeout Enabled 
- If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- isDst BooleanFile Update Enabled 
- 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.
- isMaintenance BooleanRun Granular 
- If FALSE, the maintenance run doesn't support granular maintenance.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- maintenanceSubtype String
- The sub-type of the maintenance run.
- maintenanceType String
- The maintenance type.
- patchFailure NumberCount 
- 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_201030is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- patchType String
- patchingEnd StringTime 
- The time when the patching operation ended.
- patchingMode String
- Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patchingStart StringTime 
- The time when the patching operation started.
- patchingStatus String
- The status of the patching operation.
- peerMaintenance StringRun Id 
- The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peerMaintenance List<String>Run Ids 
- The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- targetDb StringServer Version 
- The target software version for the database server patching operation.
- targetResource StringId 
- The target resource ID.
- targetResource StringType 
- The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- targetStorage StringServer Version 
- The target Cell version that is to be patched to.
- timeEnded String
- The date and time the maintenance run was completed.
- timeScheduled String
- The date and time the maintenance run is scheduled to occur.
- timeStarted String
- The date and time the maintenance run starts.
- totalTime NumberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
GetMaintenanceRunsMaintenanceRunEstimatedPatchingTime       
- EstimatedDb intServer Patching Time 
- The estimated time required in minutes for database server patching.
- EstimatedNetwork intSwitches Patching Time 
- The estimated time required in minutes for network switch patching.
- EstimatedStorage intServer Patching Time 
- The estimated time required in minutes for storage server patching.
- TotalEstimated intPatching Time 
- The estimated total time required in minutes for all patching operations.
- EstimatedDb intServer Patching Time 
- The estimated time required in minutes for database server patching.
- EstimatedNetwork intSwitches Patching Time 
- The estimated time required in minutes for network switch patching.
- EstimatedStorage intServer Patching Time 
- The estimated time required in minutes for storage server patching.
- TotalEstimated intPatching Time 
- The estimated total time required in minutes for all patching operations.
- estimatedDb IntegerServer Patching Time 
- The estimated time required in minutes for database server patching.
- estimatedNetwork IntegerSwitches Patching Time 
- The estimated time required in minutes for network switch patching.
- estimatedStorage IntegerServer Patching Time 
- The estimated time required in minutes for storage server patching.
- totalEstimated IntegerPatching Time 
- The estimated total time required in minutes for all patching operations.
- estimatedDb numberServer Patching Time 
- The estimated time required in minutes for database server patching.
- estimatedNetwork numberSwitches Patching Time 
- The estimated time required in minutes for network switch patching.
- estimatedStorage numberServer Patching Time 
- The estimated time required in minutes for storage server patching.
- totalEstimated numberPatching Time 
- The estimated total time required in minutes for all patching operations.
- estimated_db_ intserver_ patching_ time 
- The estimated time required in minutes for database server patching.
- estimated_network_ intswitches_ patching_ time 
- The estimated time required in minutes for network switch patching.
- estimated_storage_ intserver_ patching_ time 
- The estimated time required in minutes for storage server patching.
- total_estimated_ intpatching_ time 
- The estimated total time required in minutes for all patching operations.
- estimatedDb NumberServer Patching Time 
- The estimated time required in minutes for database server patching.
- estimatedNetwork NumberSwitches Patching Time 
- The estimated time required in minutes for network switch patching.
- estimatedStorage NumberServer Patching Time 
- The estimated time required in minutes for storage server patching.
- totalEstimated NumberPatching Time 
- The estimated total time required in minutes for all patching operations.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.