Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.FleetAppsManagement.getSchedulerJobCounts
Explore with Pulumi AI
This data source provides the list of Scheduler Job Counts in Oracle Cloud Infrastructure Fleet Apps Management service.
Retrieve aggregated summary information of Scheduler Jobs within a Tenancy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSchedulerJobCounts = oci.FleetAppsManagement.getSchedulerJobCounts({
    compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_scheduler_job_counts = oci.FleetAppsManagement.get_scheduler_job_counts(compartment_id=compartment_id)
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.GetSchedulerJobCounts(ctx, &fleetappsmanagement.GetSchedulerJobCountsArgs{
			CompartmentId: pulumi.StringRef(compartmentId),
		}, 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 testSchedulerJobCounts = Oci.FleetAppsManagement.GetSchedulerJobCounts.Invoke(new()
    {
        CompartmentId = compartmentId,
    });
});
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.GetSchedulerJobCountsArgs;
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 testSchedulerJobCounts = FleetAppsManagementFunctions.getSchedulerJobCounts(GetSchedulerJobCountsArgs.builder()
            .compartmentId(compartmentId)
            .build());
    }
}
variables:
  testSchedulerJobCounts:
    fn::invoke:
      function: oci:FleetAppsManagement:getSchedulerJobCounts
      arguments:
        compartmentId: ${compartmentId}
Using getSchedulerJobCounts
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 getSchedulerJobCounts(args: GetSchedulerJobCountsArgs, opts?: InvokeOptions): Promise<GetSchedulerJobCountsResult>
function getSchedulerJobCountsOutput(args: GetSchedulerJobCountsOutputArgs, opts?: InvokeOptions): Output<GetSchedulerJobCountsResult>def get_scheduler_job_counts(compartment_id: Optional[str] = None,
                             filters: Optional[Sequence[_fleetappsmanagement.GetSchedulerJobCountsFilter]] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSchedulerJobCountsResult
def get_scheduler_job_counts_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_fleetappsmanagement.GetSchedulerJobCountsFilterArgs]]]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSchedulerJobCountsResult]func GetSchedulerJobCounts(ctx *Context, args *GetSchedulerJobCountsArgs, opts ...InvokeOption) (*GetSchedulerJobCountsResult, error)
func GetSchedulerJobCountsOutput(ctx *Context, args *GetSchedulerJobCountsOutputArgs, opts ...InvokeOption) GetSchedulerJobCountsResultOutput> Note: This function is named GetSchedulerJobCounts in the Go SDK.
public static class GetSchedulerJobCounts 
{
    public static Task<GetSchedulerJobCountsResult> InvokeAsync(GetSchedulerJobCountsArgs args, InvokeOptions? opts = null)
    public static Output<GetSchedulerJobCountsResult> Invoke(GetSchedulerJobCountsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchedulerJobCountsResult> getSchedulerJobCounts(GetSchedulerJobCountsArgs args, InvokeOptions options)
public static Output<GetSchedulerJobCountsResult> getSchedulerJobCounts(GetSchedulerJobCountsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:FleetAppsManagement/getSchedulerJobCounts:getSchedulerJobCounts
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The ID of the compartment in which to list resources.
- Filters
List<GetScheduler Job Counts Filter> 
- CompartmentId string
- The ID of the compartment in which to list resources.
- Filters
[]GetScheduler Job Counts Filter 
- compartmentId String
- The ID of the compartment in which to list resources.
- filters
List<GetScheduler Job Counts Filter> 
- compartmentId string
- The ID of the compartment in which to list resources.
- filters
GetScheduler Job Counts Filter[] 
- compartment_id str
- The ID of the compartment in which to list resources.
- filters
Sequence[fleetappsmanagement.Get Scheduler Job Counts Filter] 
- compartmentId String
- The ID of the compartment in which to list resources.
- filters List<Property Map>
getSchedulerJobCounts Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- SchedulerJob List<GetAggregation Collections Scheduler Job Counts Scheduler Job Aggregation Collection> 
- The list of scheduler_job_aggregation_collection.
- CompartmentId string
- Filters
List<GetScheduler Job Counts Filter> 
- Id string
- The provider-assigned unique ID for this managed resource.
- SchedulerJob []GetAggregation Collections Scheduler Job Counts Scheduler Job Aggregation Collection 
- The list of scheduler_job_aggregation_collection.
- CompartmentId string
- Filters
[]GetScheduler Job Counts Filter 
- id String
- The provider-assigned unique ID for this managed resource.
- schedulerJob List<GetAggregation Collections Scheduler Job Counts Scheduler Job Aggregation Collection> 
- The list of scheduler_job_aggregation_collection.
- compartmentId String
- filters
List<GetScheduler Job Counts Filter> 
- id string
- The provider-assigned unique ID for this managed resource.
- schedulerJob GetAggregation Collections Scheduler Job Counts Scheduler Job Aggregation Collection[] 
- The list of scheduler_job_aggregation_collection.
- compartmentId string
- filters
GetScheduler Job Counts Filter[] 
- id str
- The provider-assigned unique ID for this managed resource.
- scheduler_job_ Sequence[fleetappsmanagement.aggregation_ collections Get Scheduler Job Counts Scheduler Job Aggregation Collection] 
- The list of scheduler_job_aggregation_collection.
- compartment_id str
- filters
Sequence[fleetappsmanagement.Get Scheduler Job Counts Filter] 
- id String
- The provider-assigned unique ID for this managed resource.
- schedulerJob List<Property Map>Aggregation Collections 
- The list of scheduler_job_aggregation_collection.
- compartmentId String
- filters List<Property Map>
Supporting Types
GetSchedulerJobCountsFilter    
GetSchedulerJobCountsSchedulerJobAggregationCollection       
- Items
List<GetScheduler Job Counts Scheduler Job Aggregation Collection Item> 
- List of SchedulerJobAggregation objects.
- Items
[]GetScheduler Job Counts Scheduler Job Aggregation Collection Item 
- List of SchedulerJobAggregation objects.
- items
List<GetScheduler Job Counts Scheduler Job Aggregation Collection Item> 
- List of SchedulerJobAggregation objects.
- items
GetScheduler Job Counts Scheduler Job Aggregation Collection Item[] 
- List of SchedulerJobAggregation objects.
- items
Sequence[fleetappsmanagement.Get Scheduler Job Counts Scheduler Job Aggregation Collection Item] 
- List of SchedulerJobAggregation objects.
- items List<Property Map>
- List of SchedulerJobAggregation objects.
GetSchedulerJobCountsSchedulerJobAggregationCollectionItem        
- Dimensions
List<GetScheduler Job Counts Scheduler Job Aggregation Collection Item Dimension> 
- Aggregated summary information for a SchedulerJob.
- SchedulerJob intCount Count 
- Count of jobs in a Tenancy.
- Dimensions
[]GetScheduler Job Counts Scheduler Job Aggregation Collection Item Dimension 
- Aggregated summary information for a SchedulerJob.
- SchedulerJob intCount Count 
- Count of jobs in a Tenancy.
- dimensions
List<GetScheduler Job Counts Scheduler Job Aggregation Collection Item Dimension> 
- Aggregated summary information for a SchedulerJob.
- schedulerJob IntegerCount Count 
- Count of jobs in a Tenancy.
- dimensions
GetScheduler Job Counts Scheduler Job Aggregation Collection Item Dimension[] 
- Aggregated summary information for a SchedulerJob.
- schedulerJob numberCount Count 
- Count of jobs in a Tenancy.
- dimensions
Sequence[fleetappsmanagement.Get Scheduler Job Counts Scheduler Job Aggregation Collection Item Dimension] 
- Aggregated summary information for a SchedulerJob.
- scheduler_job_ intcount_ count 
- Count of jobs in a Tenancy.
- dimensions List<Property Map>
- Aggregated summary information for a SchedulerJob.
- schedulerJob NumberCount Count 
- Count of jobs in a Tenancy.
GetSchedulerJobCountsSchedulerJobAggregationCollectionItemDimension         
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- LifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycleDetails string
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycle_details str
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- lifecycleDetails String
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.