1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. getSchedulingPolicySchedulingWindows
Oracle Cloud Infrastructure v2.32.0 published on Thursday, Apr 24, 2025 by Pulumi

oci.Database.getSchedulingPolicySchedulingWindows

Explore with Pulumi AI

This data source provides the list of Scheduling Policy Scheduling Windows in Oracle Cloud Infrastructure Database service.

Lists the Scheduling Window resources in the specified compartment.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testSchedulingPolicySchedulingWindows = oci.Database.getSchedulingPolicySchedulingWindows({
    schedulingPolicyId: testSchedulingPolicy.id,
    compartmentId: compartmentId,
    displayName: schedulingPolicySchedulingWindowDisplayName,
    state: schedulingPolicySchedulingWindowState,
});
Copy
import pulumi
import pulumi_oci as oci

test_scheduling_policy_scheduling_windows = oci.Database.get_scheduling_policy_scheduling_windows(scheduling_policy_id=test_scheduling_policy["id"],
    compartment_id=compartment_id,
    display_name=scheduling_policy_scheduling_window_display_name,
    state=scheduling_policy_scheduling_window_state)
Copy
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.GetSchedulingPolicySchedulingWindows(ctx, &database.GetSchedulingPolicySchedulingWindowsArgs{
			SchedulingPolicyId: testSchedulingPolicy.Id,
			CompartmentId:      pulumi.StringRef(compartmentId),
			DisplayName:        pulumi.StringRef(schedulingPolicySchedulingWindowDisplayName),
			State:              pulumi.StringRef(schedulingPolicySchedulingWindowState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testSchedulingPolicySchedulingWindows = Oci.Database.GetSchedulingPolicySchedulingWindows.Invoke(new()
    {
        SchedulingPolicyId = testSchedulingPolicy.Id,
        CompartmentId = compartmentId,
        DisplayName = schedulingPolicySchedulingWindowDisplayName,
        State = schedulingPolicySchedulingWindowState,
    });

});
Copy
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.GetSchedulingPolicySchedulingWindowsArgs;
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 testSchedulingPolicySchedulingWindows = DatabaseFunctions.getSchedulingPolicySchedulingWindows(GetSchedulingPolicySchedulingWindowsArgs.builder()
            .schedulingPolicyId(testSchedulingPolicy.id())
            .compartmentId(compartmentId)
            .displayName(schedulingPolicySchedulingWindowDisplayName)
            .state(schedulingPolicySchedulingWindowState)
            .build());

    }
}
Copy
variables:
  testSchedulingPolicySchedulingWindows:
    fn::invoke:
      function: oci:Database:getSchedulingPolicySchedulingWindows
      arguments:
        schedulingPolicyId: ${testSchedulingPolicy.id}
        compartmentId: ${compartmentId}
        displayName: ${schedulingPolicySchedulingWindowDisplayName}
        state: ${schedulingPolicySchedulingWindowState}
Copy

Using getSchedulingPolicySchedulingWindows

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 getSchedulingPolicySchedulingWindows(args: GetSchedulingPolicySchedulingWindowsArgs, opts?: InvokeOptions): Promise<GetSchedulingPolicySchedulingWindowsResult>
function getSchedulingPolicySchedulingWindowsOutput(args: GetSchedulingPolicySchedulingWindowsOutputArgs, opts?: InvokeOptions): Output<GetSchedulingPolicySchedulingWindowsResult>
Copy
def get_scheduling_policy_scheduling_windows(compartment_id: Optional[str] = None,
                                             display_name: Optional[str] = None,
                                             filters: Optional[Sequence[_database.GetSchedulingPolicySchedulingWindowsFilter]] = None,
                                             scheduling_policy_id: Optional[str] = None,
                                             state: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetSchedulingPolicySchedulingWindowsResult
def get_scheduling_policy_scheduling_windows_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                             display_name: Optional[pulumi.Input[str]] = None,
                                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_database.GetSchedulingPolicySchedulingWindowsFilterArgs]]]] = None,
                                             scheduling_policy_id: Optional[pulumi.Input[str]] = None,
                                             state: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetSchedulingPolicySchedulingWindowsResult]
