Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Jms.getFleetContainers
Explore with Pulumi AI
This data source provides the list of Fleet Containers in Oracle Cloud Infrastructure Jms service.
List containers in a fleet filtered by query parameters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testFleetContainers = oci.Jms.getFleetContainers({
fleetId: testFleet.id,
applicationName: testApplication.name,
displayName: fleetContainerDisplayName,
jreSecurityStatus: fleetContainerJreSecurityStatus,
jreVersion: fleetContainerJreVersion,
managedInstanceId: testManagedInstance.id,
timeStartedGreaterThanOrEqualTo: fleetContainerTimeStartedGreaterThanOrEqualTo,
timeStartedLessThanOrEqualTo: fleetContainerTimeStartedLessThanOrEqualTo,
});
import pulumi
import pulumi_oci as oci
test_fleet_containers = oci.Jms.get_fleet_containers(fleet_id=test_fleet["id"],
application_name=test_application["name"],
display_name=fleet_container_display_name,
jre_security_status=fleet_container_jre_security_status,
jre_version=fleet_container_jre_version,
managed_instance_id=test_managed_instance["id"],
time_started_greater_than_or_equal_to=fleet_container_time_started_greater_than_or_equal_to,
time_started_less_than_or_equal_to=fleet_container_time_started_less_than_or_equal_to)
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.GetFleetContainers(ctx, &jms.GetFleetContainersArgs{
FleetId: testFleet.Id,
ApplicationName: pulumi.StringRef(testApplication.Name),
DisplayName: pulumi.StringRef(fleetContainerDisplayName),
JreSecurityStatus: pulumi.StringRef(fleetContainerJreSecurityStatus),
JreVersion: pulumi.StringRef(fleetContainerJreVersion),
ManagedInstanceId: pulumi.StringRef(testManagedInstance.Id),
TimeStartedGreaterThanOrEqualTo: pulumi.StringRef(fleetContainerTimeStartedGreaterThanOrEqualTo),
TimeStartedLessThanOrEqualTo: pulumi.StringRef(fleetContainerTimeStartedLessThanOrEqualTo),
}, 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 testFleetContainers = Oci.Jms.GetFleetContainers.Invoke(new()
{
FleetId = testFleet.Id,
ApplicationName = testApplication.Name,
DisplayName = fleetContainerDisplayName,
JreSecurityStatus = fleetContainerJreSecurityStatus,
JreVersion = fleetContainerJreVersion,
ManagedInstanceId = testManagedInstance.Id,
TimeStartedGreaterThanOrEqualTo = fleetContainerTimeStartedGreaterThanOrEqualTo,
TimeStartedLessThanOrEqualTo = fleetContainerTimeStartedLessThanOrEqualTo,
});
});
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.GetFleetContainersArgs;
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 testFleetContainers = JmsFunctions.getFleetContainers(GetFleetContainersArgs.builder()
.fleetId(testFleet.id())
.applicationName(testApplication.name())
.displayName(fleetContainerDisplayName)
.jreSecurityStatus(fleetContainerJreSecurityStatus)
.jreVersion(fleetContainerJreVersion)
.managedInstanceId(testManagedInstance.id())
.timeStartedGreaterThanOrEqualTo(fleetContainerTimeStartedGreaterThanOrEqualTo)
.timeStartedLessThanOrEqualTo(fleetContainerTimeStartedLessThanOrEqualTo)
.build());
}
}
variables:
testFleetContainers:
fn::invoke:
function: oci:Jms:getFleetContainers
arguments:
fleetId: ${testFleet.id}
applicationName: ${testApplication.name}
displayName: ${fleetContainerDisplayName}
jreSecurityStatus: ${fleetContainerJreSecurityStatus}
jreVersion: ${fleetContainerJreVersion}
managedInstanceId: ${testManagedInstance.id}
timeStartedGreaterThanOrEqualTo: ${fleetContainerTimeStartedGreaterThanOrEqualTo}
timeStartedLessThanOrEqualTo: ${fleetContainerTimeStartedLessThanOrEqualTo}
Using getFleetContainers
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 getFleetContainers(args: GetFleetContainersArgs, opts?: InvokeOptions): Promise<GetFleetContainersResult>
function getFleetContainersOutput(args: GetFleetContainersOutputArgs, opts?: InvokeOptions): Output<GetFleetContainersResult>
def get_fleet_containers(application_name: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetFleetContainersFilter]] = None,
fleet_id: Optional[str] = None,
jre_security_status: Optional[str] = None,
jre_version: Optional[str] = None,
managed_instance_id: Optional[str] = None,
time_started_greater_than_or_equal_to: Optional[str] = None,
time_started_less_than_or_equal_to: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetContainersResult
def get_fleet_containers_output(application_name: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetFleetContainersFilterArgs]]]] = None,
fleet_id: Optional[pulumi.Input[str]] = None,
jre_security_status: Optional[pulumi.Input[str]] = None,
jre_version: Optional[pulumi.Input[str]] = None,
managed_instance_id: Optional[pulumi.Input[str]] = None,
time_started_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
time_started_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetContainersResult]
func GetFleetContainers(ctx *Context, args *GetFleetContainersArgs, opts ...InvokeOption) (*GetFleetContainersResult, error)
func GetFleetContainersOutput(ctx *Context, args *GetFleetContainersOutputArgs, opts ...InvokeOption) GetFleetContainersResultOutput
> Note: This function is named GetFleetContainers
in the Go SDK.
public static class GetFleetContainers
{
public static Task<GetFleetContainersResult> InvokeAsync(GetFleetContainersArgs args, InvokeOptions? opts = null)
public static Output<GetFleetContainersResult> Invoke(GetFleetContainersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFleetContainersResult> getFleetContainers(GetFleetContainersArgs args, InvokeOptions options)
public static Output<GetFleetContainersResult> getFleetContainers(GetFleetContainersArgs args, InvokeOptions options)
fn::invoke:
function: oci:Jms/getFleetContainers:getFleetContainers
arguments:
# arguments dictionary
The following arguments are supported:
- Fleet
Id string - The OCID of the Fleet.
- Application
Name string - The name of the application.
- Display
Name string - The display name.
- Filters
List<Get
Fleet Containers Filter> - Jre
Security stringStatus - The security status of the Java Runtime.
- Jre
Version string - The version of the related Java Runtime.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
Started stringGreater Than Or Equal To - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- Time
Started stringLess Than Or Equal To - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
- Fleet
Id string - The OCID of the Fleet.
- Application
Name string - The name of the application.
- Display
Name string - The display name.
- Filters
[]Get
Fleet Containers Filter - Jre
Security stringStatus - The security status of the Java Runtime.
- Jre
Version string - The version of the related Java Runtime.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Time
Started stringGreater Than Or Equal To - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- Time
Started stringLess Than Or Equal To - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
- fleet
Id String - The OCID of the Fleet.
- application
Name String - The name of the application.
- display
Name String - The display name.
- filters
List<Get
Fleet Containers Filter> - jre
Security StringStatus - The security status of the Java Runtime.
- jre
Version String - The version of the related Java Runtime.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
Started StringGreater Than Or Equal To - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- time
Started StringLess Than Or Equal To - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
- fleet
Id string - The OCID of the Fleet.
- application
Name string - The name of the application.
- display
Name string - The display name.
- filters
Get
Fleet Containers Filter[] - jre
Security stringStatus - The security status of the Java Runtime.
- jre
Version string - The version of the related Java Runtime.
- managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- time
Started stringGreater Than Or Equal To - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- time
Started stringLess Than Or Equal To - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
- fleet_
id str - The OCID of the Fleet.
- application_
name str - The name of the application.
- display_
name str - The display name.
- filters
Sequence[Get
Fleet Containers Filter] - jre_
security_ strstatus - The security status of the Java Runtime.
- jre_
version str - The version of the related Java Runtime.
- managed_
instance_ strid - The Fleet-unique identifier of the managed instance.
- time_
started_ strgreater_ than_ or_ equal_ to - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- time_
started_ strless_ than_ or_ equal_ to - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
- fleet
Id String - The OCID of the Fleet.
- application
Name String - The name of the application.
- display
Name String - The display name.
- filters List<Property Map>
- jre
Security StringStatus - The security status of the Java Runtime.
- jre
Version String - The version of the related Java Runtime.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- time
Started StringGreater Than Or Equal To - If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339).
- time
Started StringLess Than Or Equal To - If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339).
getFleetContainers Result
The following output properties are available:
- Container
Collections List<GetFleet Containers Container Collection> - The list of container_collection.
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Application
Name string - The name of the application running in the container.
- Display
Name string - The name of the container.
- Filters
List<Get
Fleet Containers Filter> - Jre
Security stringStatus - The security status of the Java runtime used to run the application in the container.
- Jre
Version string - Managed
Instance stringId - The OCID of the associated managed instance of type OCMA.
- Time
Started stringGreater Than Or Equal To - Time
Started stringLess Than Or Equal To
- Container
Collections []GetFleet Containers Container Collection - The list of container_collection.
- Fleet
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Application
Name string - The name of the application running in the container.
- Display
Name string - The name of the container.
- Filters
[]Get
Fleet Containers Filter - Jre
Security stringStatus - The security status of the Java runtime used to run the application in the container.
- Jre
Version string - Managed
Instance stringId - The OCID of the associated managed instance of type OCMA.
- Time
Started stringGreater Than Or Equal To - Time
Started stringLess Than Or Equal To
- container
Collections List<GetFleet Containers Container Collection> - The list of container_collection.
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- application
Name String - The name of the application running in the container.
- display
Name String - The name of the container.
- filters
List<Get
Fleet Containers Filter> - jre
Security StringStatus - The security status of the Java runtime used to run the application in the container.
- jre
Version String - managed
Instance StringId - The OCID of the associated managed instance of type OCMA.
- time
Started StringGreater Than Or Equal To - time
Started StringLess Than Or Equal To
- container
Collections GetFleet Containers Container Collection[] - The list of container_collection.
- fleet
Id string - id string
- The provider-assigned unique ID for this managed resource.
- application
Name string - The name of the application running in the container.
- display
Name string - The name of the container.
- filters
Get
Fleet Containers Filter[] - jre
Security stringStatus - The security status of the Java runtime used to run the application in the container.
- jre
Version string - managed
Instance stringId - The OCID of the associated managed instance of type OCMA.
- time
Started stringGreater Than Or Equal To - time
Started stringLess Than Or Equal To
- container_
collections Sequence[GetFleet Containers Container Collection] - The list of container_collection.
- fleet_
id str - id str
- The provider-assigned unique ID for this managed resource.
- application_
name str - The name of the application running in the container.
- display_
name str - The name of the container.
- filters
Sequence[Get
Fleet Containers Filter] - jre_
security_ strstatus - The security status of the Java runtime used to run the application in the container.
- jre_
version str - managed_
instance_ strid - The OCID of the associated managed instance of type OCMA.
- time_
started_ strgreater_ than_ or_ equal_ to - time_
started_ strless_ than_ or_ equal_ to
- container
Collections List<Property Map> - The list of container_collection.
- fleet
Id String - id String
- The provider-assigned unique ID for this managed resource.
- application
Name String - The name of the application running in the container.
- display
Name String - The name of the container.
- filters List<Property Map>
- jre
Security StringStatus - The security status of the Java runtime used to run the application in the container.
- jre
Version String - managed
Instance StringId - The OCID of the associated managed instance of type OCMA.
- time
Started StringGreater Than Or Equal To - time
Started StringLess Than Or Equal To
Supporting Types
GetFleetContainersContainerCollection
- Items
List<Get
Fleet Containers Container Collection Item> - A list of the container summaries.
- Items
[]Get
Fleet Containers Container Collection Item - A list of the container summaries.
- items
List<Get
Fleet Containers Container Collection Item> - A list of the container summaries.
- items
Get
Fleet Containers Container Collection Item[] - A list of the container summaries.
- items
Sequence[Get
Fleet Containers Container Collection Item] - A list of the container summaries.
- items List<Property Map>
- A list of the container summaries.
GetFleetContainersContainerCollectionItem
- Application
Key string - Unique key that identifies the application running in the container.
- Application
Name string - The name of the application.
- Container
Key string - Unique identifier for the container.
- Display
Name string - The display name.
- Image
Name string - The container image name.
- Java
Version string - The Java runtime used to run the application in the container.
- Jre
Key string - Unique key that identifies the Java runtime used to run the application in the container.
- Jre
Security stringStatus - The security status of the Java Runtime.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Namespace string
- The namespace of the container.
- Node
Name string - The name of the node associated with the pod running this container.
- Pod
Name string - The name of the pod running this container.
- Time
Started string - The start time of the container.
- Application
Key string - Unique key that identifies the application running in the container.
- Application
Name string - The name of the application.
- Container
Key string - Unique identifier for the container.
- Display
Name string - The display name.
- Image
Name string - The container image name.
- Java
Version string - The Java runtime used to run the application in the container.
- Jre
Key string - Unique key that identifies the Java runtime used to run the application in the container.
- Jre
Security stringStatus - The security status of the Java Runtime.
- Managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- Namespace string
- The namespace of the container.
- Node
Name string - The name of the node associated with the pod running this container.
- Pod
Name string - The name of the pod running this container.
- Time
Started string - The start time of the container.
- application
Key String - Unique key that identifies the application running in the container.
- application
Name String - The name of the application.
- container
Key String - Unique identifier for the container.
- display
Name String - The display name.
- image
Name String - The container image name.
- java
Version String - The Java runtime used to run the application in the container.
- jre
Key String - Unique key that identifies the Java runtime used to run the application in the container.
- jre
Security StringStatus - The security status of the Java Runtime.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- namespace String
- The namespace of the container.
- node
Name String - The name of the node associated with the pod running this container.
- pod
Name String - The name of the pod running this container.
- time
Started String - The start time of the container.
- application
Key string - Unique key that identifies the application running in the container.
- application
Name string - The name of the application.
- container
Key string - Unique identifier for the container.
- display
Name string - The display name.
- image
Name string - The container image name.
- java
Version string - The Java runtime used to run the application in the container.
- jre
Key string - Unique key that identifies the Java runtime used to run the application in the container.
- jre
Security stringStatus - The security status of the Java Runtime.
- managed
Instance stringId - The Fleet-unique identifier of the managed instance.
- namespace string
- The namespace of the container.
- node
Name string - The name of the node associated with the pod running this container.
- pod
Name string - The name of the pod running this container.
- time
Started string - The start time of the container.
- application_
key str - Unique key that identifies the application running in the container.
- application_
name str - The name of the application.
- container_
key str - Unique identifier for the container.
- display_
name str - The display name.
- image_
name str - The container image name.
- java_
version str - The Java runtime used to run the application in the container.
- jre_
key str - Unique key that identifies the Java runtime used to run the application in the container.
- jre_
security_ strstatus - The security status of the Java Runtime.
- managed_
instance_ strid - The Fleet-unique identifier of the managed instance.
- namespace str
- The namespace of the container.
- node_
name str - The name of the node associated with the pod running this container.
- pod_
name str - The name of the pod running this container.
- time_
started str - The start time of the container.
- application
Key String - Unique key that identifies the application running in the container.
- application
Name String - The name of the application.
- container
Key String - Unique identifier for the container.
- display
Name String - The display name.
- image
Name String - The container image name.
- java
Version String - The Java runtime used to run the application in the container.
- jre
Key String - Unique key that identifies the Java runtime used to run the application in the container.
- jre
Security StringStatus - The security status of the Java Runtime.
- managed
Instance StringId - The Fleet-unique identifier of the managed instance.
- namespace String
- The namespace of the container.
- node
Name String - The name of the node associated with the pod running this container.
- pod
Name String - The name of the pod running this container.
- time
Started String - The start time of the container.
GetFleetContainersFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.