Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Jms.getFleetErrorAnalytics
Explore with Pulumi AI
This data source provides the list of Fleet Error Analytics in Oracle Cloud Infrastructure Jms service.
Returns a high level summary of FleetErrors.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetErrorAnalytics = oci.Jms.getFleetErrorAnalytics({
    compartmentId: compartmentId,
    compartmentIdInSubtree: fleetErrorAnalyticCompartmentIdInSubtree,
});
import pulumi
import pulumi_oci as oci
test_fleet_error_analytics = oci.Jms.get_fleet_error_analytics(compartment_id=compartment_id,
    compartment_id_in_subtree=fleet_error_analytic_compartment_id_in_subtree)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/jms"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := jms.GetFleetErrorAnalytics(ctx, &jms.GetFleetErrorAnalyticsArgs{
			CompartmentId:          pulumi.StringRef(compartmentId),
			CompartmentIdInSubtree: pulumi.BoolRef(fleetErrorAnalyticCompartmentIdInSubtree),
		}, 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 testFleetErrorAnalytics = Oci.Jms.GetFleetErrorAnalytics.Invoke(new()
    {
        CompartmentId = compartmentId,
        CompartmentIdInSubtree = fleetErrorAnalyticCompartmentIdInSubtree,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Jms.JmsFunctions;
import com.pulumi.oci.Jms.inputs.GetFleetErrorAnalyticsArgs;
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 testFleetErrorAnalytics = JmsFunctions.getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs.builder()
            .compartmentId(compartmentId)
            .compartmentIdInSubtree(fleetErrorAnalyticCompartmentIdInSubtree)
            .build());
    }
}
variables:
  testFleetErrorAnalytics:
    fn::invoke:
      function: oci:Jms:getFleetErrorAnalytics
      arguments:
        compartmentId: ${compartmentId}
        compartmentIdInSubtree: ${fleetErrorAnalyticCompartmentIdInSubtree}
Using getFleetErrorAnalytics
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 getFleetErrorAnalytics(args: GetFleetErrorAnalyticsArgs, opts?: InvokeOptions): Promise<GetFleetErrorAnalyticsResult>
function getFleetErrorAnalyticsOutput(args: GetFleetErrorAnalyticsOutputArgs, opts?: InvokeOptions): Output<GetFleetErrorAnalyticsResult>def get_fleet_error_analytics(compartment_id: Optional[str] = None,
                              compartment_id_in_subtree: Optional[bool] = None,
                              filters: Optional[Sequence[GetFleetErrorAnalyticsFilter]] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFleetErrorAnalyticsResult
def get_fleet_error_analytics_output(compartment_id: Optional[pulumi.Input[str]] = None,
                              compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
                              filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetErrorAnalyticsFilterArgs]]]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFleetErrorAnalyticsResult]func GetFleetErrorAnalytics(ctx *Context, args *GetFleetErrorAnalyticsArgs, opts ...InvokeOption) (*GetFleetErrorAnalyticsResult, error)
func GetFleetErrorAnalyticsOutput(ctx *Context, args *GetFleetErrorAnalyticsOutputArgs, opts ...InvokeOption) GetFleetErrorAnalyticsResultOutput> Note: This function is named GetFleetErrorAnalytics in the Go SDK.
public static class GetFleetErrorAnalytics 
{
    public static Task<GetFleetErrorAnalyticsResult> InvokeAsync(GetFleetErrorAnalyticsArgs args, InvokeOptions? opts = null)
    public static Output<GetFleetErrorAnalyticsResult> Invoke(GetFleetErrorAnalyticsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetErrorAnalyticsResult> getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs args, InvokeOptions options)
public static Output<GetFleetErrorAnalyticsResult> getFleetErrorAnalytics(GetFleetErrorAnalyticsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Jms/getFleetErrorAnalytics:getFleetErrorAnalytics
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- CompartmentId boolIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
List<GetFleet Error Analytics Filter> 
- CompartmentId string
- The OCID of the compartment in which to list resources.
- CompartmentId boolIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- Filters
[]GetFleet Error Analytics Filter 
- compartmentId String
- The OCID of the compartment in which to list resources.
- compartmentId BooleanIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
List<GetFleet Error Analytics Filter> 
- compartmentId string
- The OCID of the compartment in which to list resources.
- compartmentId booleanIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
GetFleet Error Analytics Filter[] 
- compartment_id str
- The OCID of the compartment in which to list resources.
- compartment_id_ boolin_ subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
Sequence[GetFleet Error Analytics Filter] 
- compartmentId String
- The OCID of the compartment in which to list resources.
- compartmentId BooleanIn Subtree 
- Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters List<Property Map>
getFleetErrorAnalytics Result
The following output properties are available:
- FleetError List<GetAggregation Collections Fleet Error Analytics Fleet Error Aggregation Collection> 
- The list of fleet_error_aggregation_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- CompartmentId string
- CompartmentId boolIn Subtree 
- Filters
List<GetFleet Error Analytics Filter> 
- FleetError []GetAggregation Collections Fleet Error Analytics Fleet Error Aggregation Collection 
- The list of fleet_error_aggregation_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- CompartmentId string
- CompartmentId boolIn Subtree 
- Filters
[]GetFleet Error Analytics Filter 
- fleetError List<GetAggregation Collections Fleet Error Analytics Fleet Error Aggregation Collection> 
- The list of fleet_error_aggregation_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartmentId String
- compartmentId BooleanIn Subtree 
- filters
List<GetFleet Error Analytics Filter> 
- fleetError GetAggregation Collections Fleet Error Analytics Fleet Error Aggregation Collection[] 
- The list of fleet_error_aggregation_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartmentId string
- compartmentId booleanIn Subtree 
- filters
GetFleet Error Analytics Filter[] 
- fleet_error_ Sequence[Getaggregation_ collections Fleet Error Analytics Fleet Error Aggregation Collection] 
- The list of fleet_error_aggregation_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_id str
- compartment_id_ boolin_ subtree 
- filters
Sequence[GetFleet Error Analytics Filter] 
- fleetError List<Property Map>Aggregation Collections 
- The list of fleet_error_aggregation_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartmentId String
- compartmentId BooleanIn Subtree 
- filters List<Property Map>
Supporting Types
GetFleetErrorAnalyticsFilter    
GetFleetErrorAnalyticsFleetErrorAggregationCollection       
- Items
List<GetFleet Error Analytics Fleet Error Aggregation Collection Item> 
- A list of FleetErrorAggregationSummary.
- Items
[]GetFleet Error Analytics Fleet Error Aggregation Collection Item 
- A list of FleetErrorAggregationSummary.
- items
List<GetFleet Error Analytics Fleet Error Aggregation Collection Item> 
- A list of FleetErrorAggregationSummary.
- items
GetFleet Error Analytics Fleet Error Aggregation Collection Item[] 
- A list of FleetErrorAggregationSummary.
- items
Sequence[GetFleet Error Analytics Fleet Error Aggregation Collection Item] 
- A list of FleetErrorAggregationSummary.
- items List<Property Map>
- A list of FleetErrorAggregationSummary.
GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem        
- FleetError List<GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation> 
- List of fleet error aggregations.
- HealthyFleet intCount 
- Count of fleets with no problems.
- FleetError []GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation 
- List of fleet error aggregations.
- HealthyFleet intCount 
- Count of fleets with no problems.
- fleetError List<GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation> 
- List of fleet error aggregations.
- healthyFleet IntegerCount 
- Count of fleets with no problems.
- fleetError GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation[] 
- List of fleet error aggregations.
- healthyFleet numberCount 
- Count of fleets with no problems.
- fleet_error_ Sequence[Getaggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation] 
- List of fleet error aggregations.
- healthy_fleet_ intcount 
- Count of fleets with no problems.
- fleetError List<Property Map>Aggregations 
- List of fleet error aggregations.
- healthyFleet NumberCount 
- Count of fleets with no problems.
GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation           
- FleetError intAnalytic Count 
- Number of FleetErrors encountered for the specific reason.
- Reason string
- Enum that uniquely identifies the fleet error.
- FleetError intAnalytic Count 
- Number of FleetErrors encountered for the specific reason.
- Reason string
- Enum that uniquely identifies the fleet error.
- fleetError IntegerAnalytic Count 
- Number of FleetErrors encountered for the specific reason.
- reason String
- Enum that uniquely identifies the fleet error.
- fleetError numberAnalytic Count 
- Number of FleetErrors encountered for the specific reason.
- reason string
- Enum that uniquely identifies the fleet error.
- fleet_error_ intanalytic_ count 
- Number of FleetErrors encountered for the specific reason.
- reason str
- Enum that uniquely identifies the fleet error.
- fleetError NumberAnalytic Count 
- Number of FleetErrors encountered for the specific reason.
- reason String
- Enum that uniquely identifies the fleet error.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.