oci.Database.ExecutionWindow
Explore with Pulumi AI
This resource provides the Execution Window resource in Oracle Cloud Infrastructure Database service.
Creates an execution window resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testExecutionWindow = new oci.database.ExecutionWindow("test_execution_window", {
    compartmentId: compartmentId,
    executionResourceId: testResource.id,
    timeScheduled: executionWindowTimeScheduled,
    windowDurationInMins: executionWindowWindowDurationInMins,
    definedTags: executionWindowDefinedTags,
    freeformTags: {
        Department: "Finance",
    },
    isEnforcedDuration: executionWindowIsEnforcedDuration,
});
import pulumi
import pulumi_oci as oci
test_execution_window = oci.database.ExecutionWindow("test_execution_window",
    compartment_id=compartment_id,
    execution_resource_id=test_resource["id"],
    time_scheduled=execution_window_time_scheduled,
    window_duration_in_mins=execution_window_window_duration_in_mins,
    defined_tags=execution_window_defined_tags,
    freeform_tags={
        "Department": "Finance",
    },
    is_enforced_duration=execution_window_is_enforced_duration)
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.NewExecutionWindow(ctx, "test_execution_window", &database.ExecutionWindowArgs{
			CompartmentId:        pulumi.Any(compartmentId),
			ExecutionResourceId:  pulumi.Any(testResource.Id),
			TimeScheduled:        pulumi.Any(executionWindowTimeScheduled),
			WindowDurationInMins: pulumi.Any(executionWindowWindowDurationInMins),
			DefinedTags:          pulumi.Any(executionWindowDefinedTags),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			IsEnforcedDuration: pulumi.Any(executionWindowIsEnforcedDuration),
		})
		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 = new Oci.Database.ExecutionWindow("test_execution_window", new()
    {
        CompartmentId = compartmentId,
        ExecutionResourceId = testResource.Id,
        TimeScheduled = executionWindowTimeScheduled,
        WindowDurationInMins = executionWindowWindowDurationInMins,
        DefinedTags = executionWindowDefinedTags,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        IsEnforcedDuration = executionWindowIsEnforcedDuration,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Database.ExecutionWindow;
import com.pulumi.oci.Database.ExecutionWindowArgs;
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) {
        var testExecutionWindow = new ExecutionWindow("testExecutionWindow", ExecutionWindowArgs.builder()
            .compartmentId(compartmentId)
            .executionResourceId(testResource.id())
            .timeScheduled(executionWindowTimeScheduled)
            .windowDurationInMins(executionWindowWindowDurationInMins)
            .definedTags(executionWindowDefinedTags)
            .freeformTags(Map.of("Department", "Finance"))
            .isEnforcedDuration(executionWindowIsEnforcedDuration)
            .build());
    }
}
resources:
  testExecutionWindow:
    type: oci:Database:ExecutionWindow
    name: test_execution_window
    properties:
      compartmentId: ${compartmentId}
      executionResourceId: ${testResource.id}
      timeScheduled: ${executionWindowTimeScheduled}
      windowDurationInMins: ${executionWindowWindowDurationInMins}
      definedTags: ${executionWindowDefinedTags}
      freeformTags:
        Department: Finance
      isEnforcedDuration: ${executionWindowIsEnforcedDuration}
Create ExecutionWindow Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExecutionWindow(name: string, args: ExecutionWindowArgs, opts?: CustomResourceOptions);@overload
def ExecutionWindow(resource_name: str,
                    args: ExecutionWindowArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def ExecutionWindow(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    compartment_id: Optional[str] = None,
                    execution_resource_id: Optional[str] = None,
                    time_scheduled: Optional[str] = None,
                    window_duration_in_mins: Optional[int] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    freeform_tags: Optional[Mapping[str, str]] = None,
                    is_enforced_duration: Optional[bool] = None)func NewExecutionWindow(ctx *Context, name string, args ExecutionWindowArgs, opts ...ResourceOption) (*ExecutionWindow, error)public ExecutionWindow(string name, ExecutionWindowArgs args, CustomResourceOptions? opts = null)
public ExecutionWindow(String name, ExecutionWindowArgs args)
public ExecutionWindow(String name, ExecutionWindowArgs args, CustomResourceOptions options)
type: oci:Database:ExecutionWindow
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExecutionWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExecutionWindowArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExecutionWindowArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExecutionWindowArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExecutionWindowArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var executionWindowResource = new Oci.Database.ExecutionWindow("executionWindowResource", new()
{
    CompartmentId = "string",
    ExecutionResourceId = "string",
    TimeScheduled = "string",
    WindowDurationInMins = 0,
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    IsEnforcedDuration = false,
});
example, err := database.NewExecutionWindow(ctx, "executionWindowResource", &database.ExecutionWindowArgs{
	CompartmentId:        pulumi.String("string"),
	ExecutionResourceId:  pulumi.String("string"),
	TimeScheduled:        pulumi.String("string"),
	WindowDurationInMins: pulumi.Int(0),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	IsEnforcedDuration: pulumi.Bool(false),
})
var executionWindowResource = new ExecutionWindow("executionWindowResource", ExecutionWindowArgs.builder()
    .compartmentId("string")
    .executionResourceId("string")
    .timeScheduled("string")
    .windowDurationInMins(0)
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .isEnforcedDuration(false)
    .build());
execution_window_resource = oci.database.ExecutionWindow("executionWindowResource",
    compartment_id="string",
    execution_resource_id="string",
    time_scheduled="string",
    window_duration_in_mins=0,
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    is_enforced_duration=False)
const executionWindowResource = new oci.database.ExecutionWindow("executionWindowResource", {
    compartmentId: "string",
    executionResourceId: "string",
    timeScheduled: "string",
    windowDurationInMins: 0,
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    isEnforcedDuration: false,
});
type: oci:Database:ExecutionWindow
properties:
    compartmentId: string
    definedTags:
        string: string
    executionResourceId: string
    freeformTags:
        string: string
    isEnforcedDuration: false
    timeScheduled: string
    windowDurationInMins: 0
ExecutionWindow Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ExecutionWindow resource accepts the following input properties:
- CompartmentId string
- The OCID of the compartment.
- ExecutionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- TimeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- WindowDuration intIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Dictionary<string, string>
- (Updatable) 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"}
- IsEnforced boolDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- CompartmentId string
- The OCID of the compartment.
- ExecutionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- TimeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- WindowDuration intIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- map[string]string
- (Updatable) 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"}
- IsEnforced boolDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- compartmentId String
- The OCID of the compartment.
- executionResource StringId 
- The OCID of the execution resource the execution window belongs to.
- timeScheduled String
- (Updatable) The scheduled start date and time of the execution window.
- windowDuration IntegerIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String,String>
- (Updatable) 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"}
- isEnforced BooleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- compartmentId string
- The OCID of the compartment.
- executionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- timeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- windowDuration numberIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- {[key: string]: string}
- (Updatable) 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"}
- isEnforced booleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- compartment_id str
- The OCID of the compartment.
- execution_resource_ strid 
- The OCID of the execution resource the execution window belongs to.
- time_scheduled str
- (Updatable) The scheduled start date and time of the execution window.
- window_duration_ intin_ mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Mapping[str, str]
- (Updatable) 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"}
- is_enforced_ boolduration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- compartmentId String
- The OCID of the compartment.
- executionResource StringId 
- The OCID of the execution resource the execution window belongs to.
- timeScheduled String
- (Updatable) The scheduled start date and time of the execution window.
- windowDuration NumberIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Map<String>
- (Updatable) 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"}
- isEnforced BooleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExecutionWindow resource produces the following output properties:
- Description string
- Description of the execution window.
- DisplayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution window in minutes.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate 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.
- TimeCreated string
- The date and time the execution window was created.
- TimeEnded string
- The date and time that the execution window ended.
- TimeStarted string
- The date and time that the execution window was started.
- TimeUpdated string
- The last date and time that the execution window was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- WindowType string
- The execution window is of PLANNED or UNPLANNED type.
- Description string
- Description of the execution window.
- DisplayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution window in minutes.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate 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.
- TimeCreated string
- The date and time the execution window was created.
- TimeEnded string
- The date and time that the execution window ended.
- TimeStarted string
- The date and time that the execution window was started.
- TimeUpdated string
- The last date and time that the execution window was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- WindowType string
- The execution window is of PLANNED or UNPLANNED type.
- description String
- Description of the execution window.
- displayName String
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime IntegerIn Mins 
- The estimated time of the execution window in minutes.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated String
- The date and time the execution window was created.
- timeEnded String
- The date and time that the execution window ended.
- timeStarted String
- The date and time that the execution window was started.
- timeUpdated String
- The last date and time that the execution window was updated.
- totalTime IntegerTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowType String
- The execution window is of PLANNED or UNPLANNED type.
- description string
- Description of the execution window.
- displayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime numberIn Mins 
- The estimated time of the execution window in minutes.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated string
- The date and time the execution window was created.
- timeEnded string
- The date and time that the execution window ended.
- timeStarted string
- The date and time that the execution window was started.
- timeUpdated string
- The last date and time that the execution window was updated.
- totalTime numberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowType string
- The execution window is of PLANNED or UNPLANNED type.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- 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_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_type str
- The execution window is of PLANNED or UNPLANNED type.
- description String
- Description of the execution window.
- displayName String
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime NumberIn Mins 
- The estimated time of the execution window in minutes.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated String
- The date and time the execution window was created.
- timeEnded String
- The date and time that the execution window ended.
- timeStarted String
- The date and time that the execution window was started.
- timeUpdated String
- The last date and time that the execution window was updated.
- totalTime NumberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowType String
- The execution window is of PLANNED or UNPLANNED type.
Look up Existing ExecutionWindow Resource
Get an existing ExecutionWindow resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExecutionWindowState, opts?: CustomResourceOptions): ExecutionWindow@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        estimated_time_in_mins: Optional[int] = None,
        execution_resource_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        is_enforced_duration: Optional[bool] = None,
        lifecycle_details: Optional[str] = None,
        lifecycle_substate: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_ended: Optional[str] = None,
        time_scheduled: Optional[str] = None,
        time_started: Optional[str] = None,
        time_updated: Optional[str] = None,
        total_time_taken_in_mins: Optional[int] = None,
        window_duration_in_mins: Optional[int] = None,
        window_type: Optional[str] = None) -> ExecutionWindowfunc GetExecutionWindow(ctx *Context, name string, id IDInput, state *ExecutionWindowState, opts ...ResourceOption) (*ExecutionWindow, error)public static ExecutionWindow Get(string name, Input<string> id, ExecutionWindowState? state, CustomResourceOptions? opts = null)public static ExecutionWindow get(String name, Output<String> id, ExecutionWindowState state, CustomResourceOptions options)resources:  _:    type: oci:Database:ExecutionWindow    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- The OCID of the compartment.
