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

oci.Jms.getFleetLibraryApplications

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 Library Applications in Oracle Cloud Infrastructure Jms service.

    List applications where a library has been detected filtered by query parameters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testFleetLibraryApplications = oci.Jms.getFleetLibraryApplications({
        fleetId: testFleet.id,
        libraryKey: fleetLibraryApplicationLibraryKey,
        applicationId: testApplication.id,
        applicationName: testApplication.name,
        applicationNameContains: fleetLibraryApplicationApplicationNameContains,
        managedInstanceId: testManagedInstance.id,
        timeEnd: fleetLibraryApplicationTimeEnd,
        timeStart: fleetLibraryApplicationTimeStart,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_fleet_library_applications = oci.Jms.get_fleet_library_applications(fleet_id=test_fleet["id"],
        library_key=fleet_library_application_library_key,
        application_id=test_application["id"],
        application_name=test_application["name"],
        application_name_contains=fleet_library_application_application_name_contains,
        managed_instance_id=test_managed_instance["id"],
        time_end=fleet_library_application_time_end,
        time_start=fleet_library_application_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.GetFleetLibraryApplications(ctx, &jms.GetFleetLibraryApplicationsArgs{
    			FleetId:                 testFleet.Id,
    			LibraryKey:              fleetLibraryApplicationLibraryKey,
    			ApplicationId:           pulumi.StringRef(testApplication.Id),
    			ApplicationName:         pulumi.StringRef(testApplication.Name),
    			ApplicationNameContains: pulumi.StringRef(fleetLibraryApplicationApplicationNameContains),
    			ManagedInstanceId:       pulumi.StringRef(testManagedInstance.Id),
    			TimeEnd:                 pulumi.StringRef(fleetLibraryApplicationTimeEnd),
    			TimeStart:               pulumi.StringRef(fleetLibraryApplicationTimeStart),
    		}, 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 testFleetLibraryApplications = Oci.Jms.GetFleetLibraryApplications.Invoke(new()
        {
            FleetId = testFleet.Id,
            LibraryKey = fleetLibraryApplicationLibraryKey,
            ApplicationId = testApplication.Id,
            ApplicationName = testApplication.Name,
            ApplicationNameContains = fleetLibraryApplicationApplicationNameContains,
            ManagedInstanceId = testManagedInstance.Id,
            TimeEnd = fleetLibraryApplicationTimeEnd,
            TimeStart = fleetLibraryApplicationTimeStart,
        });
    
    });
    
    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.GetFleetLibraryApplicationsArgs;
    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 testFleetLibraryApplications = JmsFunctions.getFleetLibraryApplications(GetFleetLibraryApplicationsArgs.builder()
                .fleetId(testFleet.id())
                .libraryKey(fleetLibraryApplicationLibraryKey)
                .applicationId(testApplication.id())
                .applicationName(testApplication.name())
                .applicationNameContains(fleetLibraryApplicationApplicationNameContains)
                .managedInstanceId(testManagedInstance.id())
                .timeEnd(fleetLibraryApplicationTimeEnd)
                .timeStart(fleetLibraryApplicationTimeStart)
                .build());
    
        }
    }
    
    variables:
      testFleetLibraryApplications:
        fn::invoke:
          function: oci:Jms:getFleetLibraryApplications
          arguments:
            fleetId: ${testFleet.id}
            libraryKey: ${fleetLibraryApplicationLibraryKey}
            applicationId: ${testApplication.id}
            applicationName: ${testApplication.name}
            applicationNameContains: ${fleetLibraryApplicationApplicationNameContains}
            managedInstanceId: ${testManagedInstance.id}
            timeEnd: ${fleetLibraryApplicationTimeEnd}
            timeStart: ${fleetLibraryApplicationTimeStart}
    

    Using getFleetLibraryApplications

    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 getFleetLibraryApplications(args: GetFleetLibraryApplicationsArgs, opts?: InvokeOptions): Promise<GetFleetLibraryApplicationsResult>
    function getFleetLibraryApplicationsOutput(args: GetFleetLibraryApplicationsOutputArgs, opts?: InvokeOptions): Output<GetFleetLibraryApplicationsResult>
    def get_fleet_library_applications(application_id: Optional[str] = None,
                                       application_name: Optional[str] = None,
                                       application_name_contains: Optional[str] = None,
                                       filters: Optional[Sequence[GetFleetLibraryApplicationsFilter]] = None,
                                       fleet_id: Optional[str] = None,
                                       library_key: Optional[str] = None,
                                       managed_instance_id: Optional[str] = None,
                                       time_end: Optional[str] = None,
                                       time_start: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetFleetLibraryApplicationsResult
    def get_fleet_library_applications_output(application_id: Optional[pulumi.Input[str]] = None,
                                       application_name: Optional[pulumi.Input[str]] = None,
                                       application_name_contains: Optional[pulumi.Input[str]] = None,
                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetLibraryApplicationsFilterArgs]]]] = None,
                                       fleet_id: Optional[pulumi.Input[str]] = None,
                                       library_key: Optional[pulumi.Input[str]] = None,
                                       managed_instance_id: Optional[pulumi.Input[str]] = None,
                                       time_end: Optional[pulumi.Input[str]] = None,
                                       time_start: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetFleetLibraryApplicationsResult]
    func GetFleetLibraryApplications(ctx *Context, args *GetFleetLibraryApplicationsArgs, opts ...InvokeOption) (*GetFleetLibraryApplicationsResult, error)
    func GetFleetLibraryApplicationsOutput(ctx *Context, args *GetFleetLibraryApplicationsOutputArgs, opts ...InvokeOption) GetFleetLibraryApplicationsResultOutput

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

    public static class GetFleetLibraryApplications 
    {
        public static Task<GetFleetLibraryApplicationsResult> InvokeAsync(GetFleetLibraryApplicationsArgs args, InvokeOptions? opts = null)
        public static Output<GetFleetLibraryApplicationsResult> Invoke(GetFleetLibraryApplicationsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFleetLibraryApplicationsResult> getFleetLibraryApplications(GetFleetLibraryApplicationsArgs args, InvokeOptions options)
    public static Output<GetFleetLibraryApplicationsResult> getFleetLibraryApplications(GetFleetLibraryApplicationsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:Jms/getFleetLibraryApplications:getFleetLibraryApplications
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FleetId string
    The OCID of the Fleet.
    LibraryKey string
    The unique identifier of a Java library.
    ApplicationId string
    The Fleet-unique identifier of the application.
    ApplicationName string
    The name of the application.
    ApplicationNameContains string
    Filter the list with application name contains the given value.
    Filters List<GetFleetLibraryApplicationsFilter>
    ManagedInstanceId string
    The Fleet-unique identifier of the managed instance.
    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.
    LibraryKey string
    The unique identifier of a Java library.
    ApplicationId string
    The Fleet-unique identifier of the application.
    ApplicationName string
    The name of the application.
    ApplicationNameContains string
    Filter the list with application name contains the given value.
    Filters []GetFleetLibraryApplicationsFilter
    ManagedInstanceId string
    The Fleet-unique identifier of the managed instance.
    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.
    libraryKey String
    The unique identifier of a Java library.
    applicationId String
    The Fleet-unique identifier of the application.
    applicationName String
    The name of the application.
    applicationNameContains String
    Filter the list with application name contains the given value.
    filters List<GetFleetLibraryApplicationsFilter>
    managedInstanceId String
    The Fleet-unique identifier of the managed instance.
    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.
    libraryKey string
    The unique identifier of a Java library.
    applicationId string
    The Fleet-unique identifier of the application.
    applicationName string
    The name of the application.
    applicationNameContains string
    Filter the list with application name contains the given value.
    filters GetFleetLibraryApplicationsFilter[]
    managedInstanceId string
    The Fleet-unique identifier of the managed instance.
    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.
    library_key str
    The unique identifier of a Java library.
    application_id str
    The Fleet-unique identifier of the application.
    application_name str
    The name of the application.
    application_name_contains str
    Filter the list with application name contains the given value.
    filters Sequence[GetFleetLibraryApplicationsFilter]
    managed_instance_id str
    The Fleet-unique identifier of the managed instance.
    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.
    libraryKey String
    The unique identifier of a Java library.
    applicationId String
    The Fleet-unique identifier of the application.
    applicationName String
    The name of the application.
    applicationNameContains String
    Filter the list with application name contains the given value.
    filters List<Property Map>
    managedInstanceId String
    The Fleet-unique identifier of the managed instance.
    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).

    getFleetLibraryApplications Result

    The following output properties are available:

    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LibraryApplicationUsageCollections List<GetFleetLibraryApplicationsLibraryApplicationUsageCollection>
    The list of library_application_usage_collection.
    LibraryKey string
    ApplicationId string
    ApplicationName string
    The displayed name of the Java application.
    ApplicationNameContains string
    Filters List<GetFleetLibraryApplicationsFilter>
    ManagedInstanceId string
    TimeEnd string
    TimeStart string
    FleetId string
    Id string
    The provider-assigned unique ID for this managed resource.
    LibraryApplicationUsageCollections []GetFleetLibraryApplicationsLibraryApplicationUsageCollection
    The list of library_application_usage_collection.
    LibraryKey string
    ApplicationId string
    ApplicationName string
    The displayed name of the Java application.
    ApplicationNameContains string
    Filters []GetFleetLibraryApplicationsFilter
    ManagedInstanceId string
    TimeEnd string
    TimeStart string
    fleetId String
    id String
    The provider-assigned unique ID for this managed resource.
    libraryApplicationUsageCollections List<GetFleetLibraryApplicationsLibraryApplicationUsageCollection>
    The list of library_application_usage_collection.
    libraryKey String
    applicationId String
    applicationName String
    The displayed name of the Java application.
    applicationNameContains String
    filters List<GetFleetLibraryApplicationsFilter>
    managedInstanceId String
    timeEnd String
    timeStart String
    fleetId string
    id string
    The provider-assigned unique ID for this managed resource.
    libraryApplicationUsageCollections GetFleetLibraryApplicationsLibraryApplicationUsageCollection[]
    The list of library_application_usage_collection.
    libraryKey string
    applicationId string
    applicationName string
    The displayed name of the Java application.
    applicationNameContains string
    filters GetFleetLibraryApplicationsFilter[]
    managedInstanceId string
    timeEnd string
    timeStart string
    fleet_id str
    id str
    The provider-assigned unique ID for this managed resource.
    library_application_usage_collections Sequence[GetFleetLibraryApplicationsLibraryApplicationUsageCollection]
    The list of library_application_usage_collection.
    library_key str
    application_id str
    application_name str
    The displayed name of the Java application.
    application_name_contains str
    filters Sequence[GetFleetLibraryApplicationsFilter]
    managed_instance_id str
    time_end str
    time_start str
    fleetId String
    id String
    The provider-assigned unique ID for this managed resource.
    libraryApplicationUsageCollections List<Property Map>
    The list of library_application_usage_collection.
    libraryKey String
    applicationId String
    applicationName String
    The displayed name of the Java application.
    applicationNameContains String
    filters List<Property Map>
    managedInstanceId String
    timeEnd String
    timeStart String

    Supporting Types

    GetFleetLibraryApplicationsFilter

    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

    GetFleetLibraryApplicationsLibraryApplicationUsageCollection

    items List<Property Map>
    A list of LibraryApplicationUsageSummaries.

    GetFleetLibraryApplicationsLibraryApplicationUsageCollectionItem

    ApplicationKey string
    The internal identifier of a Java application.
    ApplicationName string
    The name of the application.
    FirstSeenInClasspath string
    The timestamp of the first time the specified library was detected in classpath.
    LastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    LastSeenInClasspath string
    The timestamp of the last time the specified library was detected in classpath.
    ManagedInstanceCount int
    The count of managed instances wherein the specified library was detected.
    ApplicationKey string
    The internal identifier of a Java application.
    ApplicationName string
    The name of the application.
    FirstSeenInClasspath string
    The timestamp of the first time the specified library was detected in classpath.
    LastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    LastSeenInClasspath string
    The timestamp of the last time the specified library was detected in classpath.
    ManagedInstanceCount int
    The count of managed instances wherein the specified library was detected.
    applicationKey String
    The internal identifier of a Java application.
    applicationName String
    The name of the application.
    firstSeenInClasspath String
    The timestamp of the first time the specified library was detected in classpath.
    lastDetectedDynamically String
    The date and time a library or Java package was last detected in a dynamic library scan.
    lastSeenInClasspath String
    The timestamp of the last time the specified library was detected in classpath.
    managedInstanceCount Integer
    The count of managed instances wherein the specified library was detected.
    applicationKey string
    The internal identifier of a Java application.
    applicationName string
    The name of the application.
    firstSeenInClasspath string
    The timestamp of the first time the specified library was detected in classpath.
    lastDetectedDynamically string
    The date and time a library or Java package was last detected in a dynamic library scan.
    lastSeenInClasspath string
    The timestamp of the last time the specified library was detected in classpath.
    managedInstanceCount number
    The count of managed instances wherein the specified library was detected.
    application_key str
    The internal identifier of a Java application.
    application_name str
    The name of the application.
    first_seen_in_classpath str
    The timestamp of the first time the specified library was detected in classpath.
    last_detected_dynamically str
    The date and time a library or Java package was last detected in a dynamic library scan.
    last_seen_in_classpath str
    The timestamp of the last time the specified library was detected in classpath.
    managed_instance_count int
    The count of managed instances wherein the specified library was detected.
    applicationKey String
    The internal identifier of a Java application.
    applicationName String
    The name of the application.
    firstSeenInClasspath String
    The timestamp of the first time the specified library was detected in classpath.
    lastDetectedDynamically String
    The date and time a library or Java package was last detected in a dynamic library scan.
    lastSeenInClasspath String
    The timestamp of the last time the specified library was detected in classpath.
    managedInstanceCount Number
    The count of managed instances wherein the specified library was detected.

    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