Copy
func GetSchedulingPolicySchedulingWindows(ctx *Context, args *GetSchedulingPolicySchedulingWindowsArgs, opts ...InvokeOption) (*GetSchedulingPolicySchedulingWindowsResult, error)
func GetSchedulingPolicySchedulingWindowsOutput(ctx *Context, args *GetSchedulingPolicySchedulingWindowsOutputArgs, opts ...InvokeOption) GetSchedulingPolicySchedulingWindowsResultOutput
Copy

> Note: This function is named GetSchedulingPolicySchedulingWindows in the Go SDK.

public static class GetSchedulingPolicySchedulingWindows 
{
    public static Task<GetSchedulingPolicySchedulingWindowsResult> InvokeAsync(GetSchedulingPolicySchedulingWindowsArgs args, InvokeOptions? opts = null)
    public static Output<GetSchedulingPolicySchedulingWindowsResult> Invoke(GetSchedulingPolicySchedulingWindowsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSchedulingPolicySchedulingWindowsResult> getSchedulingPolicySchedulingWindows(GetSchedulingPolicySchedulingWindowsArgs args, InvokeOptions options)
public static Output<GetSchedulingPolicySchedulingWindowsResult> getSchedulingPolicySchedulingWindows(GetSchedulingPolicySchedulingWindowsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Database/getSchedulingPolicySchedulingWindows:getSchedulingPolicySchedulingWindows
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SchedulingPolicyId This property is required. string
The Scheduling Policy OCID.
CompartmentId string
The compartment OCID.
DisplayName string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
Filters Changes to this property will trigger replacement. List<GetSchedulingPolicySchedulingWindowsFilter>
State string
A filter to return only resources that match the given lifecycle state exactly.
SchedulingPolicyId This property is required. string
The Scheduling Policy OCID.
CompartmentId string
The compartment OCID.
DisplayName string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
Filters Changes to this property will trigger replacement. []GetSchedulingPolicySchedulingWindowsFilter
State string
A filter to return only resources that match the given lifecycle state exactly.
schedulingPolicyId This property is required. String
The Scheduling Policy OCID.
compartmentId String
The compartment OCID.
displayName String
A filter to return only resources that match the entire display name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<GetSchedulingPolicySchedulingWindowsFilter>
state String
A filter to return only resources that match the given lifecycle state exactly.
schedulingPolicyId This property is required. string
The Scheduling Policy OCID.
compartmentId string
The compartment OCID.
displayName string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. GetSchedulingPolicySchedulingWindowsFilter[]
state string
A filter to return only resources that match the given lifecycle state exactly.
scheduling_policy_id This property is required. str
The Scheduling Policy OCID.
compartment_id str
The compartment OCID.
display_name str
A filter to return only resources that match the entire display name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. Sequence[database.GetSchedulingPolicySchedulingWindowsFilter]
state str
A filter to return only resources that match the given lifecycle state exactly.
schedulingPolicyId This property is required. String
The Scheduling Policy OCID.
compartmentId String
The compartment OCID.
displayName String
A filter to return only resources that match the entire display name given. The match is not case sensitive.
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only resources that match the given lifecycle state exactly.

getSchedulingPolicySchedulingWindows Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
SchedulingPolicyId string
The OCID of the Scheduling Policy.
SchedulingWindows List<GetSchedulingPolicySchedulingWindowsSchedulingWindow>
The list of scheduling_windows.
CompartmentId string
The OCID of the compartment.
DisplayName string
The user-friendly name for the Scheduling Window. The name does not need to be unique.
Filters List<GetSchedulingPolicySchedulingWindowsFilter>
State string
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
Id string
The provider-assigned unique ID for this managed resource.
SchedulingPolicyId string
The OCID of the Scheduling Policy.
SchedulingWindows []GetSchedulingPolicySchedulingWindowsSchedulingWindow
The list of scheduling_windows.
CompartmentId string
The OCID of the compartment.
DisplayName string
The user-friendly name for the Scheduling Window. The name does not need to be unique.
Filters []GetSchedulingPolicySchedulingWindowsFilter
State string
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
id String
The provider-assigned unique ID for this managed resource.
schedulingPolicyId String
The OCID of the Scheduling Policy.
schedulingWindows List<GetSchedulingPolicySchedulingWindowsSchedulingWindow>
The list of scheduling_windows.
compartmentId String
The OCID of the compartment.
displayName String
The user-friendly name for the Scheduling Window. The name does not need to be unique.
filters List<GetSchedulingPolicySchedulingWindowsFilter>
state String
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
id string
The provider-assigned unique ID for this managed resource.
schedulingPolicyId string
The OCID of the Scheduling Policy.
schedulingWindows GetSchedulingPolicySchedulingWindowsSchedulingWindow[]
The list of scheduling_windows.
compartmentId string
The OCID of the compartment.
displayName string
The user-friendly name for the Scheduling Window. The name does not need to be unique.
filters GetSchedulingPolicySchedulingWindowsFilter[]
state string
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
id str
The provider-assigned unique ID for this managed resource.
scheduling_policy_id str
The OCID of the Scheduling Policy.
scheduling_windows Sequence[database.GetSchedulingPolicySchedulingWindowsSchedulingWindow]
The list of scheduling_windows.
compartment_id str
The OCID of the compartment.
display_name str
The user-friendly name for the Scheduling Window. The name does not need to be unique.
filters Sequence[database.GetSchedulingPolicySchedulingWindowsFilter]
state str
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.
id String
The provider-assigned unique ID for this managed resource.
schedulingPolicyId String
The OCID of the Scheduling Policy.
schedulingWindows List<Property Map>
The list of scheduling_windows.
compartmentId String
The OCID of the compartment.
displayName String
The user-friendly name for the Scheduling Window. The name does not need to be unique.
filters List<Property Map>
state String
The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED.

Supporting Types

GetSchedulingPolicySchedulingWindowsFilter

Name This property is required. string
Name of the month of the year.
Values This property is required. List<string>
Regex bool
Name This property is required. string
Name of the month of the year.
Values This property is required. []string
Regex bool
name This property is required. String
Name of the month of the year.
values This property is required. List<String>
regex Boolean
name This property is required. string
Name of the month of the year.
values This property is required. string[]
regex boolean
name This property is required. str
Name of the month of the year.
values This property is required. Sequence[str]
regex bool
name This property is required. String
Name of the month of the year.
values This property is required. List<String>
regex Boolean

GetSchedulingPolicySchedulingWindowsSchedulingWindow

CompartmentId This property is required. string
The compartment OCID.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
FreeformTags This property is required. 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 This property is required. string
The OCID of the Scheduling Window.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state.
SchedulingPolicyId This property is required. string
The Scheduling Policy OCID.
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
TimeCreated This property is required. string
The date and time the Scheduling Window was created.
TimeNextSchedulingWindowStarts This property is required. string
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
TimeUpdated This property is required. string
The last date and time that the Scheduling Window was updated.
WindowPreferences This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference>
The Single Scheduling Window details.
CompartmentId This property is required. string
The compartment OCID.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
FreeformTags This property is required. 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 This property is required. string
The OCID of the Scheduling Window.
LifecycleDetails This property is required. string
Additional information about the current lifecycle state.
SchedulingPolicyId This property is required. string
The Scheduling Policy OCID.
State This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
TimeCreated This property is required. string
The date and time the Scheduling Window was created.
TimeNextSchedulingWindowStarts This property is required. string
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
TimeUpdated This property is required. string
The last date and time that the Scheduling Window was updated.
WindowPreferences This property is required. []GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference
The Single Scheduling Window details.
compartmentId This property is required. String
The compartment OCID.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
displayName This property is required. String
A filter to return only resources that match the entire display name given. The match is not case sensitive.
freeformTags This property is required. 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 This property is required. String
The OCID of the Scheduling Window.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state.
schedulingPolicyId This property is required. String
The Scheduling Policy OCID.
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. String
The date and time the Scheduling Window was created.
timeNextSchedulingWindowStarts This property is required. String
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
timeUpdated This property is required. String
The last date and time that the Scheduling Window was updated.
windowPreferences This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference>
The Single Scheduling Window details.
compartmentId This property is required. string
The compartment OCID.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
displayName This property is required. string
A filter to return only resources that match the entire display name given. The match is not case sensitive.
freeformTags This property is required. {[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 This property is required. string
The OCID of the Scheduling Window.
lifecycleDetails This property is required. string
Additional information about the current lifecycle state.
schedulingPolicyId This property is required. string
The Scheduling Policy OCID.
state This property is required. string
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. string
The date and time the Scheduling Window was created.
timeNextSchedulingWindowStarts This property is required. string
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
timeUpdated This property is required. string
The last date and time that the Scheduling Window was updated.
windowPreferences This property is required. GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference[]
The Single Scheduling Window details.
compartment_id This property is required. str
The compartment OCID.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
display_name This property is required. str
A filter to return only resources that match the entire display name given. The match is not case sensitive.
freeform_tags This property is required. 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 This property is required. str
The OCID of the Scheduling Window.
lifecycle_details This property is required. str
Additional information about the current lifecycle state.
scheduling_policy_id This property is required. str
The Scheduling Policy OCID.
state This property is required. str
A filter to return only resources that match the given lifecycle state exactly.
time_created This property is required. str
The date and time the Scheduling Window was created.
time_next_scheduling_window_starts This property is required. str
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
time_updated This property is required. str
The last date and time that the Scheduling Window was updated.
window_preferences This property is required. Sequence[database.GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference]
The Single Scheduling Window details.
compartmentId This property is required. String
The compartment OCID.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
displayName This property is required. String
A filter to return only resources that match the entire display name given. The match is not case sensitive.
freeformTags This property is required. 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 This property is required. String
The OCID of the Scheduling Window.
lifecycleDetails This property is required. String
Additional information about the current lifecycle state.
schedulingPolicyId This property is required. String
The Scheduling Policy OCID.
state This property is required. String
A filter to return only resources that match the given lifecycle state exactly.
timeCreated This property is required. String
The date and time the Scheduling Window was created.
timeNextSchedulingWindowStarts This property is required. String
The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
timeUpdated This property is required. String
The last date and time that the Scheduling Window was updated.
windowPreferences This property is required. List<Property Map>
The Single Scheduling Window details.

GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference

DaysOfWeeks This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek>
Days during the week when scheduling window should be performed.
Duration This property is required. int
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
IsEnforcedDuration This property is required. bool
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
Months This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth>
Months during the year when scheduled window should be performed.
StartTime This property is required. string
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
WeeksOfMonths This property is required. List<int>
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.
DaysOfWeeks This property is required. []GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek
Days during the week when scheduling window should be performed.
Duration This property is required. int
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
IsEnforcedDuration This property is required. bool
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
Months This property is required. []GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth
Months during the year when scheduled window should be performed.
StartTime This property is required. string
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
WeeksOfMonths This property is required. []int
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.
daysOfWeeks This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek>
Days during the week when scheduling window should be performed.
duration This property is required. Integer
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
isEnforcedDuration This property is required. Boolean
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
months This property is required. List<GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth>
Months during the year when scheduled window should be performed.
startTime This property is required. String
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
weeksOfMonths This property is required. List<Integer>
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.
daysOfWeeks This property is required. GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek[]
Days during the week when scheduling window should be performed.
duration This property is required. number
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
isEnforcedDuration This property is required. boolean
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
months This property is required. GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth[]
Months during the year when scheduled window should be performed.
startTime This property is required. string
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
weeksOfMonths This property is required. number[]
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.
days_of_weeks This property is required. Sequence[database.GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek]
Days during the week when scheduling window should be performed.
duration This property is required. int
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
is_enforced_duration This property is required. bool
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
months This property is required. Sequence[database.GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth]
Months during the year when scheduled window should be performed.
start_time This property is required. str
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
weeks_of_months This property is required. Sequence[int]
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.
daysOfWeeks This property is required. List<Property Map>
Days during the week when scheduling window should be performed.
duration This property is required. Number
Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
isEnforcedDuration This property is required. Boolean
Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
months This property is required. List<Property Map>
Months during the year when scheduled window should be performed.
startTime This property is required. String
The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
weeksOfMonths This property is required. List<Number>
Weeks during the month when scheduled window should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow scheduling window during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Scheduling window cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and startTime parameters to allow you to specify specific days of the week and hours that scheduled window will be performed.

GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceDaysOfWeek

Name This property is required. string
Name of the month of the year.
Name This property is required. string
Name of the month of the year.
name This property is required. String
Name of the month of the year.
name This property is required. string
Name of the month of the year.
name This property is required. str
Name of the month of the year.
name This property is required. String
Name of the month of the year.

GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth

Name This property is required. string
Name of the month of the year.
Name This property is required. string
Name of the month of the year.
name This property is required. String
Name of the month of the year.
name This property is required. string
Name of the month of the year.
name This property is required. str
Name of the month of the year.
name This property is required. String
Name of the month of the year.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.