Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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[_fleetappsmanagement.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[_fleetappsmanagement.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:FleetAppsManagement/getSchedulerDefinitionScheduledFleets:getSchedulerDefinitionScheduledFleets
arguments:
# arguments dictionary
The following arguments are supported:
- Scheduler
Definition stringId - unique SchedulerDefinition identifier
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Scheduler Definition Scheduled Fleets Filter>
- Scheduler
Definition stringId - unique SchedulerDefinition identifier
- Compartment
Id string - The ID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Scheduler Definition Scheduled Fleets Filter
- scheduler
Definition StringId - unique SchedulerDefinition identifier
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Scheduler Definition Scheduled Fleets Filter>
- scheduler
Definition stringId - unique SchedulerDefinition identifier
- compartment
Id string - The ID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Scheduler 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[fleetappsmanagement.
Get Scheduler Definition Scheduled Fleets Filter]
- scheduler
Definition StringId - unique SchedulerDefinition identifier
- compartment
Id String - The ID of the compartment in which to list resources.
- display
Name 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.
- Scheduled
Fleet List<GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection> - The list of scheduled_fleet_collection.
- Scheduler
Definition stringId - Compartment
Id string - Display
Name 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<Get
Scheduler Definition Scheduled Fleets Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Scheduled
Fleet []GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection - The list of scheduled_fleet_collection.
- Scheduler
Definition stringId - Compartment
Id string - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- Filters
[]Get
Scheduler Definition Scheduled Fleets Filter
- id String
- The provider-assigned unique ID for this managed resource.
- scheduled
Fleet List<GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection> - The list of scheduled_fleet_collection.
- scheduler
Definition StringId - compartment
Id String - display
Name 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<Get
Scheduler Definition Scheduled Fleets Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- scheduled
Fleet GetCollections Scheduler Definition Scheduled Fleets Scheduled Fleet Collection[] - The list of scheduled_fleet_collection.
- scheduler
Definition stringId - compartment
Id string - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example:
My new resource
- filters
Get
Scheduler Definition Scheduled Fleets Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- scheduled_
fleet_ Sequence[fleetappsmanagement.collections Get 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[fleetappsmanagement.
Get Scheduler Definition Scheduled Fleets Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- scheduled
Fleet List<Property Map>Collections - The list of scheduled_fleet_collection.
- scheduler
Definition StringId - compartment
Id String - display
Name 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<Get
Scheduler Definition Scheduled Fleets Scheduled Fleet Collection Item> - List of ScheduledFleets.
- Items
[]Get
Scheduler Definition Scheduled Fleets Scheduled Fleet Collection Item - List of ScheduledFleets.
- items
List<Get
Scheduler Definition Scheduled Fleets Scheduled Fleet Collection Item> - List of ScheduledFleets.
- items
Get
Scheduler Definition Scheduled Fleets Scheduled Fleet Collection Item[] - List of ScheduledFleets.
- items
Sequence[fleetappsmanagement.
Get Scheduler Definition Scheduled Fleets Scheduled Fleet Collection Item] - List of ScheduledFleets.
- items List<Property Map>
- List of ScheduledFleets.
GetSchedulerDefinitionScheduledFleetsScheduledFleetCollectionItem
- Action
Group List<string>Types - All ActionGroup Types part of the schedule.
- Application
Types List<string> - 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 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"}
- Tenancy
Id string - OCID of the tenancy to which the resource belongs to.
- Action
Group []stringTypes - All ActionGroup Types part of the schedule.
- Application
Types []string - 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 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"}
- Tenancy
Id string - OCID of the tenancy to which the resource belongs to.
- action
Group List<String>Types - All ActionGroup Types part of the schedule.
- application
Types List<String> - All application types part of the schedule.
- count
Of IntegerAffected Resources - Count of Resources affected by the Schedule
- count
Of IntegerAffected Targets - Count of Targets affected by the Schedule
- display
Name 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"}
- tenancy
Id String - OCID of the tenancy to which the resource belongs to.
- action
Group string[]Types - All ActionGroup Types part of the schedule.
- application
Types string[] - All application types part of the schedule.
- count
Of numberAffected Resources - Count of Resources affected by the Schedule
- count
Of numberAffected Targets - Count of Targets affected by the Schedule
- display
Name 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"}
- tenancy
Id 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.
- action
Group List<String>Types - All ActionGroup Types part of the schedule.
- application
Types List<String> - All application types part of the schedule.
- count
Of NumberAffected Resources - Count of Resources affected by the Schedule
- count
Of NumberAffected Targets - Count of Targets affected by the Schedule
- display
Name 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"}
- tenancy
Id 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
oci
Terraform Provider.