1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Lustre
  5. getFileStorageAvailableMaintenanceScheduleStartTimes
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.4.0
published on Thursday, Mar 26, 2026 by Pulumi

    This data source provides the list of Available Maintenance Schedule Start Times in Oracle Cloud Infrastructure Lustre File Storage service.

    Gets the list of available maintenance schedule start times for both Create and Update operation

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAvailableMaintenanceScheduleStartTimes = oci.Lustre.getFileStorageAvailableMaintenanceScheduleStartTimes({
        availabilityDomain: availableMaintenanceScheduleStartTimeAvailabilityDomain,
        compartmentId: compartmentId,
        dayOfWeek: availableMaintenanceScheduleStartTimeDayOfWeek,
        id: availableMaintenanceScheduleStartTimeId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_available_maintenance_schedule_start_times = oci.Lustre.get_file_storage_available_maintenance_schedule_start_times(availability_domain=available_maintenance_schedule_start_time_availability_domain,
        compartment_id=compartment_id,
        day_of_week=available_maintenance_schedule_start_time_day_of_week,
        id=available_maintenance_schedule_start_time_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/lustre"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := lustre.GetFileStorageAvailableMaintenanceScheduleStartTimes(ctx, &lustre.GetFileStorageAvailableMaintenanceScheduleStartTimesArgs{
    			AvailabilityDomain: pulumi.StringRef(availableMaintenanceScheduleStartTimeAvailabilityDomain),
    			CompartmentId:      pulumi.StringRef(compartmentId),
    			DayOfWeek:          pulumi.StringRef(availableMaintenanceScheduleStartTimeDayOfWeek),
    			Id:                 pulumi.StringRef(availableMaintenanceScheduleStartTimeId),
    		}, 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 testAvailableMaintenanceScheduleStartTimes = Oci.Lustre.GetFileStorageAvailableMaintenanceScheduleStartTimes.Invoke(new()
        {
            AvailabilityDomain = availableMaintenanceScheduleStartTimeAvailabilityDomain,
            CompartmentId = compartmentId,
            DayOfWeek = availableMaintenanceScheduleStartTimeDayOfWeek,
            Id = availableMaintenanceScheduleStartTimeId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Lustre.LustreFunctions;
    import com.pulumi.oci.Lustre.inputs.GetFileStorageAvailableMaintenanceScheduleStartTimesArgs;
    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 testAvailableMaintenanceScheduleStartTimes = LustreFunctions.getFileStorageAvailableMaintenanceScheduleStartTimes(GetFileStorageAvailableMaintenanceScheduleStartTimesArgs.builder()
                .availabilityDomain(availableMaintenanceScheduleStartTimeAvailabilityDomain)
                .compartmentId(compartmentId)
                .dayOfWeek(availableMaintenanceScheduleStartTimeDayOfWeek)
                .id(availableMaintenanceScheduleStartTimeId)
                .build());
    
        }
    }
    
    variables:
      testAvailableMaintenanceScheduleStartTimes:
        fn::invoke:
          function: oci:Lustre:getFileStorageAvailableMaintenanceScheduleStartTimes
          arguments:
            availabilityDomain: ${availableMaintenanceScheduleStartTimeAvailabilityDomain}
            compartmentId: ${compartmentId}
            dayOfWeek: ${availableMaintenanceScheduleStartTimeDayOfWeek}
            id: ${availableMaintenanceScheduleStartTimeId}
    

    Using getFileStorageAvailableMaintenanceScheduleStartTimes

    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 getFileStorageAvailableMaintenanceScheduleStartTimes(args: GetFileStorageAvailableMaintenanceScheduleStartTimesArgs, opts?: InvokeOptions): Promise<GetFileStorageAvailableMaintenanceScheduleStartTimesResult>
    function getFileStorageAvailableMaintenanceScheduleStartTimesOutput(args: GetFileStorageAvailableMaintenanceScheduleStartTimesOutputArgs, opts?: InvokeOptions): Output<GetFileStorageAvailableMaintenanceScheduleStartTimesResult>
    def get_file_storage_available_maintenance_schedule_start_times(availability_domain: Optional[str] = None,
                                                                    compartment_id: Optional[str] = None,
                                                                    day_of_week: Optional[str] = None,
                                                                    filters: Optional[Sequence[GetFileStorageAvailableMaintenanceScheduleStartTimesFilter]] = None,
                                                                    id: Optional[str] = None,
                                                                    opts: Optional[InvokeOptions] = None) -> GetFileStorageAvailableMaintenanceScheduleStartTimesResult
    def get_file_storage_available_maintenance_schedule_start_times_output(availability_domain: Optional[pulumi.Input[str]] = None,
                                                                    compartment_id: Optional[pulumi.Input[str]] = None,
                                                                    day_of_week: Optional[pulumi.Input[str]] = None,
                                                                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFileStorageAvailableMaintenanceScheduleStartTimesFilterArgs]]]] = None,
                                                                    id: Optional[pulumi.Input[str]] = None,
                                                                    opts: Optional[InvokeOptions] = None) -> Output[GetFileStorageAvailableMaintenanceScheduleStartTimesResult]
    func GetFileStorageAvailableMaintenanceScheduleStartTimes(ctx *Context, args *GetFileStorageAvailableMaintenanceScheduleStartTimesArgs, opts ...InvokeOption) (*GetFileStorageAvailableMaintenanceScheduleStartTimesResult, error)
    func GetFileStorageAvailableMaintenanceScheduleStartTimesOutput(ctx *Context, args *GetFileStorageAvailableMaintenanceScheduleStartTimesOutputArgs, opts ...InvokeOption) GetFileStorageAvailableMaintenanceScheduleStartTimesResultOutput

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

    public static class GetFileStorageAvailableMaintenanceScheduleStartTimes 
    {
        public static Task<GetFileStorageAvailableMaintenanceScheduleStartTimesResult> InvokeAsync(GetFileStorageAvailableMaintenanceScheduleStartTimesArgs args, InvokeOptions? opts = null)
        public static Output<GetFileStorageAvailableMaintenanceScheduleStartTimesResult> Invoke(GetFileStorageAvailableMaintenanceScheduleStartTimesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFileStorageAvailableMaintenanceScheduleStartTimesResult> getFileStorageAvailableMaintenanceScheduleStartTimes(GetFileStorageAvailableMaintenanceScheduleStartTimesArgs args, InvokeOptions options)
    public static Output<GetFileStorageAvailableMaintenanceScheduleStartTimesResult> getFileStorageAvailableMaintenanceScheduleStartTimes(GetFileStorageAvailableMaintenanceScheduleStartTimesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Lustre/getFileStorageAvailableMaintenanceScheduleStartTimes:getFileStorageAvailableMaintenanceScheduleStartTimes
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DayOfWeek string
    Day of the week filter
    Filters List<GetFileStorageAvailableMaintenanceScheduleStartTimesFilter>
    Id string
    The OCID of the Lustre file system.
    AvailabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DayOfWeek string
    Day of the week filter
    Filters []GetFileStorageAvailableMaintenanceScheduleStartTimesFilter
    Id string
    The OCID of the Lustre file system.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment in which to list resources.
    dayOfWeek String
    Day of the week filter
    filters List<GetFileStorageAvailableMaintenanceScheduleStartTimesFilter>
    id String
    The OCID of the Lustre file system.
    availabilityDomain string
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId string
    The OCID of the compartment in which to list resources.
    dayOfWeek string
    Day of the week filter
    filters GetFileStorageAvailableMaintenanceScheduleStartTimesFilter[]
    id string
    The OCID of the Lustre file system.
    availability_domain str
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartment_id str
    The OCID of the compartment in which to list resources.
    day_of_week str
    Day of the week filter
    filters Sequence[GetFileStorageAvailableMaintenanceScheduleStartTimesFilter]
    id str
    The OCID of the Lustre file system.
    availabilityDomain String
    The name of the availability domain. Example: Uocm:PHX-AD-1
    compartmentId String
    The OCID of the compartment in which to list resources.
    dayOfWeek String
    Day of the week filter
    filters List<Property Map>
    id String
    The OCID of the Lustre file system.

    getFileStorageAvailableMaintenanceScheduleStartTimes Result

    The following output properties are available:

    availableMaintenanceScheduleStartTimeCollections List<Property Map>
    The list of available_maintenance_schedule_start_time_collection.
    availabilityDomain String
    compartmentId String
    dayOfWeek String
    Day of the week
    filters List<Property Map>
    id String

    Supporting Types

    GetFileStorageAvailableMaintenanceScheduleStartTimesAvailableMaintenanceScheduleStartTimeCollection

    items List<Property Map>
    List of available start times on every day of the week

    GetFileStorageAvailableMaintenanceScheduleStartTimesAvailableMaintenanceScheduleStartTimeCollectionItem

    DayOfWeek string
    Day of the week filter
    StartTimes List<string>
    List of available start times. Each array item is of the format HH:mm
    DayOfWeek string
    Day of the week filter
    StartTimes []string
    List of available start times. Each array item is of the format HH:mm
    dayOfWeek String
    Day of the week filter
    startTimes List<String>
    List of available start times. Each array item is of the format HH:mm
    dayOfWeek string
    Day of the week filter
    startTimes string[]
    List of available start times. Each array item is of the format HH:mm
    day_of_week str
    Day of the week filter
    start_times Sequence[str]
    List of available start times. Each array item is of the format HH:mm
    dayOfWeek String
    Day of the week filter
    startTimes List<String>
    List of available start times. Each array item is of the format HH:mm

    GetFileStorageAvailableMaintenanceScheduleStartTimesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.4.0
    published on Thursday, Mar 26, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.