Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testSchedulingPolicySchedulingWindows:
    fn::invoke:
      function: oci:Database:getSchedulingPolicySchedulingWindows
      arguments:
        schedulingPolicyId: ${testSchedulingPolicy.id}
        compartmentId: ${compartmentId}
        displayName: ${schedulingPolicySchedulingWindowDisplayName}
        state: ${schedulingPolicySchedulingWindowState}
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>def get_scheduling_policy_scheduling_windows(compartment_id: Optional[str] = None,
                                             display_name: Optional[str] = None,
                                             filters: Optional[Sequence[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[GetSchedulingPolicySchedulingWindowsFilterArgs]]]] = None,
                                             scheduling_policy_id: Optional[pulumi.Input[str]] = None,
                                             state: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetSchedulingPolicySchedulingWindowsResult]func GetSchedulingPolicySchedulingWindows(ctx *Context, args *GetSchedulingPolicySchedulingWindowsArgs, opts ...InvokeOption) (*GetSchedulingPolicySchedulingWindowsResult, error)
func GetSchedulingPolicySchedulingWindowsOutput(ctx *Context, args *GetSchedulingPolicySchedulingWindowsOutputArgs, opts ...InvokeOption) GetSchedulingPolicySchedulingWindowsResultOutput> 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)
}public static CompletableFuture<GetSchedulingPolicySchedulingWindowsResult> getSchedulingPolicySchedulingWindows(GetSchedulingPolicySchedulingWindowsArgs args, InvokeOptions options)
public static Output<GetSchedulingPolicySchedulingWindowsResult> getSchedulingPolicySchedulingWindows(GetSchedulingPolicySchedulingWindowsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Database/getSchedulingPolicySchedulingWindows:getSchedulingPolicySchedulingWindows
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SchedulingPolicy stringId 
- 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
List<GetScheduling Policy Scheduling Windows Filter> 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- SchedulingPolicy stringId 
- 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
[]GetScheduling Policy Scheduling Windows Filter 
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- schedulingPolicy StringId 
- 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
List<GetScheduling Policy Scheduling Windows Filter> 
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- schedulingPolicy stringId 
- 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
GetScheduling Policy Scheduling Windows Filter[] 
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- scheduling_policy_ strid 
- 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
Sequence[GetScheduling Policy Scheduling Windows Filter] 
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- schedulingPolicy StringId 
- 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 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.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- SchedulingWindows List<GetScheduling Policy Scheduling Windows Scheduling Window> 
- 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<GetScheduling Policy Scheduling Windows Filter> 
- 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.
- SchedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- SchedulingWindows []GetScheduling Policy Scheduling Windows Scheduling Window 
- 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
[]GetScheduling Policy Scheduling Windows Filter 
- 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.
- schedulingPolicy StringId 
- The OCID of the Scheduling Policy.
- schedulingWindows List<GetScheduling Policy Scheduling Windows Scheduling Window> 
- 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<GetScheduling Policy Scheduling Windows Filter> 
- 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.
- schedulingPolicy stringId 
- The OCID of the Scheduling Policy.
- schedulingWindows GetScheduling Policy Scheduling Windows Scheduling Window[] 
- 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
GetScheduling Policy Scheduling Windows Filter[] 
- 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_ strid 
- The OCID of the Scheduling Policy.
- scheduling_windows Sequence[GetScheduling Policy Scheduling Windows Scheduling Window] 
- 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[GetScheduling Policy Scheduling Windows Filter] 
- 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.
- schedulingPolicy StringId 
- 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     
GetSchedulingPolicySchedulingWindowsSchedulingWindow      
- CompartmentId string
- The compartment OCID.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Scheduling Window.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- SchedulingPolicy stringId 
- The Scheduling Policy OCID.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCreated string
- The date and time the Scheduling Window was created.
- TimeNext stringScheduling Window Starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- TimeUpdated string
- The last date and time that the Scheduling Window was updated.
- WindowPreferences List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference> 
- The Single Scheduling Window details.
- CompartmentId string
- The compartment OCID.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- DisplayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Scheduling Window.
- LifecycleDetails string
- Additional information about the current lifecycle state.
- SchedulingPolicy stringId 
- The Scheduling Policy OCID.
- State string
- A filter to return only resources that match the given lifecycle state exactly.
- TimeCreated string
- The date and time the Scheduling Window was created.
- TimeNext stringScheduling Window Starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- TimeUpdated string
- The last date and time that the Scheduling Window was updated.
- WindowPreferences []GetScheduling Policy Scheduling Windows Scheduling Window Window Preference 
- The Single Scheduling Window details.
- compartmentId String
- The compartment OCID.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Scheduling Window.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- schedulingPolicy StringId 
- The Scheduling Policy OCID.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated String
- The date and time the Scheduling Window was created.
- timeNext StringScheduling Window Starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- timeUpdated String
- The last date and time that the Scheduling Window was updated.
- windowPreferences List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference> 
- The Single Scheduling Window details.
- compartmentId string
- The compartment OCID.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName string
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- {[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 Scheduling Window.
- lifecycleDetails string
- Additional information about the current lifecycle state.
- schedulingPolicy stringId 
- The Scheduling Policy OCID.
- state string
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated string
- The date and time the Scheduling Window was created.
- timeNext stringScheduling Window Starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- timeUpdated string
- The last date and time that the Scheduling Window was updated.
- windowPreferences GetScheduling Policy Scheduling Windows Scheduling Window Window Preference[] 
- The Single Scheduling Window details.
- compartment_id str
- The compartment OCID.
- 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 str
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Scheduling Window.
- lifecycle_details str
- Additional information about the current lifecycle state.
- scheduling_policy_ strid 
- The Scheduling Policy OCID.
- state str
- A filter to return only resources that match the given lifecycle state exactly.
- time_created str
- The date and time the Scheduling Window was created.
- time_next_ strscheduling_ window_ starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- time_updated str
- The last date and time that the Scheduling Window was updated.
- window_preferences Sequence[GetScheduling Policy Scheduling Windows Scheduling Window Window Preference] 
- The Single Scheduling Window details.
- compartmentId String
- The compartment OCID.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- displayName String
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
- 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 Scheduling Window.
- lifecycleDetails String
- Additional information about the current lifecycle state.
- schedulingPolicy StringId 
- The Scheduling Policy OCID.
- state String
- A filter to return only resources that match the given lifecycle state exactly.
- timeCreated String
- The date and time the Scheduling Window was created.
- timeNext StringScheduling Window Starts 
- The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- timeUpdated String
- The last date and time that the Scheduling Window was updated.
- windowPreferences List<Property Map>
- The Single Scheduling Window details.
GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference        
- DaysOf List<GetWeeks Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week> 
- Days during the week when scheduling window should be performed.
- Duration int
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- IsEnforced boolDuration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- Months
List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month> 
- Months during the year when scheduled window should be performed.
- StartTime string
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- WeeksOf List<int>Months 
- 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.
- DaysOf []GetWeeks Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week 
- Days during the week when scheduling window should be performed.
- Duration int
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- IsEnforced boolDuration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- Months
[]GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month 
- Months during the year when scheduled window should be performed.
- StartTime string
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- WeeksOf []intMonths 
- 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.
- daysOf List<GetWeeks Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week> 
- Days during the week when scheduling window should be performed.
- duration Integer
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- isEnforced BooleanDuration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- months
List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month> 
- Months during the year when scheduled window should be performed.
- startTime String
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeksOf List<Integer>Months 
- 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.
- daysOf GetWeeks Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week[] 
- Days during the week when scheduling window should be performed.
- duration number
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- isEnforced booleanDuration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- months
GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month[] 
- Months during the year when scheduled window should be performed.
- startTime string
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeksOf number[]Months 
- 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_ Sequence[Getweeks Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week] 
- Days during the week when scheduling window should be performed.
- duration int
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- is_enforced_ boolduration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- months
Sequence[GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month] 
- Months during the year when scheduled window should be performed.
- start_time str
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeks_of_ Sequence[int]months 
- 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.
- daysOf List<Property Map>Weeks 
- Days during the week when scheduling window should be performed.
- duration Number
- Duration window allows user to set a duration they plan to allocate for Scheduling window. The duration is in minutes.
- isEnforced BooleanDuration 
- Indicates if duration the user plans to allocate for scheduling window is strictly enforced. The default value is FALSE.
- months List<Property Map>
- Months during the year when scheduled window should be performed.
- startTime String
- The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeksOf List<Number>Months 
- 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 string
- Name of the month of the year.
- Name string
- Name of the month of the year.
- name String
- Name of the month of the year.
- name string
- Name of the month of the year.
- name str
- Name of the month of the year.
- name String
- Name of the month of the year.
GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreferenceMonth         
- Name string
- Name of the month of the year.
- Name string
- Name of the month of the year.
- name String
- Name of the month of the year.
- name string
- Name of the month of the year.
- name str
- Name of the month of the year.
- name 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 ociTerraform Provider.