Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.Database.getDatabaseMaintenanceRunHistories
Explore with Pulumi AI
This data source provides the list of Maintenance Run Histories in Oracle Cloud Infrastructure Database service.
Gets a list of the maintenance run histories in the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaintenanceRunHistories = oci.Database.getDatabaseMaintenanceRunHistories({
compartmentId: compartmentId,
availabilityDomain: maintenanceRunHistoryAvailabilityDomain,
maintenanceType: maintenanceRunHistoryMaintenanceType,
state: maintenanceRunHistoryState,
targetResourceId: testTargetResource.id,
targetResourceType: maintenanceRunHistoryTargetResourceType,
});
import pulumi
import pulumi_oci as oci
test_maintenance_run_histories = oci.Database.get_database_maintenance_run_histories(compartment_id=compartment_id,
availability_domain=maintenance_run_history_availability_domain,
maintenance_type=maintenance_run_history_maintenance_type,
state=maintenance_run_history_state,
target_resource_id=test_target_resource["id"],
target_resource_type=maintenance_run_history_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.GetDatabaseMaintenanceRunHistories(ctx, &database.GetDatabaseMaintenanceRunHistoriesArgs{
CompartmentId: compartmentId,
AvailabilityDomain: pulumi.StringRef(maintenanceRunHistoryAvailabilityDomain),
MaintenanceType: pulumi.StringRef(maintenanceRunHistoryMaintenanceType),
State: pulumi.StringRef(maintenanceRunHistoryState),
TargetResourceId: pulumi.StringRef(testTargetResource.Id),
TargetResourceType: pulumi.StringRef(maintenanceRunHistoryTargetResourceType),
}, 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 testMaintenanceRunHistories = Oci.Database.GetDatabaseMaintenanceRunHistories.Invoke(new()
{
CompartmentId = compartmentId,
AvailabilityDomain = maintenanceRunHistoryAvailabilityDomain,
MaintenanceType = maintenanceRunHistoryMaintenanceType,
State = maintenanceRunHistoryState,
TargetResourceId = testTargetResource.Id,
TargetResourceType = maintenanceRunHistoryTargetResourceType,
});
});
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.GetDatabaseMaintenanceRunHistoriesArgs;
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 testMaintenanceRunHistories = DatabaseFunctions.getDatabaseMaintenanceRunHistories(GetDatabaseMaintenanceRunHistoriesArgs.builder()
.compartmentId(compartmentId)
.availabilityDomain(maintenanceRunHistoryAvailabilityDomain)
.maintenanceType(maintenanceRunHistoryMaintenanceType)
.state(maintenanceRunHistoryState)
.targetResourceId(testTargetResource.id())
.targetResourceType(maintenanceRunHistoryTargetResourceType)
.build());
}
}
variables:
testMaintenanceRunHistories:
fn::invoke:
Function: oci:Database:getDatabaseMaintenanceRunHistories
Arguments:
compartmentId: ${compartmentId}
availabilityDomain: ${maintenanceRunHistoryAvailabilityDomain}
maintenanceType: ${maintenanceRunHistoryMaintenanceType}
state: ${maintenanceRunHistoryState}
targetResourceId: ${testTargetResource.id}
targetResourceType: ${maintenanceRunHistoryTargetResourceType}
Using getDatabaseMaintenanceRunHistories
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 getDatabaseMaintenanceRunHistories(args: GetDatabaseMaintenanceRunHistoriesArgs, opts?: InvokeOptions): Promise<GetDatabaseMaintenanceRunHistoriesResult>
function getDatabaseMaintenanceRunHistoriesOutput(args: GetDatabaseMaintenanceRunHistoriesOutputArgs, opts?: InvokeOptions): Output<GetDatabaseMaintenanceRunHistoriesResult>
def get_database_maintenance_run_histories(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[_database.GetDatabaseMaintenanceRunHistoriesFilter]] = 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) -> GetDatabaseMaintenanceRunHistoriesResult
def get_database_maintenance_run_histories_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetDatabaseMaintenanceRunHistoriesFilterArgs]]]] = 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[GetDatabaseMaintenanceRunHistoriesResult]
func GetDatabaseMaintenanceRunHistories(ctx *Context, args *GetDatabaseMaintenanceRunHistoriesArgs, opts ...InvokeOption) (*GetDatabaseMaintenanceRunHistoriesResult, error)
func GetDatabaseMaintenanceRunHistoriesOutput(ctx *Context, args *GetDatabaseMaintenanceRunHistoriesOutputArgs, opts ...InvokeOption) GetDatabaseMaintenanceRunHistoriesResultOutput
> Note: This function is named GetDatabaseMaintenanceRunHistories
in the Go SDK.
public static class GetDatabaseMaintenanceRunHistories
{
public static Task<GetDatabaseMaintenanceRunHistoriesResult> InvokeAsync(GetDatabaseMaintenanceRunHistoriesArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseMaintenanceRunHistoriesResult> Invoke(GetDatabaseMaintenanceRunHistoriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseMaintenanceRunHistoriesResult> getDatabaseMaintenanceRunHistories(GetDatabaseMaintenanceRunHistoriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Database/getDatabaseMaintenanceRunHistories:getDatabaseMaintenanceRunHistories
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The compartment OCID.
- Availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- Filters
List<Get
Database Maintenance Run Histories Filter> - Maintenance
Type string - The maintenance type.
- State string
- The state of the maintenance run history.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource.
- Compartment
Id string - The compartment OCID.
- Availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- Filters
[]Get
Database Maintenance Run Histories Filter - Maintenance
Type string - The maintenance type.
- State string
- The state of the maintenance run history.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource.
- compartment
Id String - The compartment OCID.
- availability
Domain String - A filter to return only resources that match the given availability domain exactly.
- filters
List<Get
Maintenance Run Histories Filter> - maintenance
Type String - The maintenance type.
- state String
- The state of the maintenance run history.
- target
Resource StringId - The target resource ID.
- target
Resource StringType - The type of the target resource.
- compartment
Id string - The compartment OCID.
- availability
Domain string - A filter to return only resources that match the given availability domain exactly.
- filters
Get
Database Maintenance Run Histories Filter[] - maintenance
Type string - The maintenance type.
- state string
- The state of the maintenance run history.
- target
Resource stringId - The target resource ID.
- target
Resource stringType - The type of the target resource.
- compartment_
id str - The compartment OCID.
- availability_
domain str - A filter to return only resources that match the given availability domain exactly.
- filters
Sequence[database.
Get Database Maintenance Run Histories Filter] - maintenance_
type str - The maintenance type.
- state str
- The state of the maintenance run history.
- target_
resource_ strid - The target resource ID.
- target_
resource_ strtype - The type of the target resource.
- compartment
Id String - The compartment OCID.
- availability
Domain String - A filter to return only resources that match the given availability domain exactly.
- filters List<Property Map>
- maintenance
Type String - The maintenance type.
- state String
- The state of the maintenance run history.
- target
Resource StringId - The target resource ID.
- target
Resource StringType - The type of the target resource.
getDatabaseMaintenanceRunHistories 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
Run List<GetHistories Database Maintenance Run Histories Maintenance Run History> - The list of maintenance_run_histories.
- Availability
Domain string - Filters
List<Get
Database Maintenance Run Histories Filter> - 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
Run []GetHistories Database Maintenance Run Histories Maintenance Run History - The list of maintenance_run_histories.
- Availability
Domain string - Filters
[]Get
Database Maintenance Run Histories Filter - 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
Run List<GetHistories Maintenance Run Histories Maintenance Run History> - The list of maintenance_run_histories.
- availability
Domain String - filters
List<Get
Maintenance Run Histories Filter> - 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
Run GetHistories Database Maintenance Run Histories Maintenance Run History[] - The list of maintenance_run_histories.
- availability
Domain string - filters
Get
Database Maintenance Run Histories Filter[] - 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_
run_ Sequence[database.histories Get Database Maintenance Run Histories Maintenance Run History] - The list of maintenance_run_histories.
- availability_
domain str - filters
Sequence[database.
Get Database Maintenance Run Histories Filter] - 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
Run List<Property Map>Histories - The list of maintenance_run_histories.
- availability
Domain String - filters List<Property Map>
- 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
GetDatabaseMaintenanceRunHistoriesFilter
GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistory
- Db
Servers List<GetHistory Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail> - List of database server history details.
- Id string
- The OCID of the maintenance run.
- Maintenance
Run List<GetDetails Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail> - Details of a maintenance run.
- Db
Servers []GetHistory Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail - List of database server history details.
- Id string
- The OCID of the maintenance run.
- Maintenance
Run []GetDetails Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail - Details of a maintenance run.
- db
Servers List<GetHistory Details Maintenance Run Histories Maintenance Run History Db Servers History Detail> - List of database server history details.
- id String
- The OCID of the maintenance run.
- maintenance
Run List<GetDetails Maintenance Run Histories Maintenance Run History Maintenance Run Detail> - Details of a maintenance run.
- db
Servers GetHistory Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail[] - List of database server history details.
- id string
- The OCID of the maintenance run.
- maintenance
Run GetDetails Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail[] - Details of a maintenance run.
- db_
servers_ Sequence[database.history_ details Get Database Maintenance Run Histories Maintenance Run History Db Servers History Detail] - List of database server history details.
- id str
- The OCID of the maintenance run.
- maintenance_
run_ Sequence[database.details Get Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail] - Details of a maintenance run.
- db
Servers List<Property Map>History Details - List of database server history details.
- id String
- The OCID of the maintenance run.
- maintenance
Run List<Property Map>Details - Details of a maintenance run.
GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetail
- Db
Server List<GetPatching Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail Db Server Patching Detail> - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- Display
Name string - The user-friendly name for the maintenance run.
- Id string
- The OCID of the maintenance run.
- Db
Server []GetPatching Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail Db Server Patching Detail - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- Display
Name string - The user-friendly name for the maintenance run.
- Id string
- The OCID of the maintenance run.
- db
Server List<GetPatching Details Maintenance Run Histories Maintenance Run History Db Servers History Detail Db Server Patching Detail> - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name String - The user-friendly name for the maintenance run.
- id String
- The OCID of the maintenance run.
- db
Server GetPatching Details Database Maintenance Run Histories Maintenance Run History Db Servers History Detail Db Server Patching Detail[] - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name string - The user-friendly name for the maintenance run.
- id string
- The OCID of the maintenance run.
- db_
server_ Sequence[database.patching_ details Get Database Maintenance Run Histories Maintenance Run History Db Servers History Detail Db Server Patching Detail] - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display_
name str - The user-friendly name for the maintenance run.
- id str
- The OCID of the maintenance run.
- db
Server List<Property Map>Patching Details - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
- display
Name String - The user-friendly name for the maintenance run.
- id String
- The OCID of the maintenance run.
GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetailDbServerPatchingDetail
- Estimated
Patch intDuration - Estimated time, in minutes, to patch one database server.
- Patching
Status string - The status of the patching operation.
- Time
Patching stringEnded - The time when the patching operation ended.
- Time
Patching stringStarted - The time when the patching operation started.
- Estimated
Patch intDuration - Estimated time, in minutes, to patch one database server.
- Patching
Status string - The status of the patching operation.
- Time
Patching stringEnded - The time when the patching operation ended.
- Time
Patching stringStarted - The time when the patching operation started.
- estimated
Patch IntegerDuration - Estimated time, in minutes, to patch one database server.
- patching
Status String - The status of the patching operation.
- time
Patching StringEnded - The time when the patching operation ended.
- time
Patching StringStarted - The time when the patching operation started.
- estimated
Patch numberDuration - Estimated time, in minutes, to patch one database server.
- patching
Status string - The status of the patching operation.
- time
Patching stringEnded - The time when the patching operation ended.
- time
Patching stringStarted - The time when the patching operation started.
- estimated_
patch_ intduration - Estimated time, in minutes, to patch one database server.
- patching_
status str - The status of the patching operation.
- time_
patching_ strended - The time when the patching operation ended.
- time_
patching_ strstarted - The time when the patching operation started.
- estimated
Patch NumberDuration - Estimated time, in minutes, to patch one database server.
- patching
Status String - The status of the patching operation.
- time
Patching StringEnded - The time when the patching operation ended.
- time
Patching StringStarted - The time when the patching operation started.
GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetail
- Compartment
Id string - 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 stringComponent - 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 stringImage Id - The Autonomous Database Software Image OCID
- Description string
- Description of the maintenance run.
- Display
Name string - The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time - The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching List<GetTimes Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail 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.
- 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.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Maintenance
Subtype string - Maintenance sub-type.
- Maintenance
Type string - The maintenance type.
- Patch
Failure intCount - Contain the patch failure count.
- Patch
Id 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. - Patching
End stringTime - The time when the patching operation ended.
- Patching
Mode string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start stringTime - The time when the patching operation started.
- Patching
Status string - The status of the patching operation.
- Peer
Maintenance stringRun Id - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- State string
- The state of the maintenance run history.
- Target
Db stringServer Version - The target software version for the database server patching operation.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource.
- Target
Storage stringServer Version - The target Cell version that is to be patched to.
- Time
Ended string - The date and time the maintenance run was completed.
- Time
Scheduled string - The date and time the maintenance run is scheduled to occur.
- Time
Started string - The date and time the maintenance run starts.
- Compartment
Id string - 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 stringComponent - 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 stringImage Id - The Autonomous Database Software Image OCID
- Description string
- Description of the maintenance run.
- Display
Name string - The user-friendly name for the maintenance run.
- Estimated
Component stringPatching Start Time - The estimated start time of the next infrastruture component patching operation.
- Estimated
Patching []GetTimes Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail 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.
- 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.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Maintenance
Subtype string - Maintenance sub-type.
- Maintenance
Type string - The maintenance type.
- Patch
Failure intCount - Contain the patch failure count.
- Patch
Id 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. - Patching
End stringTime - The time when the patching operation ended.
- Patching
Mode string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- Patching
Start stringTime - The time when the patching operation started.
- Patching
Status string - The status of the patching operation.
- Peer
Maintenance stringRun Id - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- State string
- The state of the maintenance run history.
- Target
Db stringServer Version - The target software version for the database server patching operation.
- Target
Resource stringId - The target resource ID.
- Target
Resource stringType - The type of the target resource.
- Target
Storage stringServer Version - The target Cell version that is to be patched to.
- Time
Ended string - The date and time the maintenance run was completed.
- Time
Scheduled string - The date and time the maintenance run is scheduled to occur.
- Time
Started string - The date and time the maintenance run starts.
- compartment
Id String - The compartment OCID.
- current
Custom IntegerAction Timeout In Mins - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching StringComponent - The name of the current infrastruture component that is getting patched.
- custom
Action 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.
- database
Software StringImage Id - The Autonomous Database Software Image OCID
- description String
- Description of the maintenance run.
- display
Name String - The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching List<GetTimes Maintenance Run Histories Maintenance Run History Maintenance Run Detail 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.
- is
Custom BooleanAction Timeout Enabled - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst 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.
- lifecycle
Details String - Additional information about the current lifecycle state.
- maintenance
Subtype String - Maintenance sub-type.
- maintenance
Type String - The maintenance type.
- patch
Failure IntegerCount - Contain the patch failure count.
- patch
Id 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. - patching
End StringTime - The time when the patching operation ended.
- patching
Mode String - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start StringTime - The time when the patching operation started.
- patching
Status String - The status of the patching operation.
- peer
Maintenance StringRun Id - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- state String
- The state of the maintenance run history.
- target
Db StringServer Version - The target software version for the database server patching operation.
- target
Resource StringId - The target resource ID.
- target
Resource StringType - The type of the target resource.
- target
Storage StringServer Version - The target Cell version that is to be patched to.
- time
Ended String - The date and time the maintenance run was completed.
- time
Scheduled String - The date and time the maintenance run is scheduled to occur.
- time
Started String - The date and time the maintenance run starts.
- compartment
Id string - The compartment OCID.
- current
Custom numberAction Timeout In Mins - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching stringComponent - The name of the current infrastruture component that is getting patched.
- custom
Action 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.
- database
Software stringImage Id - The Autonomous Database Software Image OCID
- description string
- Description of the maintenance run.
- display
Name string - The user-friendly name for the maintenance run.
- estimated
Component stringPatching Start Time - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching GetTimes Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail 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.
- is
Custom booleanAction Timeout Enabled - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst 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.
- lifecycle
Details string - Additional information about the current lifecycle state.
- maintenance
Subtype string - Maintenance sub-type.
- maintenance
Type string - The maintenance type.
- patch
Failure numberCount - Contain the patch failure count.
- patch
Id 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. - patching
End stringTime - The time when the patching operation ended.
- patching
Mode string - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start stringTime - The time when the patching operation started.
- patching
Status string - The status of the patching operation.
- peer
Maintenance stringRun Id - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- state string
- The state of the maintenance run history.
- target
Db stringServer Version - The target software version for the database server patching operation.
- target
Resource stringId - The target resource ID.
- target
Resource stringType - The type of the target resource.
- target
Storage stringServer Version - The target Cell version that is to be patched to.
- time
Ended string - The date and time the maintenance run was completed.
- time
Scheduled string - The date and time the maintenance run is scheduled to occur.
- time
Started string - The date and time the maintenance run starts.
- 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[database.times Get Database Maintenance Run Histories Maintenance Run History Maintenance Run Detail 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.
- lifecycle_
details str - Additional information about the current lifecycle state.
- maintenance_
subtype str - Maintenance sub-type.
- 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_201030
is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020. - 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.
- state str
- The state of the maintenance run history.
- 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.
- 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.
- compartment
Id String - The compartment OCID.
- current
Custom NumberAction Timeout In Mins - Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
- current
Patching StringComponent - The name of the current infrastruture component that is getting patched.
- custom
Action 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.
- database
Software StringImage Id - The Autonomous Database Software Image OCID
- description String
- Description of the maintenance run.
- display
Name String - The user-friendly name for the maintenance run.
- estimated
Component StringPatching Start Time - The estimated start time of the next infrastruture component patching operation.
- estimated
Patching 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.
- is
Custom BooleanAction Timeout Enabled - If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
- is
Dst 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.
- lifecycle
Details String - Additional information about the current lifecycle state.
- maintenance
Subtype String - Maintenance sub-type.
- maintenance
Type String - The maintenance type.
- patch
Failure NumberCount - Contain the patch failure count.
- patch
Id 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. - patching
End StringTime - The time when the patching operation ended.
- patching
Mode String - Cloud Exadata infrastructure node patching method, either "ROLLING" or "NONROLLING". Default value is ROLLING.
- patching
Start StringTime - The time when the patching operation started.
- patching
Status String - The status of the patching operation.
- peer
Maintenance StringRun Id - The OCID of the maintenance run for the Autonomous Data Guard association's peer container database.
- state String
- The state of the maintenance run history.
- target
Db StringServer Version - The target software version for the database server patching operation.
- target
Resource StringId - The target resource ID.
- target
Resource StringType - The type of the target resource.
- target
Storage StringServer Version - The target Cell version that is to be patched to.
- time
Ended String - The date and time the maintenance run was completed.
- time
Scheduled String - The date and time the maintenance run is scheduled to occur.
- time
Started String - The date and time the maintenance run starts.
GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailEstimatedPatchingTime
- 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.
- 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.
- estimated
Db IntegerServer Patching Time - The estimated time required in minutes for database server patching.
- estimated
Network IntegerSwitches Patching Time - The estimated time required in minutes for network switch patching.
- estimated
Storage IntegerServer Patching Time - The estimated time required in minutes for storage server patching.
- total
Estimated IntegerPatching Time - The estimated total time required in minutes for all patching operations.
- estimated
Db numberServer Patching Time - The estimated time required in minutes for database server patching.
- estimated
Network numberSwitches Patching Time - The estimated time required in minutes for network switch patching.
- estimated
Storage numberServer Patching Time - The estimated time required in minutes for storage server patching.
- total
Estimated 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.
- estimated
Db NumberServer Patching Time - The estimated time required in minutes for database server patching.
- estimated
Network NumberSwitches Patching Time - The estimated time required in minutes for network switch patching.
- estimated
Storage NumberServer Patching Time - The estimated time required in minutes for storage server patching.
- total
Estimated 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
oci
Terraform Provider.