Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.Jms.getFleetLibraryManagedInstances
Start a Neo task
Explain and create an oci.Jms.getFleetLibraryManagedInstances resource
This data source provides the list of Fleet Library Managed Instances in Oracle Cloud Infrastructure Jms service.
List managed instances 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 testFleetLibraryManagedInstances = oci.Jms.getFleetLibraryManagedInstances({
fleetId: testFleet.id,
libraryKey: fleetLibraryManagedInstanceLibraryKey,
applicationId: testApplication.id,
hostName: fleetLibraryManagedInstanceHostName,
hostnameContains: fleetLibraryManagedInstanceHostnameContains,
managedInstanceId: testManagedInstance.id,
timeEnd: fleetLibraryManagedInstanceTimeEnd,
timeStart: fleetLibraryManagedInstanceTimeStart,
});
import pulumi
import pulumi_oci as oci
test_fleet_library_managed_instances = oci.Jms.get_fleet_library_managed_instances(fleet_id=test_fleet["id"],
library_key=fleet_library_managed_instance_library_key,
application_id=test_application["id"],
host_name=fleet_library_managed_instance_host_name,
hostname_contains=fleet_library_managed_instance_hostname_contains,
managed_instance_id=test_managed_instance["id"],
time_end=fleet_library_managed_instance_time_end,
time_start=fleet_library_managed_instance_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.GetFleetLibraryManagedInstances(ctx, &jms.GetFleetLibraryManagedInstancesArgs{
FleetId: testFleet.Id,
LibraryKey: fleetLibraryManagedInstanceLibraryKey,
ApplicationId: pulumi.StringRef(testApplication.Id),
HostName: pulumi.StringRef(fleetLibraryManagedInstanceHostName),
HostnameContains: pulumi.StringRef(fleetLibraryManagedInstanceHostnameContains),
ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),
TimeEnd: pulumi.StringRef(fleetLibraryManagedInstanceTimeEnd),
TimeStart: pulumi.StringRef(fleetLibraryManagedInstanceTimeStart),
}, 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 testFleetLibraryManagedInstances = Oci.Jms.GetFleetLibraryManagedInstances.Invoke(new()
{
FleetId = testFleet.Id,
LibraryKey = fleetLibraryManagedInstanceLibraryKey,
ApplicationId = testApplication.Id,
HostName = fleetLibraryManagedInstanceHostName,
HostnameContains = fleetLibraryManagedInstanceHostnameContains,
ManagedInstanceId = testManagedInstance.Id,
TimeEnd = fleetLibraryManagedInstanceTimeEnd,
TimeStart = fleetLibraryManagedInstanceTimeStart,
});
});
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.GetFleetLibraryManagedInstancesArgs;
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 testFleetLibraryManagedInstances = JmsFunctions.getFleetLibraryManagedInstances(GetFleetLibraryManagedInstancesArgs.builder()
.fleetId(testFleet.id())
.libraryKey(fleetLibraryManagedInstanceLibraryKey)
.applicationId(testApplication.id())
.hostName(fleetLibraryManagedInstanceHostName)
.hostnameContains(fleetLibraryManagedInstanceHostnameContains)
.managedInstanceId(testManagedInstance.id())
.timeEnd(fleetLibraryManagedInstanceTimeEnd)
.timeStart(fleetLibraryManagedInstanceTimeStart)
.build());
}
}
variables:
testFleetLibraryManagedInstances:
fn::invoke:
function: oci:Jms:getFleetLibraryManagedInstances
arguments:
fleetId: ${testFleet.id}
libraryKey: ${fleetLibraryManagedInstanceLibraryKey}
applicationId: ${testApplication.id}
hostName: ${fleetLibraryManagedInstanceHostName}
hostnameContains: ${fleetLibraryManagedInstanceHostnameContains}
managedInstanceId: ${testManagedInstance.id}
timeEnd: ${fleetLibraryManagedInstanceTimeEnd}
timeStart: ${fleetLibraryManagedInstanceTimeStart}
Using getFleetLibraryManagedInstances
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 getFleetLibraryManagedInstances(args: GetFleetLibraryManagedInstancesArgs, opts?: InvokeOptions): Promise<GetFleetLibraryManagedInstancesResult>
function getFleetLibraryManagedInstancesOutput(args: GetFleetLibraryManagedInstancesOutputArgs, opts?: InvokeOptions): Output<GetFleetLibraryManagedInstancesResult>def get_fleet_library_managed_instances(application_id: Optional[str] = None,
filters: Optional[Sequence[GetFleetLibraryManagedInstancesFilter]] = None,
fleet_id: Optional[str] = None,
host_name: Optional[str] = None,
hostname_contains: 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) -> GetFleetLibraryManagedInstancesResult
def get_fleet_library_managed_instances_output(application_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetLibraryManagedInstancesFilterArgs]]]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
host_name: Optional[pulumi.Input[str]] = None,
hostname_contains: 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[GetFleetLibraryManagedInstancesResult]func GetFleetLibraryManagedInstances(ctx *Context, args *GetFleetLibraryManagedInstancesArgs, opts ...InvokeOption) (*GetFleetLibraryManagedInstancesResult, error)
func GetFleetLibraryManagedInstancesOutput(ctx *Context, args *GetFleetLibraryManagedInstancesOutputArgs, opts ...InvokeOption) GetFleetLibraryManagedInstancesResultOutput> Note: This function is named GetFleetLibraryManagedInstances in the Go SDK.
public static class GetFleetLibraryManagedInstances
{
public static Task<GetFleetLibraryManagedInstancesResult> InvokeAsync(GetFleetLibraryManagedInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetFleetLibraryManagedInstancesResult> Invoke(GetFleetLibraryManagedInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetLibraryManagedInstancesResult> getFleetLibraryManagedInstances(GetFleetLibraryManagedInstancesArgs args, InvokeOptions options)
public static Output<GetFleetLibraryManagedInstancesResult> getFleetLibraryManagedInstances(GetFleetLibraryManagedInstancesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Jms/getFleetLibraryManagedInstances:getFleetLibraryManagedInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- Fleet
Id string - The OCID of the Fleet.
- Library
Key string - The unique identifier of a Java library.
- Application
Id string - The Fleet-unique identifier of the application.
- Filters
List<Get
Fleet Library Managed Instances Filter> - Host
Name string - The host OCID of the managed instance.
- Hostname
Contains string - Filter the list with hostname contains the given value.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period during which resources are searched (formatted according to RFC3339).
- Fleet
Id string - The OCID of the Fleet.
- Library
Key string - The unique identifier of a Java library.
- Application
Id string - The Fleet-unique identifier of the application.
- Filters
[]Get
Fleet Library Managed Instances Filter - Host
Name string - The host OCID of the managed instance.
- Hostname
Contains string - Filter the list with hostname contains the given value.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- Time
Start string - The start of the time period during which resources are searched (formatted according to RFC3339).
- fleet
Id String - The OCID of the Fleet.
- library
Key String - The unique identifier of a Java library.
- application
Id String - The Fleet-unique identifier of the application.
- filters
List<Get
Fleet Library Managed Instances Filter> - host
Name String - The host OCID of the managed instance.
- hostname
Contains String - Filter the list with hostname contains the given value.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
End String - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start String - The start of the time period during which resources are searched (formatted according to RFC3339).
- fleet
Id string - The OCID of the Fleet.
- library
Key string - The unique identifier of a Java library.
- application
Id string - The Fleet-unique identifier of the application.
- filters
Get
Fleet Library Managed Instances Filter[] - host
Name string - The host OCID of the managed instance.
- hostname
Contains string - Filter the list with hostname contains the given value.
- managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- time
End string - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start 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.
- filters
Sequence[Get
Fleet Library Managed Instances Filter] - host_
name str - The host OCID of the managed instance.
- hostname_
contains str - Filter the list with hostname contains the given value.
- managed_
instance_ strid - 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).
- fleet
Id String - The OCID of the Fleet.
- library
Key String - The unique identifier of a Java library.
- application
Id String - The Fleet-unique identifier of the application.
- filters List<Property Map>
- host
Name String - The host OCID of the managed instance.
- hostname
Contains String - Filter the list with hostname contains the given value.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
End String - The end of the time period during which resources are searched (formatted according to RFC3339).
- time
Start String - The start of the time period during which resources are searched (formatted according to RFC3339).
getFleetLibraryManagedInstances Result
The following output properties are available:
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Library
Key string - Library
Managed List<GetInstance Usage Collections Fleet Library Managed Instances Library Managed Instance Usage Collection> - The list of library_managed_instance_usage_collection.
- Application
Id string - Filters
List<Get
Fleet Library Managed Instances Filter> - Host
Name string - Hostname
Contains string - Managed
Instance stringId - The OCID of the related managed instance.
- Time
End string - Time
Start string
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Library
Key string - Library
Managed []GetInstance Usage Collections Fleet Library Managed Instances Library Managed Instance Usage Collection - The list of library_managed_instance_usage_collection.
- Application
Id string - Filters
[]Get
Fleet Library Managed Instances Filter - Host
Name string - Hostname
Contains string - Managed
Instance stringId - The OCID of the related managed instance.
- Time
End string - Time
Start string
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- library
Key String - library
Managed List<GetInstance Usage Collections Fleet Library Managed Instances Library Managed Instance Usage Collection> - The list of library_managed_instance_usage_collection.
- application
Id String - filters
List<Get
Fleet Library Managed Instances Filter> - host
Name String - hostname
Contains String - managed
Instance StringId - The OCID of the related managed instance.
- time
End String - time
Start String
- fleet
Id string - id string
- The provider-assigned unique ID for this managed resource.
- library
Key string - library
Managed GetInstance Usage Collections Fleet Library Managed Instances Library Managed Instance Usage Collection[] - The list of library_managed_instance_usage_collection.
- application
Id string - filters
Get
Fleet Library Managed Instances Filter[] - host
Name string - hostname
Contains string - managed
Instance stringId - The OCID of the related managed instance.
- time
End string - time
Start string
- fleet_
id str - id str
- The provider-assigned unique ID for this managed resource.
- library_
key str - library_
managed_ Sequence[Getinstance_ usage_ collections Fleet Library Managed Instances Library Managed Instance Usage Collection] - The list of library_managed_instance_usage_collection.
- application_
id str - filters
Sequence[Get
Fleet Library Managed Instances Filter] - host_
name str - hostname_
contains str - managed_
instance_ strid - The OCID of the related managed instance.
- time_
end str - time_
start str
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- library
Key String - library
Managed List<Property Map>Instance Usage Collections - The list of library_managed_instance_usage_collection.
- application
Id String - filters List<Property Map>
- host
Name String - hostname
Contains String - managed
Instance StringId - The OCID of the related managed instance.
- time
End String - time
Start String
Supporting Types
GetFleetLibraryManagedInstancesFilter
GetFleetLibraryManagedInstancesLibraryManagedInstanceUsageCollection
- Items
List<Get
Fleet Library Managed Instances Library Managed Instance Usage Collection Item> - A list of LibraryManagedInstanceUsageSummaries.
- Items
[]Get
Fleet Library Managed Instances Library Managed Instance Usage Collection Item - A list of LibraryManagedInstanceUsageSummaries.
- items
List<Get
Fleet Library Managed Instances Library Managed Instance Usage Collection Item> - A list of LibraryManagedInstanceUsageSummaries.
- items
Get
Fleet Library Managed Instances Library Managed Instance Usage Collection Item[] - A list of LibraryManagedInstanceUsageSummaries.
- items
Sequence[Get
Fleet Library Managed Instances Library Managed Instance Usage Collection Item] - A list of LibraryManagedInstanceUsageSummaries.
- items List<Property Map>
- A list of LibraryManagedInstanceUsageSummaries.
GetFleetLibraryManagedInstancesLibraryManagedInstanceUsageCollectionItem
- Application
Count int - The count of applications where the specified library was detected.
- First
Seen stringIn Classpath - The timestamp of the first time the specified library was detected in classpath.
- Hostname string
- The hostname of the managed instance.
- Last
Detected stringDynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- Last
Seen stringIn Classpath - The timestamp of the last time the specified library was detected in classpath.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Application
Count int - The count of applications where the specified library was detected.
- First
Seen stringIn Classpath - The timestamp of the first time the specified library was detected in classpath.
- Hostname string
- The hostname of the managed instance.
- Last
Detected stringDynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- Last
Seen stringIn Classpath - The timestamp of the last time the specified library was detected in classpath.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- application
Count Integer - The count of applications where the specified library was detected.
- first
Seen StringIn Classpath - The timestamp of the first time the specified library was detected in classpath.
- hostname String
- The hostname of the managed instance.
- last
Detected StringDynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- last
Seen StringIn Classpath - The timestamp of the last time the specified library was detected in classpath.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- application
Count number - The count of applications where the specified library was detected.
- first
Seen stringIn Classpath - The timestamp of the first time the specified library was detected in classpath.
- hostname string
- The hostname of the managed instance.
- last
Detected stringDynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- last
Seen stringIn Classpath - The timestamp of the last time the specified library was detected in classpath.
- managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- application_
count int - The count of applications where the specified library was detected.
- first_
seen_ strin_ classpath - The timestamp of the first time the specified library was detected in classpath.
- hostname str
- The hostname of the managed instance.
- last_
detected_ strdynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- last_
seen_ strin_ classpath - The timestamp of the last time the specified library was detected in classpath.
- managed_
instance_ strid - The Fleet-unique identifier of the managed instance.
- application
Count Number - The count of applications where the specified library was detected.
- first
Seen StringIn Classpath - The timestamp of the first time the specified library was detected in classpath.
- hostname String
- The hostname of the managed instance.
- last
Detected StringDynamically - The date and time a library or Java package was last detected in a dynamic library scan.
- last
Seen StringIn Classpath - The timestamp of the last time the specified library was detected in classpath.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
