Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.FleetAppsManagement.getSchedulerDefinitionScheduledFleets
Explore with Pulumi AI
This data source provides the list of Scheduler Definition Scheduled Fleets in Oracle Cloud Infrastructure Fleet Apps Management service.
Returns a list of ScheduledFleets.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerDefinitionScheduledFleets = oci.FleetAppsManagement.getSchedulerDefinitionScheduledFleets({
    schedulerDefinitionId: testSchedulerDefinition.id,
    compartmentId: compartmentId,
    displayName: schedulerDefinitionScheduledFleetDisplayName,
});
import pulumi
import pulumi_oci as oci
test_scheduler_definition_scheduled_fleets = oci.FleetAppsManagement.get_scheduler_definition_scheduled_fleets(scheduler_definition_id=test_scheduler_definition["id"],
    compartment_id=compartment_id,
    display_name=scheduler_definition_scheduled_fleet_display_name)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/fleetappsmanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := fleetappsmanagement.GetSchedulerDefinitionScheduledFleets(ctx, &fleetappsmanagement.GetSchedulerDefinitionScheduledFleetsArgs{
			SchedulerDefinitionId: testSchedulerDefinition.Id,
			CompartmentId:         pulumi.StringRef(compartmentId),
			DisplayName:           pulumi.StringRef(schedulerDefinitionScheduledFleetDisplayName),
		}, 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 testSchedulerDefinitionScheduledFleets = Oci.FleetAppsManagement.GetSchedulerDefinitionScheduledFleets.Invoke(new()
    {
        SchedulerDefinitionId = testSchedulerDefinition.Id,
        CompartmentId = compartmentId,
        DisplayName = schedulerDefinitionScheduledFleetDisplayName,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.FleetAppsManagement.FleetAppsManagementFunctions;
import com.pulumi.oci.FleetAppsManagement.inputs.GetSchedulerDefinitionScheduledFleetsArgs;
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 testSchedulerDefinitionScheduledFleets = FleetAppsManagementFunctions.getSchedulerDefinitionScheduledFleets(GetSchedulerDefinitionScheduledFleetsArgs.builder()
            .schedulerDefinitionId(testSchedulerDefinition.id())
            .compartmentId(compartmentId)
            .displayName(schedulerDefinitionScheduledFleetDisplayName)
            .build());
    }
}
variables:
  testSchedulerDefinitionScheduledFleets:
    fn::invoke:
      function: oci:FleetAppsManagement:getSchedulerDefinitionScheduledFleets
      arguments:
        schedulerDefinitionId: ${testSchedulerDefinition.id}
        compartmentId: ${compartmentId}
        displayName: ${schedulerDefinitionScheduledFleetDisplayName}
Using getSchedulerDefinitionScheduledFleets
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 getSchedulerDefinitionScheduledFleets(args: GetSchedulerDefinitionScheduledFleetsArgs, opts?: InvokeOptions): Promise<GetSchedulerDefinitionScheduledFleetsResult>
function getSchedulerDefinitionScheduledFleetsOutput(args: GetSchedulerDefinitionScheduledFleetsOutputArgs, opts?: InvokeOptions): Output<GetSchedulerDefinitionScheduledFleetsResult>def get_scheduler_definition_scheduled_fleets(compartment_id: Optional[str] = None,
                                              display_name: Optional[str] = None,
                                              filters: Optional[Sequence[GetSchedulerDefinitionScheduledFleetsFilter]] = None,
                                              scheduler_definition_id: Optional[str] = None,
                                              opts: Optional[InvokeOptions] = None) -> GetSchedulerDefinitionScheduledFleetsResult
def get_scheduler_definition_scheduled_fleets_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                              display_name: Optional[pulumi.Input[str]] = None,
                                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSchedulerDefinitionScheduledFleetsFilterArgs]]]] = None,
                                              scheduler_definition_id: Optional[pulumi.Input[str]] = None,
                                              opts: Optional[InvokeOptions] = None) -> Output[GetSchedulerDefinitionScheduledFleetsResult]func GetSchedulerDefinitionScheduledFleets(ctx *Context, args *GetSchedulerDefinitionScheduledFleetsArgs, opts ...InvokeOption) (*GetSchedulerDefinitionScheduledFleetsResult, error)
func GetSchedulerDefinitionScheduledFleetsOutput(ctx *Context, args *GetSchedulerDefinitionScheduledFleetsOutputArgs, opts ...InvokeOption) GetSchedulerDefinitionScheduledFleetsResultOutput> Note: This function is named GetSchedulerDefinitionScheduledFleets in the Go SDK.
public static class GetSchedulerDefinitionScheduledFleets 
{
    public static Task<GetSchedulerDefinitionScheduledFleetsResult> InvokeAsync(GetSchedulerDefinitionScheduledFleetsArgs args, InvokeOptions? opts = null)
    public static Output<GetSchedulerDefinitionScheduledFleetsResult> Invoke(GetSchedulerDefinitionScheduledFleetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulerDefinitionScheduledFleetsResult> getSchedulerDefinitionScheduledFleets(GetSchedulerDefinitionScheduledFleetsArgs args, InvokeOptions options)
public static Output<GetSchedulerDefinitionScheduledFleetsResult> getSchedulerDefinitionScheduledFleets(GetSchedulerDefinitionScheduledFleetsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:FleetAppsManagement/getSchedulerDefinitionScheduledFleets:getSchedulerDefinitionScheduledFleets
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SchedulerDefinition stringId 
- unique SchedulerDefinition identifier
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
List<GetScheduler Definition Scheduled Fleets Filter> 
- SchedulerDefinition stringId 
- unique SchedulerDefinition identifier
- CompartmentId string
- The ID of the compartment in which to list resources.
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Filters
[]GetScheduler Definition Scheduled Fleets Filter 
- schedulerDefinition StringId 
- unique SchedulerDefinition identifier
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters
List<GetScheduler Definition Scheduled Fleets Filter> 
- schedulerDefinition stringId 
- unique SchedulerDefinition identifier
- compartmentId string
- The ID of the compartment in which to list resources.
- displayName string
- A filter to return only resources that match the entire display name given.
- filters
GetScheduler Definition Scheduled Fleets Filter[] 
- scheduler_definition_ strid 
- unique SchedulerDefinition identifier
- compartment_id str
- The ID of the compartment in which to list resources.
- display_name str
- A filter to return only resources that match the entire display name given.
- filters
Sequence[GetScheduler Definition Scheduled Fleets Filter] 
- schedulerDefinition StringId 
- unique SchedulerDefinition identifier
- compartmentId String
- The ID of the compartment in which to list resources.
- displayName String
- A filter to return only resources that match the entire display name given.
- filters List<Property Map>
getSchedulerDefinitionScheduledFleets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- ScheduledFleet List<GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection> 
- The list of scheduled_fleet_collection.
- SchedulerDefinition stringId 
- CompartmentId string
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- Filters
List<GetScheduler Definition Scheduled Fleets Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- ScheduledFleet []GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection 
- The list of scheduled_fleet_collection.
- SchedulerDefinition stringId 
- CompartmentId string
- DisplayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- Filters
[]GetScheduler Definition Scheduled Fleets Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- scheduledFleet List<GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection> 
- The list of scheduled_fleet_collection.
- schedulerDefinition StringId 
- compartmentId String
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
List<GetScheduler Definition Scheduled Fleets Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- scheduledFleet GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection[] 
- The list of scheduled_fleet_collection.
- schedulerDefinition stringId 
- compartmentId string
- displayName string
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
GetScheduler Definition Scheduled Fleets Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- scheduled_fleet_ Sequence[Getcollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection] 
- The list of scheduled_fleet_collection.
- scheduler_definition_ strid 
- compartment_id str
- display_name str
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters
Sequence[GetScheduler Definition Scheduled Fleets Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- scheduledFleet List<Property Map>Collections 
- The list of scheduled_fleet_collection.
- schedulerDefinition StringId 
- compartmentId String
- displayName String
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: My new resource
- filters List<Property Map>
Supporting Types
GetSchedulerDefinitionScheduledFleetsFilter     
GetSchedulerDefinitionScheduledFleetsScheduledFleetCollection       
- Items
List<GetScheduler Definition Scheduled Fleets Scheduled Fleet Collection Item> 
- List of ScheduledFleets.
- Items
[]GetScheduler Definition Scheduled Fleets Scheduled Fleet Collection Item 
- List of ScheduledFleets.
- items
List<GetScheduler Definition Scheduled Fleets Scheduled Fleet Collection Item> 
- List of ScheduledFleets.
- items
GetScheduler Definition Scheduled Fleets Scheduled Fleet Collection Item[] 
- List of ScheduledFleets.
- items
Sequence[GetScheduler Definition Scheduled Fleets Scheduled Fleet Collection Item] 
- List of ScheduledFleets.
- items List<Property Map>
- List of ScheduledFleets.
GetSchedulerDefinitionScheduledFleetsScheduledFleetCollectionItem        
- ActionGroup List<string>Types 
- All ActionGroup Types part of the schedule.
- ApplicationTypes List<string>
- All application types part of the schedule.
- CountOf intAffected Resources 
- Count of Resources affected by the Schedule
- CountOf intAffected Targets 
- Count of Targets affected by the Schedule
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Id string
- The OCID of the resource.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TenancyId string
- OCID of the tenancy to which the resource belongs to.
- ActionGroup []stringTypes 
- All ActionGroup Types part of the schedule.
- ApplicationTypes []string
- All application types part of the schedule.
- CountOf intAffected Resources 
- Count of Resources affected by the Schedule
- CountOf intAffected Targets 
- Count of Targets affected by the Schedule
- DisplayName string
- A filter to return only resources that match the entire display name given.
- Id string
- The OCID of the resource.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- TenancyId string
- OCID of the tenancy to which the resource belongs to.
- actionGroup List<String>Types 
- All ActionGroup Types part of the schedule.
- applicationTypes List<String>
- All application types part of the schedule.
- countOf IntegerAffected Resources 
- Count of Resources affected by the Schedule
- countOf IntegerAffected Targets 
- Count of Targets affected by the Schedule
- displayName String
- A filter to return only resources that match the entire display name given.
- id String
- The OCID of the resource.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenancyId String
- OCID of the tenancy to which the resource belongs to.
- actionGroup string[]Types 
- All ActionGroup Types part of the schedule.
- applicationTypes string[]
- All application types part of the schedule.
- countOf numberAffected Resources 
- Count of Resources affected by the Schedule
- countOf numberAffected Targets 
- Count of Targets affected by the Schedule
- displayName string
- A filter to return only resources that match the entire display name given.
- id string
- The OCID of the resource.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenancyId string
- OCID of the tenancy to which the resource belongs to.
- action_group_ Sequence[str]types 
- All ActionGroup Types part of the schedule.
- application_types Sequence[str]
- All application types part of the schedule.
- count_of_ intaffected_ resources 
- Count of Resources affected by the Schedule
- count_of_ intaffected_ targets 
- Count of Targets affected by the Schedule
- display_name str
- A filter to return only resources that match the entire display name given.
- id str
- The OCID of the resource.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenancy_id str
- OCID of the tenancy to which the resource belongs to.
- actionGroup List<String>Types 
- All ActionGroup Types part of the schedule.
- applicationTypes List<String>
- All application types part of the schedule.
- countOf NumberAffected Resources 
- Count of Resources affected by the Schedule
- countOf NumberAffected Targets 
- Count of Targets affected by the Schedule
- displayName String
- A filter to return only resources that match the entire display name given.
- id String
- The OCID of the resource.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
- tenancyId String
- OCID of the tenancy to which the resource belongs to.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.