- Dictionary<string, string>
- (Updatable) 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.
- DisplayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution window in minutes.
- ExecutionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- Dictionary<string, string>
- (Updatable) 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"}
- IsEnforced boolDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate 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.
- TimeCreated string
- The date and time the execution window was created.
- TimeEnded string
- The date and time that the execution window ended.
- TimeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- TimeStarted string
- The date and time that the execution window was started.
- TimeUpdated string
- The last date and time that the execution window was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- WindowDuration intIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- WindowType string
- The execution window is of PLANNED or UNPLANNED type.
- CompartmentId string
- The OCID of the compartment.
- map[string]string
- (Updatable) 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.
- DisplayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- EstimatedTime intIn Mins 
- The estimated time of the execution window in minutes.
- ExecutionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- map[string]string
- (Updatable) 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"}
- IsEnforced boolDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- LifecycleSubstate 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.
- TimeCreated string
- The date and time the execution window was created.
- TimeEnded string
- The date and time that the execution window ended.
- TimeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- TimeStarted string
- The date and time that the execution window was started.
- TimeUpdated string
- The last date and time that the execution window was updated.
- TotalTime intTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- WindowDuration intIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- WindowType string
- The execution window is of PLANNED or UNPLANNED type.
- compartmentId String
- The OCID of the compartment.
- Map<String,String>
- (Updatable) 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.
- displayName String
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime IntegerIn Mins 
- The estimated time of the execution window in minutes.
- executionResource StringId 
- The OCID of the execution resource the execution window belongs to.
- Map<String,String>
- (Updatable) 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"}
- isEnforced BooleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated String
- The date and time the execution window was created.
- timeEnded String
- The date and time that the execution window ended.
- timeScheduled String
- (Updatable) The scheduled start date and time of the execution window.
- timeStarted String
- The date and time that the execution window was started.
- timeUpdated String
- The last date and time that the execution window was updated.
- totalTime IntegerTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowDuration IntegerIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- windowType String
- The execution window is of PLANNED or UNPLANNED type.
- compartmentId string
- The OCID of the compartment.
- {[key: string]: string}
- (Updatable) 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.
- displayName string
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime numberIn Mins 
- The estimated time of the execution window in minutes.
- executionResource stringId 
- The OCID of the execution resource the execution window belongs to.
- {[key: string]: string}
- (Updatable) 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"}
- isEnforced booleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated string
- The date and time the execution window was created.
- timeEnded string
- The date and time that the execution window ended.
- timeScheduled string
- (Updatable) The scheduled start date and time of the execution window.
- timeStarted string
- The date and time that the execution window was started.
- timeUpdated string
- The last date and time that the execution window was updated.
- totalTime numberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowDuration numberIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- windowType string
- The execution window is of PLANNED or UNPLANNED type.
- compartment_id str
- The OCID of the compartment.
- Mapping[str, str]
- (Updatable) 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.
- Mapping[str, str]
- (Updatable) 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"}
- is_enforced_ boolduration 
- (Updatable) 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
- (Updatable) 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 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- window_type str
- The execution window is of PLANNED or UNPLANNED type.
- compartmentId String
- The OCID of the compartment.
- Map<String>
- (Updatable) 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.
- displayName String
- The user-friendly name for the execution window. The name does not need to be unique.
- estimatedTime NumberIn Mins 
- The estimated time of the execution window in minutes.
- executionResource StringId 
- The OCID of the execution resource the execution window belongs to.
- Map<String>
- (Updatable) 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"}
- isEnforced BooleanDuration 
- (Updatable) Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- lifecycleSubstate 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.
- timeCreated String
- The date and time the execution window was created.
- timeEnded String
- The date and time that the execution window ended.
- timeScheduled String
- (Updatable) The scheduled start date and time of the execution window.
- timeStarted String
- The date and time that the execution window was started.
- timeUpdated String
- The last date and time that the execution window was updated.
- totalTime NumberTaken In Mins 
- The total time taken by corresponding resource activity in minutes.
- windowDuration NumberIn Mins 
- (Updatable) Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes. - ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- windowType String
- The execution window is of PLANNED or UNPLANNED type.
Import
ExecutionWindows can be imported using the id, e.g.
$ pulumi import oci:Database/executionWindow:ExecutionWindow test_execution_window "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.