Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Execution Window resource in Oracle Cloud Infrastructure Database service.
Gets information about the specified execution window.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExecutionWindow = oci.Database.getExecutionWindow({
executionWindowId: testExecutionWindowOciDatabaseExecutionWindow.id,
});
import pulumi
import pulumi_oci as oci
test_execution_window = oci.Database.get_execution_window(execution_window_id=test_execution_window_oci_database_execution_window["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := database.GetExecutionWindow(ctx, &database.GetExecutionWindowArgs{
ExecutionWindowId: testExecutionWindowOciDatabaseExecutionWindow.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 testExecutionWindow = Oci.Database.GetExecutionWindow.Invoke(new()
{
ExecutionWindowId = testExecutionWindowOciDatabaseExecutionWindow.Id,
});
});
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.GetExecutionWindowArgs;
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 testExecutionWindow = DatabaseFunctions.getExecutionWindow(GetExecutionWindowArgs.builder()
.executionWindowId(testExecutionWindowOciDatabaseExecutionWindow.id())
.build());
}
}
variables:
testExecutionWindow:
fn::invoke:
function: oci:Database:getExecutionWindow
arguments:
executionWindowId: ${testExecutionWindowOciDatabaseExecutionWindow.id}
Using getExecutionWindow
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 getExecutionWindow(args: GetExecutionWindowArgs, opts?: InvokeOptions): Promise<GetExecutionWindowResult>
function getExecutionWindowOutput(args: GetExecutionWindowOutputArgs, opts?: InvokeOptions): Output<GetExecutionWindowResult>def get_execution_window(execution_window_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetExecutionWindowResult
def get_execution_window_output(execution_window_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetExecutionWindowResult]func LookupExecutionWindow(ctx *Context, args *LookupExecutionWindowArgs, opts ...InvokeOption) (*LookupExecutionWindowResult, error)
func LookupExecutionWindowOutput(ctx *Context, args *LookupExecutionWindowOutputArgs, opts ...InvokeOption) LookupExecutionWindowResultOutput> Note: This function is named LookupExecutionWindow in the Go SDK.
public static class GetExecutionWindow
{
public static Task<GetExecutionWindowResult> InvokeAsync(GetExecutionWindowArgs args, InvokeOptions? opts = null)
public static Output<GetExecutionWindowResult> Invoke(GetExecutionWindowInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExecutionWindowResult> getExecutionWindow(GetExecutionWindowArgs args, InvokeOptions options)
public static Output<GetExecutionWindowResult> getExecutionWindow(GetExecutionWindowArgs args, InvokeOptions options)
fn::invoke:
function: oci:Database/getExecutionWindow:getExecutionWindow
arguments:
# arguments dictionaryThe following arguments are supported:
- Execution
Window stringId - The execution window OCID.
- Execution
Window stringId - The execution window OCID.
- execution
Window StringId - The execution window OCID.
- execution
Window stringId - The execution window OCID.
- execution_
window_ strid - The execution window OCID.
- execution
Window StringId - The execution window OCID.
getExecutionWindow Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Description string
- Description of the execution window.
- Display
Name string - The user-friendly name for the execution window. The name does not need to be unique.
- Estimated
Time intIn Mins - The estimated time of the execution window in minutes.
- Execution
Resource stringId - The OCID of the execution resource the execution window belongs to.
- Execution
Window stringId - Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the execution window.
- Is
Enforced boolDuration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - Lifecycle
Details string - Additional information about the current lifecycle state.
- Lifecycle
Substate string - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- Time
Created string - The date and time the execution window was created.
- Time
Ended string - The date and time that the execution window ended.
- Time
Scheduled string - The scheduled start date and time of the execution window.
- Time
Started string - The date and time that the execution window was started.
- Time
Updated string - The last date and time that the execution window was updated.
- Total
Time intTaken In Mins - The total time taken by corresponding resource activity in minutes.
- Window
Duration intIn Mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- Window
Type string - The execution window is of PLANNED or UNPLANNED type.
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Description string
- Description of the execution window.
- Display
Name string - The user-friendly name for the execution window. The name does not need to be unique.
- Estimated
Time intIn Mins - The estimated time of the execution window in minutes.
- Execution
Resource stringId - The OCID of the execution resource the execution window belongs to.
- Execution
Window stringId - map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the execution window.
- Is
Enforced boolDuration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - Lifecycle
Details string - Additional information about the current lifecycle state.
- Lifecycle
Substate string - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- State string
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- Time
Created string - The date and time the execution window was created.
- Time
Ended string - The date and time that the execution window ended.
- Time
Scheduled string - The scheduled start date and time of the execution window.
- Time
Started string - The date and time that the execution window was started.
- Time
Updated string - The last date and time that the execution window was updated.
- Total
Time intTaken In Mins - The total time taken by corresponding resource activity in minutes.
- Window
Duration intIn Mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- Window
Type string - The execution window is of PLANNED or UNPLANNED type.
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description String
- Description of the execution window.
- display
Name String - The user-friendly name for the execution window. The name does not need to be unique.
- estimated
Time IntegerIn Mins - The estimated time of the execution window in minutes.
- execution
Resource StringId - The OCID of the execution resource the execution window belongs to.
- execution
Window StringId - Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the execution window.
- is
Enforced BooleanDuration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - lifecycle
Details String - Additional information about the current lifecycle state.
- lifecycle
Substate String - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time
Created String - The date and time the execution window was created.
- time
Ended String - The date and time that the execution window ended.
- time
Scheduled String - The scheduled start date and time of the execution window.
- time
Started String - The date and time that the execution window was started.
- time
Updated String - The last date and time that the execution window was updated.
- total
Time IntegerTaken In Mins - The total time taken by corresponding resource activity in minutes.
- window
Duration IntegerIn Mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- window
Type String - The execution window is of PLANNED or UNPLANNED type.
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description string
- Description of the execution window.
- display
Name string - The user-friendly name for the execution window. The name does not need to be unique.
- estimated
Time numberIn Mins - The estimated time of the execution window in minutes.
- execution
Resource stringId - The OCID of the execution resource the execution window belongs to.
- execution
Window stringId - {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the execution window.
- is
Enforced booleanDuration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - lifecycle
Details string - Additional information about the current lifecycle state.
- lifecycle
Substate string - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state string
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time
Created string - The date and time the execution window was created.
- time
Ended string - The date and time that the execution window ended.
- time
Scheduled string - The scheduled start date and time of the execution window.
- time
Started string - The date and time that the execution window was started.
- time
Updated string - The last date and time that the execution window was updated.
- total
Time numberTaken In Mins - The total time taken by corresponding resource activity in minutes.
- window
Duration numberIn Mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- window
Type string - The execution window is of PLANNED or UNPLANNED type.
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description str
- Description of the execution window.
- display_
name str - The user-friendly name for the execution window. The name does not need to be unique.
- estimated_
time_ intin_ mins - The estimated time of the execution window in minutes.
- execution_
resource_ strid - The OCID of the execution resource the execution window belongs to.
- execution_
window_ strid - Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the execution window.
- is_
enforced_ boolduration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - lifecycle_
details str - Additional information about the current lifecycle state.
- lifecycle_
substate str - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state str
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time_
created str - The date and time the execution window was created.
- time_
ended str - The date and time that the execution window ended.
- time_
scheduled str - The scheduled start date and time of the execution window.
- time_
started str - The date and time that the execution window was started.
- time_
updated str - The last date and time that the execution window was updated.
- total_
time_ inttaken_ in_ mins - The total time taken by corresponding resource activity in minutes.
- window_
duration_ intin_ mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- window_
type str - The execution window is of PLANNED or UNPLANNED type.
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- description String
- Description of the execution window.
- display
Name String - The user-friendly name for the execution window. The name does not need to be unique.
- estimated
Time NumberIn Mins - The estimated time of the execution window in minutes.
- execution
Resource StringId - The OCID of the execution resource the execution window belongs to.
- execution
Window StringId - Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the execution window.
- is
Enforced BooleanDuration - Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is
FALSE. - lifecycle
Details String - Additional information about the current lifecycle state.
- lifecycle
Substate String - The current sub-state of the execution window. Valid states are DURATION_EXCEEDED, MAINTENANCE_IN_PROGRESS and WAITING.
- state String
- The current state of the Schedule Policy. Valid states are CREATED, SCHEDULED, IN_PROGRESS, FAILED, CANCELED, UPDATING, DELETED, SUCCEEDED and PARTIAL_SUCCESS.
- time
Created String - The date and time the execution window was created.
- time
Ended String - The date and time that the execution window ended.
- time
Scheduled String - The scheduled start date and time of the execution window.
- time
Started String - The date and time that the execution window was started.
- time
Updated String - The last date and time that the execution window was updated.
- total
Time NumberTaken In Mins - The total time taken by corresponding resource activity in minutes.
- window
Duration NumberIn Mins - Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- window
Type String - The execution window is of PLANNED or UNPLANNED type.
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.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
