Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 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[_database.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[_database.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 dictionary
The following arguments are supported:
- Compartment
Id This property is required. string - The compartment OCID.
- Availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- Filters
Changes to this property will trigger replacement.
Maintenance Runs Filter> - Is
Local boolAdg - A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- Maintenance
Subtype string - The sub-type of the maintenance run.
- Maintenance
Type string - The maintenance type.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- Compartment
Id This property is required. string - The compartment OCID.
- Availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- Filters
Changes to this property will trigger replacement.
Maintenance Runs Filter - Is
Local boolAdg - A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- Maintenance
Subtype string - The sub-type of the maintenance run.
- Maintenance
Type string - The maintenance type.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartment
Id This property is required. String - The compartment OCID.
- availability
Domain String - A filter to return only resources that match the given availability domain exactly.
- filters
Changes to this property will trigger replacement.
Maintenance Runs Filter> - is
Local BooleanAdg - A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenance
Subtype String - The sub-type of the maintenance run.
- maintenance
Type String - The maintenance type.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- target
Resource StringId - The target resource ID.
- target
Resource StringType - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartment
Id This property is required. string - The compartment OCID.
- availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- filters
Changes to this property will trigger replacement.
Maintenance Runs Filter[] - is
Local booleanAdg - A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenance
Subtype string - The sub-type of the maintenance run.
- maintenance
Type string - The maintenance type.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- target
Resource stringId - The target resource ID.
- target
Resource stringType - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- compartment_
id This property is required. str - The compartment OCID.
- availability_
domain str - A filter to return only resources that match the given availability domain exactly.
- filters
Changes to this property will trigger replacement.
Get Maintenance 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
- compartment
Id This property is required. String - The compartment OCID.
- availability
Domain String - A filter to return only resources that match the given availability domain exactly.
- filters
Changes to this property will trigger replacement.
- is
Local BooleanAdg - A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
- maintenance
Subtype String - The sub-type of the maintenance run.
- maintenance
Type String - The maintenance type.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- target
Resource StringId - The target resource ID.
- target
Resource 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:
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Runs List<GetMaintenance Runs Maintenance Run> - The list of maintenance_runs.
- Availability
Domain string - Filters
List<Get
Maintenance Runs Filter> - Is
Local boolAdg - Maintenance
Subtype string - Maintenance sub-type.
- Maintenance
Type 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.
- Target
Resource stringId - The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType - The type of the target resource on which the maintenance run occurs.
- Compartment
Id string - The OCID of the compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Runs []GetMaintenance Runs Maintenance Run - The list of maintenance_runs.
- Availability
Domain string - Filters
[]Get
Maintenance Runs Filter - Is
Local boolAdg - Maintenance
Subtype string - Maintenance sub-type.
- Maintenance
Type 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.
- Target
Resource stringId - The ID of the target resource on which the maintenance run occurs.
- Target
Resource stringType - The type of the target resource on which the maintenance run occurs.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Runs List<GetMaintenance Runs Maintenance Run> - The list of maintenance_runs.
- availability
Domain String - filters
List<Get
Maintenance Runs Filter> - is
Local BooleanAdg - maintenance
Subtype String - Maintenance sub-type.
- maintenance
Type 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.
- target
Resource StringId - The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType - The type of the target resource on which the maintenance run occurs.
- compartment
Id string - The OCID of the compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Runs GetMaintenance Runs Maintenance Run[] - The list of maintenance_runs.
- availability
Domain string - filters
Get
Maintenance Runs Filter[] - is
Local booleanAdg - maintenance
Subtype string - Maintenance sub-type.
- maintenance
Type 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.
- target
Resource stringId - The ID of the target resource on which the maintenance run occurs.
- target
Resource 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[database.Get Maintenance Runs Maintenance Run] - The list of maintenance_runs.
- availability_
domain str - filters
Sequence[database.
Get Maintenance 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.
- compartment
Id String - The OCID of the compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Runs List<Property Map> - The list of maintenance_runs.
- availability
Domain String - filters List<Property Map>
- is
Local BooleanAdg - maintenance
Subtype String - Maintenance sub-type.
- maintenance
Type 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.
- target
Resource StringId - The ID of the target resource on which the maintenance run occurs.
- target
Resource StringType - The type of the target resource on which the maintenance run occurs.
Supporting Types
GetMaintenanceRunsFilter
GetMaintenanceRunsMaintenanceRun
- Compartment
Id This property is required. string - The compartment OCID.
- Current
Custom Action Timeout In Mins This property is required. int - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- Current
Patching Component This property is required. string - The name of the current infrastruture component that is getting patched.
- Custom
Action Timeout In Mins This property is required. 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 This property is required. string - The Autonomous Database Software Image OCID
- Description
This property is required. string - Description of the maintenance run.
- Display
Name This property is required. string - The user-friendly name for the maintenance run.
- Estimated
Component Patching Start Time This property is required. string - The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching Times This property is required. List<GetMaintenance 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
This property is required. string - The OCID of the maintenance run.
- Is
Custom Action Timeout Enabled This property is required. bool - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- Is
Dst File Update Enabled This property is required. 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.
- Is
Maintenance Run Granular This property is required. bool - If
FALSE
, the maintenance run doesn't support granular maintenance. - Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Maintenance
Subtype This property is required. string - The sub-type of the maintenance run.
- Maintenance
Type This property is required. string - The maintenance type.
- Patch
Failure Count This property is required. int - Contain the patch failure count.
- Patch
Id This property is required. 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. - Patch
Type This property is required. string - Patching
End Time This property is required. string - The time when the patching operation ended.
- Patching
Mode This property is required. string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start Time This property is required. string - The time when the patching operation started.
- Patching
Status This property is required. string - The status of the patching operation.
- Peer
Maintenance Run Id This property is required. string - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- Peer
Maintenance Run Ids This property is required. List<string> - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- State
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- Target
Db Server Version This property is required. string - The target software version for the database server patching operation.
- Target
Resource Id This property is required. string - The target resource ID.
- Target
Resource Type This property is required. string - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- Target
Storage Server Version This property is required. string - The target Cell version that is to be patched to.
- Time
Ended This property is required. string - The date and time the maintenance run was completed.
- Time
Scheduled This property is required. string - The date and time the maintenance run is scheduled to occur.
- Time
Started This property is required. string - The date and time the maintenance run starts.
- Total
Time Taken In Mins This property is required. int - The total time taken by corresponding resource activity in minutes.
- Compartment
Id This property is required. string - The compartment OCID.
- Current
Custom Action Timeout In Mins This property is required. int - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- Current
Patching Component This property is required. string - The name of the current infrastruture component that is getting patched.
- Custom
Action Timeout In Mins This property is required. 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 This property is required. string - The Autonomous Database Software Image OCID
- Description
This property is required. string - Description of the maintenance run.
- Display
Name This property is required. string - The user-friendly name for the maintenance run.
- Estimated
Component Patching Start Time This property is required. string - The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching Times This property is required. []GetMaintenance 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
This property is required. string - The OCID of the maintenance run.
- Is
Custom Action Timeout Enabled This property is required. bool - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- Is
Dst File Update Enabled This property is required. 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.
- Is
Maintenance Run Granular This property is required. bool - If
FALSE
, the maintenance run doesn't support granular maintenance. - Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Maintenance
Subtype This property is required. string - The sub-type of the maintenance run.
- Maintenance
Type This property is required. string - The maintenance type.
- Patch
Failure Count This property is required. int - Contain the patch failure count.
- Patch
Id This property is required. 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. - Patch
Type This property is required. string - Patching
End Time This property is required. string - The time when the patching operation ended.
- Patching
Mode This property is required. string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start Time This property is required. string - The time when the patching operation started.
- Patching
Status This property is required. string - The status of the patching operation.
- Peer
Maintenance Run Id This property is required. string - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- Peer
Maintenance Run Ids This property is required. []string - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- State
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- Target
Db Server Version This property is required. string - The target software version for the database server patching operation.
- Target
Resource Id This property is required. string - The target resource ID.
- Target
Resource Type This property is required. string - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- Target
Storage Server Version This property is required. string - The target Cell version that is to be patched to.
- Time
Ended This property is required. string - The date and time the maintenance run was completed.
- Time
Scheduled This property is required. string - The date and time the maintenance run is scheduled to occur.
- Time
Started This property is required. string - The date and time the maintenance run starts.
- Total
Time Taken In Mins This property is required. int - The total time taken by corresponding resource activity in minutes.
- compartment
Id This property is required. String - The compartment OCID.
- current
Custom Action Timeout In Mins This property is required. Integer - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching Component This property is required. String - The name of the current infrastruture component that is getting patched.
- custom
Action Timeout In Mins This property is required. 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.
- database
Software Image Id This property is required. String - The Autonomous Database Software Image OCID
- description
This property is required. String - Description of the maintenance run.
- display
Name This property is required. String - The user-friendly name for the maintenance run.
- estimated
Component Patching Start Time This property is required. String - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching Times This property is required. List<GetMaintenance 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
This property is required. String - The OCID of the maintenance run.
- is
Custom Action Timeout Enabled This property is required. Boolean - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst File Update Enabled This property is required. 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.
- is
Maintenance Run Granular This property is required. Boolean - If
FALSE
, the maintenance run doesn't support granular maintenance. - lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- maintenance
Subtype This property is required. String - The sub-type of the maintenance run.
- maintenance
Type This property is required. String - The maintenance type.
- patch
Failure Count This property is required. Integer - Contain the patch failure count.
- patch
Id This property is required. 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. - patch
Type This property is required. String - patching
End Time This property is required. String - The time when the patching operation ended.
- patching
Mode This property is required. String - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start Time This property is required. String - The time when the patching operation started.
- patching
Status This property is required. String - The status of the patching operation.
- peer
Maintenance Run Id This property is required. String - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peer
Maintenance Run Ids This property is required. List<String> - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state
This property is required. String - A filter to return only resources that match the given lifecycle state exactly.
- target
Db Server Version This property is required. String - The target software version for the database server patching operation.
- target
Resource Id This property is required. String - The target resource ID.
- target
Resource Type This property is required. String - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- target
Storage Server Version This property is required. String - The target Cell version that is to be patched to.
- time
Ended This property is required. String - The date and time the maintenance run was completed.
- time
Scheduled This property is required. String - The date and time the maintenance run is scheduled to occur.
- time
Started This property is required. String - The date and time the maintenance run starts.
- total
Time Taken In Mins This property is required. Integer - The total time taken by corresponding resource activity in minutes.
- compartment
Id This property is required. string - The compartment OCID.
- current
Custom Action Timeout In Mins This property is required. number - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching Component This property is required. string - The name of the current infrastruture component that is getting patched.
- custom
Action Timeout In Mins This property is required. 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.
- database
Software Image Id This property is required. string - The Autonomous Database Software Image OCID
- description
This property is required. string - Description of the maintenance run.
- display
Name This property is required. string - The user-friendly name for the maintenance run.
- estimated
Component Patching Start Time This property is required. string - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching Times This property is required. GetMaintenance 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
This property is required. string - The OCID of the maintenance run.
- is
Custom Action Timeout Enabled This property is required. boolean - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst File Update Enabled This property is required. 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.
- is
Maintenance Run Granular This property is required. boolean - If
FALSE
, the maintenance run doesn't support granular maintenance. - lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- maintenance
Subtype This property is required. string - The sub-type of the maintenance run.
- maintenance
Type This property is required. string - The maintenance type.
- patch
Failure Count This property is required. number - Contain the patch failure count.
- patch
Id This property is required. 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. - patch
Type This property is required. string - patching
End Time This property is required. string - The time when the patching operation ended.
- patching
Mode This property is required. string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start Time This property is required. string - The time when the patching operation started.
- patching
Status This property is required. string - The status of the patching operation.
- peer
Maintenance Run Id This property is required. string - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peer
Maintenance Run Ids This property is required. string[] - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state
This property is required. string - A filter to return only resources that match the given lifecycle state exactly.
- target
Db Server Version This property is required. string - The target software version for the database server patching operation.
- target
Resource Id This property is required. string - The target resource ID.
- target
Resource Type This property is required. string - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- target
Storage Server Version This property is required. string - The target Cell version that is to be patched to.
- time
Ended This property is required. string - The date and time the maintenance run was completed.
- time
Scheduled This property is required. string - The date and time the maintenance run is scheduled to occur.
- time
Started This property is required. string - The date and time the maintenance run starts.
- total
Time Taken In Mins This property is required. number - The total time taken by corresponding resource activity in minutes.
- compartment_
id This property is required. str - The compartment OCID.
- current_
custom_ action_ timeout_ in_ mins This property is required. int - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current_
patching_ component This property is required. str - The name of the current infrastruture component that is getting patched.
- custom_
action_ timeout_ in_ mins This property is required. 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 This property is required. str - The Autonomous Database Software Image OCID
- description
This property is required. str - Description of the maintenance run.
- display_
name This property is required. str - The user-friendly name for the maintenance run.
- estimated_
component_ patching_ start_ time This property is required. str - The estimated start time of the next infrastruture component patching operation.
- estimated_
patching_ times This property is required. Sequence[database.Get 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
This property is required. str - The OCID of the maintenance run.
- is_
custom_ action_ timeout_ enabled This property is required. bool - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is_
dst_ file_ update_ enabled This property is required. 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.
- is_
maintenance_ run_ granular This property is required. bool - If
FALSE
, the maintenance run doesn't support granular maintenance. - lifecycle_
details This property is required. str - Additional information about the current lifecycle state.
- maintenance_
subtype This property is required. str - The sub-type of the maintenance run.
- maintenance_
type This property is required. str - The maintenance type.
- patch_
failure_ count This property is required. int - Contain the patch failure count.
- patch_
id This property is required. 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 This property is required. str - patching_
end_ time This property is required. str - The time when the patching operation ended.
- patching_
mode This property is required. str - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching_
start_ time This property is required. str - The time when the patching operation started.
- patching_
status This property is required. str - The status of the patching operation.
- peer_
maintenance_ run_ id This property is required. str - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peer_
maintenance_ run_ ids This property is required. Sequence[str] - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state
This property is required. str - A filter to return only resources that match the given lifecycle state exactly.
- target_
db_ server_ version This property is required. str - The target software version for the database server patching operation.
- target_
resource_ id This property is required. str - The target resource ID.
- target_
resource_ type This property is required. str - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- target_
storage_ server_ version This property is required. str - The target Cell version that is to be patched to.
- time_
ended This property is required. str - The date and time the maintenance run was completed.
- time_
scheduled This property is required. str - The date and time the maintenance run is scheduled to occur.
- time_
started This property is required. str - The date and time the maintenance run starts.
- total_
time_ taken_ in_ mins This property is required. int - The total time taken by corresponding resource activity in minutes.
- compartment
Id This property is required. String - The compartment OCID.
- current
Custom Action Timeout In Mins This property is required. Number - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching Component This property is required. String - The name of the current infrastruture component that is getting patched.
- custom
Action Timeout In Mins This property is required. 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.
- database
Software Image Id This property is required. String - The Autonomous Database Software Image OCID
- description
This property is required. String - Description of the maintenance run.
- display
Name This property is required. String - The user-friendly name for the maintenance run.
- estimated
Component Patching Start Time This property is required. String - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching Times This property is required. List<Property Map> - The estimated total time required in minutes for all patching operations (database server, storage server, and network switch patching).
- id
This property is required. String - The OCID of the maintenance run.
- is
Custom Action Timeout Enabled This property is required. Boolean - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst File Update Enabled This property is required. 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.
- is
Maintenance Run Granular This property is required. Boolean - If
FALSE
, the maintenance run doesn't support granular maintenance. - lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- maintenance
Subtype This property is required. String - The sub-type of the maintenance run.
- maintenance
Type This property is required. String - The maintenance type.
- patch
Failure Count This property is required. Number - Contain the patch failure count.
- patch
Id This property is required. 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. - patch
Type This property is required. String - patching
End Time This property is required. String - The time when the patching operation ended.
- patching
Mode This property is required. String - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start Time This property is required. String - The time when the patching operation started.
- patching
Status This property is required. String - The status of the patching operation.
- peer
Maintenance Run Id This property is required. String - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- peer
Maintenance Run Ids This property is required. List<String> - The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.
- state
This property is required. String - A filter to return only resources that match the given lifecycle state exactly.
- target
Db Server Version This property is required. String - The target software version for the database server patching operation.
- target
Resource Id This property is required. String - The target resource ID.
- target
Resource Type This property is required. String - The type of the target resource. Accepted values are: AUTONOMOUS_CONTAINER_DATABASE, AUTONOMOUS_EXADATA_INFRASTRUCTURE, EXADATA_DB_SYSTEM
- target
Storage Server Version This property is required. String - The target Cell version that is to be patched to.
- time
Ended This property is required. String - The date and time the maintenance run was completed.
- time
Scheduled This property is required. String - The date and time the maintenance run is scheduled to occur.
- time
Started This property is required. String - The date and time the maintenance run starts.
- total
Time Taken In Mins This property is required. Number - The total time taken by corresponding resource activity in minutes.
GetMaintenanceRunsMaintenanceRunEstimatedPatchingTime
- Estimated
Db Server Patching Time This property is required. int - The estimated time required in minutes for database server patching.
- Estimated
Network Switches Patching Time This property is required. int - The estimated time required in minutes for network switch patching.
- Estimated
Storage Server Patching Time This property is required. int - The estimated time required in minutes for storage server patching.
- Total
Estimated Patching Time This property is required. int - The estimated total time required in minutes for all patching operations.
- Estimated
Db Server Patching Time This property is required. int - The estimated time required in minutes for database server patching.
- Estimated
Network Switches Patching Time This property is required. int - The estimated time required in minutes for network switch patching.
- Estimated
Storage Server Patching Time This property is required. int - The estimated time required in minutes for storage server patching.
- Total
Estimated Patching Time This property is required. int - The estimated total time required in minutes for all patching operations.
- estimated
Db Server Patching Time This property is required. Integer - The estimated time required in minutes for database server patching.
- estimated
Network Switches Patching Time This property is required. Integer - The estimated time required in minutes for network switch patching.
- estimated
Storage Server Patching Time This property is required. Integer - The estimated time required in minutes for storage server patching.
- total
Estimated Patching Time This property is required. Integer - The estimated total time required in minutes for all patching operations.
- estimated
Db Server Patching Time This property is required. number - The estimated time required in minutes for database server patching.
- estimated
Network Switches Patching Time This property is required. number - The estimated time required in minutes for network switch patching.
- estimated
Storage Server Patching Time This property is required. number - The estimated time required in minutes for storage server patching.
- total
Estimated Patching Time This property is required. number - The estimated total time required in minutes for all patching operations.
- estimated_
db_ server_ patching_ time This property is required. int - The estimated time required in minutes for database server patching.
- estimated_
network_ switches_ patching_ time This property is required. int - The estimated time required in minutes for network switch patching.
- estimated_
storage_ server_ patching_ time This property is required. int - The estimated time required in minutes for storage server patching.
- total_
estimated_ patching_ time This property is required. int - The estimated total time required in minutes for all patching operations.
- estimated
Db Server Patching Time This property is required. Number - The estimated time required in minutes for database server patching.
- estimated
Network Switches Patching Time This property is required. Number - The estimated time required in minutes for network switch patching.
- estimated
Storage Server Patching Time This property is required. Number - The estimated time required in minutes for storage server patching.
- total
Estimated Patching Time This property is required. Number - 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
oci
Terraform Provider.