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,
});
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[_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]
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 dictionary
The following arguments are supported:
- Scheduling
Policy Id This property is required. string - The Scheduling Policy OCID.
- Compartment
Id string - The compartment OCID.
- Display
Name 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.
Scheduling Policy Scheduling Windows Filter> - State string
- A filter to return only resources that match the given lifecycle state exactly.
- Scheduling
Policy Id This property is required. string - The Scheduling Policy OCID.
- Compartment
Id string - The compartment OCID.
- Display
Name 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.
Scheduling Policy Scheduling Windows Filter - State string
- A filter to return only resources that match the given lifecycle state exactly.
- scheduling
Policy Id This property is required. String - The Scheduling Policy OCID.
- compartment
Id String - The compartment OCID.
- display
Name 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.
Scheduling Policy Scheduling Windows Filter> - state String
- A filter to return only resources that match the given lifecycle state exactly.
- scheduling
Policy Id This property is required. string - The Scheduling Policy OCID.
- compartment
Id string - The compartment OCID.
- display
Name 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.
Scheduling Policy Scheduling Windows Filter[] - 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.
Get Scheduling Policy Scheduling Windows Filter] - state str
- A filter to return only resources that match the given lifecycle state exactly.
- scheduling
Policy Id This property is required. String - The Scheduling Policy OCID.
- compartment
Id String - The compartment OCID.
- display
Name 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.
- 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.
- Scheduling
Policy stringId - The OCID of the Scheduling Policy.
- Scheduling
Windows List<GetScheduling Policy Scheduling Windows Scheduling Window> - The list of scheduling_windows.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - The user-friendly name for the Scheduling Window. The name does not need to be unique.
- Filters
List<Get
Scheduling 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.
- Scheduling
Policy stringId - The OCID of the Scheduling Policy.
- Scheduling
Windows []GetScheduling Policy Scheduling Windows Scheduling Window - The list of scheduling_windows.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - The user-friendly name for the Scheduling Window. The name does not need to be unique.
- Filters
[]Get
Scheduling 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.
- scheduling
Policy StringId - The OCID of the Scheduling Policy.
- scheduling
Windows List<GetScheduling Policy Scheduling Windows Scheduling Window> - The list of scheduling_windows.
- compartment
Id String - The OCID of the compartment.
- display
Name String - The user-friendly name for the Scheduling Window. The name does not need to be unique.
- filters
List<Get
Scheduling 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.
- scheduling
Policy stringId - The OCID of the Scheduling Policy.
- scheduling
Windows GetScheduling Policy Scheduling Windows Scheduling Window[] - The list of scheduling_windows.
- compartment
Id string - The OCID of the compartment.
- display
Name string - The user-friendly name for the Scheduling Window. The name does not need to be unique.
- filters
Get
Scheduling 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[database.Get Scheduling 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[database.
Get Scheduling 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.
- scheduling
Policy StringId - The OCID of the Scheduling Policy.
- scheduling
Windows List<Property Map> - The list of scheduling_windows.
- compartment
Id String - The OCID of the compartment.
- display
Name 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
- Compartment
Id This property is required. string - The compartment OCID.
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.
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
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.
- Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Scheduling
Policy Id 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.
- Time
Created This property is required. string - The date and time the Scheduling Window was created.
- Time
Next Scheduling Window Starts This property is required. string - The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- Time
Updated This property is required. string - The last date and time that the Scheduling Window was updated.
- Window
Preferences This property is required. List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference> - The Single Scheduling Window details.
- Compartment
Id This property is required. string - The compartment OCID.
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.
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
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.
- Lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- Scheduling
Policy Id 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.
- Time
Created This property is required. string - The date and time the Scheduling Window was created.
- Time
Next Scheduling Window Starts This property is required. string - The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- Time
Updated This property is required. string - The last date and time that the Scheduling Window was updated.
- Window
Preferences This property is required. []GetScheduling Policy Scheduling Windows Scheduling Window Window Preference - The Single Scheduling Window details.
- compartment
Id This property is required. String - The compartment OCID.
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.
- display
Name This property is required. String - A filter to return only resources that match the entire display name given. The match is not case sensitive.
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.
- lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- scheduling
Policy Id 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.
- time
Created This property is required. String - The date and time the Scheduling Window was created.
- time
Next Scheduling Window Starts This property is required. String - The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- time
Updated This property is required. String - The last date and time that the Scheduling Window was updated.
- window
Preferences This property is required. List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference> - The Single Scheduling Window details.
- compartment
Id This property is required. string - The compartment OCID.
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.
- display
Name This property is required. string - A filter to return only resources that match the entire display name given. The match is not case sensitive.
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.
- lifecycle
Details This property is required. string - Additional information about the current lifecycle state.
- scheduling
Policy Id 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.
- time
Created This property is required. string - The date and time the Scheduling Window was created.
- time
Next Scheduling Window Starts This property is required. string - The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- time
Updated This property is required. string - The last date and time that the Scheduling Window was updated.
- window
Preferences This property is required. GetScheduling Policy Scheduling Windows Scheduling Window Window Preference[] - The Single Scheduling Window details.
- compartment_
id This property is required. str - The compartment OCID.
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.
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.Get Scheduling Policy Scheduling Windows Scheduling Window Window Preference] - The Single Scheduling Window details.
- compartment
Id This property is required. String - The compartment OCID.
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.
- display
Name This property is required. String - A filter to return only resources that match the entire display name given. The match is not case sensitive.
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.
- lifecycle
Details This property is required. String - Additional information about the current lifecycle state.
- scheduling
Policy Id 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.
- time
Created This property is required. String - The date and time the Scheduling Window was created.
- time
Next Scheduling Window Starts This property is required. String - The date and time of the next upcoming window associated within the schedulingWindow is planned to start.
- time
Updated This property is required. String - The last date and time that the Scheduling Window was updated.
- window
Preferences This property is required. List<Property Map> - The Single Scheduling Window details.
GetSchedulingPolicySchedulingWindowsSchedulingWindowWindowPreference
- Days
Of Weeks This property is required. List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week> - 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. List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month> - Months during the year when scheduled window should be performed.
- Start
Time This property is required. string - The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- Weeks
Of Months 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.
- Days
Of Weeks This property is required. []GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week - 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. []GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month - Months during the year when scheduled window should be performed.
- Start
Time This property is required. string - The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- Weeks
Of Months 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.
- days
Of Weeks This property is required. List<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week> - 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.
- is
Enforced Duration 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<GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month> - Months during the year when scheduled window should be performed.
- start
Time This property is required. String - The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeks
Of Months 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.
- days
Of Weeks This property is required. GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week[] - 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.
- is
Enforced Duration 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. GetScheduling Policy Scheduling Windows Scheduling Window Window Preference Month[] - Months during the year when scheduled window should be performed.
- start
Time This property is required. string - The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeks
Of Months 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.Get Scheduling Policy Scheduling Windows Scheduling Window Window Preference Days Of Week] - 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.Get Scheduling Policy Scheduling Windows Scheduling Window Window Preference Month] - 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.
- days
Of Weeks 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.
- is
Enforced Duration 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.
- start
Time This property is required. String - The scheduling window start time. The value must use the ISO-8601 format "hh:mm".
- weeks
Of Months 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.