Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Jms.getFleetErrorAnalytics
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/v3/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 dictionary
The following arguments are supported:
- Compartment
Id string - 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
List<Get
Fleet Error Analytics Filter>
- Compartment
Id string - 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
[]Get
Fleet Error Analytics Filter
- compartment
Id String - The OCID of the compartment in which to list resources.
- compartment
Id BooleanIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
List<Get
Fleet Error Analytics Filter>
- compartment
Id string - The OCID of the compartment in which to list resources.
- compartment
Id booleanIn Subtree - Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
- filters
Get
Fleet 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[Get
Fleet Error Analytics Filter]
- compartment
Id String - The OCID of the compartment in which to list resources.
- compartment
Id 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:
- Fleet
Error 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.
- Compartment
Id string - Compartment
Id boolIn Subtree - Filters
List<Get
Fleet Error Analytics Filter>
- Fleet
Error []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.
- Compartment
Id string - Compartment
Id boolIn Subtree - Filters
[]Get
Fleet Error Analytics Filter
- fleet
Error 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.
- compartment
Id String - compartment
Id BooleanIn Subtree - filters
List<Get
Fleet Error Analytics Filter>
- fleet
Error 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.
- compartment
Id string - compartment
Id booleanIn Subtree - filters
Get
Fleet 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[Get
Fleet Error Analytics Filter]
- fleet
Error List<Property Map>Aggregation Collections - The list of fleet_error_aggregation_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - compartment
Id BooleanIn Subtree - filters List<Property Map>
Supporting Types
GetFleetErrorAnalyticsFilter
GetFleetErrorAnalyticsFleetErrorAggregationCollection
- Items
List<Get
Fleet Error Analytics Fleet Error Aggregation Collection Item> - A list of FleetErrorAggregationSummary.
- Items
[]Get
Fleet Error Analytics Fleet Error Aggregation Collection Item - A list of FleetErrorAggregationSummary.
- items
List<Get
Fleet Error Analytics Fleet Error Aggregation Collection Item> - A list of FleetErrorAggregationSummary.
- items
Get
Fleet Error Analytics Fleet Error Aggregation Collection Item[] - A list of FleetErrorAggregationSummary.
- items
Sequence[Get
Fleet Error Analytics Fleet Error Aggregation Collection Item] - A list of FleetErrorAggregationSummary.
- items List<Property Map>
- A list of FleetErrorAggregationSummary.
GetFleetErrorAnalyticsFleetErrorAggregationCollectionItem
- Fleet
Error List<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.
- Fleet
Error []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.
- fleet
Error List<GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation> - List of fleet error aggregations.
- healthy
Fleet IntegerCount - Count of fleets with no problems.
- fleet
Error GetAggregations Fleet Error Analytics Fleet Error Aggregation Collection Item Fleet Error Aggregation[] - List of fleet error aggregations.
- healthy
Fleet 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.
- fleet
Error List<Property Map>Aggregations - List of fleet error aggregations.
- healthy
Fleet NumberCount - Count of fleets with no problems.
GetFleetErrorAnalyticsFleetErrorAggregationCollectionItemFleetErrorAggregation
- Fleet
Error intAnalytic 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 string
- Enum that uniquely identifies the fleet error.
- fleet
Error IntegerAnalytic Count - Number of FleetErrors encountered for the specific reason.
- reason String
- Enum that uniquely identifies the fleet error.
- fleet
Error 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.
- fleet
Error 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
oci
Terraform Provider.