1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Jms
  5. getFleetUncorrelatedPackages
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

oci.Jms.getFleetUncorrelatedPackages

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi

    This data source provides the list of Fleet Uncorrelated Packages in Oracle Cloud Infrastructure Jms service.

    List uncorrelated package summaries in a fleet, filtered by query parameters. Uncorrelated packages are Java packages which can’t be accurately correlated to a library during a library scan.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetUncorrelatedPackages = oci.Jms.getFleetUncorrelatedPackages({
        fleetId: testFleet.id,
        applicationId: testApplication.id,
        managedInstanceId: testManagedInstance.id,
        packageName: fleetUncorrelatedPackagePackageName,
        timeEnd: fleetUncorrelatedPackageTimeEnd,
        timeStart: fleetUncorrelatedPackageTimeStart,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_uncorrelated_packages = oci.Jms.get_fleet_uncorrelated_packages(fleet_id=test_fleet["id"],
        application_id=test_application["id"],
        managed_instance_id=test_managed_instance["id"],
        package_name=fleet_uncorrelated_package_package_name,
        time_end=fleet_uncorrelated_package_time_end,
        time_start=fleet_uncorrelated_package_time_start)
    
    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.GetFleetUncorrelatedPackages(ctx, &jms.GetFleetUncorrelatedPackagesArgs{
    			FleetId:           testFleet.Id,
    			ApplicationId:     pulumi.StringRef(testApplication.Id),
    			ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),
    			PackageName:       pulumi.StringRef(fleetUncorrelatedPackagePackageName),
    			TimeEnd:           pulumi.StringRef(fleetUncorrelatedPackageTimeEnd),
    			TimeStart:         pulumi.StringRef(fleetUncorrelatedPackageTimeStart),
    		}, 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 testFleetUncorrelatedPackages = Oci.Jms.GetFleetUncorrelatedPackages.Invoke(new()
        {
            FleetId = testFleet.Id,
            ApplicationId = testApplication.Id,
            ManagedInstanceId = testManagedInstance.Id,
            PackageName = fleetUncorrelatedPackagePackageName,
            TimeEnd = fleetUncorrelatedPackageTimeEnd,
            TimeStart = fleetUncorrelatedPackageTimeStart,
        });
    
    });
    
    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.GetFleetUncorrelatedPackagesArgs;
    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 testFleetUncorrelatedPackages = JmsFunctions.getFleetUncorrelatedPackages(GetFleetUncorrelatedPackagesArgs.builder()
                .fleetId(testFleet.id())
                .applicationId(testApplication.id())
                .managedInstanceId(testManagedInstance.id())
                .packageName(fleetUncorrelatedPackagePackageName)
                .timeEnd(fleetUncorrelatedPackageTimeEnd)
                .timeStart(fleetUncorrelatedPackageTimeStart)
                .build());
    
        }
    }
    
    variables:
      testFleetUncorrelatedPackages:
        fn::invoke:
          function: oci:Jms:getFleetUncorrelatedPackages
          arguments:
            fleetId: ${testFleet.id}
            applicationId: ${testApplication.id}
            managedInstanceId: ${testManagedInstance.id}
            packageName: ${fleetUncorrelatedPackagePackageName}
            timeEnd: ${fleetUncorrelatedPackageTimeEnd}
            timeStart: ${fleetUncorrelatedPackageTimeStart}
    

    Using getFleetUncorrelatedPackages

    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 getFleetUncorrelatedPackages(args: GetFleetUncorrelatedPackagesArgs, opts?: InvokeOptions): Promise<GetFleetUncorrelatedPackagesResult>
    function getFleetUncorrelatedPackagesOutput(args: GetFleetUncorrelatedPackagesOutputArgs, opts?: InvokeOptions): Output<GetFleetUncorrelatedPackagesResult>
    def get_fleet_uncorrelated_packages(application_id: Optional[str] = None,
                                        filters: Optional[Sequence[GetFleetUncorrelatedPackagesFilter]] = None,
                                        fleet_id: Optional[str] = None,
                                        managed_instance_id: Optional[str] = None,
                                        package_name: Optional[str] = None,
                                        time_end: Optional[str] = None,
                                        time_start: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetFleetUncorrelatedPackagesResult
    def get_fleet_uncorrelated_packages_output(application_id: Optional[pulumi.Input[str]] = None,
                                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetUncorrelatedPackagesFilterArgs]]]] = None,
                                        fleet_id: Optional[pulumi.Input[str]] = None,
                                        managed_instance_id: Optional[pulumi.Input[str]] = None,
                                        package_name: Optional[pulumi.Input[str]] = None,
                                        time_end: Optional[pulumi.Input[str]] = None,
                                        time_start: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetFleetUncorrelatedPackagesResult]
    func GetFleetUncorrelatedPackages(ctx *Context, args *GetFleetUncorrelatedPackagesArgs, opts ...InvokeOption) (*GetFleetUncorrelatedPackagesResult, error)
    func GetFleetUncorrelatedPackagesOutput(ctx *Context, args *GetFleetUncorrelatedPackagesOutputArgs, opts ...InvokeOption) GetFleetUncorrelatedPackagesResultOutput

    > Note: This function is named GetFleetUncorrelatedPackages in the Go SDK.

    public static class GetFleetUncorrelatedPackages 
    {
        public static Task<GetFleetUncorrelatedPackagesResult> InvokeAsync(GetFleetUncorrelatedPackagesArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetUncorrelatedPackagesResult> Invoke(GetFleetUncorrelatedPackagesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetUncorrelatedPackagesResult> getFleetUncorrelatedPackages(GetFleetUncorrelatedPackagesArgs args, InvokeOptions options)
    public static Output<GetFleetUncorrelatedPackagesResult> getFleetUncorrelatedPackages(GetFleetUncorrelatedPackagesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Jms/getFleetUncorrelatedPackages:getFleetUncorrelatedPackages
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    ApplicationId string
    The Fleet-unique identifier of the application.
    Filters List<GetFleetUncorrelatedPackagesFilter>
    ManagedInstanceId string
    The Fleet-unique identifier of the managed instance.
    PackageName string
    The unique identifier of a Java package.
    TimeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    TimeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    FleetId string
    The OCID of the Fleet.
    ApplicationId string
    The Fleet-unique identifier of the application.
    Filters []GetFleetUncorrelatedPackagesFilter
    ManagedInstanceId string
    The Fleet-unique identifier of the managed instance.
    PackageName string
    The unique identifier of a Java package.
    TimeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    TimeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId String
    The OCID of the Fleet.
    applicationId String
    The Fleet-unique identifier of the application.
    filters List<GetFleetUncorrelatedPackagesFilter>
    managedInstanceId String
    The Fleet-unique identifier of the managed instance.
    packageName String
    The unique identifier of a Java package.
    timeEnd String
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart String
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId string
    The OCID of the Fleet.
    applicationId string
    The Fleet-unique identifier of the application.
    filters GetFleetUncorrelatedPackagesFilter[]
    managedInstanceId string
    The Fleet-unique identifier of the managed instance.
    packageName string
    The unique identifier of a Java package.
    timeEnd string
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart string
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleet_id str
    The OCID of the Fleet.
    application_id str
    The Fleet-unique identifier of the application.
    filters Sequence[GetFleetUncorrelatedPackagesFilter]
    managed_instance_id str
    The Fleet-unique identifier of the managed instance.
    package_name str
    The unique identifier of a Java package.
    time_end str
    The end of the time period during which resources are searched (formatted according to RFC3339).
    time_start str
    The start of the time period during which resources are searched (formatted according to RFC3339).
    fleetId String
    The OCID of the Fleet.
    applicationId String
    The Fleet-unique identifier of the application.
    filters List<Property Map>
    managedInstanceId String
    The Fleet-unique identifier of the managed instance.
    packageName String
    The unique identifier of a Java package.
    timeEnd String
    The end of the time period during which resources are searched (formatted according to RFC3339).
    timeStart String
    The start of the time period during which resources are searched (formatted according to RFC3339).

    getFleetUncorrelatedPackages Result

    The following output properties are available:

    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    UncorrelatedPackageUsageCollections List<GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection>
    The list of uncorrelated_package_usage_collection.
    ApplicationId string
    Filters List<GetFleetUncorrelatedPackagesFilter>
    ManagedInstanceId string
    PackageName string
    The name of the package.
    TimeEnd string
    TimeStart string
    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    UncorrelatedPackageUsageCollections []GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection
    The list of uncorrelated_package_usage_collection.
    ApplicationId string
    Filters []GetFleetUncorrelatedPackagesFilter
    ManagedInstanceId string
    PackageName string
    The name of the package.
    TimeEnd string
    TimeStart string
    fleetId String
    id String
    The provider-assigned unique ID for this managed resource.
    uncorrelatedPackageUsageCollections List<GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection>
    The list of uncorrelated_package_usage_collection.
    applicationId String
    filters List<GetFleetUncorrelatedPackagesFilter>
    managedInstanceId String
    packageName String
    The name of the package.
    timeEnd String
    timeStart String
    fleetId string
    id string
    The provider-assigned unique ID for this managed resource.
    uncorrelatedPackageUsageCollections GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection[]
    The list of uncorrelated_package_usage_collection.
    applicationId string
    filters GetFleetUncorrelatedPackagesFilter[]
    managedInstanceId string
    packageName string
    The name of the package.
    timeEnd string
    timeStart string
    fleet_id str
    id str
    The provider-assigned unique ID for this managed resource.
    uncorrelated_package_usage_collections Sequence[GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection]
    The list of uncorrelated_package_usage_collection.
    application_id str
    filters Sequence[GetFleetUncorrelatedPackagesFilter]
    managed_instance_id str
    package_name str
    The name of the package.
    time_end str
    time_start str
    fleetId String
    id String
    The provider-assigned unique ID for this managed resource.
    uncorrelatedPackageUsageCollections List<Property Map>
    The list of uncorrelated_package_usage_collection.
    applicationId String
    filters List<Property Map>
    managedInstanceId String
    packageName String
    The name of the package.
    timeEnd String
    timeStart String

    Supporting Types

    GetFleetUncorrelatedPackagesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollection

    items List<Property Map>
    A list of uncorrelated package summaries.

    GetFleetUncorrelatedPackagesUncorrelatedPackageUsageCollectionItem

    ApplicationCount int
    The count of applications wherein the specified package was detected.
    LastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    ManagedInstanceCount int
    The count of managed instances wherein the specified package was detected.
    PackageName string
    The unique identifier of a Java package.
    ApplicationCount int
    The count of applications wherein the specified package was detected.
    LastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    ManagedInstanceCount int
    The count of managed instances wherein the specified package was detected.
    PackageName string
    The unique identifier of a Java package.
    applicationCount Integer
    The count of applications wherein the specified package was detected.
    lastDetectedDynamically String
    The date and time a library or Java package was last detected in a dynamic library scan.
    managedInstanceCount Integer
    The count of managed instances wherein the specified package was detected.
    packageName String
    The unique identifier of a Java package.
    applicationCount number
    The count of applications wherein the specified package was detected.
    lastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    managedInstanceCount number
    The count of managed instances wherein the specified package was detected.
    packageName string
    The unique identifier of a Java package.
    application_count int
    The count of applications wherein the specified package was detected.
    last_detected_dynamically str
    The date and time a library or Java package was last detected in a dynamic library scan.
    managed_instance_count int
    The count of managed instances wherein the specified package was detected.
    package_name str
    The unique identifier of a Java package.
    applicationCount Number
    The count of applications wherein the specified package was detected.
    lastDetectedDynamically String
    The date and time a library or Java package was last detected in a dynamic library scan.
    managedInstanceCount Number
    The count of managed instances wherein the specified package was detected.
    packageName String
    The unique identifier of a Java package.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi