Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
This data source provides details about a specific Maintenance Execution resource in Oracle Cloud Infrastructure Datacc service.
Gets information about the specified OCID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMaintenanceExecution = oci.oci.getDataccMaintenanceExecution({
maintenanceExecutionId: testMaintenanceExecutionOciDataccMaintenanceExecution.id,
});
import pulumi
import pulumi_oci as oci
test_maintenance_execution = oci.oci.get_datacc_maintenance_execution(maintenance_execution_id=test_maintenance_execution_oci_datacc_maintenance_execution["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetDataccMaintenanceExecution(ctx, &oci.GetDataccMaintenanceExecutionArgs{
MaintenanceExecutionId: testMaintenanceExecutionOciDataccMaintenanceExecution.Id,
}, 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 testMaintenanceExecution = Oci.Oci.GetDataccMaintenanceExecution.Invoke(new()
{
MaintenanceExecutionId = testMaintenanceExecutionOciDataccMaintenanceExecution.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetDataccMaintenanceExecutionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 testMaintenanceExecution = OciFunctions.getDataccMaintenanceExecution(GetDataccMaintenanceExecutionArgs.builder()
.maintenanceExecutionId(testMaintenanceExecutionOciDataccMaintenanceExecution.id())
.build());
}
}
variables:
testMaintenanceExecution:
fn::invoke:
function: oci:oci:getDataccMaintenanceExecution
arguments:
maintenanceExecutionId: ${testMaintenanceExecutionOciDataccMaintenanceExecution.id}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_getdataccmaintenanceexecution" "testMaintenanceExecution" {
maintenance_execution_id = testMaintenanceExecutionOciDataccMaintenanceExecution.id
}
Using getDataccMaintenanceExecution
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 getDataccMaintenanceExecution(args: GetDataccMaintenanceExecutionArgs, opts?: InvokeOptions): Promise<GetDataccMaintenanceExecutionResult>
function getDataccMaintenanceExecutionOutput(args: GetDataccMaintenanceExecutionOutputArgs, opts?: InvokeOptions): Output<GetDataccMaintenanceExecutionResult>def get_datacc_maintenance_execution(maintenance_execution_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataccMaintenanceExecutionResult
def get_datacc_maintenance_execution_output(maintenance_execution_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataccMaintenanceExecutionResult]func GetDataccMaintenanceExecution(ctx *Context, args *GetDataccMaintenanceExecutionArgs, opts ...InvokeOption) (*GetDataccMaintenanceExecutionResult, error)
func GetDataccMaintenanceExecutionOutput(ctx *Context, args *GetDataccMaintenanceExecutionOutputArgs, opts ...InvokeOption) GetDataccMaintenanceExecutionResultOutput> Note: This function is named GetDataccMaintenanceExecution in the Go SDK.
public static class GetDataccMaintenanceExecution
{
public static Task<GetDataccMaintenanceExecutionResult> InvokeAsync(GetDataccMaintenanceExecutionArgs args, InvokeOptions? opts = null)
public static Output<GetDataccMaintenanceExecutionResult> Invoke(GetDataccMaintenanceExecutionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataccMaintenanceExecutionResult> getDataccMaintenanceExecution(GetDataccMaintenanceExecutionArgs args, InvokeOptions options)
public static Output<GetDataccMaintenanceExecutionResult> getDataccMaintenanceExecution(GetDataccMaintenanceExecutionArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDataccMaintenanceExecution:getDataccMaintenanceExecution
arguments:
# arguments dictionarydata "oci_oci_get_datacc_maintenance_execution" "name" {
# arguments
}The following arguments are supported:
- Maintenance
Execution stringId - The maintenance execution OCID.
- Maintenance
Execution stringId - The maintenance execution OCID.
- maintenance_
execution_ stringid - The maintenance execution OCID.
- maintenance
Execution StringId - The maintenance execution OCID.
- maintenance
Execution stringId - The maintenance execution OCID.
- maintenance_
execution_ strid - The maintenance execution OCID.
- maintenance
Execution StringId - The maintenance execution OCID.
getDataccMaintenanceExecution Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Custom
Action intTimeout In Mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- Description of the maintenance run execution.
- Display
Name string - The user-friendly name for the maintenance run execution.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure
Id string - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- Is
Custom boolAction Timeout Enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Maintenance
Execution stringId - Maintenance
Run stringId - The OCID of the maintenance run to which this maintenance execution belongs.
- Maintenance
Subtype string - Maintenance run execution sub-type.
- Maintenance
Type string - Maintenance type.
- Patching
Mode string - The patching mode for the maintenance run that is being executed.
- Source
Version string - The source software version for the Oracle infrastructure.
- State string
- The state of the maintenance run execution.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Resource stringType - The type of the target resource on which the maintenance run execution occurred.
- Target
Version string - The target software version for the Database Infrastructure patching operation.
- Time
Ended string - The date and time the maintenance run was completed.
- Time
Started string - The date and time the maintenance run execution started.
- Total
Time intTaken In Mins - The total time taken by this execution in minutes.
- Workflow
Id string - The OCID of the work request executed by this execution.
- Compartment
Id string - The OCID of the compartment.
- Custom
Action intTimeout In Mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- Description of the maintenance run execution.
- Display
Name string - The user-friendly name for the maintenance run execution.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure
Id string - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- Is
Custom boolAction Timeout Enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- Lifecycle
Details string - Additional information about the current lifecycle state.
- Maintenance
Execution stringId - Maintenance
Run stringId - The OCID of the maintenance run to which this maintenance execution belongs.
- Maintenance
Subtype string - Maintenance run execution sub-type.
- Maintenance
Type string - Maintenance type.
- Patching
Mode string - The patching mode for the maintenance run that is being executed.
- Source
Version string - The source software version for the Oracle infrastructure.
- State string
- The state of the maintenance run execution.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Resource stringType - The type of the target resource on which the maintenance run execution occurred.
- Target
Version string - The target software version for the Database Infrastructure patching operation.
- Time
Ended string - The date and time the maintenance run was completed.
- Time
Started string - The date and time the maintenance run execution started.
- Total
Time intTaken In Mins - The total time taken by this execution in minutes.
- Workflow
Id string - The OCID of the work request executed by this execution.
- compartment_
id string - The OCID of the compartment.
- custom_
action_ numbertimeout_ in_ mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- Description of the maintenance run execution.
- display_
name string - The user-friendly name for the maintenance run execution.
- map(string)
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The provider-assigned unique ID for this managed resource.
- infrastructure_
id string - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- is_
custom_ boolaction_ timeout_ enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- lifecycle_
details string - Additional information about the current lifecycle state.
- maintenance_
execution_ stringid - maintenance_
run_ stringid - The OCID of the maintenance run to which this maintenance execution belongs.
- maintenance_
subtype string - Maintenance run execution sub-type.
- maintenance_
type string - Maintenance type.
- patching_
mode string - The patching mode for the maintenance run that is being executed.
- source_
version string - The source software version for the Oracle infrastructure.
- state string
- The state of the maintenance run execution.
- map(string)
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target_
resource_ stringtype - The type of the target resource on which the maintenance run execution occurred.
- target_
version string - The target software version for the Database Infrastructure patching operation.
- time_
ended string - The date and time the maintenance run was completed.
- time_
started string - The date and time the maintenance run execution started.
- total_
time_ numbertaken_ in_ mins - The total time taken by this execution in minutes.
- workflow_
id string - The OCID of the work request executed by this execution.
- compartment
Id String - The OCID of the compartment.
- custom
Action IntegerTimeout In Mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- Description of the maintenance run execution.
- display
Name String - The user-friendly name for the maintenance run execution.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id String - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- is
Custom BooleanAction Timeout Enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- maintenance
Execution StringId - maintenance
Run StringId - The OCID of the maintenance run to which this maintenance execution belongs.
- maintenance
Subtype String - Maintenance run execution sub-type.
- maintenance
Type String - Maintenance type.
- patching
Mode String - The patching mode for the maintenance run that is being executed.
- source
Version String - The source software version for the Oracle infrastructure.
- state String
- The state of the maintenance run execution.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Resource StringType - The type of the target resource on which the maintenance run execution occurred.
- target
Version String - The target software version for the Database Infrastructure patching operation.
- time
Ended String - The date and time the maintenance run was completed.
- time
Started String - The date and time the maintenance run execution started.
- total
Time IntegerTaken In Mins - The total time taken by this execution in minutes.
- workflow
Id String - The OCID of the work request executed by this execution.
- compartment
Id string - The OCID of the compartment.
- custom
Action numberTimeout In Mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- Description of the maintenance run execution.
- display
Name string - The user-friendly name for the maintenance run execution.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - id string
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id string - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- is
Custom booleanAction Timeout Enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- lifecycle
Details string - Additional information about the current lifecycle state.
- maintenance
Execution stringId - maintenance
Run stringId - The OCID of the maintenance run to which this maintenance execution belongs.
- maintenance
Subtype string - Maintenance run execution sub-type.
- maintenance
Type string - Maintenance type.
- patching
Mode string - The patching mode for the maintenance run that is being executed.
- source
Version string - The source software version for the Oracle infrastructure.
- state string
- The state of the maintenance run execution.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Resource stringType - The type of the target resource on which the maintenance run execution occurred.
- target
Version string - The target software version for the Database Infrastructure patching operation.
- time
Ended string - The date and time the maintenance run was completed.
- time
Started string - The date and time the maintenance run execution started.
- total
Time numberTaken In Mins - The total time taken by this execution in minutes.
- workflow
Id string - The OCID of the work request executed by this execution.
- compartment_
id str - The OCID of the compartment.
- custom_
action_ inttimeout_ in_ mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- Description of the maintenance run execution.
- display_
name str - The user-friendly name for the maintenance run execution.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - id str
- The provider-assigned unique ID for this managed resource.
- infrastructure_
id str - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- is_
custom_ boolaction_ timeout_ enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- lifecycle_
details str - Additional information about the current lifecycle state.
- maintenance_
execution_ strid - maintenance_
run_ strid - The OCID of the maintenance run to which this maintenance execution belongs.
- maintenance_
subtype str - Maintenance run execution sub-type.
- maintenance_
type str - Maintenance type.
- patching_
mode str - The patching mode for the maintenance run that is being executed.
- source_
version str - The source software version for the Oracle infrastructure.
- state str
- The state of the maintenance run execution.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target_
resource_ strtype - The type of the target resource on which the maintenance run execution occurred.
- target_
version str - The target software version for the Database Infrastructure patching operation.
- time_
ended str - The date and time the maintenance run was completed.
- time_
started str - The date and time the maintenance run execution started.
- total_
time_ inttaken_ in_ mins - The total time taken by this execution in minutes.
- workflow_
id str - The OCID of the work request executed by this execution.
- compartment
Id String - The OCID of the compartment.
- custom
Action NumberTimeout In Mins - Determines the amount of time the system will wait before the start of each compute server patching operation. Supported values are 15 to 120 minutes.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- Description of the maintenance run execution.
- display
Name String - The user-friendly name for the maintenance run execution.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Id String - The OCID of the Database Infrastructure on which the maintenance run execution occurred.
- is
Custom BooleanAction Timeout Enabled - At the time of execution whether the custom action time out is enabled for the maintenance run that is being executed.
- lifecycle
Details String - Additional information about the current lifecycle state.
- maintenance
Execution StringId - maintenance
Run StringId - The OCID of the maintenance run to which this maintenance execution belongs.
- maintenance
Subtype String - Maintenance run execution sub-type.
- maintenance
Type String - Maintenance type.
- patching
Mode String - The patching mode for the maintenance run that is being executed.
- source
Version String - The source software version for the Oracle infrastructure.
- state String
- The state of the maintenance run execution.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Resource StringType - The type of the target resource on which the maintenance run execution occurred.
- target
Version String - The target software version for the Database Infrastructure patching operation.
- time
Ended String - The date and time the maintenance run was completed.
- time
Started String - The date and time the maintenance run execution started.
- total
Time NumberTaken In Mins - The total time taken by this execution in minutes.
- workflow
Id String - The OCID of the work request executed by this execution.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi